From c19af0f59c6d23502698b92affafb31efc34e063 Mon Sep 17 00:00:00 2001 From: Owl Bot Date: Thu, 19 Oct 2023 18:11:55 +0000 Subject: [PATCH] =?UTF-8?q?=F0=9F=A6=89=20Updates=20from=20OwlBot=20post-p?= =?UTF-8?q?rocessor?= 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 | 4 +- .../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 .../reflect-config.json | 0 .../reflect-config.json | 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 | 16824 ++++++++++++++++ .../v1beta/AnalyticsAdminServiceGrpc.java | 6450 ++++++ .../admin/v1alpha/AccessBetweenFilter.java | 441 +- .../v1alpha/AccessBetweenFilterOrBuilder.java | 34 +- .../admin/v1alpha/AccessBinding.java | 555 +- .../admin/v1alpha/AccessBindingName.java | 0 .../admin/v1alpha/AccessBindingOrBuilder.java | 57 +- .../admin/v1alpha/AccessDateRange.java | 391 +- .../v1alpha/AccessDateRangeOrBuilder.java | 36 +- .../admin/v1alpha/AccessDimension.java | 319 +- .../admin/v1alpha/AccessDimensionHeader.java | 322 +- .../AccessDimensionHeaderOrBuilder.java | 50 + .../v1alpha/AccessDimensionOrBuilder.java | 27 +- .../admin/v1alpha/AccessDimensionValue.java | 322 +- .../AccessDimensionValueOrBuilder.java | 27 +- .../analytics/admin/v1alpha/AccessFilter.java | 762 +- .../admin/v1alpha/AccessFilterExpression.java | 737 +- .../v1alpha/AccessFilterExpressionList.java | 432 +- .../AccessFilterExpressionListOrBuilder.java | 33 +- .../AccessFilterExpressionOrBuilder.java | 53 +- .../admin/v1alpha/AccessFilterOrBuilder.java | 59 +- .../admin/v1alpha/AccessInListFilter.java | 392 +- .../v1alpha/AccessInListFilterOrBuilder.java | 39 +- .../analytics/admin/v1alpha/AccessMetric.java | 315 +- .../admin/v1alpha/AccessMetricHeader.java | 322 +- .../v1alpha/AccessMetricHeaderOrBuilder.java | 50 + .../admin/v1alpha/AccessMetricOrBuilder.java | 27 +- .../admin/v1alpha/AccessMetricValue.java | 319 +- .../v1alpha/AccessMetricValueOrBuilder.java | 50 + .../admin/v1alpha/AccessNumericFilter.java | 502 +- .../v1alpha/AccessNumericFilterOrBuilder.java | 32 +- .../admin/v1alpha/AccessOrderBy.java | 1442 +- .../admin/v1alpha/AccessOrderByOrBuilder.java | 40 +- .../analytics/admin/v1alpha/AccessQuota.java | 862 +- .../admin/v1alpha/AccessQuotaOrBuilder.java | 73 +- .../admin/v1alpha/AccessQuotaStatus.java | 312 +- .../v1alpha/AccessQuotaStatusOrBuilder.java | 51 + .../admin/v1alpha/AccessReportProto.java | 396 + .../analytics/admin/v1alpha/AccessRow.java | 636 +- .../admin/v1alpha/AccessRowOrBuilder.java | 66 +- .../admin/v1alpha/AccessStringFilter.java | 521 +- .../v1alpha/AccessStringFilterOrBuilder.java | 36 +- .../analytics/admin/v1alpha/Account.java | 760 +- .../analytics/admin/v1alpha/AccountName.java | 0 .../admin/v1alpha/AccountOrBuilder.java | 82 +- .../admin/v1alpha/AccountSummary.java | 618 +- .../v1alpha/AccountSummaryOrBuilder.java | 60 +- .../AcknowledgeUserDataCollectionRequest.java | 471 +- ...dgeUserDataCollectionRequestOrBuilder.java | 44 +- ...AcknowledgeUserDataCollectionResponse.java | 297 +- ...geUserDataCollectionResponseOrBuilder.java | 24 + .../analytics/admin/v1alpha/ActionType.java | 89 +- .../analytics/admin/v1alpha/ActorType.java | 89 +- .../analytics/admin/v1alpha/AdSenseLink.java | 384 +- .../admin/v1alpha/AdSenseLinkName.java | 0 .../admin/v1alpha/AdSenseLinkOrBuilder.java | 36 +- .../admin/v1alpha/AnalyticsAdminProto.java | 3500 ++++ ...Video360AdvertiserLinkProposalRequest.java | 707 + ...dvertiserLinkProposalRequestOrBuilder.java | 56 + ...ideo360AdvertiserLinkProposalResponse.java | 824 + ...vertiserLinkProposalResponseOrBuilder.java | 71 + .../admin/v1alpha/ArchiveAudienceRequest.java | 350 +- .../ArchiveAudienceRequestOrBuilder.java | 54 + .../ArchiveCustomDimensionRequest.java | 373 +- ...rchiveCustomDimensionRequestOrBuilder.java | 56 + .../v1alpha/ArchiveCustomMetricRequest.java | 360 +- .../ArchiveCustomMetricRequestOrBuilder.java | 56 + .../admin/v1alpha/AttributionSettings.java | 1114 +- .../v1alpha/AttributionSettingsName.java | 0 .../v1alpha/AttributionSettingsOrBuilder.java | 95 +- .../analytics/admin/v1alpha/Audience.java | 1121 +- .../AudienceDimensionOrMetricFilter.java | 4566 +++-- ...ienceDimensionOrMetricFilterOrBuilder.java | 142 +- .../admin/v1alpha/AudienceEventFilter.java | 532 +- .../v1alpha/AudienceEventFilterOrBuilder.java | 58 +- .../admin/v1alpha/AudienceEventTrigger.java | 491 +- .../AudienceEventTriggerOrBuilder.java | 41 +- .../admin/v1alpha/AudienceFilterClause.java | 673 +- .../AudienceFilterClauseOrBuilder.java | 48 +- .../v1alpha/AudienceFilterExpression.java | 922 +- .../v1alpha/AudienceFilterExpressionList.java | 554 +- ...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 | 1650 +- .../AudienceSequenceFilterOrBuilder.java | 168 + .../admin/v1alpha/AudienceSimpleFilter.java | 505 +- .../AudienceSimpleFilterOrBuilder.java | 99 + .../BatchCreateAccessBindingsRequest.java | 661 +- ...hCreateAccessBindingsRequestOrBuilder.java | 70 +- .../BatchCreateAccessBindingsResponse.java | 431 +- ...CreateAccessBindingsResponseOrBuilder.java | 36 +- .../BatchDeleteAccessBindingsRequest.java | 661 +- ...hDeleteAccessBindingsRequestOrBuilder.java | 70 +- .../BatchGetAccessBindingsRequest.java | 533 +- ...atchGetAccessBindingsRequestOrBuilder.java | 69 +- .../BatchGetAccessBindingsResponse.java | 427 +- ...tchGetAccessBindingsResponseOrBuilder.java | 36 +- .../BatchUpdateAccessBindingsRequest.java | 661 +- ...hUpdateAccessBindingsRequestOrBuilder.java | 70 +- .../BatchUpdateAccessBindingsResponse.java | 431 +- ...UpdateAccessBindingsResponseOrBuilder.java | 36 +- .../analytics/admin/v1alpha/BigQueryLink.java | 875 +- .../admin/v1alpha/BigQueryLinkName.java | 0 .../admin/v1alpha/BigQueryLinkOrBuilder.java | 101 +- ...Video360AdvertiserLinkProposalRequest.java | 704 + ...dvertiserLinkProposalRequestOrBuilder.java | 56 + .../admin/v1alpha/ChangeHistoryChange.java | 4477 ++-- .../v1alpha/ChangeHistoryChangeOrBuilder.java | 85 +- .../admin/v1alpha/ChangeHistoryEvent.java | 722 +- .../v1alpha/ChangeHistoryEventOrBuilder.java | 71 +- .../v1alpha/ChangeHistoryResourceType.java | 222 +- .../analytics/admin/v1alpha/ChannelGroup.java | 731 +- .../admin/v1alpha/ChannelGroupFilter.java | 1673 +- .../v1alpha/ChannelGroupFilterExpression.java | 788 +- .../ChannelGroupFilterExpressionList.java | 576 +- ...nelGroupFilterExpressionListOrBuilder.java | 89 + ...ChannelGroupFilterExpressionOrBuilder.java | 59 +- .../v1alpha/ChannelGroupFilterOrBuilder.java | 66 +- .../admin/v1alpha/ChannelGroupName.java | 0 .../admin/v1alpha/ChannelGroupOrBuilder.java | 86 +- .../admin/v1alpha/ChannelGroupProto.java | 190 + .../analytics/admin/v1alpha/CoarseValue.java | 89 +- .../admin/v1alpha/ConnectedSiteTag.java | 391 +- .../v1alpha/ConnectedSiteTagOrBuilder.java | 36 +- .../admin/v1alpha/ConversionEvent.java | 761 +- .../admin/v1alpha/ConversionEventName.java | 0 .../v1alpha/ConversionEventOrBuilder.java | 73 +- .../admin/v1alpha/ConversionValues.java | 614 +- .../v1alpha/ConversionValuesOrBuilder.java | 68 +- .../v1alpha/CreateAccessBindingRequest.java | 504 +- .../CreateAccessBindingRequestOrBuilder.java | 99 + .../v1alpha/CreateAdSenseLinkRequest.java | 494 +- .../CreateAdSenseLinkRequestOrBuilder.java | 99 + .../admin/v1alpha/CreateAudienceRequest.java | 492 +- .../CreateAudienceRequestOrBuilder.java | 95 + .../v1alpha/CreateChannelGroupRequest.java | 504 +- .../CreateChannelGroupRequestOrBuilder.java | 97 + .../CreateConnectedSiteTagRequest.java | 502 +- ...reateConnectedSiteTagRequestOrBuilder.java | 47 +- .../CreateConnectedSiteTagResponse.java | 279 +- ...eateConnectedSiteTagResponseOrBuilder.java | 24 + .../v1alpha/CreateConversionEventRequest.java | 520 +- ...CreateConversionEventRequestOrBuilder.java | 97 + .../v1alpha/CreateCustomDimensionRequest.java | 520 +- ...CreateCustomDimensionRequestOrBuilder.java | 95 + .../v1alpha/CreateCustomMetricRequest.java | 504 +- .../CreateCustomMetricRequestOrBuilder.java | 95 + .../v1alpha/CreateDataStreamRequest.java | 492 +- .../CreateDataStreamRequestOrBuilder.java | 95 + ...Video360AdvertiserLinkProposalRequest.java | 1012 + ...dvertiserLinkProposalRequestOrBuilder.java | 97 + ...eDisplayVideo360AdvertiserLinkRequest.java | 631 +- ...ideo360AdvertiserLinkRequestOrBuilder.java | 97 + .../v1alpha/CreateEventCreateRuleRequest.java | 520 +- ...CreateEventCreateRuleRequestOrBuilder.java | 95 + .../v1alpha/CreateExpandedDataSetRequest.java | 520 +- ...CreateExpandedDataSetRequestOrBuilder.java | 95 + .../v1alpha/CreateFirebaseLinkRequest.java | 504 +- .../CreateFirebaseLinkRequestOrBuilder.java | 97 + .../v1alpha/CreateGoogleAdsLinkRequest.java | 504 +- .../CreateGoogleAdsLinkRequestOrBuilder.java | 95 + ...reateMeasurementProtocolSecretRequest.java | 578 +- ...urementProtocolSecretRequestOrBuilder.java | 98 + .../admin/v1alpha/CreatePropertyRequest.java | 395 +- .../CreatePropertyRequestOrBuilder.java | 69 + .../v1alpha/CreateRollupPropertyRequest.java | 522 +- .../CreateRollupPropertyRequestOrBuilder.java | 56 +- .../v1alpha/CreateRollupPropertyResponse.java | 660 +- ...CreateRollupPropertyResponseOrBuilder.java | 67 +- ...CreateRollupPropertySourceLinkRequest.java | 570 +- ...lupPropertySourceLinkRequestOrBuilder.java | 98 + ...AdNetworkConversionValueSchemaRequest.java | 650 +- ...ConversionValueSchemaRequestOrBuilder.java | 99 + .../CreateSearchAds360LinkRequest.java | 530 +- ...reateSearchAds360LinkRequestOrBuilder.java | 95 + .../CreateSubpropertyEventFilterRequest.java | 555 +- ...ubpropertyEventFilterRequestOrBuilder.java | 98 + .../v1alpha/CreateSubpropertyRequest.java | 656 +- .../CreateSubpropertyRequestOrBuilder.java | 141 + .../v1alpha/CreateSubpropertyResponse.java | 509 +- .../CreateSubpropertyResponseOrBuilder.java | 46 +- .../admin/v1alpha/CustomDimension.java | 771 +- .../admin/v1alpha/CustomDimensionName.java | 0 .../v1alpha/CustomDimensionOrBuilder.java | 79 +- .../analytics/admin/v1alpha/CustomMetric.java | 1214 +- .../admin/v1alpha/CustomMetricName.java | 0 .../admin/v1alpha/CustomMetricOrBuilder.java | 134 +- .../admin/v1alpha/DataRedactionSettings.java | 503 +- .../v1alpha/DataRedactionSettingsName.java | 0 .../DataRedactionSettingsOrBuilder.java | 51 +- .../admin/v1alpha/DataRetentionSettings.java | 545 +- .../v1alpha/DataRetentionSettingsName.java | 0 .../DataRetentionSettingsOrBuilder.java | 47 +- .../admin/v1alpha/DataSharingSettings.java | 508 +- .../v1alpha/DataSharingSettingsName.java | 0 .../v1alpha/DataSharingSettingsOrBuilder.java | 42 +- .../analytics/admin/v1alpha/DataStream.java | 2680 ++- .../admin/v1alpha/DataStreamName.java | 0 .../admin/v1alpha/DataStreamOrBuilder.java | 135 +- .../v1alpha/DeleteAccessBindingRequest.java | 360 +- .../DeleteAccessBindingRequestOrBuilder.java | 58 + .../admin/v1alpha/DeleteAccountRequest.java | 350 +- .../DeleteAccountRequestOrBuilder.java | 58 + .../v1alpha/DeleteAdSenseLinkRequest.java | 350 +- .../DeleteAdSenseLinkRequestOrBuilder.java | 58 + .../v1alpha/DeleteChannelGroupRequest.java | 360 +- .../DeleteChannelGroupRequestOrBuilder.java | 56 + .../DeleteConnectedSiteTagRequest.java | 417 +- ...eleteConnectedSiteTagRequestOrBuilder.java | 36 +- .../v1alpha/DeleteConversionEventRequest.java | 373 +- ...DeleteConversionEventRequestOrBuilder.java | 58 + .../v1alpha/DeleteDataStreamRequest.java | 350 +- .../DeleteDataStreamRequestOrBuilder.java | 56 + ...Video360AdvertiserLinkProposalRequest.java | 704 + ...dvertiserLinkProposalRequestOrBuilder.java | 56 + ...eDisplayVideo360AdvertiserLinkRequest.java | 450 +- ...ideo360AdvertiserLinkRequestOrBuilder.java | 56 + .../v1alpha/DeleteEventCreateRuleRequest.java | 373 +- ...DeleteEventCreateRuleRequestOrBuilder.java | 56 + .../v1alpha/DeleteExpandedDataSetRequest.java | 373 +- ...DeleteExpandedDataSetRequestOrBuilder.java | 54 + .../v1alpha/DeleteFirebaseLinkRequest.java | 360 +- .../DeleteFirebaseLinkRequestOrBuilder.java | 56 + .../v1alpha/DeleteGoogleAdsLinkRequest.java | 360 +- .../DeleteGoogleAdsLinkRequestOrBuilder.java | 54 + ...eleteMeasurementProtocolSecretRequest.java | 406 +- ...urementProtocolSecretRequestOrBuilder.java | 58 + .../admin/v1alpha/DeletePropertyRequest.java | 350 +- .../DeletePropertyRequestOrBuilder.java | 58 + ...DeleteRollupPropertySourceLinkRequest.java | 402 +- ...lupPropertySourceLinkRequestOrBuilder.java | 58 + ...AdNetworkConversionValueSchemaRequest.java | 467 +- ...ConversionValueSchemaRequestOrBuilder.java | 35 +- .../DeleteSearchAds360LinkRequest.java | 373 +- ...eleteSearchAds360LinkRequestOrBuilder.java | 56 + .../DeleteSubpropertyEventFilterRequest.java | 392 +- ...ubpropertyEventFilterRequestOrBuilder.java | 60 + .../DisplayVideo360AdvertiserLink.java | 886 +- .../DisplayVideo360AdvertiserLinkName.java | 0 ...isplayVideo360AdvertiserLinkOrBuilder.java | 93 +- ...DisplayVideo360AdvertiserLinkProposal.java | 1207 +- ...layVideo360AdvertiserLinkProposalName.java | 0 ...deo360AdvertiserLinkProposalOrBuilder.java | 137 +- .../v1alpha/EnhancedMeasurementSettings.java | 760 +- .../EnhancedMeasurementSettingsName.java | 0 .../EnhancedMeasurementSettingsOrBuilder.java | 69 +- .../admin/v1alpha/EventCreateAndEdit.java | 131 + .../admin/v1alpha/EventCreateRule.java | 911 +- .../admin/v1alpha/EventCreateRuleName.java | 0 .../v1alpha/EventCreateRuleOrBuilder.java | 104 +- .../analytics/admin/v1alpha/EventMapping.java | 481 +- .../admin/v1alpha/EventMappingOrBuilder.java | 51 +- .../admin/v1alpha/ExpandedDataSet.java | 1011 +- .../admin/v1alpha/ExpandedDataSetFilter.java | 1737 +- .../ExpandedDataSetFilterExpression.java | 755 +- .../ExpandedDataSetFilterExpressionList.java | 588 +- ...dDataSetFilterExpressionListOrBuilder.java | 91 + ...andedDataSetFilterExpressionOrBuilder.java | 57 +- .../ExpandedDataSetFilterOrBuilder.java | 67 +- .../admin/v1alpha/ExpandedDataSetName.java | 0 .../v1alpha/ExpandedDataSetOrBuilder.java | 124 +- .../admin/v1alpha/ExpandedDataSetProto.java | 186 + ...utomatedGa4ConfigurationOptOutRequest.java | 430 +- ...a4ConfigurationOptOutRequestOrBuilder.java | 27 +- ...tomatedGa4ConfigurationOptOutResponse.java | 396 +- ...4ConfigurationOptOutResponseOrBuilder.java | 38 + .../FetchConnectedGa4PropertyRequest.java | 388 +- ...hConnectedGa4PropertyRequestOrBuilder.java | 35 +- .../FetchConnectedGa4PropertyResponse.java | 360 +- ...ConnectedGa4PropertyResponseOrBuilder.java | 27 +- .../analytics/admin/v1alpha/FirebaseLink.java | 521 +- .../admin/v1alpha/FirebaseLinkName.java | 0 .../admin/v1alpha/FirebaseLinkOrBuilder.java | 53 +- .../v1alpha/GetAccessBindingRequest.java | 350 +- .../GetAccessBindingRequestOrBuilder.java | 60 + .../admin/v1alpha/GetAccountRequest.java | 347 +- .../v1alpha/GetAccountRequestOrBuilder.java | 58 + .../admin/v1alpha/GetAdSenseLinkRequest.java | 350 +- .../GetAdSenseLinkRequestOrBuilder.java | 58 + .../GetAttributionSettingsRequest.java | 373 +- ...etAttributionSettingsRequestOrBuilder.java | 56 + .../admin/v1alpha/GetAudienceRequest.java | 350 +- .../v1alpha/GetAudienceRequestOrBuilder.java | 56 + .../admin/v1alpha/GetBigQueryLinkRequest.java | 350 +- .../GetBigQueryLinkRequestOrBuilder.java | 58 + .../admin/v1alpha/GetChannelGroupRequest.java | 350 +- .../GetChannelGroupRequestOrBuilder.java | 56 + .../v1alpha/GetConversionEventRequest.java | 360 +- .../GetConversionEventRequestOrBuilder.java | 58 + .../v1alpha/GetCustomDimensionRequest.java | 360 +- .../GetCustomDimensionRequestOrBuilder.java | 56 + .../admin/v1alpha/GetCustomMetricRequest.java | 350 +- .../GetCustomMetricRequestOrBuilder.java | 56 + .../GetDataRedactionSettingsRequest.java | 388 +- ...DataRedactionSettingsRequestOrBuilder.java | 60 + .../GetDataRetentionSettingsRequest.java | 388 +- ...DataRetentionSettingsRequestOrBuilder.java | 60 + .../GetDataSharingSettingsRequest.java | 373 +- ...etDataSharingSettingsRequestOrBuilder.java | 58 + .../admin/v1alpha/GetDataStreamRequest.java | 350 +- .../GetDataStreamRequestOrBuilder.java | 56 + ...Video360AdvertiserLinkProposalRequest.java | 473 +- ...dvertiserLinkProposalRequestOrBuilder.java | 56 + ...tDisplayVideo360AdvertiserLinkRequest.java | 449 +- ...ideo360AdvertiserLinkRequestOrBuilder.java | 56 + ...GetEnhancedMeasurementSettingsRequest.java | 402 +- ...edMeasurementSettingsRequestOrBuilder.java | 60 + .../v1alpha/GetEventCreateRuleRequest.java | 360 +- .../GetEventCreateRuleRequestOrBuilder.java | 56 + .../v1alpha/GetExpandedDataSetRequest.java | 360 +- .../GetExpandedDataSetRequestOrBuilder.java | 56 + .../v1alpha/GetGlobalSiteTagRequest.java | 350 +- .../GetGlobalSiteTagRequestOrBuilder.java | 35 +- .../GetGoogleSignalsSettingsRequest.java | 388 +- ...GoogleSignalsSettingsRequestOrBuilder.java | 56 + .../GetMeasurementProtocolSecretRequest.java | 392 +- ...urementProtocolSecretRequestOrBuilder.java | 58 + .../admin/v1alpha/GetPropertyRequest.java | 350 +- .../v1alpha/GetPropertyRequestOrBuilder.java | 58 + .../GetRollupPropertySourceLinkRequest.java | 388 +- ...lupPropertySourceLinkRequestOrBuilder.java | 60 + ...AdNetworkConversionValueSchemaRequest.java | 450 +- ...ConversionValueSchemaRequestOrBuilder.java | 35 +- .../v1alpha/GetSearchAds360LinkRequest.java | 360 +- .../GetSearchAds360LinkRequestOrBuilder.java | 56 + .../GetSubpropertyEventFilterRequest.java | 388 +- ...ubpropertyEventFilterRequestOrBuilder.java | 60 + .../admin/v1alpha/GlobalSiteTag.java | 391 +- .../admin/v1alpha/GlobalSiteTagName.java | 0 .../admin/v1alpha/GlobalSiteTagOrBuilder.java | 36 +- .../admin/v1alpha/GoogleAdsLink.java | 866 +- .../admin/v1alpha/GoogleAdsLinkName.java | 0 .../admin/v1alpha/GoogleAdsLinkOrBuilder.java | 90 +- .../admin/v1alpha/GoogleSignalsConsent.java | 77 +- .../admin/v1alpha/GoogleSignalsSettings.java | 484 +- .../v1alpha/GoogleSignalsSettingsName.java | 0 .../GoogleSignalsSettingsOrBuilder.java | 47 +- .../admin/v1alpha/GoogleSignalsState.java | 80 +- .../analytics/admin/v1alpha/GroupingRule.java | 474 +- .../admin/v1alpha/GroupingRuleOrBuilder.java | 47 +- .../admin/v1alpha/IndustryCategory.java | 248 +- .../LinkProposalInitiatingProduct.java | 77 +- .../admin/v1alpha/LinkProposalState.java | 108 +- .../v1alpha/LinkProposalStatusDetails.java | 535 +- .../LinkProposalStatusDetailsOrBuilder.java | 58 +- .../v1alpha/ListAccessBindingsRequest.java | 463 +- .../ListAccessBindingsRequestOrBuilder.java | 47 +- .../v1alpha/ListAccessBindingsResponse.java | 475 +- .../ListAccessBindingsResponseOrBuilder.java | 45 +- .../v1alpha/ListAccountSummariesRequest.java | 373 +- .../ListAccountSummariesRequestOrBuilder.java | 30 +- .../v1alpha/ListAccountSummariesResponse.java | 492 +- ...ListAccountSummariesResponseOrBuilder.java | 42 +- .../admin/v1alpha/ListAccountsRequest.java | 387 +- .../v1alpha/ListAccountsRequestOrBuilder.java | 33 +- .../admin/v1alpha/ListAccountsResponse.java | 483 +- .../ListAccountsResponseOrBuilder.java | 45 +- .../v1alpha/ListAdSenseLinksRequest.java | 453 +- .../ListAdSenseLinksRequestOrBuilder.java | 47 +- .../v1alpha/ListAdSenseLinksResponse.java | 465 +- .../ListAdSenseLinksResponseOrBuilder.java | 45 +- .../admin/v1alpha/ListAudiencesRequest.java | 453 +- .../ListAudiencesRequestOrBuilder.java | 47 +- .../admin/v1alpha/ListAudiencesResponse.java | 483 +- .../ListAudiencesResponseOrBuilder.java | 45 +- .../v1alpha/ListBigQueryLinksRequest.java | 453 +- .../ListBigQueryLinksRequestOrBuilder.java | 47 +- .../v1alpha/ListBigQueryLinksResponse.java | 472 +- .../ListBigQueryLinksResponseOrBuilder.java | 45 +- .../v1alpha/ListChannelGroupsRequest.java | 453 +- .../ListChannelGroupsRequestOrBuilder.java | 47 +- .../v1alpha/ListChannelGroupsResponse.java | 472 +- .../ListChannelGroupsResponseOrBuilder.java | 45 +- .../v1alpha/ListConnectedSiteTagsRequest.java | 345 +- ...ListConnectedSiteTagsRequestOrBuilder.java | 27 +- .../ListConnectedSiteTagsResponse.java | 482 +- ...istConnectedSiteTagsResponseOrBuilder.java | 33 +- .../v1alpha/ListConversionEventsRequest.java | 473 +- .../ListConversionEventsRequestOrBuilder.java | 47 +- .../v1alpha/ListConversionEventsResponse.java | 492 +- ...ListConversionEventsResponseOrBuilder.java | 42 +- .../v1alpha/ListCustomDimensionsRequest.java | 473 +- .../ListCustomDimensionsRequestOrBuilder.java | 47 +- .../v1alpha/ListCustomDimensionsResponse.java | 492 +- ...ListCustomDimensionsResponseOrBuilder.java | 42 +- .../v1alpha/ListCustomMetricsRequest.java | 453 +- .../ListCustomMetricsRequestOrBuilder.java | 47 +- .../v1alpha/ListCustomMetricsResponse.java | 472 +- .../ListCustomMetricsResponseOrBuilder.java | 45 +- .../admin/v1alpha/ListDataStreamsRequest.java | 453 +- .../ListDataStreamsRequestOrBuilder.java | 47 +- .../v1alpha/ListDataStreamsResponse.java | 480 +- .../ListDataStreamsResponseOrBuilder.java | 45 +- ...ideo360AdvertiserLinkProposalsRequest.java | 581 +- ...vertiserLinkProposalsRequestOrBuilder.java | 47 +- ...deo360AdvertiserLinkProposalsResponse.java | 773 +- ...ertiserLinkProposalsResponseOrBuilder.java | 119 + ...DisplayVideo360AdvertiserLinksRequest.java | 552 +- ...deo360AdvertiserLinksRequestOrBuilder.java | 47 +- ...isplayVideo360AdvertiserLinksResponse.java | 713 +- ...eo360AdvertiserLinksResponseOrBuilder.java | 69 +- .../v1alpha/ListEventCreateRulesRequest.java | 473 +- .../ListEventCreateRulesRequestOrBuilder.java | 47 +- .../v1alpha/ListEventCreateRulesResponse.java | 492 +- ...ListEventCreateRulesResponseOrBuilder.java | 42 +- .../v1alpha/ListExpandedDataSetsRequest.java | 473 +- .../ListExpandedDataSetsRequestOrBuilder.java | 47 +- .../v1alpha/ListExpandedDataSetsResponse.java | 492 +- ...ListExpandedDataSetsResponseOrBuilder.java | 42 +- .../v1alpha/ListFirebaseLinksRequest.java | 453 +- .../ListFirebaseLinksRequestOrBuilder.java | 47 +- .../v1alpha/ListFirebaseLinksResponse.java | 472 +- .../ListFirebaseLinksResponseOrBuilder.java | 45 +- .../v1alpha/ListGoogleAdsLinksRequest.java | 463 +- .../ListGoogleAdsLinksRequestOrBuilder.java | 47 +- .../v1alpha/ListGoogleAdsLinksResponse.java | 475 +- .../ListGoogleAdsLinksResponseOrBuilder.java | 45 +- ...ListMeasurementProtocolSecretsRequest.java | 505 +- ...rementProtocolSecretsRequestOrBuilder.java | 47 +- ...istMeasurementProtocolSecretsResponse.java | 669 +- ...ementProtocolSecretsResponseOrBuilder.java | 68 +- .../admin/v1alpha/ListPropertiesRequest.java | 461 +- .../ListPropertiesRequestOrBuilder.java | 42 +- .../admin/v1alpha/ListPropertiesResponse.java | 483 +- .../ListPropertiesResponseOrBuilder.java | 45 +- .../ListRollupPropertySourceLinksRequest.java | 502 +- ...upPropertySourceLinksRequestOrBuilder.java | 47 +- ...ListRollupPropertySourceLinksResponse.java | 665 +- ...pPropertySourceLinksResponseOrBuilder.java | 68 +- ...dNetworkConversionValueSchemasRequest.java | 562 +- ...onversionValueSchemasRequestOrBuilder.java | 47 +- ...NetworkConversionValueSchemasResponse.java | 740 +- ...nversionValueSchemasResponseOrBuilder.java | 69 +- .../v1alpha/ListSearchAds360LinksRequest.java | 476 +- ...ListSearchAds360LinksRequestOrBuilder.java | 47 +- .../ListSearchAds360LinksResponse.java | 569 +- ...istSearchAds360LinksResponseOrBuilder.java | 57 +- .../ListSubpropertyEventFiltersRequest.java | 491 +- ...bpropertyEventFiltersRequestOrBuilder.java | 47 +- .../ListSubpropertyEventFiltersResponse.java | 655 +- ...propertyEventFiltersResponseOrBuilder.java | 65 +- .../admin/v1alpha/MatchingCondition.java | 680 +- .../v1alpha/MatchingConditionOrBuilder.java | 53 +- .../v1alpha/MeasurementProtocolSecret.java | 476 +- .../MeasurementProtocolSecretName.java | 0 .../MeasurementProtocolSecretOrBuilder.java | 45 +- .../analytics/admin/v1alpha/NumericValue.java | 394 +- .../admin/v1alpha/NumericValueOrBuilder.java | 30 +- .../admin/v1alpha/ParameterMutation.java | 391 +- .../v1alpha/ParameterMutationOrBuilder.java | 36 +- .../admin/v1alpha/PostbackWindow.java | 438 +- .../v1alpha/PostbackWindowOrBuilder.java | 36 +- .../analytics/admin/v1alpha/Property.java | 1470 +- .../analytics/admin/v1alpha/PropertyName.java | 0 .../admin/v1alpha/PropertyOrBuilder.java | 182 +- .../admin/v1alpha/PropertySummary.java | 519 +- .../v1alpha/PropertySummaryOrBuilder.java | 51 +- .../analytics/admin/v1alpha/PropertyType.java | 89 +- .../ProvisionAccountTicketRequest.java | 442 +- ...rovisionAccountTicketRequestOrBuilder.java | 35 +- .../ProvisionAccountTicketResponse.java | 356 +- ...ovisionAccountTicketResponseOrBuilder.java | 50 + .../admin/v1alpha/ResourcesProto.java | 1115 + .../v1alpha/RollupPropertySourceLink.java | 394 +- .../v1alpha/RollupPropertySourceLinkName.java | 0 .../RollupPropertySourceLinkOrBuilder.java | 36 +- .../admin/v1alpha/RunAccessReportRequest.java | 1392 +- .../RunAccessReportRequestOrBuilder.java | 139 +- .../v1alpha/RunAccessReportResponse.java | 934 +- .../RunAccessReportResponseOrBuilder.java | 91 +- .../SKAdNetworkConversionValueSchema.java | 763 +- .../SKAdNetworkConversionValueSchemaName.java | 0 ...NetworkConversionValueSchemaOrBuilder.java | 66 +- .../admin/v1alpha/SearchAds360Link.java | 959 +- .../admin/v1alpha/SearchAds360LinkName.java | 0 .../v1alpha/SearchAds360LinkOrBuilder.java | 101 +- .../SearchChangeHistoryEventsRequest.java | 1409 +- ...chChangeHistoryEventsRequestOrBuilder.java | 201 +- .../SearchChangeHistoryEventsResponse.java | 607 +- ...hChangeHistoryEventsResponseOrBuilder.java | 56 +- .../analytics/admin/v1alpha/ServiceLevel.java | 82 +- ...utomatedGa4ConfigurationOptOutRequest.java | 455 +- ...a4ConfigurationOptOutRequestOrBuilder.java | 30 +- ...tomatedGa4ConfigurationOptOutResponse.java | 461 + ...4ConfigurationOptOutResponseOrBuilder.java | 24 + .../admin/v1alpha/SubpropertyEventFilter.java | 704 +- .../v1alpha/SubpropertyEventFilterClause.java | 618 +- ...SubpropertyEventFilterClauseOrBuilder.java | 100 + .../SubpropertyEventFilterCondition.java | 1354 +- ...propertyEventFilterConditionOrBuilder.java | 59 +- .../SubpropertyEventFilterExpression.java | 826 +- .../SubpropertyEventFilterExpressionList.java | 596 +- ...rtyEventFilterExpressionListOrBuilder.java | 91 + ...ropertyEventFilterExpressionOrBuilder.java | 69 +- .../v1alpha/SubpropertyEventFilterName.java | 0 .../SubpropertyEventFilterOrBuilder.java | 77 +- .../v1alpha/SubpropertyEventFilterProto.java | 182 + .../v1alpha/UpdateAccessBindingRequest.java | 407 +- .../UpdateAccessBindingRequestOrBuilder.java | 66 + .../admin/v1alpha/UpdateAccountRequest.java | 523 +- .../UpdateAccountRequestOrBuilder.java | 55 +- .../UpdateAttributionSettingsRequest.java | 578 +- ...teAttributionSettingsRequestOrBuilder.java | 55 +- .../admin/v1alpha/UpdateAudienceRequest.java | 520 +- .../UpdateAudienceRequestOrBuilder.java | 55 +- .../v1alpha/UpdateChannelGroupRequest.java | 532 +- .../UpdateChannelGroupRequestOrBuilder.java | 55 +- .../v1alpha/UpdateConversionEventRequest.java | 548 +- ...UpdateConversionEventRequestOrBuilder.java | 55 +- .../v1alpha/UpdateCustomDimensionRequest.java | 500 +- ...UpdateCustomDimensionRequestOrBuilder.java | 43 +- .../v1alpha/UpdateCustomMetricRequest.java | 484 +- .../UpdateCustomMetricRequestOrBuilder.java | 43 +- .../UpdateDataRedactionSettingsRequest.java | 579 +- ...DataRedactionSettingsRequestOrBuilder.java | 58 +- .../UpdateDataRetentionSettingsRequest.java | 579 +- ...DataRetentionSettingsRequestOrBuilder.java | 58 +- .../v1alpha/UpdateDataStreamRequest.java | 472 +- .../UpdateDataStreamRequestOrBuilder.java | 43 +- ...eDisplayVideo360AdvertiserLinkRequest.java | 659 +- ...ideo360AdvertiserLinkRequestOrBuilder.java | 61 +- ...ateEnhancedMeasurementSettingsRequest.java | 655 +- ...edMeasurementSettingsRequestOrBuilder.java | 58 +- .../v1alpha/UpdateEventCreateRuleRequest.java | 548 +- ...UpdateEventCreateRuleRequestOrBuilder.java | 55 +- .../v1alpha/UpdateExpandedDataSetRequest.java | 548 +- ...UpdateExpandedDataSetRequestOrBuilder.java | 55 +- .../v1alpha/UpdateGoogleAdsLinkRequest.java | 484 +- .../UpdateGoogleAdsLinkRequestOrBuilder.java | 43 +- .../UpdateGoogleSignalsSettingsRequest.java | 579 +- ...GoogleSignalsSettingsRequestOrBuilder.java | 58 +- ...pdateMeasurementProtocolSecretRequest.java | 606 +- ...urementProtocolSecretRequestOrBuilder.java | 58 +- .../admin/v1alpha/UpdatePropertyRequest.java | 520 +- .../UpdatePropertyRequestOrBuilder.java | 55 +- ...AdNetworkConversionValueSchemaRequest.java | 678 +- ...ConversionValueSchemaRequestOrBuilder.java | 61 +- .../UpdateSearchAds360LinkRequest.java | 510 +- ...pdateSearchAds360LinkRequestOrBuilder.java | 43 +- .../UpdateSubpropertyEventFilterRequest.java | 583 +- ...ubpropertyEventFilterRequestOrBuilder.java | 58 +- .../admin/v1alpha/access_report.proto | 0 .../admin/v1alpha/analytics_admin.proto | 0 .../analytics/admin/v1alpha/audience.proto | 0 .../admin/v1alpha/channel_group.proto | 0 .../admin/v1alpha/event_create_and_edit.proto | 0 .../admin/v1alpha/expanded_data_set.proto | 0 .../analytics/admin/v1alpha/resources.proto | 0 .../v1alpha/subproperty_event_filter.proto | 0 .../admin/v1beta/AccessBetweenFilter.java | 441 +- .../v1beta/AccessBetweenFilterOrBuilder.java | 34 +- .../admin/v1beta/AccessDateRange.java | 391 +- .../v1beta/AccessDateRangeOrBuilder.java | 36 +- .../admin/v1beta/AccessDimension.java | 319 +- .../admin/v1beta/AccessDimensionHeader.java | 322 +- .../AccessDimensionHeaderOrBuilder.java | 50 + .../v1beta/AccessDimensionOrBuilder.java | 27 +- .../admin/v1beta/AccessDimensionValue.java | 322 +- .../v1beta/AccessDimensionValueOrBuilder.java | 27 +- .../analytics/admin/v1beta/AccessFilter.java | 747 +- .../admin/v1beta/AccessFilterExpression.java | 732 +- .../v1beta/AccessFilterExpressionList.java | 430 +- .../AccessFilterExpressionListOrBuilder.java | 33 +- .../AccessFilterExpressionOrBuilder.java | 50 +- .../admin/v1beta/AccessFilterOrBuilder.java | 59 +- .../admin/v1beta/AccessInListFilter.java | 389 +- .../v1beta/AccessInListFilterOrBuilder.java | 39 +- .../analytics/admin/v1beta/AccessMetric.java | 312 +- .../admin/v1beta/AccessMetricHeader.java | 319 +- .../v1beta/AccessMetricHeaderOrBuilder.java | 50 + .../admin/v1beta/AccessMetricOrBuilder.java | 27 +- .../admin/v1beta/AccessMetricValue.java | 319 +- .../v1beta/AccessMetricValueOrBuilder.java | 50 + .../admin/v1beta/AccessNumericFilter.java | 502 +- .../v1beta/AccessNumericFilterOrBuilder.java | 32 +- .../analytics/admin/v1beta/AccessOrderBy.java | 1433 +- .../admin/v1beta/AccessOrderByOrBuilder.java | 37 +- .../analytics/admin/v1beta/AccessQuota.java | 859 +- .../admin/v1beta/AccessQuotaOrBuilder.java | 73 +- .../admin/v1beta/AccessQuotaStatus.java | 312 +- .../v1beta/AccessQuotaStatusOrBuilder.java | 51 + .../admin/v1beta/AccessReportProto.java | 395 + .../analytics/admin/v1beta/AccessRow.java | 603 +- .../admin/v1beta/AccessRowOrBuilder.java | 51 +- .../admin/v1beta/AccessStringFilter.java | 518 +- .../v1beta/AccessStringFilterOrBuilder.java | 36 +- .../analytics/admin/v1beta/Account.java | 760 +- .../analytics/admin/v1beta/AccountName.java | 0 .../admin/v1beta/AccountOrBuilder.java | 82 +- .../admin/v1beta/AccountSummary.java | 611 +- .../admin/v1beta/AccountSummaryOrBuilder.java | 60 +- .../AcknowledgeUserDataCollectionRequest.java | 464 +- ...dgeUserDataCollectionRequestOrBuilder.java | 44 +- ...AcknowledgeUserDataCollectionResponse.java | 294 +- ...geUserDataCollectionResponseOrBuilder.java | 24 + .../analytics/admin/v1beta/ActionType.java | 89 +- .../analytics/admin/v1beta/ActorType.java | 89 +- .../admin/v1beta/AnalyticsAdminProto.java | 1346 ++ .../v1beta/ArchiveCustomDimensionRequest.java | 373 +- ...rchiveCustomDimensionRequestOrBuilder.java | 56 + .../v1beta/ArchiveCustomMetricRequest.java | 360 +- .../ArchiveCustomMetricRequestOrBuilder.java | 56 + .../admin/v1beta/ChangeHistoryChange.java | 2117 +- .../v1beta/ChangeHistoryChangeOrBuilder.java | 85 +- .../admin/v1beta/ChangeHistoryEvent.java | 719 +- .../v1beta/ChangeHistoryEventOrBuilder.java | 71 +- .../v1beta/ChangeHistoryResourceType.java | 145 +- .../admin/v1beta/ConversionEvent.java | 761 +- .../admin/v1beta/ConversionEventName.java | 0 .../v1beta/ConversionEventOrBuilder.java | 73 +- .../v1beta/CreateConversionEventRequest.java | 517 +- ...CreateConversionEventRequestOrBuilder.java | 97 + .../v1beta/CreateCustomDimensionRequest.java | 517 +- ...CreateCustomDimensionRequestOrBuilder.java | 95 + .../v1beta/CreateCustomMetricRequest.java | 494 +- .../CreateCustomMetricRequestOrBuilder.java | 95 + .../admin/v1beta/CreateDataStreamRequest.java | 492 +- .../CreateDataStreamRequestOrBuilder.java | 95 + .../v1beta/CreateFirebaseLinkRequest.java | 494 +- .../CreateFirebaseLinkRequestOrBuilder.java | 97 + .../v1beta/CreateGoogleAdsLinkRequest.java | 504 +- .../CreateGoogleAdsLinkRequestOrBuilder.java | 95 + ...reateMeasurementProtocolSecretRequest.java | 574 +- ...urementProtocolSecretRequestOrBuilder.java | 98 + .../admin/v1beta/CreatePropertyRequest.java | 398 +- .../CreatePropertyRequestOrBuilder.java | 69 + .../admin/v1beta/CustomDimension.java | 771 +- .../admin/v1beta/CustomDimensionName.java | 0 .../v1beta/CustomDimensionOrBuilder.java | 79 +- .../analytics/admin/v1beta/CustomMetric.java | 1207 +- .../admin/v1beta/CustomMetricName.java | 0 .../admin/v1beta/CustomMetricOrBuilder.java | 134 +- .../admin/v1beta/DataRetentionSettings.java | 545 +- .../v1beta/DataRetentionSettingsName.java | 0 .../DataRetentionSettingsOrBuilder.java | 44 +- .../admin/v1beta/DataSharingSettings.java | 508 +- .../admin/v1beta/DataSharingSettingsName.java | 0 .../v1beta/DataSharingSettingsOrBuilder.java | 42 +- .../analytics/admin/v1beta/DataStream.java | 2677 ++- .../admin/v1beta/DataStreamName.java | 0 .../admin/v1beta/DataStreamOrBuilder.java | 135 +- .../admin/v1beta/DeleteAccountRequest.java | 350 +- .../v1beta/DeleteAccountRequestOrBuilder.java | 58 + .../v1beta/DeleteConversionEventRequest.java | 370 +- ...DeleteConversionEventRequestOrBuilder.java | 58 + .../admin/v1beta/DeleteDataStreamRequest.java | 350 +- .../DeleteDataStreamRequestOrBuilder.java | 56 + .../v1beta/DeleteFirebaseLinkRequest.java | 350 +- .../DeleteFirebaseLinkRequestOrBuilder.java | 56 + .../v1beta/DeleteGoogleAdsLinkRequest.java | 360 +- .../DeleteGoogleAdsLinkRequestOrBuilder.java | 54 + ...eleteMeasurementProtocolSecretRequest.java | 402 +- ...urementProtocolSecretRequestOrBuilder.java | 58 + .../admin/v1beta/DeletePropertyRequest.java | 350 +- .../DeletePropertyRequestOrBuilder.java | 58 + .../analytics/admin/v1beta/FirebaseLink.java | 518 +- .../admin/v1beta/FirebaseLinkName.java | 0 .../admin/v1beta/FirebaseLinkOrBuilder.java | 53 +- .../admin/v1beta/GetAccountRequest.java | 347 +- .../v1beta/GetAccountRequestOrBuilder.java | 58 + .../v1beta/GetConversionEventRequest.java | 350 +- .../GetConversionEventRequestOrBuilder.java | 58 + .../v1beta/GetCustomDimensionRequest.java | 350 +- .../GetCustomDimensionRequestOrBuilder.java | 56 + .../admin/v1beta/GetCustomMetricRequest.java | 350 +- .../GetCustomMetricRequestOrBuilder.java | 56 + .../GetDataRetentionSettingsRequest.java | 384 +- ...DataRetentionSettingsRequestOrBuilder.java | 60 + .../v1beta/GetDataSharingSettingsRequest.java | 373 +- ...etDataSharingSettingsRequestOrBuilder.java | 58 + .../admin/v1beta/GetDataStreamRequest.java | 350 +- .../v1beta/GetDataStreamRequestOrBuilder.java | 56 + .../GetMeasurementProtocolSecretRequest.java | 389 +- ...urementProtocolSecretRequestOrBuilder.java | 58 + .../admin/v1beta/GetPropertyRequest.java | 347 +- .../v1beta/GetPropertyRequestOrBuilder.java | 58 + .../analytics/admin/v1beta/GoogleAdsLink.java | 862 +- .../admin/v1beta/GoogleAdsLinkName.java | 0 .../admin/v1beta/GoogleAdsLinkOrBuilder.java | 90 +- .../admin/v1beta/IndustryCategory.java | 248 +- .../v1beta/ListAccountSummariesRequest.java | 363 +- .../ListAccountSummariesRequestOrBuilder.java | 30 +- .../v1beta/ListAccountSummariesResponse.java | 488 +- ...ListAccountSummariesResponseOrBuilder.java | 45 +- .../admin/v1beta/ListAccountsRequest.java | 387 +- .../v1beta/ListAccountsRequestOrBuilder.java | 33 +- .../admin/v1beta/ListAccountsResponse.java | 483 +- .../v1beta/ListAccountsResponseOrBuilder.java | 45 +- .../v1beta/ListConversionEventsRequest.java | 463 +- .../ListConversionEventsRequestOrBuilder.java | 47 +- .../v1beta/ListConversionEventsResponse.java | 489 +- ...ListConversionEventsResponseOrBuilder.java | 42 +- .../v1beta/ListCustomDimensionsRequest.java | 463 +- .../ListCustomDimensionsRequestOrBuilder.java | 47 +- .../v1beta/ListCustomDimensionsResponse.java | 489 +- ...ListCustomDimensionsResponseOrBuilder.java | 42 +- .../v1beta/ListCustomMetricsRequest.java | 453 +- .../ListCustomMetricsRequestOrBuilder.java | 47 +- .../v1beta/ListCustomMetricsResponse.java | 460 +- .../ListCustomMetricsResponseOrBuilder.java | 45 +- .../admin/v1beta/ListDataStreamsRequest.java | 453 +- .../ListDataStreamsRequestOrBuilder.java | 47 +- .../admin/v1beta/ListDataStreamsResponse.java | 480 +- .../ListDataStreamsResponseOrBuilder.java | 45 +- .../v1beta/ListFirebaseLinksRequest.java | 453 +- .../ListFirebaseLinksRequestOrBuilder.java | 47 +- .../v1beta/ListFirebaseLinksResponse.java | 460 +- .../ListFirebaseLinksResponseOrBuilder.java | 45 +- .../v1beta/ListGoogleAdsLinksRequest.java | 453 +- .../ListGoogleAdsLinksRequestOrBuilder.java | 47 +- .../v1beta/ListGoogleAdsLinksResponse.java | 472 +- .../ListGoogleAdsLinksResponseOrBuilder.java | 45 +- ...ListMeasurementProtocolSecretsRequest.java | 502 +- ...rementProtocolSecretsRequestOrBuilder.java | 47 +- ...istMeasurementProtocolSecretsResponse.java | 665 +- ...ementProtocolSecretsResponseOrBuilder.java | 68 +- .../admin/v1beta/ListPropertiesRequest.java | 461 +- .../ListPropertiesRequestOrBuilder.java | 42 +- .../admin/v1beta/ListPropertiesResponse.java | 483 +- .../ListPropertiesResponseOrBuilder.java | 45 +- .../v1beta/MeasurementProtocolSecret.java | 466 +- .../v1beta/MeasurementProtocolSecretName.java | 0 .../MeasurementProtocolSecretOrBuilder.java | 45 +- .../analytics/admin/v1beta/NumericValue.java | 391 +- .../admin/v1beta/NumericValueOrBuilder.java | 30 +- .../analytics/admin/v1beta/Property.java | 1470 +- .../analytics/admin/v1beta/PropertyName.java | 0 .../admin/v1beta/PropertyOrBuilder.java | 182 +- .../admin/v1beta/PropertySummary.java | 519 +- .../v1beta/PropertySummaryOrBuilder.java | 51 +- .../analytics/admin/v1beta/PropertyType.java | 89 +- .../v1beta/ProvisionAccountTicketRequest.java | 442 +- ...rovisionAccountTicketRequestOrBuilder.java | 35 +- .../ProvisionAccountTicketResponse.java | 348 +- ...ovisionAccountTicketResponseOrBuilder.java | 50 + .../admin/v1beta/ResourcesProto.java | 565 + .../admin/v1beta/RunAccessReportRequest.java | 1318 +- .../RunAccessReportRequestOrBuilder.java | 133 +- .../admin/v1beta/RunAccessReportResponse.java | 930 +- .../RunAccessReportResponseOrBuilder.java | 92 +- .../SearchChangeHistoryEventsRequest.java | 1409 +- ...chChangeHistoryEventsRequestOrBuilder.java | 198 +- .../SearchChangeHistoryEventsResponse.java | 601 +- ...hChangeHistoryEventsResponseOrBuilder.java | 57 +- .../analytics/admin/v1beta/ServiceLevel.java | 82 +- .../admin/v1beta/UpdateAccountRequest.java | 523 +- .../v1beta/UpdateAccountRequestOrBuilder.java | 55 +- .../v1beta/UpdateConversionEventRequest.java | 545 +- ...UpdateConversionEventRequestOrBuilder.java | 55 +- .../v1beta/UpdateCustomDimensionRequest.java | 497 +- ...UpdateCustomDimensionRequestOrBuilder.java | 43 +- .../v1beta/UpdateCustomMetricRequest.java | 474 +- .../UpdateCustomMetricRequestOrBuilder.java | 43 +- .../UpdateDataRetentionSettingsRequest.java | 579 +- ...DataRetentionSettingsRequestOrBuilder.java | 58 +- .../admin/v1beta/UpdateDataStreamRequest.java | 472 +- .../UpdateDataStreamRequestOrBuilder.java | 43 +- .../v1beta/UpdateGoogleAdsLinkRequest.java | 484 +- .../UpdateGoogleAdsLinkRequestOrBuilder.java | 43 +- ...pdateMeasurementProtocolSecretRequest.java | 602 +- ...urementProtocolSecretRequestOrBuilder.java | 58 +- .../admin/v1beta/UpdatePropertyRequest.java | 523 +- .../UpdatePropertyRequestOrBuilder.java | 55 +- .../admin/v1beta/access_report.proto | 0 .../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 .../AsyncBatchCreateAccessBindings.java | 0 .../SyncBatchCreateAccessBindings.java | 0 .../AsyncBatchDeleteAccessBindings.java | 0 .../SyncBatchDeleteAccessBindings.java | 0 .../AsyncBatchGetAccessBindings.java | 0 .../SyncBatchGetAccessBindings.java | 0 .../AsyncBatchUpdateAccessBindings.java | 0 .../SyncBatchUpdateAccessBindings.java | 0 ...DisplayVideo360AdvertiserLinkProposal.java | 0 ...DisplayVideo360AdvertiserLinkProposal.java | 0 .../SyncCreateSetCredentialsProvider.java | 0 .../SyncCreateSetCredentialsProvider1.java | 0 .../create/SyncCreateSetEndpoint.java | 0 .../AsyncCreateAccessBinding.java | 0 .../SyncCreateAccessBinding.java | 0 ...AccessBindingAccountnameAccessbinding.java | 0 ...ccessBindingPropertynameAccessbinding.java | 0 ...reateAccessBindingStringAccessbinding.java | 0 .../AsyncCreateAdSenseLink.java | 0 .../SyncCreateAdSenseLink.java | 0 ...ateAdSenseLinkPropertynameAdsenselink.java | 0 ...yncCreateAdSenseLinkStringAdsenselink.java | 0 .../createaudience/AsyncCreateAudience.java | 0 .../createaudience/SyncCreateAudience.java | 0 ...yncCreateAudiencePropertynameAudience.java | 0 .../SyncCreateAudienceStringAudience.java | 0 .../AsyncCreateChannelGroup.java | 0 .../SyncCreateChannelGroup.java | 0 ...eChannelGroupPropertynameChannelgroup.java | 0 ...cCreateChannelGroupStringChannelgroup.java | 0 .../AsyncCreateConnectedSiteTag.java | 0 .../SyncCreateConnectedSiteTag.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 .../AsyncCreateEventCreateRule.java | 0 .../SyncCreateEventCreateRule.java | 0 ...eateRuleDatastreamnameEventcreaterule.java | 0 ...eEventCreateRuleStringEventcreaterule.java | 0 .../AsyncCreateExpandedDataSet.java | 0 .../SyncCreateExpandedDataSet.java | 0 ...dedDataSetPropertynameExpandeddataset.java | 0 ...eExpandedDataSetStringExpandeddataset.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 .../AsyncCreateRollupProperty.java | 0 .../SyncCreateRollupProperty.java | 0 .../AsyncCreateRollupPropertySourceLink.java | 0 .../SyncCreateRollupPropertySourceLink.java | 0 ...kPropertynameRolluppropertysourcelink.java | 0 ...rceLinkStringRolluppropertysourcelink.java | 0 .../AsyncCreateSearchAds360Link.java | 0 .../SyncCreateSearchAds360Link.java | 0 ...ds360LinkPropertynameSearchads360Link.java | 0 ...earchAds360LinkStringSearchads360Link.java | 0 ...reateSKAdNetworkConversionValueSchema.java | 0 ...reateSKAdNetworkConversionValueSchema.java | 0 ...mnameSkadnetworkconversionvalueschema.java | 0 ...tringSkadnetworkconversionvalueschema.java | 0 .../AsyncCreateSubproperty.java | 0 .../SyncCreateSubproperty.java | 0 .../AsyncCreateSubpropertyEventFilter.java | 0 .../SyncCreateSubpropertyEventFilter.java | 0 ...terPropertynameSubpropertyeventfilter.java | 0 ...entFilterStringSubpropertyeventfilter.java | 0 .../AsyncDeleteAccessBinding.java | 0 .../SyncDeleteAccessBinding.java | 0 ...cDeleteAccessBindingAccessbindingname.java | 0 .../SyncDeleteAccessBindingString.java | 0 .../deleteaccount/AsyncDeleteAccount.java | 0 .../deleteaccount/SyncDeleteAccount.java | 0 .../SyncDeleteAccountAccountname.java | 0 .../SyncDeleteAccountString.java | 0 .../AsyncDeleteAdSenseLink.java | 0 .../SyncDeleteAdSenseLink.java | 0 .../SyncDeleteAdSenseLinkAdsenselinkname.java | 0 .../SyncDeleteAdSenseLinkString.java | 0 .../AsyncDeleteChannelGroup.java | 0 .../SyncDeleteChannelGroup.java | 0 ...yncDeleteChannelGroupChannelgroupname.java | 0 .../SyncDeleteChannelGroupString.java | 0 .../AsyncDeleteConnectedSiteTag.java | 0 .../SyncDeleteConnectedSiteTag.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 .../AsyncDeleteEventCreateRule.java | 0 .../SyncDeleteEventCreateRule.java | 0 ...eteEventCreateRuleEventcreaterulename.java | 0 .../SyncDeleteEventCreateRuleString.java | 0 .../AsyncDeleteExpandedDataSet.java | 0 .../SyncDeleteExpandedDataSet.java | 0 ...eteExpandedDataSetExpandeddatasetname.java | 0 .../SyncDeleteExpandedDataSetString.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 .../AsyncDeleteRollupPropertySourceLink.java | 0 .../SyncDeleteRollupPropertySourceLink.java | 0 ...ourceLinkRolluppropertysourcelinkname.java | 0 ...cDeleteRollupPropertySourceLinkString.java | 0 .../AsyncDeleteSearchAds360Link.java | 0 .../SyncDeleteSearchAds360Link.java | 0 ...eSearchAds360LinkSearchads360Linkname.java | 0 .../SyncDeleteSearchAds360LinkString.java | 0 ...eleteSKAdNetworkConversionValueSchema.java | 0 ...eleteSKAdNetworkConversionValueSchema.java | 0 ...aSkadnetworkconversionvalueschemaname.java | 0 ...KAdNetworkConversionValueSchemaString.java | 0 .../AsyncDeleteSubpropertyEventFilter.java | 0 .../SyncDeleteSubpropertyEventFilter.java | 0 ...yncDeleteSubpropertyEventFilterString.java | 0 ...EventFilterSubpropertyeventfiltername.java | 0 ...cFetchAutomatedGa4ConfigurationOptOut.java | 0 ...cFetchAutomatedGa4ConfigurationOptOut.java | 0 .../AsyncFetchConnectedGa4Property.java | 0 .../SyncFetchConnectedGa4Property.java | 0 .../AsyncGetAccessBinding.java | 0 .../SyncGetAccessBinding.java | 0 ...SyncGetAccessBindingAccessbindingname.java | 0 .../SyncGetAccessBindingString.java | 0 .../getaccount/AsyncGetAccount.java | 0 .../getaccount/SyncGetAccount.java | 0 .../getaccount/SyncGetAccountAccountname.java | 0 .../getaccount/SyncGetAccountString.java | 0 .../getadsenselink/AsyncGetAdSenseLink.java | 0 .../getadsenselink/SyncGetAdSenseLink.java | 0 .../SyncGetAdSenseLinkAdsenselinkname.java | 0 .../SyncGetAdSenseLinkString.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 .../getchannelgroup/AsyncGetChannelGroup.java | 0 .../getchannelgroup/SyncGetChannelGroup.java | 0 .../SyncGetChannelGroupChannelgroupname.java | 0 .../SyncGetChannelGroupString.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 .../AsyncGetDataRedactionSettings.java | 0 .../SyncGetDataRedactionSettings.java | 0 ...tionSettingsDataredactionsettingsname.java | 0 .../SyncGetDataRedactionSettingsString.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 .../AsyncGetEnhancedMeasurementSettings.java | 0 .../SyncGetEnhancedMeasurementSettings.java | 0 ...ttingsEnhancedmeasurementsettingsname.java | 0 ...cGetEnhancedMeasurementSettingsString.java | 0 .../AsyncGetEventCreateRule.java | 0 .../SyncGetEventCreateRule.java | 0 ...GetEventCreateRuleEventcreaterulename.java | 0 .../SyncGetEventCreateRuleString.java | 0 .../AsyncGetExpandedDataSet.java | 0 .../SyncGetExpandedDataSet.java | 0 ...GetExpandedDataSetExpandeddatasetname.java | 0 .../SyncGetExpandedDataSetString.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 .../AsyncGetRollupPropertySourceLink.java | 0 .../SyncGetRollupPropertySourceLink.java | 0 ...ourceLinkRolluppropertysourcelinkname.java | 0 ...SyncGetRollupPropertySourceLinkString.java | 0 .../AsyncGetSearchAds360Link.java | 0 .../SyncGetSearchAds360Link.java | 0 ...tSearchAds360LinkSearchads360Linkname.java | 0 .../SyncGetSearchAds360LinkString.java | 0 ...ncGetSKAdNetworkConversionValueSchema.java | 0 ...ncGetSKAdNetworkConversionValueSchema.java | 0 ...aSkadnetworkconversionvalueschemaname.java | 0 ...KAdNetworkConversionValueSchemaString.java | 0 .../AsyncListAccessBindings.java | 0 .../AsyncListAccessBindingsPaged.java | 0 .../SyncListAccessBindings.java | 0 .../SyncListAccessBindingsAccountname.java | 0 .../SyncListAccessBindingsPropertyname.java | 0 .../SyncListAccessBindingsString.java | 0 .../listaccounts/AsyncListAccounts.java | 0 .../listaccounts/AsyncListAccountsPaged.java | 0 .../listaccounts/SyncListAccounts.java | 0 .../AsyncListAccountSummaries.java | 0 .../AsyncListAccountSummariesPaged.java | 0 .../SyncListAccountSummaries.java | 0 .../AsyncListAdSenseLinks.java | 0 .../AsyncListAdSenseLinksPaged.java | 0 .../SyncListAdSenseLinks.java | 0 .../SyncListAdSenseLinksPropertyname.java | 0 .../SyncListAdSenseLinksString.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 .../AsyncListChannelGroups.java | 0 .../AsyncListChannelGroupsPaged.java | 0 .../SyncListChannelGroups.java | 0 .../SyncListChannelGroupsPropertyname.java | 0 .../SyncListChannelGroupsString.java | 0 .../AsyncListConnectedSiteTags.java | 0 .../SyncListConnectedSiteTags.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 .../AsyncListEventCreateRules.java | 0 .../AsyncListEventCreateRulesPaged.java | 0 .../SyncListEventCreateRules.java | 0 ...yncListEventCreateRulesDatastreamname.java | 0 .../SyncListEventCreateRulesString.java | 0 .../AsyncListExpandedDataSets.java | 0 .../AsyncListExpandedDataSetsPaged.java | 0 .../SyncListExpandedDataSets.java | 0 .../SyncListExpandedDataSetsPropertyname.java | 0 .../SyncListExpandedDataSetsString.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 .../AsyncListRollupPropertySourceLinks.java | 0 ...yncListRollupPropertySourceLinksPaged.java | 0 .../SyncListRollupPropertySourceLinks.java | 0 ...RollupPropertySourceLinksPropertyname.java | 0 ...ncListRollupPropertySourceLinksString.java | 0 .../AsyncListSearchAds360Links.java | 0 .../AsyncListSearchAds360LinksPaged.java | 0 .../SyncListSearchAds360Links.java | 0 ...SyncListSearchAds360LinksPropertyname.java | 0 .../SyncListSearchAds360LinksString.java | 0 ...ListSKAdNetworkConversionValueSchemas.java | 0 ...KAdNetworkConversionValueSchemasPaged.java | 0 ...ListSKAdNetworkConversionValueSchemas.java | 0 ...kConversionValueSchemasDatastreamname.java | 0 ...AdNetworkConversionValueSchemasString.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 .../AsyncUpdateAccessBinding.java | 0 .../SyncUpdateAccessBinding.java | 0 .../SyncUpdateAccessBindingAccessbinding.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 .../AsyncUpdateChannelGroup.java | 0 .../SyncUpdateChannelGroup.java | 0 ...dateChannelGroupChannelgroupFieldmask.java | 0 .../AsyncUpdateConversionEvent.java | 0 .../SyncUpdateConversionEvent.java | 0 ...nversionEventConversioneventFieldmask.java | 0 .../AsyncUpdateCustomDimension.java | 0 .../SyncUpdateCustomDimension.java | 0 ...stomDimensionCustomdimensionFieldmask.java | 0 .../AsyncUpdateCustomMetric.java | 0 .../SyncUpdateCustomMetric.java | 0 ...dateCustomMetricCustommetricFieldmask.java | 0 .../AsyncUpdateDataRedactionSettings.java | 0 .../SyncUpdateDataRedactionSettings.java | 0 ...ettingsDataredactionsettingsFieldmask.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 ...syncUpdateEnhancedMeasurementSettings.java | 0 ...SyncUpdateEnhancedMeasurementSettings.java | 0 ...sEnhancedmeasurementsettingsFieldmask.java | 0 .../AsyncUpdateEventCreateRule.java | 0 .../SyncUpdateEventCreateRule.java | 0 ...entCreateRuleEventcreateruleFieldmask.java | 0 .../AsyncUpdateExpandedDataSet.java | 0 .../SyncUpdateExpandedDataSet.java | 0 ...pandedDataSetExpandeddatasetFieldmask.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 ...pdateSKAdNetworkConversionValueSchema.java | 0 ...pdateSKAdNetworkConversionValueSchema.java | 0 ...networkconversionvalueschemaFieldmask.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 .../runaccessreport/AsyncRunAccessReport.java | 0 .../runaccessreport/SyncRunAccessReport.java | 0 .../AsyncSearchChangeHistoryEvents.java | 0 .../AsyncSearchChangeHistoryEventsPaged.java | 0 .../SyncSearchChangeHistoryEvents.java | 0 .../updateaccount/AsyncUpdateAccount.java | 0 .../updateaccount/SyncUpdateAccount.java | 0 .../SyncUpdateAccountAccountFieldmask.java | 0 .../AsyncUpdateConversionEvent.java | 0 .../SyncUpdateConversionEvent.java | 0 ...nversionEventConversioneventFieldmask.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 | 11581 ----------- .../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 | 3303 --- ...Video360AdvertiserLinkProposalRequest.java | 584 - ...dvertiserLinkProposalRequestOrBuilder.java | 31 - ...ideo360AdvertiserLinkProposalResponse.java | 654 - ...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 | 584 - ...dvertiserLinkProposalRequestOrBuilder.java | 31 - ...nelGroupFilterExpressionListOrBuilder.java | 53 - .../admin/v1alpha/ChannelGroupProto.java | 165 - .../CreateAccessBindingRequestOrBuilder.java | 60 - .../CreateAdSenseLinkRequestOrBuilder.java | 60 - .../CreateAudienceRequestOrBuilder.java | 56 - .../CreateChannelGroupRequestOrBuilder.java | 58 - ...eateConnectedSiteTagResponseOrBuilder.java | 9 - ...CreateConversionEventRequestOrBuilder.java | 58 - ...CreateCustomDimensionRequestOrBuilder.java | 56 - .../CreateCustomMetricRequestOrBuilder.java | 56 - .../CreateDataStreamRequestOrBuilder.java | 56 - ...Video360AdvertiserLinkProposalRequest.java | 806 - ...dvertiserLinkProposalRequestOrBuilder.java | 56 - ...ideo360AdvertiserLinkRequestOrBuilder.java | 56 - ...CreateEventCreateRuleRequestOrBuilder.java | 56 - ...CreateExpandedDataSetRequestOrBuilder.java | 56 - .../CreateFirebaseLinkRequestOrBuilder.java | 58 - .../CreateGoogleAdsLinkRequestOrBuilder.java | 56 - ...urementProtocolSecretRequestOrBuilder.java | 58 - .../CreatePropertyRequestOrBuilder.java | 39 - ...lupPropertySourceLinkRequestOrBuilder.java | 58 - ...ConversionValueSchemaRequestOrBuilder.java | 58 - ...reateSearchAds360LinkRequestOrBuilder.java | 56 - ...ubpropertyEventFilterRequestOrBuilder.java | 58 - .../CreateSubpropertyRequestOrBuilder.java | 87 - .../DeleteAccessBindingRequestOrBuilder.java | 33 - .../DeleteAccountRequestOrBuilder.java | 33 - .../DeleteAdSenseLinkRequestOrBuilder.java | 33 - .../DeleteChannelGroupRequestOrBuilder.java | 31 - ...DeleteConversionEventRequestOrBuilder.java | 33 - .../DeleteDataStreamRequestOrBuilder.java | 31 - ...Video360AdvertiserLinkProposalRequest.java | 584 - ...dvertiserLinkProposalRequestOrBuilder.java | 31 - ...ideo360AdvertiserLinkRequestOrBuilder.java | 31 - ...DeleteEventCreateRuleRequestOrBuilder.java | 31 - ...DeleteExpandedDataSetRequestOrBuilder.java | 29 - .../DeleteFirebaseLinkRequestOrBuilder.java | 31 - .../DeleteGoogleAdsLinkRequestOrBuilder.java | 29 - ...urementProtocolSecretRequestOrBuilder.java | 33 - .../DeletePropertyRequestOrBuilder.java | 33 - ...lupPropertySourceLinkRequestOrBuilder.java | 33 - ...eleteSearchAds360LinkRequestOrBuilder.java | 31 - ...ubpropertyEventFilterRequestOrBuilder.java | 35 - .../admin/v1alpha/EventCreateAndEdit.java | 110 - ...dDataSetFilterExpressionListOrBuilder.java | 53 - .../admin/v1alpha/ExpandedDataSetProto.java | 156 - ...4ConfigurationOptOutResponseOrBuilder.java | 19 - .../GetAccessBindingRequestOrBuilder.java | 35 - .../v1alpha/GetAccountRequestOrBuilder.java | 33 - .../GetAdSenseLinkRequestOrBuilder.java | 33 - ...etAttributionSettingsRequestOrBuilder.java | 31 - .../v1alpha/GetAudienceRequestOrBuilder.java | 31 - .../GetBigQueryLinkRequestOrBuilder.java | 33 - .../GetChannelGroupRequestOrBuilder.java | 31 - .../GetConversionEventRequestOrBuilder.java | 33 - .../GetCustomDimensionRequestOrBuilder.java | 31 - .../GetCustomMetricRequestOrBuilder.java | 31 - ...DataRedactionSettingsRequestOrBuilder.java | 35 - ...DataRetentionSettingsRequestOrBuilder.java | 35 - ...etDataSharingSettingsRequestOrBuilder.java | 33 - .../GetDataStreamRequestOrBuilder.java | 31 - ...dvertiserLinkProposalRequestOrBuilder.java | 31 - ...ideo360AdvertiserLinkRequestOrBuilder.java | 31 - ...edMeasurementSettingsRequestOrBuilder.java | 35 - .../GetEventCreateRuleRequestOrBuilder.java | 31 - .../GetExpandedDataSetRequestOrBuilder.java | 31 - ...GoogleSignalsSettingsRequestOrBuilder.java | 31 - ...urementProtocolSecretRequestOrBuilder.java | 33 - .../v1alpha/GetPropertyRequestOrBuilder.java | 33 - ...lupPropertySourceLinkRequestOrBuilder.java | 35 - .../GetSearchAds360LinkRequestOrBuilder.java | 31 - ...ubpropertyEventFilterRequestOrBuilder.java | 35 - ...ertiserLinkProposalsResponseOrBuilder.java | 75 - ...ovisionAccountTicketResponseOrBuilder.java | 29 - .../admin/v1alpha/ResourcesProto.java | 930 - ...tomatedGa4ConfigurationOptOutResponse.java | 408 - ...4ConfigurationOptOutResponseOrBuilder.java | 9 - ...SubpropertyEventFilterClauseOrBuilder.java | 58 - ...rtyEventFilterExpressionListOrBuilder.java | 53 - .../v1alpha/SubpropertyEventFilterProto.java | 160 - .../UpdateAccessBindingRequestOrBuilder.java | 36 - .../v1beta/AnalyticsAdminServiceGrpc.java | 4611 ----- .../AccessDimensionHeaderOrBuilder.java | 29 - .../v1beta/AccessMetricHeaderOrBuilder.java | 29 - .../v1beta/AccessMetricValueOrBuilder.java | 29 - .../v1beta/AccessQuotaStatusOrBuilder.java | 29 - .../admin/v1beta/AccessReportProto.java | 349 - ...geUserDataCollectionResponseOrBuilder.java | 9 - .../admin/v1beta/AnalyticsAdminProto.java | 1253 -- ...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 | 480 - 1602 files changed, 180338 insertions(+), 108449 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/main/resources/META-INF/native-image/com.google.analytics.admin.v1alpha/reflect-config.json (100%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/google-analytics-admin/src/main/resources/META-INF/native-image/com.google.analytics.admin.v1beta/reflect-config.json (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/AccessBinding.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/AccessBindingName.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/AccessBindingOrBuilder.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/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 (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/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 (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/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 (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/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%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AdSenseLink.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/AdSenseLinkName.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/AdSenseLinkOrBuilder.java (66%) 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 (63%) 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 (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/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 (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/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 (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/AudienceDimensionOrMetricFilterOrBuilder.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/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 (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/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/BatchCreateAccessBindingsRequest.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/BatchCreateAccessBindingsRequestOrBuilder.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/BatchCreateAccessBindingsResponse.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/BatchCreateAccessBindingsResponseOrBuilder.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/BatchDeleteAccessBindingsRequest.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/BatchDeleteAccessBindingsRequestOrBuilder.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/BatchGetAccessBindingsRequest.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/BatchGetAccessBindingsRequestOrBuilder.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/BatchGetAccessBindingsResponse.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/BatchGetAccessBindingsResponseOrBuilder.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/BatchUpdateAccessBindingsRequest.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/BatchUpdateAccessBindingsRequestOrBuilder.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/BatchUpdateAccessBindingsResponse.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/BatchUpdateAccessBindingsResponseOrBuilder.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/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 (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/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 (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/ChannelGroup.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/ChannelGroupFilter.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/ChannelGroupFilterExpression.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/ChannelGroupFilterExpressionList.java (58%) create mode 100644 java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ChannelGroupFilterExpressionListOrBuilder.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/ChannelGroupFilterExpressionOrBuilder.java (83%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ChannelGroupFilterOrBuilder.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/ChannelGroupName.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/ChannelGroupOrBuilder.java (63%) create mode 100644 java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ChannelGroupProto.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/CoarseValue.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/ConnectedSiteTag.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/ConnectedSiteTagOrBuilder.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/ConversionEvent.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/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 (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/ConversionValues.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/ConversionValuesOrBuilder.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/CreateAccessBindingRequest.java (60%) create mode 100644 java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateAccessBindingRequestOrBuilder.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/CreateAdSenseLinkRequest.java (61%) create mode 100644 java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateAdSenseLinkRequestOrBuilder.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/CreateAudienceRequest.java (61%) 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/CreateChannelGroupRequest.java (60%) create mode 100644 java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateChannelGroupRequestOrBuilder.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/CreateConnectedSiteTagRequest.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/CreateConnectedSiteTagRequestOrBuilder.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/CreateConnectedSiteTagResponse.java (58%) create mode 100644 java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateConnectedSiteTagResponseOrBuilder.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/CreateEventCreateRuleRequest.java (58%) create mode 100644 java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateEventCreateRuleRequestOrBuilder.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/CreateExpandedDataSetRequest.java (58%) create mode 100644 java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateExpandedDataSetRequestOrBuilder.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 (56%) 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/CreateRollupPropertyRequest.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/CreateRollupPropertyRequestOrBuilder.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/CreateRollupPropertyResponse.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/CreateRollupPropertyResponseOrBuilder.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/CreateRollupPropertySourceLinkRequest.java (55%) create mode 100644 java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateRollupPropertySourceLinkRequestOrBuilder.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/CreateSKAdNetworkConversionValueSchemaRequest.java (51%) create mode 100644 java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateSKAdNetworkConversionValueSchemaRequestOrBuilder.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/CreateSubpropertyEventFilterRequest.java (57%) create mode 100644 java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateSubpropertyEventFilterRequestOrBuilder.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/CreateSubpropertyRequest.java (60%) create mode 100644 java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateSubpropertyRequestOrBuilder.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/CreateSubpropertyResponse.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/CreateSubpropertyResponseOrBuilder.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/CustomDimension.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/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 (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/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/DataRedactionSettings.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/DataRedactionSettingsName.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/DataRedactionSettingsOrBuilder.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/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/DeleteAccessBindingRequest.java (62%) create mode 100644 java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteAccessBindingRequestOrBuilder.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/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/DeleteAdSenseLinkRequest.java (64%) create mode 100644 java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteAdSenseLinkRequestOrBuilder.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/DeleteChannelGroupRequest.java (62%) create mode 100644 java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteChannelGroupRequestOrBuilder.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/DeleteConnectedSiteTagRequest.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/DeleteConnectedSiteTagRequestOrBuilder.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/DeleteConversionEventRequest.java (62%) 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/DeleteEventCreateRuleRequest.java (60%) create mode 100644 java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteEventCreateRuleRequestOrBuilder.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/DeleteExpandedDataSetRequest.java (60%) create mode 100644 java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteExpandedDataSetRequestOrBuilder.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 (58%) 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 (64%) 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/DeleteRollupPropertySourceLinkRequest.java (58%) create mode 100644 java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteRollupPropertySourceLinkRequestOrBuilder.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/DeleteSKAdNetworkConversionValueSchemaRequest.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/DeleteSKAdNetworkConversionValueSchemaRequestOrBuilder.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/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/DeleteSubpropertyEventFilterRequest.java (60%) create mode 100644 java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteSubpropertyEventFilterRequestOrBuilder.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/EnhancedMeasurementSettings.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/EnhancedMeasurementSettingsName.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/EnhancedMeasurementSettingsOrBuilder.java (81%) create mode 100644 java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/EventCreateAndEdit.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/EventCreateRule.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/EventCreateRuleName.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/EventCreateRuleOrBuilder.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/EventMapping.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/EventMappingOrBuilder.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/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 (58%) 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/ExpandedDataSetName.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/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 (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/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/FetchConnectedGa4PropertyRequest.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/FetchConnectedGa4PropertyRequestOrBuilder.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/FetchConnectedGa4PropertyResponse.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/FetchConnectedGa4PropertyResponseOrBuilder.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/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/GetAccessBindingRequest.java (64%) create mode 100644 java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetAccessBindingRequestOrBuilder.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/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/GetAdSenseLinkRequest.java (64%) create mode 100644 java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetAdSenseLinkRequestOrBuilder.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/GetChannelGroupRequest.java (63%) create mode 100644 java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetChannelGroupRequestOrBuilder.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/GetDataRedactionSettingsRequest.java (60%) create mode 100644 java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetDataRedactionSettingsRequestOrBuilder.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/GetEnhancedMeasurementSettingsRequest.java (58%) create mode 100644 java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetEnhancedMeasurementSettingsRequestOrBuilder.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/GetEventCreateRuleRequest.java (62%) create mode 100644 java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetEventCreateRuleRequestOrBuilder.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/GetExpandedDataSetRequest.java (62%) create mode 100644 java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetExpandedDataSetRequestOrBuilder.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/GetRollupPropertySourceLinkRequest.java (60%) create mode 100644 java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetRollupPropertySourceLinkRequestOrBuilder.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/GetSKAdNetworkConversionValueSchemaRequest.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/GetSKAdNetworkConversionValueSchemaRequestOrBuilder.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/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/GetSubpropertyEventFilterRequest.java (60%) create mode 100644 java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetSubpropertyEventFilterRequestOrBuilder.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/GroupingRule.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/GroupingRuleOrBuilder.java (53%) 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/ListAccessBindingsRequest.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/ListAccessBindingsRequestOrBuilder.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/ListAccessBindingsResponse.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/ListAccessBindingsResponseOrBuilder.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/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/ListAdSenseLinksRequest.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/ListAdSenseLinksRequestOrBuilder.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/ListAdSenseLinksResponse.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/ListAdSenseLinksResponseOrBuilder.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/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 (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/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/ListChannelGroupsRequest.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/ListChannelGroupsRequestOrBuilder.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/ListChannelGroupsResponse.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/ListChannelGroupsResponseOrBuilder.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/ListConnectedSiteTagsRequest.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/ListConnectedSiteTagsRequestOrBuilder.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/ListConnectedSiteTagsResponse.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/ListConnectedSiteTagsResponseOrBuilder.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/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 (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/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 (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/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/ListEventCreateRulesRequest.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/ListEventCreateRulesRequestOrBuilder.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/ListEventCreateRulesResponse.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/ListEventCreateRulesResponseOrBuilder.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/ListExpandedDataSetsRequest.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/ListExpandedDataSetsRequestOrBuilder.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/ListExpandedDataSetsResponse.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/ListExpandedDataSetsResponseOrBuilder.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/ListFirebaseLinksRequest.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/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 (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/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/ListRollupPropertySourceLinksRequest.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/ListRollupPropertySourceLinksRequestOrBuilder.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/ListRollupPropertySourceLinksResponse.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/ListRollupPropertySourceLinksResponseOrBuilder.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/ListSKAdNetworkConversionValueSchemasRequest.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/ListSKAdNetworkConversionValueSchemasRequestOrBuilder.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/ListSKAdNetworkConversionValueSchemasResponse.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/ListSKAdNetworkConversionValueSchemasResponseOrBuilder.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/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 (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/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/ListSubpropertyEventFiltersRequest.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/ListSubpropertyEventFiltersRequestOrBuilder.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/ListSubpropertyEventFiltersResponse.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/ListSubpropertyEventFiltersResponseOrBuilder.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/MatchingCondition.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/MatchingConditionOrBuilder.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/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/ParameterMutation.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/ParameterMutationOrBuilder.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/PostbackWindow.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/PostbackWindowOrBuilder.java (83%) 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/RollupPropertySourceLink.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/RollupPropertySourceLinkName.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/RollupPropertySourceLinkOrBuilder.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/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 (91%) 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 (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/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/SKAdNetworkConversionValueSchema.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/SKAdNetworkConversionValueSchemaName.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/SKAdNetworkConversionValueSchemaOrBuilder.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 (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/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/SubpropertyEventFilter.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/SubpropertyEventFilterClause.java (58%) create mode 100644 java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/SubpropertyEventFilterClauseOrBuilder.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/SubpropertyEventFilterCondition.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/SubpropertyEventFilterConditionOrBuilder.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/SubpropertyEventFilterExpression.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/SubpropertyEventFilterExpressionList.java (54%) create mode 100644 java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/SubpropertyEventFilterExpressionListOrBuilder.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/SubpropertyEventFilterExpressionOrBuilder.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/SubpropertyEventFilterName.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/SubpropertyEventFilterOrBuilder.java (61%) create mode 100644 java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/SubpropertyEventFilterProto.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/UpdateAccessBindingRequest.java (59%) create mode 100644 java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateAccessBindingRequestOrBuilder.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/UpdateChannelGroupRequest.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/UpdateChannelGroupRequestOrBuilder.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/UpdateConversionEventRequest.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/UpdateConversionEventRequestOrBuilder.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 (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/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 (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/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/UpdateDataRedactionSettingsRequest.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/UpdateDataRedactionSettingsRequestOrBuilder.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/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/UpdateEnhancedMeasurementSettingsRequest.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/UpdateEnhancedMeasurementSettingsRequestOrBuilder.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/UpdateEventCreateRuleRequest.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/UpdateEventCreateRuleRequestOrBuilder.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/UpdateExpandedDataSetRequest.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/UpdateExpandedDataSetRequestOrBuilder.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/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 (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/UpdatePropertyRequest.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/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/UpdateSKAdNetworkConversionValueSchemaRequest.java (53%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateSKAdNetworkConversionValueSchemaRequestOrBuilder.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/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/UpdateSubpropertyEventFilterRequest.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/UpdateSubpropertyEventFilterRequestOrBuilder.java (60%) 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/channel_group.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/event_create_and_edit.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/v1alpha => java-analytics-admin}/proto-google-analytics-admin-v1alpha/src/main/proto/google/analytics/admin/v1alpha/subproperty_event_filter.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/AccessBetweenFilter.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/AccessBetweenFilterOrBuilder.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/AccessDateRange.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/AccessDateRangeOrBuilder.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/AccessDimension.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/AccessDimensionHeader.java (67%) create mode 100644 java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AccessDimensionHeaderOrBuilder.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/AccessDimensionOrBuilder.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/AccessDimensionValue.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/AccessDimensionValueOrBuilder.java (50%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AccessFilter.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/AccessFilterExpression.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/AccessFilterExpressionList.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/AccessFilterExpressionListOrBuilder.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/AccessFilterExpressionOrBuilder.java (83%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AccessFilterOrBuilder.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/AccessInListFilter.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/AccessInListFilterOrBuilder.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/AccessMetric.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/AccessMetricHeader.java (67%) create mode 100644 java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AccessMetricHeaderOrBuilder.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/AccessMetricOrBuilder.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/AccessMetricValue.java (66%) create mode 100644 java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AccessMetricValueOrBuilder.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/AccessNumericFilter.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/AccessNumericFilterOrBuilder.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/AccessOrderBy.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/AccessOrderByOrBuilder.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/AccessQuota.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/AccessQuotaOrBuilder.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/AccessQuotaStatus.java (66%) create mode 100644 java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AccessQuotaStatusOrBuilder.java create mode 100644 java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AccessReportProto.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/AccessRow.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/AccessRowOrBuilder.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/AccessStringFilter.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/AccessStringFilterOrBuilder.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/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 (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/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 (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/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 (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/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 (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/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 (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/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 (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/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 (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/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/NumericValue.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/NumericValueOrBuilder.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/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 (78%) 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 (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/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/RunAccessReportRequest.java (80%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/RunAccessReportRequestOrBuilder.java (90%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/RunAccessReportResponse.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/RunAccessReportResponseOrBuilder.java (84%) 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/UpdateConversionEventRequest.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/UpdateConversionEventRequestOrBuilder.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 (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/UpdateMeasurementProtocolSecretRequestOrBuilder.java (56%) 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/access_report.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/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/batchcreateaccessbindings/AsyncBatchCreateAccessBindings.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/batchcreateaccessbindings/SyncBatchCreateAccessBindings.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/batchdeleteaccessbindings/AsyncBatchDeleteAccessBindings.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/batchdeleteaccessbindings/SyncBatchDeleteAccessBindings.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/batchgetaccessbindings/AsyncBatchGetAccessBindings.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/batchgetaccessbindings/SyncBatchGetAccessBindings.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/batchupdateaccessbindings/AsyncBatchUpdateAccessBindings.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/batchupdateaccessbindings/SyncBatchUpdateAccessBindings.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/createaccessbinding/AsyncCreateAccessBinding.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createaccessbinding/SyncCreateAccessBinding.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createaccessbinding/SyncCreateAccessBindingAccountnameAccessbinding.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createaccessbinding/SyncCreateAccessBindingPropertynameAccessbinding.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createaccessbinding/SyncCreateAccessBindingStringAccessbinding.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createadsenselink/AsyncCreateAdSenseLink.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createadsenselink/SyncCreateAdSenseLink.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createadsenselink/SyncCreateAdSenseLinkPropertynameAdsenselink.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createadsenselink/SyncCreateAdSenseLinkStringAdsenselink.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/createchannelgroup/AsyncCreateChannelGroup.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createchannelgroup/SyncCreateChannelGroup.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createchannelgroup/SyncCreateChannelGroupPropertynameChannelgroup.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createchannelgroup/SyncCreateChannelGroupStringChannelgroup.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createconnectedsitetag/AsyncCreateConnectedSiteTag.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createconnectedsitetag/SyncCreateConnectedSiteTag.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/createeventcreaterule/AsyncCreateEventCreateRule.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createeventcreaterule/SyncCreateEventCreateRule.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createeventcreaterule/SyncCreateEventCreateRuleDatastreamnameEventcreaterule.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createeventcreaterule/SyncCreateEventCreateRuleStringEventcreaterule.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createexpandeddataset/AsyncCreateExpandedDataSet.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createexpandeddataset/SyncCreateExpandedDataSet.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createexpandeddataset/SyncCreateExpandedDataSetPropertynameExpandeddataset.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createexpandeddataset/SyncCreateExpandedDataSetStringExpandeddataset.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/createrollupproperty/AsyncCreateRollupProperty.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createrollupproperty/SyncCreateRollupProperty.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createrolluppropertysourcelink/AsyncCreateRollupPropertySourceLink.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createrolluppropertysourcelink/SyncCreateRollupPropertySourceLink.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createrolluppropertysourcelink/SyncCreateRollupPropertySourceLinkPropertynameRolluppropertysourcelink.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createrolluppropertysourcelink/SyncCreateRollupPropertySourceLinkStringRolluppropertysourcelink.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/createskadnetworkconversionvalueschema/AsyncCreateSKAdNetworkConversionValueSchema.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createskadnetworkconversionvalueschema/SyncCreateSKAdNetworkConversionValueSchema.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createskadnetworkconversionvalueschema/SyncCreateSKAdNetworkConversionValueSchemaDatastreamnameSkadnetworkconversionvalueschema.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createskadnetworkconversionvalueschema/SyncCreateSKAdNetworkConversionValueSchemaStringSkadnetworkconversionvalueschema.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createsubproperty/AsyncCreateSubproperty.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createsubproperty/SyncCreateSubproperty.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createsubpropertyeventfilter/AsyncCreateSubpropertyEventFilter.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createsubpropertyeventfilter/SyncCreateSubpropertyEventFilter.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createsubpropertyeventfilter/SyncCreateSubpropertyEventFilterPropertynameSubpropertyeventfilter.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createsubpropertyeventfilter/SyncCreateSubpropertyEventFilterStringSubpropertyeventfilter.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deleteaccessbinding/AsyncDeleteAccessBinding.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deleteaccessbinding/SyncDeleteAccessBinding.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deleteaccessbinding/SyncDeleteAccessBindingAccessbindingname.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deleteaccessbinding/SyncDeleteAccessBindingString.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/deleteadsenselink/AsyncDeleteAdSenseLink.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deleteadsenselink/SyncDeleteAdSenseLink.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deleteadsenselink/SyncDeleteAdSenseLinkAdsenselinkname.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deleteadsenselink/SyncDeleteAdSenseLinkString.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletechannelgroup/AsyncDeleteChannelGroup.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletechannelgroup/SyncDeleteChannelGroup.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletechannelgroup/SyncDeleteChannelGroupChannelgroupname.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletechannelgroup/SyncDeleteChannelGroupString.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deleteconnectedsitetag/AsyncDeleteConnectedSiteTag.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deleteconnectedsitetag/SyncDeleteConnectedSiteTag.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/deleteeventcreaterule/AsyncDeleteEventCreateRule.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deleteeventcreaterule/SyncDeleteEventCreateRule.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deleteeventcreaterule/SyncDeleteEventCreateRuleEventcreaterulename.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deleteeventcreaterule/SyncDeleteEventCreateRuleString.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deleteexpandeddataset/AsyncDeleteExpandedDataSet.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deleteexpandeddataset/SyncDeleteExpandedDataSet.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deleteexpandeddataset/SyncDeleteExpandedDataSetExpandeddatasetname.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deleteexpandeddataset/SyncDeleteExpandedDataSetString.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/deleterolluppropertysourcelink/AsyncDeleteRollupPropertySourceLink.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deleterolluppropertysourcelink/SyncDeleteRollupPropertySourceLink.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deleterolluppropertysourcelink/SyncDeleteRollupPropertySourceLinkRolluppropertysourcelinkname.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deleterolluppropertysourcelink/SyncDeleteRollupPropertySourceLinkString.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/deleteskadnetworkconversionvalueschema/AsyncDeleteSKAdNetworkConversionValueSchema.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deleteskadnetworkconversionvalueschema/SyncDeleteSKAdNetworkConversionValueSchema.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deleteskadnetworkconversionvalueschema/SyncDeleteSKAdNetworkConversionValueSchemaSkadnetworkconversionvalueschemaname.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deleteskadnetworkconversionvalueschema/SyncDeleteSKAdNetworkConversionValueSchemaString.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletesubpropertyeventfilter/AsyncDeleteSubpropertyEventFilter.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletesubpropertyeventfilter/SyncDeleteSubpropertyEventFilter.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletesubpropertyeventfilter/SyncDeleteSubpropertyEventFilterString.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletesubpropertyeventfilter/SyncDeleteSubpropertyEventFilterSubpropertyeventfiltername.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/fetchconnectedga4property/AsyncFetchConnectedGa4Property.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/fetchconnectedga4property/SyncFetchConnectedGa4Property.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getaccessbinding/AsyncGetAccessBinding.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getaccessbinding/SyncGetAccessBinding.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getaccessbinding/SyncGetAccessBindingAccessbindingname.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getaccessbinding/SyncGetAccessBindingString.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/getadsenselink/AsyncGetAdSenseLink.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getadsenselink/SyncGetAdSenseLink.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getadsenselink/SyncGetAdSenseLinkAdsenselinkname.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getadsenselink/SyncGetAdSenseLinkString.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/getchannelgroup/AsyncGetChannelGroup.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getchannelgroup/SyncGetChannelGroup.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getchannelgroup/SyncGetChannelGroupChannelgroupname.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getchannelgroup/SyncGetChannelGroupString.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/getdataredactionsettings/AsyncGetDataRedactionSettings.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getdataredactionsettings/SyncGetDataRedactionSettings.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getdataredactionsettings/SyncGetDataRedactionSettingsDataredactionsettingsname.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getdataredactionsettings/SyncGetDataRedactionSettingsString.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/getenhancedmeasurementsettings/AsyncGetEnhancedMeasurementSettings.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getenhancedmeasurementsettings/SyncGetEnhancedMeasurementSettings.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getenhancedmeasurementsettings/SyncGetEnhancedMeasurementSettingsEnhancedmeasurementsettingsname.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getenhancedmeasurementsettings/SyncGetEnhancedMeasurementSettingsString.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/geteventcreaterule/AsyncGetEventCreateRule.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/geteventcreaterule/SyncGetEventCreateRule.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/geteventcreaterule/SyncGetEventCreateRuleEventcreaterulename.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/geteventcreaterule/SyncGetEventCreateRuleString.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getexpandeddataset/AsyncGetExpandedDataSet.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getexpandeddataset/SyncGetExpandedDataSet.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getexpandeddataset/SyncGetExpandedDataSetExpandeddatasetname.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getexpandeddataset/SyncGetExpandedDataSetString.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/getrolluppropertysourcelink/AsyncGetRollupPropertySourceLink.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getrolluppropertysourcelink/SyncGetRollupPropertySourceLink.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getrolluppropertysourcelink/SyncGetRollupPropertySourceLinkRolluppropertysourcelinkname.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getrolluppropertysourcelink/SyncGetRollupPropertySourceLinkString.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/getskadnetworkconversionvalueschema/AsyncGetSKAdNetworkConversionValueSchema.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getskadnetworkconversionvalueschema/SyncGetSKAdNetworkConversionValueSchema.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getskadnetworkconversionvalueschema/SyncGetSKAdNetworkConversionValueSchemaSkadnetworkconversionvalueschemaname.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getskadnetworkconversionvalueschema/SyncGetSKAdNetworkConversionValueSchemaString.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listaccessbindings/AsyncListAccessBindings.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listaccessbindings/AsyncListAccessBindingsPaged.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listaccessbindings/SyncListAccessBindings.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listaccessbindings/SyncListAccessBindingsAccountname.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listaccessbindings/SyncListAccessBindingsPropertyname.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listaccessbindings/SyncListAccessBindingsString.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/listadsenselinks/AsyncListAdSenseLinks.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listadsenselinks/AsyncListAdSenseLinksPaged.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listadsenselinks/SyncListAdSenseLinks.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listadsenselinks/SyncListAdSenseLinksPropertyname.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listadsenselinks/SyncListAdSenseLinksString.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/listchannelgroups/AsyncListChannelGroups.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listchannelgroups/AsyncListChannelGroupsPaged.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listchannelgroups/SyncListChannelGroups.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listchannelgroups/SyncListChannelGroupsPropertyname.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listchannelgroups/SyncListChannelGroupsString.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listconnectedsitetags/AsyncListConnectedSiteTags.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listconnectedsitetags/SyncListConnectedSiteTags.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/listeventcreaterules/AsyncListEventCreateRules.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listeventcreaterules/AsyncListEventCreateRulesPaged.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listeventcreaterules/SyncListEventCreateRules.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listeventcreaterules/SyncListEventCreateRulesDatastreamname.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listeventcreaterules/SyncListEventCreateRulesString.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listexpandeddatasets/AsyncListExpandedDataSets.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listexpandeddatasets/AsyncListExpandedDataSetsPaged.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listexpandeddatasets/SyncListExpandedDataSets.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listexpandeddatasets/SyncListExpandedDataSetsPropertyname.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listexpandeddatasets/SyncListExpandedDataSetsString.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/listrolluppropertysourcelinks/AsyncListRollupPropertySourceLinks.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listrolluppropertysourcelinks/AsyncListRollupPropertySourceLinksPaged.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listrolluppropertysourcelinks/SyncListRollupPropertySourceLinks.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listrolluppropertysourcelinks/SyncListRollupPropertySourceLinksPropertyname.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listrolluppropertysourcelinks/SyncListRollupPropertySourceLinksString.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/listskadnetworkconversionvalueschemas/AsyncListSKAdNetworkConversionValueSchemas.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listskadnetworkconversionvalueschemas/AsyncListSKAdNetworkConversionValueSchemasPaged.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listskadnetworkconversionvalueschemas/SyncListSKAdNetworkConversionValueSchemas.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listskadnetworkconversionvalueschemas/SyncListSKAdNetworkConversionValueSchemasDatastreamname.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listskadnetworkconversionvalueschemas/SyncListSKAdNetworkConversionValueSchemasString.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/updateaccessbinding/AsyncUpdateAccessBinding.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updateaccessbinding/SyncUpdateAccessBinding.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updateaccessbinding/SyncUpdateAccessBindingAccessbinding.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/updatechannelgroup/AsyncUpdateChannelGroup.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updatechannelgroup/SyncUpdateChannelGroup.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updatechannelgroup/SyncUpdateChannelGroupChannelgroupFieldmask.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updateconversionevent/AsyncUpdateConversionEvent.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updateconversionevent/SyncUpdateConversionEvent.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updateconversionevent/SyncUpdateConversionEventConversioneventFieldmask.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/updatedataredactionsettings/AsyncUpdateDataRedactionSettings.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updatedataredactionsettings/SyncUpdateDataRedactionSettings.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updatedataredactionsettings/SyncUpdateDataRedactionSettingsDataredactionsettingsFieldmask.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/updateenhancedmeasurementsettings/AsyncUpdateEnhancedMeasurementSettings.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updateenhancedmeasurementsettings/SyncUpdateEnhancedMeasurementSettings.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updateenhancedmeasurementsettings/SyncUpdateEnhancedMeasurementSettingsEnhancedmeasurementsettingsFieldmask.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updateeventcreaterule/AsyncUpdateEventCreateRule.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updateeventcreaterule/SyncUpdateEventCreateRule.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updateeventcreaterule/SyncUpdateEventCreateRuleEventcreateruleFieldmask.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updateexpandeddataset/AsyncUpdateExpandedDataSet.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updateexpandeddataset/SyncUpdateExpandedDataSet.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updateexpandeddataset/SyncUpdateExpandedDataSetExpandeddatasetFieldmask.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/updateskadnetworkconversionvalueschema/AsyncUpdateSKAdNetworkConversionValueSchema.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updateskadnetworkconversionvalueschema/SyncUpdateSKAdNetworkConversionValueSchema.java (100%) rename {owl-bot-staging/java-analytics-admin/v1alpha => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updateskadnetworkconversionvalueschema/SyncUpdateSKAdNetworkConversionValueSchemaSkadnetworkconversionvalueschemaFieldmask.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/runaccessreport/AsyncRunAccessReport.java (100%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/runaccessreport/SyncRunAccessReport.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/updateconversionevent/AsyncUpdateConversionEvent.java (100%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/updateconversionevent/SyncUpdateConversionEvent.java (100%) rename {owl-bot-staging/java-analytics-admin/v1beta => java-analytics-admin}/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/updateconversionevent/SyncUpdateConversionEventConversioneventFieldmask.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/ChannelGroupFilterExpressionListOrBuilder.java delete mode 100644 owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ChannelGroupProto.java delete mode 100644 owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateAccessBindingRequestOrBuilder.java delete mode 100644 owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateAdSenseLinkRequestOrBuilder.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/CreateChannelGroupRequestOrBuilder.java delete mode 100644 owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateConnectedSiteTagResponseOrBuilder.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/CreateEventCreateRuleRequestOrBuilder.java delete mode 100644 owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateExpandedDataSetRequestOrBuilder.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/CreateRollupPropertySourceLinkRequestOrBuilder.java delete mode 100644 owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateSKAdNetworkConversionValueSchemaRequestOrBuilder.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/CreateSubpropertyEventFilterRequestOrBuilder.java delete mode 100644 owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateSubpropertyRequestOrBuilder.java delete mode 100644 owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteAccessBindingRequestOrBuilder.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/DeleteAdSenseLinkRequestOrBuilder.java delete mode 100644 owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteChannelGroupRequestOrBuilder.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/DeleteEventCreateRuleRequestOrBuilder.java delete mode 100644 owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteExpandedDataSetRequestOrBuilder.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/DeleteRollupPropertySourceLinkRequestOrBuilder.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/DeleteSubpropertyEventFilterRequestOrBuilder.java delete mode 100644 owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/EventCreateAndEdit.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/GetAccessBindingRequestOrBuilder.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/GetAdSenseLinkRequestOrBuilder.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/GetChannelGroupRequestOrBuilder.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/GetDataRedactionSettingsRequestOrBuilder.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/GetEnhancedMeasurementSettingsRequestOrBuilder.java delete mode 100644 owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetEventCreateRuleRequestOrBuilder.java delete mode 100644 owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetExpandedDataSetRequestOrBuilder.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/GetRollupPropertySourceLinkRequestOrBuilder.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/GetSubpropertyEventFilterRequestOrBuilder.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/SubpropertyEventFilterClauseOrBuilder.java delete mode 100644 owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/SubpropertyEventFilterExpressionListOrBuilder.java delete mode 100644 owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/SubpropertyEventFilterProto.java delete mode 100644 owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateAccessBindingRequestOrBuilder.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/AccessDimensionHeaderOrBuilder.java delete mode 100644 owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AccessMetricHeaderOrBuilder.java delete mode 100644 owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AccessMetricValueOrBuilder.java delete mode 100644 owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AccessQuotaStatusOrBuilder.java delete mode 100644 owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AccessReportProto.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 9e53fe565fe0..5747738f77c6 100644 --- a/java-analytics-admin/README.md +++ b/java-analytics-admin/README.md @@ -23,7 +23,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.23.0 + 26.25.0 pom import @@ -201,7 +201,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.analytics/google-analytics-admin.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.analytics/google-analytics-admin/0.34.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.analytics/google-analytics-admin/0.38.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles 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 089e58215161..d75b918b3cda 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 @@ -51,7 +51,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 292d9c997b78..e455c375570f 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 @@ -247,7 +247,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 54ffe27e2844..a80119445802 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 b7072d94c9fd..bce69f6f8f3f 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 @@ -115,7 +115,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/main/resources/META-INF/native-image/com.google.analytics.admin.v1alpha/reflect-config.json b/java-analytics-admin/google-analytics-admin/src/main/resources/META-INF/native-image/com.google.analytics.admin.v1alpha/reflect-config.json similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/google-analytics-admin/src/main/resources/META-INF/native-image/com.google.analytics.admin.v1alpha/reflect-config.json rename to java-analytics-admin/google-analytics-admin/src/main/resources/META-INF/native-image/com.google.analytics.admin.v1alpha/reflect-config.json diff --git a/owl-bot-staging/java-analytics-admin/v1beta/google-analytics-admin/src/main/resources/META-INF/native-image/com.google.analytics.admin.v1beta/reflect-config.json b/java-analytics-admin/google-analytics-admin/src/main/resources/META-INF/native-image/com.google.analytics.admin.v1beta/reflect-config.json similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1beta/google-analytics-admin/src/main/resources/META-INF/native-image/com.google.analytics.admin.v1beta/reflect-config.json rename to java-analytics-admin/google-analytics-admin/src/main/resources/META-INF/native-image/com.google.analytics.admin.v1beta/reflect-config.json 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..51a3b6b90303 --- /dev/null +++ b/java-analytics-admin/grpc-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AnalyticsAdminServiceGrpc.java @@ -0,0 +1,16824 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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 java.lang.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.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.GetSKAdNetworkConversionValueSchemaRequest, + com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema> + getGetSKAdNetworkConversionValueSchemaMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetSKAdNetworkConversionValueSchema", + requestType = + com.google.analytics.admin.v1alpha.GetSKAdNetworkConversionValueSchemaRequest.class, + responseType = com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.GetSKAdNetworkConversionValueSchemaRequest, + com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema> + getGetSKAdNetworkConversionValueSchemaMethod() { + io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.GetSKAdNetworkConversionValueSchemaRequest, + com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema> + getGetSKAdNetworkConversionValueSchemaMethod; + if ((getGetSKAdNetworkConversionValueSchemaMethod = + AnalyticsAdminServiceGrpc.getGetSKAdNetworkConversionValueSchemaMethod) + == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getGetSKAdNetworkConversionValueSchemaMethod = + AnalyticsAdminServiceGrpc.getGetSKAdNetworkConversionValueSchemaMethod) + == null) { + AnalyticsAdminServiceGrpc.getGetSKAdNetworkConversionValueSchemaMethod = + getGetSKAdNetworkConversionValueSchemaMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName( + SERVICE_NAME, "GetSKAdNetworkConversionValueSchema")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha + .GetSKAdNetworkConversionValueSchemaRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema + .getDefaultInstance())) + .setSchemaDescriptor( + new AnalyticsAdminServiceMethodDescriptorSupplier( + "GetSKAdNetworkConversionValueSchema")) + .build(); + } + } + } + return getGetSKAdNetworkConversionValueSchemaMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.CreateSKAdNetworkConversionValueSchemaRequest, + com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema> + getCreateSKAdNetworkConversionValueSchemaMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateSKAdNetworkConversionValueSchema", + requestType = + com.google.analytics.admin.v1alpha.CreateSKAdNetworkConversionValueSchemaRequest.class, + responseType = com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.CreateSKAdNetworkConversionValueSchemaRequest, + com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema> + getCreateSKAdNetworkConversionValueSchemaMethod() { + io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.CreateSKAdNetworkConversionValueSchemaRequest, + com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema> + getCreateSKAdNetworkConversionValueSchemaMethod; + if ((getCreateSKAdNetworkConversionValueSchemaMethod = + AnalyticsAdminServiceGrpc.getCreateSKAdNetworkConversionValueSchemaMethod) + == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getCreateSKAdNetworkConversionValueSchemaMethod = + AnalyticsAdminServiceGrpc.getCreateSKAdNetworkConversionValueSchemaMethod) + == null) { + AnalyticsAdminServiceGrpc.getCreateSKAdNetworkConversionValueSchemaMethod = + getCreateSKAdNetworkConversionValueSchemaMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName( + SERVICE_NAME, "CreateSKAdNetworkConversionValueSchema")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha + .CreateSKAdNetworkConversionValueSchemaRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema + .getDefaultInstance())) + .setSchemaDescriptor( + new AnalyticsAdminServiceMethodDescriptorSupplier( + "CreateSKAdNetworkConversionValueSchema")) + .build(); + } + } + } + return getCreateSKAdNetworkConversionValueSchemaMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.DeleteSKAdNetworkConversionValueSchemaRequest, + com.google.protobuf.Empty> + getDeleteSKAdNetworkConversionValueSchemaMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteSKAdNetworkConversionValueSchema", + requestType = + com.google.analytics.admin.v1alpha.DeleteSKAdNetworkConversionValueSchemaRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.DeleteSKAdNetworkConversionValueSchemaRequest, + com.google.protobuf.Empty> + getDeleteSKAdNetworkConversionValueSchemaMethod() { + io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.DeleteSKAdNetworkConversionValueSchemaRequest, + com.google.protobuf.Empty> + getDeleteSKAdNetworkConversionValueSchemaMethod; + if ((getDeleteSKAdNetworkConversionValueSchemaMethod = + AnalyticsAdminServiceGrpc.getDeleteSKAdNetworkConversionValueSchemaMethod) + == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getDeleteSKAdNetworkConversionValueSchemaMethod = + AnalyticsAdminServiceGrpc.getDeleteSKAdNetworkConversionValueSchemaMethod) + == null) { + AnalyticsAdminServiceGrpc.getDeleteSKAdNetworkConversionValueSchemaMethod = + getDeleteSKAdNetworkConversionValueSchemaMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName( + SERVICE_NAME, "DeleteSKAdNetworkConversionValueSchema")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha + .DeleteSKAdNetworkConversionValueSchemaRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor( + new AnalyticsAdminServiceMethodDescriptorSupplier( + "DeleteSKAdNetworkConversionValueSchema")) + .build(); + } + } + } + return getDeleteSKAdNetworkConversionValueSchemaMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.UpdateSKAdNetworkConversionValueSchemaRequest, + com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema> + getUpdateSKAdNetworkConversionValueSchemaMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateSKAdNetworkConversionValueSchema", + requestType = + com.google.analytics.admin.v1alpha.UpdateSKAdNetworkConversionValueSchemaRequest.class, + responseType = com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.UpdateSKAdNetworkConversionValueSchemaRequest, + com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema> + getUpdateSKAdNetworkConversionValueSchemaMethod() { + io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.UpdateSKAdNetworkConversionValueSchemaRequest, + com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema> + getUpdateSKAdNetworkConversionValueSchemaMethod; + if ((getUpdateSKAdNetworkConversionValueSchemaMethod = + AnalyticsAdminServiceGrpc.getUpdateSKAdNetworkConversionValueSchemaMethod) + == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getUpdateSKAdNetworkConversionValueSchemaMethod = + AnalyticsAdminServiceGrpc.getUpdateSKAdNetworkConversionValueSchemaMethod) + == null) { + AnalyticsAdminServiceGrpc.getUpdateSKAdNetworkConversionValueSchemaMethod = + getUpdateSKAdNetworkConversionValueSchemaMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName( + SERVICE_NAME, "UpdateSKAdNetworkConversionValueSchema")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha + .UpdateSKAdNetworkConversionValueSchemaRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema + .getDefaultInstance())) + .setSchemaDescriptor( + new AnalyticsAdminServiceMethodDescriptorSupplier( + "UpdateSKAdNetworkConversionValueSchema")) + .build(); + } + } + } + return getUpdateSKAdNetworkConversionValueSchemaMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.ListSKAdNetworkConversionValueSchemasRequest, + com.google.analytics.admin.v1alpha.ListSKAdNetworkConversionValueSchemasResponse> + getListSKAdNetworkConversionValueSchemasMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListSKAdNetworkConversionValueSchemas", + requestType = + com.google.analytics.admin.v1alpha.ListSKAdNetworkConversionValueSchemasRequest.class, + responseType = + com.google.analytics.admin.v1alpha.ListSKAdNetworkConversionValueSchemasResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.ListSKAdNetworkConversionValueSchemasRequest, + com.google.analytics.admin.v1alpha.ListSKAdNetworkConversionValueSchemasResponse> + getListSKAdNetworkConversionValueSchemasMethod() { + io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.ListSKAdNetworkConversionValueSchemasRequest, + com.google.analytics.admin.v1alpha.ListSKAdNetworkConversionValueSchemasResponse> + getListSKAdNetworkConversionValueSchemasMethod; + if ((getListSKAdNetworkConversionValueSchemasMethod = + AnalyticsAdminServiceGrpc.getListSKAdNetworkConversionValueSchemasMethod) + == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getListSKAdNetworkConversionValueSchemasMethod = + AnalyticsAdminServiceGrpc.getListSKAdNetworkConversionValueSchemasMethod) + == null) { + AnalyticsAdminServiceGrpc.getListSKAdNetworkConversionValueSchemasMethod = + getListSKAdNetworkConversionValueSchemasMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName( + SERVICE_NAME, "ListSKAdNetworkConversionValueSchemas")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha + .ListSKAdNetworkConversionValueSchemasRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha + .ListSKAdNetworkConversionValueSchemasResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new AnalyticsAdminServiceMethodDescriptorSupplier( + "ListSKAdNetworkConversionValueSchemas")) + .build(); + } + } + } + return getListSKAdNetworkConversionValueSchemasMethod; + } + + 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.UpdateConversionEventRequest, + com.google.analytics.admin.v1alpha.ConversionEvent> + getUpdateConversionEventMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateConversionEvent", + requestType = com.google.analytics.admin.v1alpha.UpdateConversionEventRequest.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.UpdateConversionEventRequest, + com.google.analytics.admin.v1alpha.ConversionEvent> + getUpdateConversionEventMethod() { + io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.UpdateConversionEventRequest, + com.google.analytics.admin.v1alpha.ConversionEvent> + getUpdateConversionEventMethod; + if ((getUpdateConversionEventMethod = AnalyticsAdminServiceGrpc.getUpdateConversionEventMethod) + == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getUpdateConversionEventMethod = + AnalyticsAdminServiceGrpc.getUpdateConversionEventMethod) + == null) { + AnalyticsAdminServiceGrpc.getUpdateConversionEventMethod = + getUpdateConversionEventMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "UpdateConversionEvent")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.UpdateConversionEventRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.ConversionEvent + .getDefaultInstance())) + .setSchemaDescriptor( + new AnalyticsAdminServiceMethodDescriptorSupplier( + "UpdateConversionEvent")) + .build(); + } + } + } + return getUpdateConversionEventMethod; + } + + 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.CreateAccessBindingRequest, + com.google.analytics.admin.v1alpha.AccessBinding> + getCreateAccessBindingMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateAccessBinding", + requestType = com.google.analytics.admin.v1alpha.CreateAccessBindingRequest.class, + responseType = com.google.analytics.admin.v1alpha.AccessBinding.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.CreateAccessBindingRequest, + com.google.analytics.admin.v1alpha.AccessBinding> + getCreateAccessBindingMethod() { + io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.CreateAccessBindingRequest, + com.google.analytics.admin.v1alpha.AccessBinding> + getCreateAccessBindingMethod; + if ((getCreateAccessBindingMethod = AnalyticsAdminServiceGrpc.getCreateAccessBindingMethod) + == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getCreateAccessBindingMethod = AnalyticsAdminServiceGrpc.getCreateAccessBindingMethod) + == null) { + AnalyticsAdminServiceGrpc.getCreateAccessBindingMethod = + getCreateAccessBindingMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "CreateAccessBinding")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.CreateAccessBindingRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.AccessBinding + .getDefaultInstance())) + .setSchemaDescriptor( + new AnalyticsAdminServiceMethodDescriptorSupplier("CreateAccessBinding")) + .build(); + } + } + } + return getCreateAccessBindingMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.GetAccessBindingRequest, + com.google.analytics.admin.v1alpha.AccessBinding> + getGetAccessBindingMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetAccessBinding", + requestType = com.google.analytics.admin.v1alpha.GetAccessBindingRequest.class, + responseType = com.google.analytics.admin.v1alpha.AccessBinding.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.GetAccessBindingRequest, + com.google.analytics.admin.v1alpha.AccessBinding> + getGetAccessBindingMethod() { + io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.GetAccessBindingRequest, + com.google.analytics.admin.v1alpha.AccessBinding> + getGetAccessBindingMethod; + if ((getGetAccessBindingMethod = AnalyticsAdminServiceGrpc.getGetAccessBindingMethod) == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getGetAccessBindingMethod = AnalyticsAdminServiceGrpc.getGetAccessBindingMethod) + == null) { + AnalyticsAdminServiceGrpc.getGetAccessBindingMethod = + getGetAccessBindingMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetAccessBinding")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.GetAccessBindingRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.AccessBinding + .getDefaultInstance())) + .setSchemaDescriptor( + new AnalyticsAdminServiceMethodDescriptorSupplier("GetAccessBinding")) + .build(); + } + } + } + return getGetAccessBindingMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.UpdateAccessBindingRequest, + com.google.analytics.admin.v1alpha.AccessBinding> + getUpdateAccessBindingMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateAccessBinding", + requestType = com.google.analytics.admin.v1alpha.UpdateAccessBindingRequest.class, + responseType = com.google.analytics.admin.v1alpha.AccessBinding.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.UpdateAccessBindingRequest, + com.google.analytics.admin.v1alpha.AccessBinding> + getUpdateAccessBindingMethod() { + io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.UpdateAccessBindingRequest, + com.google.analytics.admin.v1alpha.AccessBinding> + getUpdateAccessBindingMethod; + if ((getUpdateAccessBindingMethod = AnalyticsAdminServiceGrpc.getUpdateAccessBindingMethod) + == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getUpdateAccessBindingMethod = AnalyticsAdminServiceGrpc.getUpdateAccessBindingMethod) + == null) { + AnalyticsAdminServiceGrpc.getUpdateAccessBindingMethod = + getUpdateAccessBindingMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "UpdateAccessBinding")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.UpdateAccessBindingRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.AccessBinding + .getDefaultInstance())) + .setSchemaDescriptor( + new AnalyticsAdminServiceMethodDescriptorSupplier("UpdateAccessBinding")) + .build(); + } + } + } + return getUpdateAccessBindingMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.DeleteAccessBindingRequest, com.google.protobuf.Empty> + getDeleteAccessBindingMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteAccessBinding", + requestType = com.google.analytics.admin.v1alpha.DeleteAccessBindingRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.DeleteAccessBindingRequest, com.google.protobuf.Empty> + getDeleteAccessBindingMethod() { + io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.DeleteAccessBindingRequest, + com.google.protobuf.Empty> + getDeleteAccessBindingMethod; + if ((getDeleteAccessBindingMethod = AnalyticsAdminServiceGrpc.getDeleteAccessBindingMethod) + == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getDeleteAccessBindingMethod = AnalyticsAdminServiceGrpc.getDeleteAccessBindingMethod) + == null) { + AnalyticsAdminServiceGrpc.getDeleteAccessBindingMethod = + getDeleteAccessBindingMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "DeleteAccessBinding")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.DeleteAccessBindingRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor( + new AnalyticsAdminServiceMethodDescriptorSupplier("DeleteAccessBinding")) + .build(); + } + } + } + return getDeleteAccessBindingMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.ListAccessBindingsRequest, + com.google.analytics.admin.v1alpha.ListAccessBindingsResponse> + getListAccessBindingsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListAccessBindings", + requestType = com.google.analytics.admin.v1alpha.ListAccessBindingsRequest.class, + responseType = com.google.analytics.admin.v1alpha.ListAccessBindingsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.ListAccessBindingsRequest, + com.google.analytics.admin.v1alpha.ListAccessBindingsResponse> + getListAccessBindingsMethod() { + io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.ListAccessBindingsRequest, + com.google.analytics.admin.v1alpha.ListAccessBindingsResponse> + getListAccessBindingsMethod; + if ((getListAccessBindingsMethod = AnalyticsAdminServiceGrpc.getListAccessBindingsMethod) + == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getListAccessBindingsMethod = AnalyticsAdminServiceGrpc.getListAccessBindingsMethod) + == null) { + AnalyticsAdminServiceGrpc.getListAccessBindingsMethod = + getListAccessBindingsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListAccessBindings")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.ListAccessBindingsRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.ListAccessBindingsResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new AnalyticsAdminServiceMethodDescriptorSupplier("ListAccessBindings")) + .build(); + } + } + } + return getListAccessBindingsMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.BatchCreateAccessBindingsRequest, + com.google.analytics.admin.v1alpha.BatchCreateAccessBindingsResponse> + getBatchCreateAccessBindingsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "BatchCreateAccessBindings", + requestType = com.google.analytics.admin.v1alpha.BatchCreateAccessBindingsRequest.class, + responseType = com.google.analytics.admin.v1alpha.BatchCreateAccessBindingsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.BatchCreateAccessBindingsRequest, + com.google.analytics.admin.v1alpha.BatchCreateAccessBindingsResponse> + getBatchCreateAccessBindingsMethod() { + io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.BatchCreateAccessBindingsRequest, + com.google.analytics.admin.v1alpha.BatchCreateAccessBindingsResponse> + getBatchCreateAccessBindingsMethod; + if ((getBatchCreateAccessBindingsMethod = + AnalyticsAdminServiceGrpc.getBatchCreateAccessBindingsMethod) + == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getBatchCreateAccessBindingsMethod = + AnalyticsAdminServiceGrpc.getBatchCreateAccessBindingsMethod) + == null) { + AnalyticsAdminServiceGrpc.getBatchCreateAccessBindingsMethod = + getBatchCreateAccessBindingsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "BatchCreateAccessBindings")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.BatchCreateAccessBindingsRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.BatchCreateAccessBindingsResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new AnalyticsAdminServiceMethodDescriptorSupplier( + "BatchCreateAccessBindings")) + .build(); + } + } + } + return getBatchCreateAccessBindingsMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.BatchGetAccessBindingsRequest, + com.google.analytics.admin.v1alpha.BatchGetAccessBindingsResponse> + getBatchGetAccessBindingsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "BatchGetAccessBindings", + requestType = com.google.analytics.admin.v1alpha.BatchGetAccessBindingsRequest.class, + responseType = com.google.analytics.admin.v1alpha.BatchGetAccessBindingsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.BatchGetAccessBindingsRequest, + com.google.analytics.admin.v1alpha.BatchGetAccessBindingsResponse> + getBatchGetAccessBindingsMethod() { + io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.BatchGetAccessBindingsRequest, + com.google.analytics.admin.v1alpha.BatchGetAccessBindingsResponse> + getBatchGetAccessBindingsMethod; + if ((getBatchGetAccessBindingsMethod = + AnalyticsAdminServiceGrpc.getBatchGetAccessBindingsMethod) + == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getBatchGetAccessBindingsMethod = + AnalyticsAdminServiceGrpc.getBatchGetAccessBindingsMethod) + == null) { + AnalyticsAdminServiceGrpc.getBatchGetAccessBindingsMethod = + getBatchGetAccessBindingsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "BatchGetAccessBindings")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.BatchGetAccessBindingsRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.BatchGetAccessBindingsResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new AnalyticsAdminServiceMethodDescriptorSupplier( + "BatchGetAccessBindings")) + .build(); + } + } + } + return getBatchGetAccessBindingsMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.BatchUpdateAccessBindingsRequest, + com.google.analytics.admin.v1alpha.BatchUpdateAccessBindingsResponse> + getBatchUpdateAccessBindingsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "BatchUpdateAccessBindings", + requestType = com.google.analytics.admin.v1alpha.BatchUpdateAccessBindingsRequest.class, + responseType = com.google.analytics.admin.v1alpha.BatchUpdateAccessBindingsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.BatchUpdateAccessBindingsRequest, + com.google.analytics.admin.v1alpha.BatchUpdateAccessBindingsResponse> + getBatchUpdateAccessBindingsMethod() { + io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.BatchUpdateAccessBindingsRequest, + com.google.analytics.admin.v1alpha.BatchUpdateAccessBindingsResponse> + getBatchUpdateAccessBindingsMethod; + if ((getBatchUpdateAccessBindingsMethod = + AnalyticsAdminServiceGrpc.getBatchUpdateAccessBindingsMethod) + == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getBatchUpdateAccessBindingsMethod = + AnalyticsAdminServiceGrpc.getBatchUpdateAccessBindingsMethod) + == null) { + AnalyticsAdminServiceGrpc.getBatchUpdateAccessBindingsMethod = + getBatchUpdateAccessBindingsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "BatchUpdateAccessBindings")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.BatchUpdateAccessBindingsRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.BatchUpdateAccessBindingsResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new AnalyticsAdminServiceMethodDescriptorSupplier( + "BatchUpdateAccessBindings")) + .build(); + } + } + } + return getBatchUpdateAccessBindingsMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.BatchDeleteAccessBindingsRequest, + com.google.protobuf.Empty> + getBatchDeleteAccessBindingsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "BatchDeleteAccessBindings", + requestType = com.google.analytics.admin.v1alpha.BatchDeleteAccessBindingsRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.BatchDeleteAccessBindingsRequest, + com.google.protobuf.Empty> + getBatchDeleteAccessBindingsMethod() { + io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.BatchDeleteAccessBindingsRequest, + com.google.protobuf.Empty> + getBatchDeleteAccessBindingsMethod; + if ((getBatchDeleteAccessBindingsMethod = + AnalyticsAdminServiceGrpc.getBatchDeleteAccessBindingsMethod) + == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getBatchDeleteAccessBindingsMethod = + AnalyticsAdminServiceGrpc.getBatchDeleteAccessBindingsMethod) + == null) { + AnalyticsAdminServiceGrpc.getBatchDeleteAccessBindingsMethod = + getBatchDeleteAccessBindingsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "BatchDeleteAccessBindings")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.BatchDeleteAccessBindingsRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor( + new AnalyticsAdminServiceMethodDescriptorSupplier( + "BatchDeleteAccessBindings")) + .build(); + } + } + } + return getBatchDeleteAccessBindingsMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.GetExpandedDataSetRequest, + com.google.analytics.admin.v1alpha.ExpandedDataSet> + getGetExpandedDataSetMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetExpandedDataSet", + requestType = com.google.analytics.admin.v1alpha.GetExpandedDataSetRequest.class, + responseType = com.google.analytics.admin.v1alpha.ExpandedDataSet.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.GetExpandedDataSetRequest, + com.google.analytics.admin.v1alpha.ExpandedDataSet> + getGetExpandedDataSetMethod() { + io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.GetExpandedDataSetRequest, + com.google.analytics.admin.v1alpha.ExpandedDataSet> + getGetExpandedDataSetMethod; + if ((getGetExpandedDataSetMethod = AnalyticsAdminServiceGrpc.getGetExpandedDataSetMethod) + == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getGetExpandedDataSetMethod = AnalyticsAdminServiceGrpc.getGetExpandedDataSetMethod) + == null) { + AnalyticsAdminServiceGrpc.getGetExpandedDataSetMethod = + getGetExpandedDataSetMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetExpandedDataSet")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.GetExpandedDataSetRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.ExpandedDataSet + .getDefaultInstance())) + .setSchemaDescriptor( + new AnalyticsAdminServiceMethodDescriptorSupplier("GetExpandedDataSet")) + .build(); + } + } + } + return getGetExpandedDataSetMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.ListExpandedDataSetsRequest, + com.google.analytics.admin.v1alpha.ListExpandedDataSetsResponse> + getListExpandedDataSetsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListExpandedDataSets", + requestType = com.google.analytics.admin.v1alpha.ListExpandedDataSetsRequest.class, + responseType = com.google.analytics.admin.v1alpha.ListExpandedDataSetsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.ListExpandedDataSetsRequest, + com.google.analytics.admin.v1alpha.ListExpandedDataSetsResponse> + getListExpandedDataSetsMethod() { + io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.ListExpandedDataSetsRequest, + com.google.analytics.admin.v1alpha.ListExpandedDataSetsResponse> + getListExpandedDataSetsMethod; + if ((getListExpandedDataSetsMethod = AnalyticsAdminServiceGrpc.getListExpandedDataSetsMethod) + == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getListExpandedDataSetsMethod = + AnalyticsAdminServiceGrpc.getListExpandedDataSetsMethod) + == null) { + AnalyticsAdminServiceGrpc.getListExpandedDataSetsMethod = + getListExpandedDataSetsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "ListExpandedDataSets")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.ListExpandedDataSetsRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.ListExpandedDataSetsResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new AnalyticsAdminServiceMethodDescriptorSupplier("ListExpandedDataSets")) + .build(); + } + } + } + return getListExpandedDataSetsMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.CreateExpandedDataSetRequest, + com.google.analytics.admin.v1alpha.ExpandedDataSet> + getCreateExpandedDataSetMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateExpandedDataSet", + requestType = com.google.analytics.admin.v1alpha.CreateExpandedDataSetRequest.class, + responseType = com.google.analytics.admin.v1alpha.ExpandedDataSet.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.CreateExpandedDataSetRequest, + com.google.analytics.admin.v1alpha.ExpandedDataSet> + getCreateExpandedDataSetMethod() { + io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.CreateExpandedDataSetRequest, + com.google.analytics.admin.v1alpha.ExpandedDataSet> + getCreateExpandedDataSetMethod; + if ((getCreateExpandedDataSetMethod = AnalyticsAdminServiceGrpc.getCreateExpandedDataSetMethod) + == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getCreateExpandedDataSetMethod = + AnalyticsAdminServiceGrpc.getCreateExpandedDataSetMethod) + == null) { + AnalyticsAdminServiceGrpc.getCreateExpandedDataSetMethod = + getCreateExpandedDataSetMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "CreateExpandedDataSet")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.CreateExpandedDataSetRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.ExpandedDataSet + .getDefaultInstance())) + .setSchemaDescriptor( + new AnalyticsAdminServiceMethodDescriptorSupplier( + "CreateExpandedDataSet")) + .build(); + } + } + } + return getCreateExpandedDataSetMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.UpdateExpandedDataSetRequest, + com.google.analytics.admin.v1alpha.ExpandedDataSet> + getUpdateExpandedDataSetMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateExpandedDataSet", + requestType = com.google.analytics.admin.v1alpha.UpdateExpandedDataSetRequest.class, + responseType = com.google.analytics.admin.v1alpha.ExpandedDataSet.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.UpdateExpandedDataSetRequest, + com.google.analytics.admin.v1alpha.ExpandedDataSet> + getUpdateExpandedDataSetMethod() { + io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.UpdateExpandedDataSetRequest, + com.google.analytics.admin.v1alpha.ExpandedDataSet> + getUpdateExpandedDataSetMethod; + if ((getUpdateExpandedDataSetMethod = AnalyticsAdminServiceGrpc.getUpdateExpandedDataSetMethod) + == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getUpdateExpandedDataSetMethod = + AnalyticsAdminServiceGrpc.getUpdateExpandedDataSetMethod) + == null) { + AnalyticsAdminServiceGrpc.getUpdateExpandedDataSetMethod = + getUpdateExpandedDataSetMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "UpdateExpandedDataSet")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.UpdateExpandedDataSetRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.ExpandedDataSet + .getDefaultInstance())) + .setSchemaDescriptor( + new AnalyticsAdminServiceMethodDescriptorSupplier( + "UpdateExpandedDataSet")) + .build(); + } + } + } + return getUpdateExpandedDataSetMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.DeleteExpandedDataSetRequest, + com.google.protobuf.Empty> + getDeleteExpandedDataSetMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteExpandedDataSet", + requestType = com.google.analytics.admin.v1alpha.DeleteExpandedDataSetRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.DeleteExpandedDataSetRequest, + com.google.protobuf.Empty> + getDeleteExpandedDataSetMethod() { + io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.DeleteExpandedDataSetRequest, + com.google.protobuf.Empty> + getDeleteExpandedDataSetMethod; + if ((getDeleteExpandedDataSetMethod = AnalyticsAdminServiceGrpc.getDeleteExpandedDataSetMethod) + == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getDeleteExpandedDataSetMethod = + AnalyticsAdminServiceGrpc.getDeleteExpandedDataSetMethod) + == null) { + AnalyticsAdminServiceGrpc.getDeleteExpandedDataSetMethod = + getDeleteExpandedDataSetMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "DeleteExpandedDataSet")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.DeleteExpandedDataSetRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor( + new AnalyticsAdminServiceMethodDescriptorSupplier( + "DeleteExpandedDataSet")) + .build(); + } + } + } + return getDeleteExpandedDataSetMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.GetChannelGroupRequest, + com.google.analytics.admin.v1alpha.ChannelGroup> + getGetChannelGroupMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetChannelGroup", + requestType = com.google.analytics.admin.v1alpha.GetChannelGroupRequest.class, + responseType = com.google.analytics.admin.v1alpha.ChannelGroup.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.GetChannelGroupRequest, + com.google.analytics.admin.v1alpha.ChannelGroup> + getGetChannelGroupMethod() { + io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.GetChannelGroupRequest, + com.google.analytics.admin.v1alpha.ChannelGroup> + getGetChannelGroupMethod; + if ((getGetChannelGroupMethod = AnalyticsAdminServiceGrpc.getGetChannelGroupMethod) == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getGetChannelGroupMethod = AnalyticsAdminServiceGrpc.getGetChannelGroupMethod) + == null) { + AnalyticsAdminServiceGrpc.getGetChannelGroupMethod = + getGetChannelGroupMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetChannelGroup")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.GetChannelGroupRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.ChannelGroup.getDefaultInstance())) + .setSchemaDescriptor( + new AnalyticsAdminServiceMethodDescriptorSupplier("GetChannelGroup")) + .build(); + } + } + } + return getGetChannelGroupMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.ListChannelGroupsRequest, + com.google.analytics.admin.v1alpha.ListChannelGroupsResponse> + getListChannelGroupsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListChannelGroups", + requestType = com.google.analytics.admin.v1alpha.ListChannelGroupsRequest.class, + responseType = com.google.analytics.admin.v1alpha.ListChannelGroupsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.ListChannelGroupsRequest, + com.google.analytics.admin.v1alpha.ListChannelGroupsResponse> + getListChannelGroupsMethod() { + io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.ListChannelGroupsRequest, + com.google.analytics.admin.v1alpha.ListChannelGroupsResponse> + getListChannelGroupsMethod; + if ((getListChannelGroupsMethod = AnalyticsAdminServiceGrpc.getListChannelGroupsMethod) + == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getListChannelGroupsMethod = AnalyticsAdminServiceGrpc.getListChannelGroupsMethod) + == null) { + AnalyticsAdminServiceGrpc.getListChannelGroupsMethod = + getListChannelGroupsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListChannelGroups")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.ListChannelGroupsRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.ListChannelGroupsResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new AnalyticsAdminServiceMethodDescriptorSupplier("ListChannelGroups")) + .build(); + } + } + } + return getListChannelGroupsMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.CreateChannelGroupRequest, + com.google.analytics.admin.v1alpha.ChannelGroup> + getCreateChannelGroupMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateChannelGroup", + requestType = com.google.analytics.admin.v1alpha.CreateChannelGroupRequest.class, + responseType = com.google.analytics.admin.v1alpha.ChannelGroup.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.CreateChannelGroupRequest, + com.google.analytics.admin.v1alpha.ChannelGroup> + getCreateChannelGroupMethod() { + io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.CreateChannelGroupRequest, + com.google.analytics.admin.v1alpha.ChannelGroup> + getCreateChannelGroupMethod; + if ((getCreateChannelGroupMethod = AnalyticsAdminServiceGrpc.getCreateChannelGroupMethod) + == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getCreateChannelGroupMethod = AnalyticsAdminServiceGrpc.getCreateChannelGroupMethod) + == null) { + AnalyticsAdminServiceGrpc.getCreateChannelGroupMethod = + getCreateChannelGroupMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateChannelGroup")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.CreateChannelGroupRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.ChannelGroup.getDefaultInstance())) + .setSchemaDescriptor( + new AnalyticsAdminServiceMethodDescriptorSupplier("CreateChannelGroup")) + .build(); + } + } + } + return getCreateChannelGroupMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.UpdateChannelGroupRequest, + com.google.analytics.admin.v1alpha.ChannelGroup> + getUpdateChannelGroupMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateChannelGroup", + requestType = com.google.analytics.admin.v1alpha.UpdateChannelGroupRequest.class, + responseType = com.google.analytics.admin.v1alpha.ChannelGroup.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.UpdateChannelGroupRequest, + com.google.analytics.admin.v1alpha.ChannelGroup> + getUpdateChannelGroupMethod() { + io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.UpdateChannelGroupRequest, + com.google.analytics.admin.v1alpha.ChannelGroup> + getUpdateChannelGroupMethod; + if ((getUpdateChannelGroupMethod = AnalyticsAdminServiceGrpc.getUpdateChannelGroupMethod) + == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getUpdateChannelGroupMethod = AnalyticsAdminServiceGrpc.getUpdateChannelGroupMethod) + == null) { + AnalyticsAdminServiceGrpc.getUpdateChannelGroupMethod = + getUpdateChannelGroupMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateChannelGroup")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.UpdateChannelGroupRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.ChannelGroup.getDefaultInstance())) + .setSchemaDescriptor( + new AnalyticsAdminServiceMethodDescriptorSupplier("UpdateChannelGroup")) + .build(); + } + } + } + return getUpdateChannelGroupMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.DeleteChannelGroupRequest, com.google.protobuf.Empty> + getDeleteChannelGroupMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteChannelGroup", + requestType = com.google.analytics.admin.v1alpha.DeleteChannelGroupRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.DeleteChannelGroupRequest, com.google.protobuf.Empty> + getDeleteChannelGroupMethod() { + io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.DeleteChannelGroupRequest, com.google.protobuf.Empty> + getDeleteChannelGroupMethod; + if ((getDeleteChannelGroupMethod = AnalyticsAdminServiceGrpc.getDeleteChannelGroupMethod) + == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getDeleteChannelGroupMethod = AnalyticsAdminServiceGrpc.getDeleteChannelGroupMethod) + == null) { + AnalyticsAdminServiceGrpc.getDeleteChannelGroupMethod = + getDeleteChannelGroupMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteChannelGroup")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.DeleteChannelGroupRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor( + new AnalyticsAdminServiceMethodDescriptorSupplier("DeleteChannelGroup")) + .build(); + } + } + } + return getDeleteChannelGroupMethod; + } + + 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; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.GetEnhancedMeasurementSettingsRequest, + com.google.analytics.admin.v1alpha.EnhancedMeasurementSettings> + getGetEnhancedMeasurementSettingsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetEnhancedMeasurementSettings", + requestType = com.google.analytics.admin.v1alpha.GetEnhancedMeasurementSettingsRequest.class, + responseType = com.google.analytics.admin.v1alpha.EnhancedMeasurementSettings.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.GetEnhancedMeasurementSettingsRequest, + com.google.analytics.admin.v1alpha.EnhancedMeasurementSettings> + getGetEnhancedMeasurementSettingsMethod() { + io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.GetEnhancedMeasurementSettingsRequest, + com.google.analytics.admin.v1alpha.EnhancedMeasurementSettings> + getGetEnhancedMeasurementSettingsMethod; + if ((getGetEnhancedMeasurementSettingsMethod = + AnalyticsAdminServiceGrpc.getGetEnhancedMeasurementSettingsMethod) + == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getGetEnhancedMeasurementSettingsMethod = + AnalyticsAdminServiceGrpc.getGetEnhancedMeasurementSettingsMethod) + == null) { + AnalyticsAdminServiceGrpc.getGetEnhancedMeasurementSettingsMethod = + getGetEnhancedMeasurementSettingsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "GetEnhancedMeasurementSettings")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha + .GetEnhancedMeasurementSettingsRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.EnhancedMeasurementSettings + .getDefaultInstance())) + .setSchemaDescriptor( + new AnalyticsAdminServiceMethodDescriptorSupplier( + "GetEnhancedMeasurementSettings")) + .build(); + } + } + } + return getGetEnhancedMeasurementSettingsMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.UpdateEnhancedMeasurementSettingsRequest, + com.google.analytics.admin.v1alpha.EnhancedMeasurementSettings> + getUpdateEnhancedMeasurementSettingsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateEnhancedMeasurementSettings", + requestType = + com.google.analytics.admin.v1alpha.UpdateEnhancedMeasurementSettingsRequest.class, + responseType = com.google.analytics.admin.v1alpha.EnhancedMeasurementSettings.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.UpdateEnhancedMeasurementSettingsRequest, + com.google.analytics.admin.v1alpha.EnhancedMeasurementSettings> + getUpdateEnhancedMeasurementSettingsMethod() { + io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.UpdateEnhancedMeasurementSettingsRequest, + com.google.analytics.admin.v1alpha.EnhancedMeasurementSettings> + getUpdateEnhancedMeasurementSettingsMethod; + if ((getUpdateEnhancedMeasurementSettingsMethod = + AnalyticsAdminServiceGrpc.getUpdateEnhancedMeasurementSettingsMethod) + == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getUpdateEnhancedMeasurementSettingsMethod = + AnalyticsAdminServiceGrpc.getUpdateEnhancedMeasurementSettingsMethod) + == null) { + AnalyticsAdminServiceGrpc.getUpdateEnhancedMeasurementSettingsMethod = + getUpdateEnhancedMeasurementSettingsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "UpdateEnhancedMeasurementSettings")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha + .UpdateEnhancedMeasurementSettingsRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.EnhancedMeasurementSettings + .getDefaultInstance())) + .setSchemaDescriptor( + new AnalyticsAdminServiceMethodDescriptorSupplier( + "UpdateEnhancedMeasurementSettings")) + .build(); + } + } + } + return getUpdateEnhancedMeasurementSettingsMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.CreateConnectedSiteTagRequest, + com.google.analytics.admin.v1alpha.CreateConnectedSiteTagResponse> + getCreateConnectedSiteTagMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateConnectedSiteTag", + requestType = com.google.analytics.admin.v1alpha.CreateConnectedSiteTagRequest.class, + responseType = com.google.analytics.admin.v1alpha.CreateConnectedSiteTagResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.CreateConnectedSiteTagRequest, + com.google.analytics.admin.v1alpha.CreateConnectedSiteTagResponse> + getCreateConnectedSiteTagMethod() { + io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.CreateConnectedSiteTagRequest, + com.google.analytics.admin.v1alpha.CreateConnectedSiteTagResponse> + getCreateConnectedSiteTagMethod; + if ((getCreateConnectedSiteTagMethod = + AnalyticsAdminServiceGrpc.getCreateConnectedSiteTagMethod) + == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getCreateConnectedSiteTagMethod = + AnalyticsAdminServiceGrpc.getCreateConnectedSiteTagMethod) + == null) { + AnalyticsAdminServiceGrpc.getCreateConnectedSiteTagMethod = + getCreateConnectedSiteTagMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "CreateConnectedSiteTag")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.CreateConnectedSiteTagRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.CreateConnectedSiteTagResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new AnalyticsAdminServiceMethodDescriptorSupplier( + "CreateConnectedSiteTag")) + .build(); + } + } + } + return getCreateConnectedSiteTagMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.DeleteConnectedSiteTagRequest, + com.google.protobuf.Empty> + getDeleteConnectedSiteTagMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteConnectedSiteTag", + requestType = com.google.analytics.admin.v1alpha.DeleteConnectedSiteTagRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.DeleteConnectedSiteTagRequest, + com.google.protobuf.Empty> + getDeleteConnectedSiteTagMethod() { + io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.DeleteConnectedSiteTagRequest, + com.google.protobuf.Empty> + getDeleteConnectedSiteTagMethod; + if ((getDeleteConnectedSiteTagMethod = + AnalyticsAdminServiceGrpc.getDeleteConnectedSiteTagMethod) + == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getDeleteConnectedSiteTagMethod = + AnalyticsAdminServiceGrpc.getDeleteConnectedSiteTagMethod) + == null) { + AnalyticsAdminServiceGrpc.getDeleteConnectedSiteTagMethod = + getDeleteConnectedSiteTagMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "DeleteConnectedSiteTag")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.DeleteConnectedSiteTagRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor( + new AnalyticsAdminServiceMethodDescriptorSupplier( + "DeleteConnectedSiteTag")) + .build(); + } + } + } + return getDeleteConnectedSiteTagMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.ListConnectedSiteTagsRequest, + com.google.analytics.admin.v1alpha.ListConnectedSiteTagsResponse> + getListConnectedSiteTagsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListConnectedSiteTags", + requestType = com.google.analytics.admin.v1alpha.ListConnectedSiteTagsRequest.class, + responseType = com.google.analytics.admin.v1alpha.ListConnectedSiteTagsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.ListConnectedSiteTagsRequest, + com.google.analytics.admin.v1alpha.ListConnectedSiteTagsResponse> + getListConnectedSiteTagsMethod() { + io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.ListConnectedSiteTagsRequest, + com.google.analytics.admin.v1alpha.ListConnectedSiteTagsResponse> + getListConnectedSiteTagsMethod; + if ((getListConnectedSiteTagsMethod = AnalyticsAdminServiceGrpc.getListConnectedSiteTagsMethod) + == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getListConnectedSiteTagsMethod = + AnalyticsAdminServiceGrpc.getListConnectedSiteTagsMethod) + == null) { + AnalyticsAdminServiceGrpc.getListConnectedSiteTagsMethod = + getListConnectedSiteTagsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "ListConnectedSiteTags")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.ListConnectedSiteTagsRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.ListConnectedSiteTagsResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new AnalyticsAdminServiceMethodDescriptorSupplier( + "ListConnectedSiteTags")) + .build(); + } + } + } + return getListConnectedSiteTagsMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.FetchConnectedGa4PropertyRequest, + com.google.analytics.admin.v1alpha.FetchConnectedGa4PropertyResponse> + getFetchConnectedGa4PropertyMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "FetchConnectedGa4Property", + requestType = com.google.analytics.admin.v1alpha.FetchConnectedGa4PropertyRequest.class, + responseType = com.google.analytics.admin.v1alpha.FetchConnectedGa4PropertyResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.FetchConnectedGa4PropertyRequest, + com.google.analytics.admin.v1alpha.FetchConnectedGa4PropertyResponse> + getFetchConnectedGa4PropertyMethod() { + io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.FetchConnectedGa4PropertyRequest, + com.google.analytics.admin.v1alpha.FetchConnectedGa4PropertyResponse> + getFetchConnectedGa4PropertyMethod; + if ((getFetchConnectedGa4PropertyMethod = + AnalyticsAdminServiceGrpc.getFetchConnectedGa4PropertyMethod) + == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getFetchConnectedGa4PropertyMethod = + AnalyticsAdminServiceGrpc.getFetchConnectedGa4PropertyMethod) + == null) { + AnalyticsAdminServiceGrpc.getFetchConnectedGa4PropertyMethod = + getFetchConnectedGa4PropertyMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "FetchConnectedGa4Property")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.FetchConnectedGa4PropertyRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.FetchConnectedGa4PropertyResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new AnalyticsAdminServiceMethodDescriptorSupplier( + "FetchConnectedGa4Property")) + .build(); + } + } + } + return getFetchConnectedGa4PropertyMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.GetAdSenseLinkRequest, + com.google.analytics.admin.v1alpha.AdSenseLink> + getGetAdSenseLinkMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetAdSenseLink", + requestType = com.google.analytics.admin.v1alpha.GetAdSenseLinkRequest.class, + responseType = com.google.analytics.admin.v1alpha.AdSenseLink.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.GetAdSenseLinkRequest, + com.google.analytics.admin.v1alpha.AdSenseLink> + getGetAdSenseLinkMethod() { + io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.GetAdSenseLinkRequest, + com.google.analytics.admin.v1alpha.AdSenseLink> + getGetAdSenseLinkMethod; + if ((getGetAdSenseLinkMethod = AnalyticsAdminServiceGrpc.getGetAdSenseLinkMethod) == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getGetAdSenseLinkMethod = AnalyticsAdminServiceGrpc.getGetAdSenseLinkMethod) == null) { + AnalyticsAdminServiceGrpc.getGetAdSenseLinkMethod = + getGetAdSenseLinkMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetAdSenseLink")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.GetAdSenseLinkRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.AdSenseLink.getDefaultInstance())) + .setSchemaDescriptor( + new AnalyticsAdminServiceMethodDescriptorSupplier("GetAdSenseLink")) + .build(); + } + } + } + return getGetAdSenseLinkMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.CreateAdSenseLinkRequest, + com.google.analytics.admin.v1alpha.AdSenseLink> + getCreateAdSenseLinkMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateAdSenseLink", + requestType = com.google.analytics.admin.v1alpha.CreateAdSenseLinkRequest.class, + responseType = com.google.analytics.admin.v1alpha.AdSenseLink.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.CreateAdSenseLinkRequest, + com.google.analytics.admin.v1alpha.AdSenseLink> + getCreateAdSenseLinkMethod() { + io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.CreateAdSenseLinkRequest, + com.google.analytics.admin.v1alpha.AdSenseLink> + getCreateAdSenseLinkMethod; + if ((getCreateAdSenseLinkMethod = AnalyticsAdminServiceGrpc.getCreateAdSenseLinkMethod) + == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getCreateAdSenseLinkMethod = AnalyticsAdminServiceGrpc.getCreateAdSenseLinkMethod) + == null) { + AnalyticsAdminServiceGrpc.getCreateAdSenseLinkMethod = + getCreateAdSenseLinkMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateAdSenseLink")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.CreateAdSenseLinkRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.AdSenseLink.getDefaultInstance())) + .setSchemaDescriptor( + new AnalyticsAdminServiceMethodDescriptorSupplier("CreateAdSenseLink")) + .build(); + } + } + } + return getCreateAdSenseLinkMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.DeleteAdSenseLinkRequest, com.google.protobuf.Empty> + getDeleteAdSenseLinkMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteAdSenseLink", + requestType = com.google.analytics.admin.v1alpha.DeleteAdSenseLinkRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.DeleteAdSenseLinkRequest, com.google.protobuf.Empty> + getDeleteAdSenseLinkMethod() { + io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.DeleteAdSenseLinkRequest, com.google.protobuf.Empty> + getDeleteAdSenseLinkMethod; + if ((getDeleteAdSenseLinkMethod = AnalyticsAdminServiceGrpc.getDeleteAdSenseLinkMethod) + == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getDeleteAdSenseLinkMethod = AnalyticsAdminServiceGrpc.getDeleteAdSenseLinkMethod) + == null) { + AnalyticsAdminServiceGrpc.getDeleteAdSenseLinkMethod = + getDeleteAdSenseLinkMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteAdSenseLink")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.DeleteAdSenseLinkRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor( + new AnalyticsAdminServiceMethodDescriptorSupplier("DeleteAdSenseLink")) + .build(); + } + } + } + return getDeleteAdSenseLinkMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.ListAdSenseLinksRequest, + com.google.analytics.admin.v1alpha.ListAdSenseLinksResponse> + getListAdSenseLinksMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListAdSenseLinks", + requestType = com.google.analytics.admin.v1alpha.ListAdSenseLinksRequest.class, + responseType = com.google.analytics.admin.v1alpha.ListAdSenseLinksResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.ListAdSenseLinksRequest, + com.google.analytics.admin.v1alpha.ListAdSenseLinksResponse> + getListAdSenseLinksMethod() { + io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.ListAdSenseLinksRequest, + com.google.analytics.admin.v1alpha.ListAdSenseLinksResponse> + getListAdSenseLinksMethod; + if ((getListAdSenseLinksMethod = AnalyticsAdminServiceGrpc.getListAdSenseLinksMethod) == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getListAdSenseLinksMethod = AnalyticsAdminServiceGrpc.getListAdSenseLinksMethod) + == null) { + AnalyticsAdminServiceGrpc.getListAdSenseLinksMethod = + getListAdSenseLinksMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListAdSenseLinks")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.ListAdSenseLinksRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.ListAdSenseLinksResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new AnalyticsAdminServiceMethodDescriptorSupplier("ListAdSenseLinks")) + .build(); + } + } + } + return getListAdSenseLinksMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.GetEventCreateRuleRequest, + com.google.analytics.admin.v1alpha.EventCreateRule> + getGetEventCreateRuleMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetEventCreateRule", + requestType = com.google.analytics.admin.v1alpha.GetEventCreateRuleRequest.class, + responseType = com.google.analytics.admin.v1alpha.EventCreateRule.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.GetEventCreateRuleRequest, + com.google.analytics.admin.v1alpha.EventCreateRule> + getGetEventCreateRuleMethod() { + io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.GetEventCreateRuleRequest, + com.google.analytics.admin.v1alpha.EventCreateRule> + getGetEventCreateRuleMethod; + if ((getGetEventCreateRuleMethod = AnalyticsAdminServiceGrpc.getGetEventCreateRuleMethod) + == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getGetEventCreateRuleMethod = AnalyticsAdminServiceGrpc.getGetEventCreateRuleMethod) + == null) { + AnalyticsAdminServiceGrpc.getGetEventCreateRuleMethod = + getGetEventCreateRuleMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetEventCreateRule")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.GetEventCreateRuleRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.EventCreateRule + .getDefaultInstance())) + .setSchemaDescriptor( + new AnalyticsAdminServiceMethodDescriptorSupplier("GetEventCreateRule")) + .build(); + } + } + } + return getGetEventCreateRuleMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.ListEventCreateRulesRequest, + com.google.analytics.admin.v1alpha.ListEventCreateRulesResponse> + getListEventCreateRulesMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListEventCreateRules", + requestType = com.google.analytics.admin.v1alpha.ListEventCreateRulesRequest.class, + responseType = com.google.analytics.admin.v1alpha.ListEventCreateRulesResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.ListEventCreateRulesRequest, + com.google.analytics.admin.v1alpha.ListEventCreateRulesResponse> + getListEventCreateRulesMethod() { + io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.ListEventCreateRulesRequest, + com.google.analytics.admin.v1alpha.ListEventCreateRulesResponse> + getListEventCreateRulesMethod; + if ((getListEventCreateRulesMethod = AnalyticsAdminServiceGrpc.getListEventCreateRulesMethod) + == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getListEventCreateRulesMethod = + AnalyticsAdminServiceGrpc.getListEventCreateRulesMethod) + == null) { + AnalyticsAdminServiceGrpc.getListEventCreateRulesMethod = + getListEventCreateRulesMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "ListEventCreateRules")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.ListEventCreateRulesRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.ListEventCreateRulesResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new AnalyticsAdminServiceMethodDescriptorSupplier("ListEventCreateRules")) + .build(); + } + } + } + return getListEventCreateRulesMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.CreateEventCreateRuleRequest, + com.google.analytics.admin.v1alpha.EventCreateRule> + getCreateEventCreateRuleMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateEventCreateRule", + requestType = com.google.analytics.admin.v1alpha.CreateEventCreateRuleRequest.class, + responseType = com.google.analytics.admin.v1alpha.EventCreateRule.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.CreateEventCreateRuleRequest, + com.google.analytics.admin.v1alpha.EventCreateRule> + getCreateEventCreateRuleMethod() { + io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.CreateEventCreateRuleRequest, + com.google.analytics.admin.v1alpha.EventCreateRule> + getCreateEventCreateRuleMethod; + if ((getCreateEventCreateRuleMethod = AnalyticsAdminServiceGrpc.getCreateEventCreateRuleMethod) + == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getCreateEventCreateRuleMethod = + AnalyticsAdminServiceGrpc.getCreateEventCreateRuleMethod) + == null) { + AnalyticsAdminServiceGrpc.getCreateEventCreateRuleMethod = + getCreateEventCreateRuleMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "CreateEventCreateRule")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.CreateEventCreateRuleRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.EventCreateRule + .getDefaultInstance())) + .setSchemaDescriptor( + new AnalyticsAdminServiceMethodDescriptorSupplier( + "CreateEventCreateRule")) + .build(); + } + } + } + return getCreateEventCreateRuleMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.UpdateEventCreateRuleRequest, + com.google.analytics.admin.v1alpha.EventCreateRule> + getUpdateEventCreateRuleMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateEventCreateRule", + requestType = com.google.analytics.admin.v1alpha.UpdateEventCreateRuleRequest.class, + responseType = com.google.analytics.admin.v1alpha.EventCreateRule.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.UpdateEventCreateRuleRequest, + com.google.analytics.admin.v1alpha.EventCreateRule> + getUpdateEventCreateRuleMethod() { + io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.UpdateEventCreateRuleRequest, + com.google.analytics.admin.v1alpha.EventCreateRule> + getUpdateEventCreateRuleMethod; + if ((getUpdateEventCreateRuleMethod = AnalyticsAdminServiceGrpc.getUpdateEventCreateRuleMethod) + == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getUpdateEventCreateRuleMethod = + AnalyticsAdminServiceGrpc.getUpdateEventCreateRuleMethod) + == null) { + AnalyticsAdminServiceGrpc.getUpdateEventCreateRuleMethod = + getUpdateEventCreateRuleMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "UpdateEventCreateRule")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.UpdateEventCreateRuleRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.EventCreateRule + .getDefaultInstance())) + .setSchemaDescriptor( + new AnalyticsAdminServiceMethodDescriptorSupplier( + "UpdateEventCreateRule")) + .build(); + } + } + } + return getUpdateEventCreateRuleMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.DeleteEventCreateRuleRequest, + com.google.protobuf.Empty> + getDeleteEventCreateRuleMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteEventCreateRule", + requestType = com.google.analytics.admin.v1alpha.DeleteEventCreateRuleRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.DeleteEventCreateRuleRequest, + com.google.protobuf.Empty> + getDeleteEventCreateRuleMethod() { + io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.DeleteEventCreateRuleRequest, + com.google.protobuf.Empty> + getDeleteEventCreateRuleMethod; + if ((getDeleteEventCreateRuleMethod = AnalyticsAdminServiceGrpc.getDeleteEventCreateRuleMethod) + == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getDeleteEventCreateRuleMethod = + AnalyticsAdminServiceGrpc.getDeleteEventCreateRuleMethod) + == null) { + AnalyticsAdminServiceGrpc.getDeleteEventCreateRuleMethod = + getDeleteEventCreateRuleMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "DeleteEventCreateRule")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.DeleteEventCreateRuleRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor( + new AnalyticsAdminServiceMethodDescriptorSupplier( + "DeleteEventCreateRule")) + .build(); + } + } + } + return getDeleteEventCreateRuleMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.UpdateDataRedactionSettingsRequest, + com.google.analytics.admin.v1alpha.DataRedactionSettings> + getUpdateDataRedactionSettingsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateDataRedactionSettings", + requestType = com.google.analytics.admin.v1alpha.UpdateDataRedactionSettingsRequest.class, + responseType = com.google.analytics.admin.v1alpha.DataRedactionSettings.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.UpdateDataRedactionSettingsRequest, + com.google.analytics.admin.v1alpha.DataRedactionSettings> + getUpdateDataRedactionSettingsMethod() { + io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.UpdateDataRedactionSettingsRequest, + com.google.analytics.admin.v1alpha.DataRedactionSettings> + getUpdateDataRedactionSettingsMethod; + if ((getUpdateDataRedactionSettingsMethod = + AnalyticsAdminServiceGrpc.getUpdateDataRedactionSettingsMethod) + == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getUpdateDataRedactionSettingsMethod = + AnalyticsAdminServiceGrpc.getUpdateDataRedactionSettingsMethod) + == null) { + AnalyticsAdminServiceGrpc.getUpdateDataRedactionSettingsMethod = + getUpdateDataRedactionSettingsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "UpdateDataRedactionSettings")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.UpdateDataRedactionSettingsRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.DataRedactionSettings + .getDefaultInstance())) + .setSchemaDescriptor( + new AnalyticsAdminServiceMethodDescriptorSupplier( + "UpdateDataRedactionSettings")) + .build(); + } + } + } + return getUpdateDataRedactionSettingsMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.GetDataRedactionSettingsRequest, + com.google.analytics.admin.v1alpha.DataRedactionSettings> + getGetDataRedactionSettingsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetDataRedactionSettings", + requestType = com.google.analytics.admin.v1alpha.GetDataRedactionSettingsRequest.class, + responseType = com.google.analytics.admin.v1alpha.DataRedactionSettings.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.GetDataRedactionSettingsRequest, + com.google.analytics.admin.v1alpha.DataRedactionSettings> + getGetDataRedactionSettingsMethod() { + io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.GetDataRedactionSettingsRequest, + com.google.analytics.admin.v1alpha.DataRedactionSettings> + getGetDataRedactionSettingsMethod; + if ((getGetDataRedactionSettingsMethod = + AnalyticsAdminServiceGrpc.getGetDataRedactionSettingsMethod) + == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getGetDataRedactionSettingsMethod = + AnalyticsAdminServiceGrpc.getGetDataRedactionSettingsMethod) + == null) { + AnalyticsAdminServiceGrpc.getGetDataRedactionSettingsMethod = + getGetDataRedactionSettingsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "GetDataRedactionSettings")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.GetDataRedactionSettingsRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.DataRedactionSettings + .getDefaultInstance())) + .setSchemaDescriptor( + new AnalyticsAdminServiceMethodDescriptorSupplier( + "GetDataRedactionSettings")) + .build(); + } + } + } + return getGetDataRedactionSettingsMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.CreateRollupPropertyRequest, + com.google.analytics.admin.v1alpha.CreateRollupPropertyResponse> + getCreateRollupPropertyMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateRollupProperty", + requestType = com.google.analytics.admin.v1alpha.CreateRollupPropertyRequest.class, + responseType = com.google.analytics.admin.v1alpha.CreateRollupPropertyResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.CreateRollupPropertyRequest, + com.google.analytics.admin.v1alpha.CreateRollupPropertyResponse> + getCreateRollupPropertyMethod() { + io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.CreateRollupPropertyRequest, + com.google.analytics.admin.v1alpha.CreateRollupPropertyResponse> + getCreateRollupPropertyMethod; + if ((getCreateRollupPropertyMethod = AnalyticsAdminServiceGrpc.getCreateRollupPropertyMethod) + == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getCreateRollupPropertyMethod = + AnalyticsAdminServiceGrpc.getCreateRollupPropertyMethod) + == null) { + AnalyticsAdminServiceGrpc.getCreateRollupPropertyMethod = + getCreateRollupPropertyMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "CreateRollupProperty")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.CreateRollupPropertyRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.CreateRollupPropertyResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new AnalyticsAdminServiceMethodDescriptorSupplier("CreateRollupProperty")) + .build(); + } + } + } + return getCreateRollupPropertyMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.GetRollupPropertySourceLinkRequest, + com.google.analytics.admin.v1alpha.RollupPropertySourceLink> + getGetRollupPropertySourceLinkMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetRollupPropertySourceLink", + requestType = com.google.analytics.admin.v1alpha.GetRollupPropertySourceLinkRequest.class, + responseType = com.google.analytics.admin.v1alpha.RollupPropertySourceLink.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.GetRollupPropertySourceLinkRequest, + com.google.analytics.admin.v1alpha.RollupPropertySourceLink> + getGetRollupPropertySourceLinkMethod() { + io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.GetRollupPropertySourceLinkRequest, + com.google.analytics.admin.v1alpha.RollupPropertySourceLink> + getGetRollupPropertySourceLinkMethod; + if ((getGetRollupPropertySourceLinkMethod = + AnalyticsAdminServiceGrpc.getGetRollupPropertySourceLinkMethod) + == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getGetRollupPropertySourceLinkMethod = + AnalyticsAdminServiceGrpc.getGetRollupPropertySourceLinkMethod) + == null) { + AnalyticsAdminServiceGrpc.getGetRollupPropertySourceLinkMethod = + getGetRollupPropertySourceLinkMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "GetRollupPropertySourceLink")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.GetRollupPropertySourceLinkRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.RollupPropertySourceLink + .getDefaultInstance())) + .setSchemaDescriptor( + new AnalyticsAdminServiceMethodDescriptorSupplier( + "GetRollupPropertySourceLink")) + .build(); + } + } + } + return getGetRollupPropertySourceLinkMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.ListRollupPropertySourceLinksRequest, + com.google.analytics.admin.v1alpha.ListRollupPropertySourceLinksResponse> + getListRollupPropertySourceLinksMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListRollupPropertySourceLinks", + requestType = com.google.analytics.admin.v1alpha.ListRollupPropertySourceLinksRequest.class, + responseType = com.google.analytics.admin.v1alpha.ListRollupPropertySourceLinksResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.ListRollupPropertySourceLinksRequest, + com.google.analytics.admin.v1alpha.ListRollupPropertySourceLinksResponse> + getListRollupPropertySourceLinksMethod() { + io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.ListRollupPropertySourceLinksRequest, + com.google.analytics.admin.v1alpha.ListRollupPropertySourceLinksResponse> + getListRollupPropertySourceLinksMethod; + if ((getListRollupPropertySourceLinksMethod = + AnalyticsAdminServiceGrpc.getListRollupPropertySourceLinksMethod) + == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getListRollupPropertySourceLinksMethod = + AnalyticsAdminServiceGrpc.getListRollupPropertySourceLinksMethod) + == null) { + AnalyticsAdminServiceGrpc.getListRollupPropertySourceLinksMethod = + getListRollupPropertySourceLinksMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "ListRollupPropertySourceLinks")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha + .ListRollupPropertySourceLinksRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha + .ListRollupPropertySourceLinksResponse.getDefaultInstance())) + .setSchemaDescriptor( + new AnalyticsAdminServiceMethodDescriptorSupplier( + "ListRollupPropertySourceLinks")) + .build(); + } + } + } + return getListRollupPropertySourceLinksMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.CreateRollupPropertySourceLinkRequest, + com.google.analytics.admin.v1alpha.RollupPropertySourceLink> + getCreateRollupPropertySourceLinkMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateRollupPropertySourceLink", + requestType = com.google.analytics.admin.v1alpha.CreateRollupPropertySourceLinkRequest.class, + responseType = com.google.analytics.admin.v1alpha.RollupPropertySourceLink.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.CreateRollupPropertySourceLinkRequest, + com.google.analytics.admin.v1alpha.RollupPropertySourceLink> + getCreateRollupPropertySourceLinkMethod() { + io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.CreateRollupPropertySourceLinkRequest, + com.google.analytics.admin.v1alpha.RollupPropertySourceLink> + getCreateRollupPropertySourceLinkMethod; + if ((getCreateRollupPropertySourceLinkMethod = + AnalyticsAdminServiceGrpc.getCreateRollupPropertySourceLinkMethod) + == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getCreateRollupPropertySourceLinkMethod = + AnalyticsAdminServiceGrpc.getCreateRollupPropertySourceLinkMethod) + == null) { + AnalyticsAdminServiceGrpc.getCreateRollupPropertySourceLinkMethod = + getCreateRollupPropertySourceLinkMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "CreateRollupPropertySourceLink")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha + .CreateRollupPropertySourceLinkRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.RollupPropertySourceLink + .getDefaultInstance())) + .setSchemaDescriptor( + new AnalyticsAdminServiceMethodDescriptorSupplier( + "CreateRollupPropertySourceLink")) + .build(); + } + } + } + return getCreateRollupPropertySourceLinkMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.DeleteRollupPropertySourceLinkRequest, + com.google.protobuf.Empty> + getDeleteRollupPropertySourceLinkMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteRollupPropertySourceLink", + requestType = com.google.analytics.admin.v1alpha.DeleteRollupPropertySourceLinkRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.DeleteRollupPropertySourceLinkRequest, + com.google.protobuf.Empty> + getDeleteRollupPropertySourceLinkMethod() { + io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.DeleteRollupPropertySourceLinkRequest, + com.google.protobuf.Empty> + getDeleteRollupPropertySourceLinkMethod; + if ((getDeleteRollupPropertySourceLinkMethod = + AnalyticsAdminServiceGrpc.getDeleteRollupPropertySourceLinkMethod) + == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getDeleteRollupPropertySourceLinkMethod = + AnalyticsAdminServiceGrpc.getDeleteRollupPropertySourceLinkMethod) + == null) { + AnalyticsAdminServiceGrpc.getDeleteRollupPropertySourceLinkMethod = + getDeleteRollupPropertySourceLinkMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "DeleteRollupPropertySourceLink")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha + .DeleteRollupPropertySourceLinkRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor( + new AnalyticsAdminServiceMethodDescriptorSupplier( + "DeleteRollupPropertySourceLink")) + .build(); + } + } + } + return getDeleteRollupPropertySourceLinkMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.CreateSubpropertyRequest, + com.google.analytics.admin.v1alpha.CreateSubpropertyResponse> + getCreateSubpropertyMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateSubproperty", + requestType = com.google.analytics.admin.v1alpha.CreateSubpropertyRequest.class, + responseType = com.google.analytics.admin.v1alpha.CreateSubpropertyResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.CreateSubpropertyRequest, + com.google.analytics.admin.v1alpha.CreateSubpropertyResponse> + getCreateSubpropertyMethod() { + io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.CreateSubpropertyRequest, + com.google.analytics.admin.v1alpha.CreateSubpropertyResponse> + getCreateSubpropertyMethod; + if ((getCreateSubpropertyMethod = AnalyticsAdminServiceGrpc.getCreateSubpropertyMethod) + == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getCreateSubpropertyMethod = AnalyticsAdminServiceGrpc.getCreateSubpropertyMethod) + == null) { + AnalyticsAdminServiceGrpc.getCreateSubpropertyMethod = + getCreateSubpropertyMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateSubproperty")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.CreateSubpropertyRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.CreateSubpropertyResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new AnalyticsAdminServiceMethodDescriptorSupplier("CreateSubproperty")) + .build(); + } + } + } + return getCreateSubpropertyMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.DeleteSubpropertyEventFilterRequest, + com.google.protobuf.Empty> + getDeleteSubpropertyEventFilterMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteSubpropertyEventFilter", + requestType = com.google.analytics.admin.v1alpha.DeleteSubpropertyEventFilterRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.DeleteSubpropertyEventFilterRequest, + com.google.protobuf.Empty> + getDeleteSubpropertyEventFilterMethod() { + io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.DeleteSubpropertyEventFilterRequest, + com.google.protobuf.Empty> + getDeleteSubpropertyEventFilterMethod; + if ((getDeleteSubpropertyEventFilterMethod = + AnalyticsAdminServiceGrpc.getDeleteSubpropertyEventFilterMethod) + == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getDeleteSubpropertyEventFilterMethod = + AnalyticsAdminServiceGrpc.getDeleteSubpropertyEventFilterMethod) + == null) { + AnalyticsAdminServiceGrpc.getDeleteSubpropertyEventFilterMethod = + getDeleteSubpropertyEventFilterMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "DeleteSubpropertyEventFilter")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.DeleteSubpropertyEventFilterRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor( + new AnalyticsAdminServiceMethodDescriptorSupplier( + "DeleteSubpropertyEventFilter")) + .build(); + } + } + } + return getDeleteSubpropertyEventFilterMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.CreateSubpropertyEventFilterRequest, + com.google.analytics.admin.v1alpha.SubpropertyEventFilter> + getCreateSubpropertyEventFilterMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateSubpropertyEventFilter", + requestType = com.google.analytics.admin.v1alpha.CreateSubpropertyEventFilterRequest.class, + responseType = com.google.analytics.admin.v1alpha.SubpropertyEventFilter.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.CreateSubpropertyEventFilterRequest, + com.google.analytics.admin.v1alpha.SubpropertyEventFilter> + getCreateSubpropertyEventFilterMethod() { + io.grpc.MethodDescriptor< + com.google.analytics.admin.v1alpha.CreateSubpropertyEventFilterRequest, + com.google.analytics.admin.v1alpha.SubpropertyEventFilter> + getCreateSubpropertyEventFilterMethod; + if ((getCreateSubpropertyEventFilterMethod = + AnalyticsAdminServiceGrpc.getCreateSubpropertyEventFilterMethod) + == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getCreateSubpropertyEventFilterMethod = + AnalyticsAdminServiceGrpc.getCreateSubpropertyEventFilterMethod) + == null) { + AnalyticsAdminServiceGrpc.getCreateSubpropertyEventFilterMethod = + getCreateSubpropertyEventFilterMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "CreateSubpropertyEventFilter")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.CreateSubpropertyEventFilterRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1alpha.SubpropertyEventFilter + .getDefaultInstance())) + .setSchemaDescriptor( + new AnalyticsAdminServiceMethodDescriptorSupplier( + "CreateSubpropertyEventFilter")) + .build(); + } + } + } + return getCreateSubpropertyEventFilterMethod; + } + + /** 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 interface AsyncService { + + /** + * + * + *
+     * Lookup for a single Account.
+     * 
+ */ + default 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.
+     * 
+ */ + default 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,
+     * AccessBindings) will be permanently purged.
+     * https://support.google.com/analytics/answer/6154772
+     * Returns an error if the target is not found.
+     * 
+ */ + default void deleteAccount( + com.google.analytics.admin.v1alpha.DeleteAccountRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getDeleteAccountMethod(), responseObserver); + } + + /** + * + * + *
+     * Updates an account.
+     * 
+ */ + default 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.
+     * 
+ */ + default 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.
+     * 
+ */ + default 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.
+     * 
+ */ + default 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.
+     * 
+ */ + default 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.
+     * 
+ */ + default 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, AccessBindings)
+     * 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.
+     * 
+ */ + default void deleteProperty( + com.google.analytics.admin.v1alpha.DeletePropertyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getDeletePropertyMethod(), responseObserver); + } + + /** + * + * + *
+     * Updates a property.
+     * 
+ */ + default void updateProperty( + com.google.analytics.admin.v1alpha.UpdatePropertyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getUpdatePropertyMethod(), responseObserver); + } + + /** + * + * + *
+     * Creates a FirebaseLink.
+     * Properties can have at most one FirebaseLink.
+     * 
+ */ + default 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
+     * 
+ */ + default 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.
+     * 
+ */ + default 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.
+     * 
+ */ + default void getGlobalSiteTag( + com.google.analytics.admin.v1alpha.GetGlobalSiteTagRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getGetGlobalSiteTagMethod(), responseObserver); + } + + /** + * + * + *
+     * Creates a GoogleAdsLink.
+     * 
+ */ + default 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
+     * 
+ */ + default 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
+     * 
+ */ + default 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.
+     * 
+ */ + default 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.
+     * 
+ */ + default 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.
+     * 
+ */ + default 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.
+     * 
+ */ + default 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.
+     * 
+ */ + default void createMeasurementProtocolSecret( + com.google.analytics.admin.v1alpha.CreateMeasurementProtocolSecretRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getCreateMeasurementProtocolSecretMethod(), responseObserver); + } + + /** + * + * + *
+     * Deletes target MeasurementProtocolSecret.
+     * 
+ */ + default 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.
+     * 
+ */ + default 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 through this API) before MeasurementProtocolSecret resources may be
+     * created.
+     * 
+ */ + default 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); + } + + /** + * + * + *
+     * Looks up a single SKAdNetworkConversionValueSchema.
+     * 
+ */ + default void getSKAdNetworkConversionValueSchema( + com.google.analytics.admin.v1alpha.GetSKAdNetworkConversionValueSchemaRequest request, + io.grpc.stub.StreamObserver< + com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema> + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getGetSKAdNetworkConversionValueSchemaMethod(), responseObserver); + } + + /** + * + * + *
+     * Creates a SKAdNetworkConversionValueSchema.
+     * 
+ */ + default void createSKAdNetworkConversionValueSchema( + com.google.analytics.admin.v1alpha.CreateSKAdNetworkConversionValueSchemaRequest request, + io.grpc.stub.StreamObserver< + com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema> + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getCreateSKAdNetworkConversionValueSchemaMethod(), responseObserver); + } + + /** + * + * + *
+     * Deletes target SKAdNetworkConversionValueSchema.
+     * 
+ */ + default void deleteSKAdNetworkConversionValueSchema( + com.google.analytics.admin.v1alpha.DeleteSKAdNetworkConversionValueSchemaRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getDeleteSKAdNetworkConversionValueSchemaMethod(), responseObserver); + } + + /** + * + * + *
+     * Updates a SKAdNetworkConversionValueSchema.
+     * 
+ */ + default void updateSKAdNetworkConversionValueSchema( + com.google.analytics.admin.v1alpha.UpdateSKAdNetworkConversionValueSchemaRequest request, + io.grpc.stub.StreamObserver< + com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema> + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getUpdateSKAdNetworkConversionValueSchemaMethod(), responseObserver); + } + + /** + * + * + *
+     * Lists SKAdNetworkConversionValueSchema on a stream.
+     * Properties can have at most one SKAdNetworkConversionValueSchema.
+     * 
+ */ + default void listSKAdNetworkConversionValueSchemas( + com.google.analytics.admin.v1alpha.ListSKAdNetworkConversionValueSchemasRequest request, + io.grpc.stub.StreamObserver< + com.google.analytics.admin.v1alpha.ListSKAdNetworkConversionValueSchemasResponse> + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListSKAdNetworkConversionValueSchemasMethod(), responseObserver); + } + + /** + * + * + *
+     * Searches through all changes to an account or its children given the
+     * specified set of filters.
+     * 
+ */ + default 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.
+     * 
+ */ + default 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.
+     * 
+ */ + default 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.
+     * 
+ */ + default void createConversionEvent( + com.google.analytics.admin.v1alpha.CreateConversionEventRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getCreateConversionEventMethod(), responseObserver); + } + + /** + * + * + *
+     * Updates a conversion event with the specified attributes.
+     * 
+ */ + default void updateConversionEvent( + com.google.analytics.admin.v1alpha.UpdateConversionEventRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getUpdateConversionEventMethod(), responseObserver); + } + + /** + * + * + *
+     * Retrieve a single conversion event.
+     * 
+ */ + default 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.
+     * 
+ */ + default 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.
+     * 
+ */ + default 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
+     * 
+ */ + default 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.
+     * 
+ */ + default 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.
+     * 
+ */ + default 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.
+     * 
+ */ + default 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.
+     * 
+ */ + default 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.
+     * 
+ */ + default 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.
+     * 
+ */ + default 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.
+     * 
+ */ + default 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.
+     * 
+ */ + default 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.
+     * 
+ */ + default 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.
+     * 
+ */ + default 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.
+     * 
+ */ + default 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.
+     * 
+ */ + default 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.
+     * 
+ */ + default 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.
+     * 
+ */ + default 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.
+     * 
+ */ + default void getCustomDimension( + com.google.analytics.admin.v1alpha.GetCustomDimensionRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getGetCustomDimensionMethod(), responseObserver); + } + + /** + * + * + *
+     * Creates a CustomMetric.
+     * 
+ */ + default 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.
+     * 
+ */ + default 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.
+     * 
+ */ + default 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.
+     * 
+ */ + default 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.
+     * 
+ */ + default 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.
+     * 
+ */ + default 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.
+     * 
+ */ + default void updateDataRetentionSettings( + com.google.analytics.admin.v1alpha.UpdateDataRetentionSettingsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getUpdateDataRetentionSettingsMethod(), responseObserver); + } + + /** + * + * + *
+     * Creates a DataStream.
+     * 
+ */ + default 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.
+     * 
+ */ + default 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.
+     * 
+ */ + default 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.
+     * 
+ */ + default 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.
+     * 
+ */ + default 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.
+     * 
+ */ + default 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.
+     * 
+ */ + default void listAudiences( + com.google.analytics.admin.v1alpha.ListAudiencesRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListAudiencesMethod(), responseObserver); + } + + /** + * + * + *
+     * Creates an Audience.
+     * 
+ */ + default 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.
+     * 
+ */ + default 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.
+     * 
+ */ + default 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
+     * 
+ */ + default 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.
+     * 
+ */ + default 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.
+     * 
+ */ + default 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.
+     * 
+ */ + default 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.
+     * 
+ */ + default 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.
+     * 
+ */ + default 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.
+     * 
+ */ + default 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).
+     * 
+ */ + default void runAccessReport( + com.google.analytics.admin.v1alpha.RunAccessReportRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getRunAccessReportMethod(), responseObserver); + } + + /** + * + * + *
+     * Creates an access binding on an account or property.
+     * 
+ */ + default void createAccessBinding( + com.google.analytics.admin.v1alpha.CreateAccessBindingRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getCreateAccessBindingMethod(), responseObserver); + } + + /** + * + * + *
+     * Gets information about an access binding.
+     * 
+ */ + default void getAccessBinding( + com.google.analytics.admin.v1alpha.GetAccessBindingRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getGetAccessBindingMethod(), responseObserver); + } + + /** + * + * + *
+     * Updates an access binding on an account or property.
+     * 
+ */ + default void updateAccessBinding( + com.google.analytics.admin.v1alpha.UpdateAccessBindingRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getUpdateAccessBindingMethod(), responseObserver); + } + + /** + * + * + *
+     * Deletes an access binding on an account or property.
+     * 
+ */ + default void deleteAccessBinding( + com.google.analytics.admin.v1alpha.DeleteAccessBindingRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getDeleteAccessBindingMethod(), responseObserver); + } + + /** + * + * + *
+     * Lists all access bindings on an account or property.
+     * 
+ */ + default void listAccessBindings( + com.google.analytics.admin.v1alpha.ListAccessBindingsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListAccessBindingsMethod(), responseObserver); + } + + /** + * + * + *
+     * Creates information about multiple access bindings to an account or
+     * property.
+     * This method is transactional. If any AccessBinding cannot be created, none
+     * of the AccessBindings will be created.
+     * 
+ */ + default void batchCreateAccessBindings( + com.google.analytics.admin.v1alpha.BatchCreateAccessBindingsRequest request, + io.grpc.stub.StreamObserver< + com.google.analytics.admin.v1alpha.BatchCreateAccessBindingsResponse> + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getBatchCreateAccessBindingsMethod(), responseObserver); + } + + /** + * + * + *
+     * Gets information about multiple access bindings to an account or property.
+     * 
+ */ + default void batchGetAccessBindings( + com.google.analytics.admin.v1alpha.BatchGetAccessBindingsRequest request, + io.grpc.stub.StreamObserver< + com.google.analytics.admin.v1alpha.BatchGetAccessBindingsResponse> + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getBatchGetAccessBindingsMethod(), responseObserver); + } + + /** + * + * + *
+     * Updates information about multiple access bindings to an account or
+     * property.
+     * 
+ */ + default void batchUpdateAccessBindings( + com.google.analytics.admin.v1alpha.BatchUpdateAccessBindingsRequest request, + io.grpc.stub.StreamObserver< + com.google.analytics.admin.v1alpha.BatchUpdateAccessBindingsResponse> + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getBatchUpdateAccessBindingsMethod(), responseObserver); + } + + /** + * + * + *
+     * Deletes information about multiple users' links to an account or property.
+     * 
+ */ + default void batchDeleteAccessBindings( + com.google.analytics.admin.v1alpha.BatchDeleteAccessBindingsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getBatchDeleteAccessBindingsMethod(), responseObserver); + } + + /** + * + * + *
+     * Lookup for a single ExpandedDataSet.
+     * 
+ */ + default void getExpandedDataSet( + com.google.analytics.admin.v1alpha.GetExpandedDataSetRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getGetExpandedDataSetMethod(), responseObserver); + } + + /** + * + * + *
+     * Lists ExpandedDataSets on a property.
+     * 
+ */ + default void listExpandedDataSets( + com.google.analytics.admin.v1alpha.ListExpandedDataSetsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListExpandedDataSetsMethod(), responseObserver); + } + + /** + * + * + *
+     * Creates a ExpandedDataSet.
+     * 
+ */ + default void createExpandedDataSet( + com.google.analytics.admin.v1alpha.CreateExpandedDataSetRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getCreateExpandedDataSetMethod(), responseObserver); + } + + /** + * + * + *
+     * Updates a ExpandedDataSet on a property.
+     * 
+ */ + default void updateExpandedDataSet( + com.google.analytics.admin.v1alpha.UpdateExpandedDataSetRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getUpdateExpandedDataSetMethod(), responseObserver); + } + + /** + * + * + *
+     * Deletes a ExpandedDataSet on a property.
+     * 
+ */ + default void deleteExpandedDataSet( + com.google.analytics.admin.v1alpha.DeleteExpandedDataSetRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getDeleteExpandedDataSetMethod(), responseObserver); + } + + /** + * + * + *
+     * Lookup for a single ChannelGroup.
+     * 
+ */ + default void getChannelGroup( + com.google.analytics.admin.v1alpha.GetChannelGroupRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getGetChannelGroupMethod(), responseObserver); + } + + /** + * + * + *
+     * Lists ChannelGroups on a property.
+     * 
+ */ + default void listChannelGroups( + com.google.analytics.admin.v1alpha.ListChannelGroupsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListChannelGroupsMethod(), responseObserver); + } + + /** + * + * + *
+     * Creates a ChannelGroup.
+     * 
+ */ + default void createChannelGroup( + com.google.analytics.admin.v1alpha.CreateChannelGroupRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getCreateChannelGroupMethod(), responseObserver); + } + + /** + * + * + *
+     * Updates a ChannelGroup.
+     * 
+ */ + default void updateChannelGroup( + com.google.analytics.admin.v1alpha.UpdateChannelGroupRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getUpdateChannelGroupMethod(), responseObserver); + } + + /** + * + * + *
+     * Deletes a ChannelGroup on a property.
+     * 
+ */ + default void deleteChannelGroup( + com.google.analytics.admin.v1alpha.DeleteChannelGroupRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getDeleteChannelGroupMethod(), responseObserver); + } + + /** + * + * + *
+     * Sets the opt out status for the automated GA4 setup process for a UA
+     * property.
+     * Note: this has no effect on GA4 property.
+     * 
+ */ + default 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.
+     * 
+ */ + default 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.
+     * 
+ */ + default 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.
+     * 
+ */ + default void listBigQueryLinks( + com.google.analytics.admin.v1alpha.ListBigQueryLinksRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListBigQueryLinksMethod(), responseObserver); + } + + /** + * + * + *
+     * Returns the enhanced measurement settings for this data stream.
+     * Note that the stream must enable enhanced measurement for these settings to
+     * take effect.
+     * 
+ */ + default void getEnhancedMeasurementSettings( + com.google.analytics.admin.v1alpha.GetEnhancedMeasurementSettingsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getGetEnhancedMeasurementSettingsMethod(), responseObserver); + } + + /** + * + * + *
+     * Updates the enhanced measurement settings for this data stream.
+     * Note that the stream must enable enhanced measurement for these settings to
+     * take effect.
+     * 
+ */ + default void updateEnhancedMeasurementSettings( + com.google.analytics.admin.v1alpha.UpdateEnhancedMeasurementSettingsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getUpdateEnhancedMeasurementSettingsMethod(), responseObserver); + } + + /** + * + * + *
+     * Creates a connected site tag for a Universal Analytics property. You can
+     * create a maximum of 20 connected site tags per property.
+     * Note: This API cannot be used on GA4 properties.
+     * 
+ */ + default void createConnectedSiteTag( + com.google.analytics.admin.v1alpha.CreateConnectedSiteTagRequest request, + io.grpc.stub.StreamObserver< + com.google.analytics.admin.v1alpha.CreateConnectedSiteTagResponse> + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getCreateConnectedSiteTagMethod(), responseObserver); + } + + /** + * + * + *
+     * Deletes a connected site tag for a Universal Analytics property.
+     * Note: this has no effect on GA4 properties.
+     * 
+ */ + default void deleteConnectedSiteTag( + com.google.analytics.admin.v1alpha.DeleteConnectedSiteTagRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getDeleteConnectedSiteTagMethod(), responseObserver); + } + + /** + * + * + *
+     * Lists the connected site tags for a Universal Analytics property. A maximum
+     * of 20 connected site tags will be returned. Note: this has no effect on GA4
+     * property.
+     * 
+ */ + default void listConnectedSiteTags( + com.google.analytics.admin.v1alpha.ListConnectedSiteTagsRequest request, + io.grpc.stub.StreamObserver< + com.google.analytics.admin.v1alpha.ListConnectedSiteTagsResponse> + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListConnectedSiteTagsMethod(), responseObserver); + } + + /** + * + * + *
+     * Given a specified UA property, looks up the GA4 property connected to it.
+     * Note: this cannot be used with GA4 properties.
+     * 
+ */ + default void fetchConnectedGa4Property( + com.google.analytics.admin.v1alpha.FetchConnectedGa4PropertyRequest request, + io.grpc.stub.StreamObserver< + com.google.analytics.admin.v1alpha.FetchConnectedGa4PropertyResponse> + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getFetchConnectedGa4PropertyMethod(), responseObserver); + } + + /** + * + * + *
+     * Looks up a single AdSenseLink.
+     * 
+ */ + default void getAdSenseLink( + com.google.analytics.admin.v1alpha.GetAdSenseLinkRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getGetAdSenseLinkMethod(), responseObserver); + } + + /** + * + * + *
+     * Creates an AdSenseLink.
+     * 
+ */ + default void createAdSenseLink( + com.google.analytics.admin.v1alpha.CreateAdSenseLinkRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getCreateAdSenseLinkMethod(), responseObserver); + } + + /** + * + * + *
+     * Deletes an AdSenseLink.
+     * 
+ */ + default void deleteAdSenseLink( + com.google.analytics.admin.v1alpha.DeleteAdSenseLinkRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getDeleteAdSenseLinkMethod(), responseObserver); + } + + /** + * + * + *
+     * Lists AdSenseLinks on a property.
+     * 
+ */ + default void listAdSenseLinks( + com.google.analytics.admin.v1alpha.ListAdSenseLinksRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListAdSenseLinksMethod(), responseObserver); + } + + /** + * + * + *
+     * Lookup for a single EventCreateRule.
+     * 
+ */ + default void getEventCreateRule( + com.google.analytics.admin.v1alpha.GetEventCreateRuleRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getGetEventCreateRuleMethod(), responseObserver); + } + + /** + * + * + *
+     * Lists EventCreateRules on a web data stream.
+     * 
+ */ + default void listEventCreateRules( + com.google.analytics.admin.v1alpha.ListEventCreateRulesRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListEventCreateRulesMethod(), responseObserver); + } + + /** + * + * + *
+     * Creates an EventCreateRule.
+     * 
+ */ + default void createEventCreateRule( + com.google.analytics.admin.v1alpha.CreateEventCreateRuleRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getCreateEventCreateRuleMethod(), responseObserver); + } + + /** + * + * + *
+     * Updates an EventCreateRule.
+     * 
+ */ + default void updateEventCreateRule( + com.google.analytics.admin.v1alpha.UpdateEventCreateRuleRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getUpdateEventCreateRuleMethod(), responseObserver); + } + + /** + * + * + *
+     * Deletes an EventCreateRule.
+     * 
+ */ + default void deleteEventCreateRule( + com.google.analytics.admin.v1alpha.DeleteEventCreateRuleRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getDeleteEventCreateRuleMethod(), responseObserver); + } + + /** + * + * + *
+     * Updates a DataRedactionSettings on a property.
+     * 
+ */ + default void updateDataRedactionSettings( + com.google.analytics.admin.v1alpha.UpdateDataRedactionSettingsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getUpdateDataRedactionSettingsMethod(), responseObserver); + } + + /** + * + * + *
+     * Lookup for a single DataRedactionSettings.
+     * 
+ */ + default void getDataRedactionSettings( + com.google.analytics.admin.v1alpha.GetDataRedactionSettingsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getGetDataRedactionSettingsMethod(), responseObserver); + } + + /** + * + * + *
+     * Create a roll-up property and all roll-up property source links.
+     * 
+ */ + default void createRollupProperty( + com.google.analytics.admin.v1alpha.CreateRollupPropertyRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getCreateRollupPropertyMethod(), responseObserver); + } + + /** + * + * + *
+     * Lookup for a single roll-up property source Link.
+     * Only roll-up properties can have source links, so this method will throw an
+     * error if used on other types of properties.
+     * 
+ */ + default void getRollupPropertySourceLink( + com.google.analytics.admin.v1alpha.GetRollupPropertySourceLinkRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getGetRollupPropertySourceLinkMethod(), responseObserver); + } + + /** + * + * + *
+     * Lists roll-up property source Links on a property.
+     * Only roll-up properties can have source links, so this method will throw an
+     * error if used on other types of properties.
+     * 
+ */ + default void listRollupPropertySourceLinks( + com.google.analytics.admin.v1alpha.ListRollupPropertySourceLinksRequest request, + io.grpc.stub.StreamObserver< + com.google.analytics.admin.v1alpha.ListRollupPropertySourceLinksResponse> + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListRollupPropertySourceLinksMethod(), responseObserver); + } + + /** + * + * + *
+     * Creates a roll-up property source link.
+     * Only roll-up properties can have source links, so this method will throw an
+     * error if used on other types of properties.
+     * 
+ */ + default void createRollupPropertySourceLink( + com.google.analytics.admin.v1alpha.CreateRollupPropertySourceLinkRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getCreateRollupPropertySourceLinkMethod(), responseObserver); + } + + /** + * + * + *
+     * Deletes a roll-up property source link.
+     * Only roll-up properties can have source links, so this method will throw an
+     * error if used on other types of properties.
+     * 
+ */ + default void deleteRollupPropertySourceLink( + com.google.analytics.admin.v1alpha.DeleteRollupPropertySourceLinkRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getDeleteRollupPropertySourceLinkMethod(), responseObserver); + } + + /** + * + * + *
+     * Create a subproperty and a subproperty event filter that applies to the
+     * created subproperty.
+     * 
+ */ + default void createSubproperty( + com.google.analytics.admin.v1alpha.CreateSubpropertyRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getCreateSubpropertyMethod(), responseObserver); + } + + /** + * + * + *
+     * Deletes a subproperty event filter.
+     * 
+ */ + default void deleteSubpropertyEventFilter( + com.google.analytics.admin.v1alpha.DeleteSubpropertyEventFilterRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getDeleteSubpropertyEventFilterMethod(), responseObserver); + } + + /** + * + * + *
+     * Creates a subproperty Event Filter.
+     * 
+ */ + default void createSubpropertyEventFilter( + com.google.analytics.admin.v1alpha.CreateSubpropertyEventFilterRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getCreateSubpropertyEventFilterMethod(), responseObserver); + } + } + + /** + * Base class for the server implementation of the service AnalyticsAdminService. + * + *
+   * Service Interface for the Analytics Admin API (GA4).
+   * 
+ */ + public abstract static class AnalyticsAdminServiceImplBase + implements io.grpc.BindableService, AsyncService { + + @java.lang.Override + public final io.grpc.ServerServiceDefinition bindService() { + return AnalyticsAdminServiceGrpc.bindService(this); + } + } + + /** + * A stub to allow clients to do asynchronous rpc calls to service AnalyticsAdminService. + * + *
+   * 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,
+     * AccessBindings) 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, AccessBindings)
+     * 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); + } + + /** + * + * + *
+     * 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 through 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); + } + + /** + * + * + *
+     * Looks up a single SKAdNetworkConversionValueSchema.
+     * 
+ */ + public void getSKAdNetworkConversionValueSchema( + com.google.analytics.admin.v1alpha.GetSKAdNetworkConversionValueSchemaRequest request, + io.grpc.stub.StreamObserver< + com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema> + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetSKAdNetworkConversionValueSchemaMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Creates a SKAdNetworkConversionValueSchema.
+     * 
+ */ + public void createSKAdNetworkConversionValueSchema( + com.google.analytics.admin.v1alpha.CreateSKAdNetworkConversionValueSchemaRequest request, + io.grpc.stub.StreamObserver< + com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema> + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateSKAdNetworkConversionValueSchemaMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Deletes target SKAdNetworkConversionValueSchema.
+     * 
+ */ + public void deleteSKAdNetworkConversionValueSchema( + com.google.analytics.admin.v1alpha.DeleteSKAdNetworkConversionValueSchemaRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteSKAdNetworkConversionValueSchemaMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Updates a SKAdNetworkConversionValueSchema.
+     * 
+ */ + public void updateSKAdNetworkConversionValueSchema( + com.google.analytics.admin.v1alpha.UpdateSKAdNetworkConversionValueSchemaRequest request, + io.grpc.stub.StreamObserver< + com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema> + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateSKAdNetworkConversionValueSchemaMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Lists SKAdNetworkConversionValueSchema on a stream.
+     * Properties can have at most one SKAdNetworkConversionValueSchema.
+     * 
+ */ + public void listSKAdNetworkConversionValueSchemas( + com.google.analytics.admin.v1alpha.ListSKAdNetworkConversionValueSchemasRequest request, + io.grpc.stub.StreamObserver< + com.google.analytics.admin.v1alpha.ListSKAdNetworkConversionValueSchemasResponse> + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListSKAdNetworkConversionValueSchemasMethod(), 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); + } + + /** + * + * + *
+     * Updates a conversion event with the specified attributes.
+     * 
+ */ + public void updateConversionEvent( + com.google.analytics.admin.v1alpha.UpdateConversionEventRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateConversionEventMethod(), 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); + } + + /** + * + * + *
+     * Creates an access binding on an account or property.
+     * 
+ */ + public void createAccessBinding( + com.google.analytics.admin.v1alpha.CreateAccessBindingRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateAccessBindingMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Gets information about an access binding.
+     * 
+ */ + public void getAccessBinding( + com.google.analytics.admin.v1alpha.GetAccessBindingRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetAccessBindingMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Updates an access binding on an account or property.
+     * 
+ */ + public void updateAccessBinding( + com.google.analytics.admin.v1alpha.UpdateAccessBindingRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateAccessBindingMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Deletes an access binding on an account or property.
+     * 
+ */ + public void deleteAccessBinding( + com.google.analytics.admin.v1alpha.DeleteAccessBindingRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteAccessBindingMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Lists all access bindings on an account or property.
+     * 
+ */ + public void listAccessBindings( + com.google.analytics.admin.v1alpha.ListAccessBindingsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListAccessBindingsMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Creates information about multiple access bindings to an account or
+     * property.
+     * This method is transactional. If any AccessBinding cannot be created, none
+     * of the AccessBindings will be created.
+     * 
+ */ + public void batchCreateAccessBindings( + com.google.analytics.admin.v1alpha.BatchCreateAccessBindingsRequest request, + io.grpc.stub.StreamObserver< + com.google.analytics.admin.v1alpha.BatchCreateAccessBindingsResponse> + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getBatchCreateAccessBindingsMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Gets information about multiple access bindings to an account or property.
+     * 
+ */ + public void batchGetAccessBindings( + com.google.analytics.admin.v1alpha.BatchGetAccessBindingsRequest request, + io.grpc.stub.StreamObserver< + com.google.analytics.admin.v1alpha.BatchGetAccessBindingsResponse> + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getBatchGetAccessBindingsMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Updates information about multiple access bindings to an account or
+     * property.
+     * 
+ */ + public void batchUpdateAccessBindings( + com.google.analytics.admin.v1alpha.BatchUpdateAccessBindingsRequest request, + io.grpc.stub.StreamObserver< + com.google.analytics.admin.v1alpha.BatchUpdateAccessBindingsResponse> + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getBatchUpdateAccessBindingsMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Deletes information about multiple users' links to an account or property.
+     * 
+ */ + public void batchDeleteAccessBindings( + com.google.analytics.admin.v1alpha.BatchDeleteAccessBindingsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getBatchDeleteAccessBindingsMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Lookup for a single ExpandedDataSet.
+     * 
+ */ + public void getExpandedDataSet( + com.google.analytics.admin.v1alpha.GetExpandedDataSetRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetExpandedDataSetMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Lists ExpandedDataSets on a property.
+     * 
+ */ + public void listExpandedDataSets( + com.google.analytics.admin.v1alpha.ListExpandedDataSetsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListExpandedDataSetsMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Creates a ExpandedDataSet.
+     * 
+ */ + public void createExpandedDataSet( + com.google.analytics.admin.v1alpha.CreateExpandedDataSetRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateExpandedDataSetMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Updates a ExpandedDataSet on a property.
+     * 
+ */ + public void updateExpandedDataSet( + com.google.analytics.admin.v1alpha.UpdateExpandedDataSetRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateExpandedDataSetMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Deletes a ExpandedDataSet on a property.
+     * 
+ */ + public void deleteExpandedDataSet( + com.google.analytics.admin.v1alpha.DeleteExpandedDataSetRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteExpandedDataSetMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Lookup for a single ChannelGroup.
+     * 
+ */ + public void getChannelGroup( + com.google.analytics.admin.v1alpha.GetChannelGroupRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetChannelGroupMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Lists ChannelGroups on a property.
+     * 
+ */ + public void listChannelGroups( + com.google.analytics.admin.v1alpha.ListChannelGroupsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListChannelGroupsMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Creates a ChannelGroup.
+     * 
+ */ + public void createChannelGroup( + com.google.analytics.admin.v1alpha.CreateChannelGroupRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateChannelGroupMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Updates a ChannelGroup.
+     * 
+ */ + public void updateChannelGroup( + com.google.analytics.admin.v1alpha.UpdateChannelGroupRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateChannelGroupMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Deletes a ChannelGroup on a property.
+     * 
+ */ + public void deleteChannelGroup( + com.google.analytics.admin.v1alpha.DeleteChannelGroupRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteChannelGroupMethod(), 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); + } + + /** + * + * + *
+     * Returns the enhanced measurement settings for this data stream.
+     * Note that the stream must enable enhanced measurement for these settings to
+     * take effect.
+     * 
+ */ + public void getEnhancedMeasurementSettings( + com.google.analytics.admin.v1alpha.GetEnhancedMeasurementSettingsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetEnhancedMeasurementSettingsMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Updates the enhanced measurement settings for this data stream.
+     * Note that the stream must enable enhanced measurement for these settings to
+     * take effect.
+     * 
+ */ + public void updateEnhancedMeasurementSettings( + com.google.analytics.admin.v1alpha.UpdateEnhancedMeasurementSettingsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateEnhancedMeasurementSettingsMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Creates a connected site tag for a Universal Analytics property. You can
+     * create a maximum of 20 connected site tags per property.
+     * Note: This API cannot be used on GA4 properties.
+     * 
+ */ + public void createConnectedSiteTag( + com.google.analytics.admin.v1alpha.CreateConnectedSiteTagRequest request, + io.grpc.stub.StreamObserver< + com.google.analytics.admin.v1alpha.CreateConnectedSiteTagResponse> + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateConnectedSiteTagMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Deletes a connected site tag for a Universal Analytics property.
+     * Note: this has no effect on GA4 properties.
+     * 
+ */ + public void deleteConnectedSiteTag( + com.google.analytics.admin.v1alpha.DeleteConnectedSiteTagRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteConnectedSiteTagMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Lists the connected site tags for a Universal Analytics property. A maximum
+     * of 20 connected site tags will be returned. Note: this has no effect on GA4
+     * property.
+     * 
+ */ + public void listConnectedSiteTags( + com.google.analytics.admin.v1alpha.ListConnectedSiteTagsRequest request, + io.grpc.stub.StreamObserver< + com.google.analytics.admin.v1alpha.ListConnectedSiteTagsResponse> + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListConnectedSiteTagsMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Given a specified UA property, looks up the GA4 property connected to it.
+     * Note: this cannot be used with GA4 properties.
+     * 
+ */ + public void fetchConnectedGa4Property( + com.google.analytics.admin.v1alpha.FetchConnectedGa4PropertyRequest request, + io.grpc.stub.StreamObserver< + com.google.analytics.admin.v1alpha.FetchConnectedGa4PropertyResponse> + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getFetchConnectedGa4PropertyMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Looks up a single AdSenseLink.
+     * 
+ */ + public void getAdSenseLink( + com.google.analytics.admin.v1alpha.GetAdSenseLinkRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetAdSenseLinkMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Creates an AdSenseLink.
+     * 
+ */ + public void createAdSenseLink( + com.google.analytics.admin.v1alpha.CreateAdSenseLinkRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateAdSenseLinkMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Deletes an AdSenseLink.
+     * 
+ */ + public void deleteAdSenseLink( + com.google.analytics.admin.v1alpha.DeleteAdSenseLinkRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteAdSenseLinkMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Lists AdSenseLinks on a property.
+     * 
+ */ + public void listAdSenseLinks( + com.google.analytics.admin.v1alpha.ListAdSenseLinksRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListAdSenseLinksMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Lookup for a single EventCreateRule.
+     * 
+ */ + public void getEventCreateRule( + com.google.analytics.admin.v1alpha.GetEventCreateRuleRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetEventCreateRuleMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Lists EventCreateRules on a web data stream.
+     * 
+ */ + public void listEventCreateRules( + com.google.analytics.admin.v1alpha.ListEventCreateRulesRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListEventCreateRulesMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Creates an EventCreateRule.
+     * 
+ */ + public void createEventCreateRule( + com.google.analytics.admin.v1alpha.CreateEventCreateRuleRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateEventCreateRuleMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Updates an EventCreateRule.
+     * 
+ */ + public void updateEventCreateRule( + com.google.analytics.admin.v1alpha.UpdateEventCreateRuleRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateEventCreateRuleMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Deletes an EventCreateRule.
+     * 
+ */ + public void deleteEventCreateRule( + com.google.analytics.admin.v1alpha.DeleteEventCreateRuleRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteEventCreateRuleMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Updates a DataRedactionSettings on a property.
+     * 
+ */ + public void updateDataRedactionSettings( + com.google.analytics.admin.v1alpha.UpdateDataRedactionSettingsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateDataRedactionSettingsMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Lookup for a single DataRedactionSettings.
+     * 
+ */ + public void getDataRedactionSettings( + com.google.analytics.admin.v1alpha.GetDataRedactionSettingsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetDataRedactionSettingsMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Create a roll-up property and all roll-up property source links.
+     * 
+ */ + public void createRollupProperty( + com.google.analytics.admin.v1alpha.CreateRollupPropertyRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateRollupPropertyMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Lookup for a single roll-up property source Link.
+     * Only roll-up properties can have source links, so this method will throw an
+     * error if used on other types of properties.
+     * 
+ */ + public void getRollupPropertySourceLink( + com.google.analytics.admin.v1alpha.GetRollupPropertySourceLinkRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetRollupPropertySourceLinkMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Lists roll-up property source Links on a property.
+     * Only roll-up properties can have source links, so this method will throw an
+     * error if used on other types of properties.
+     * 
+ */ + public void listRollupPropertySourceLinks( + com.google.analytics.admin.v1alpha.ListRollupPropertySourceLinksRequest request, + io.grpc.stub.StreamObserver< + com.google.analytics.admin.v1alpha.ListRollupPropertySourceLinksResponse> + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListRollupPropertySourceLinksMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Creates a roll-up property source link.
+     * Only roll-up properties can have source links, so this method will throw an
+     * error if used on other types of properties.
+     * 
+ */ + public void createRollupPropertySourceLink( + com.google.analytics.admin.v1alpha.CreateRollupPropertySourceLinkRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateRollupPropertySourceLinkMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Deletes a roll-up property source link.
+     * Only roll-up properties can have source links, so this method will throw an
+     * error if used on other types of properties.
+     * 
+ */ + public void deleteRollupPropertySourceLink( + com.google.analytics.admin.v1alpha.DeleteRollupPropertySourceLinkRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteRollupPropertySourceLinkMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Create a subproperty and a subproperty event filter that applies to the
+     * created subproperty.
+     * 
+ */ + public void createSubproperty( + com.google.analytics.admin.v1alpha.CreateSubpropertyRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateSubpropertyMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Deletes a subproperty event filter.
+     * 
+ */ + public void deleteSubpropertyEventFilter( + com.google.analytics.admin.v1alpha.DeleteSubpropertyEventFilterRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteSubpropertyEventFilterMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Creates a subproperty Event Filter.
+     * 
+ */ + public void createSubpropertyEventFilter( + com.google.analytics.admin.v1alpha.CreateSubpropertyEventFilterRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateSubpropertyEventFilterMethod(), getCallOptions()), + request, + responseObserver); + } + } + + /** + * A stub to allow clients to do synchronous rpc calls to service AnalyticsAdminService. + * + *
+   * 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,
+     * AccessBindings) 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, AccessBindings)
+     * 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); + } + + /** + * + * + *
+     * 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 through 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); + } + + /** + * + * + *
+     * Looks up a single SKAdNetworkConversionValueSchema.
+     * 
+ */ + public com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema + getSKAdNetworkConversionValueSchema( + com.google.analytics.admin.v1alpha.GetSKAdNetworkConversionValueSchemaRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetSKAdNetworkConversionValueSchemaMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Creates a SKAdNetworkConversionValueSchema.
+     * 
+ */ + public com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema + createSKAdNetworkConversionValueSchema( + com.google.analytics.admin.v1alpha.CreateSKAdNetworkConversionValueSchemaRequest + request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), + getCreateSKAdNetworkConversionValueSchemaMethod(), + getCallOptions(), + request); + } + + /** + * + * + *
+     * Deletes target SKAdNetworkConversionValueSchema.
+     * 
+ */ + public com.google.protobuf.Empty deleteSKAdNetworkConversionValueSchema( + com.google.analytics.admin.v1alpha.DeleteSKAdNetworkConversionValueSchemaRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), + getDeleteSKAdNetworkConversionValueSchemaMethod(), + getCallOptions(), + request); + } + + /** + * + * + *
+     * Updates a SKAdNetworkConversionValueSchema.
+     * 
+ */ + public com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema + updateSKAdNetworkConversionValueSchema( + com.google.analytics.admin.v1alpha.UpdateSKAdNetworkConversionValueSchemaRequest + request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), + getUpdateSKAdNetworkConversionValueSchemaMethod(), + getCallOptions(), + request); + } + + /** + * + * + *
+     * Lists SKAdNetworkConversionValueSchema on a stream.
+     * Properties can have at most one SKAdNetworkConversionValueSchema.
+     * 
+ */ + public com.google.analytics.admin.v1alpha.ListSKAdNetworkConversionValueSchemasResponse + listSKAdNetworkConversionValueSchemas( + com.google.analytics.admin.v1alpha.ListSKAdNetworkConversionValueSchemasRequest + request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), + getListSKAdNetworkConversionValueSchemasMethod(), + 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); + } + + /** + * + * + *
+     * Updates a conversion event with the specified attributes.
+     * 
+ */ + public com.google.analytics.admin.v1alpha.ConversionEvent updateConversionEvent( + com.google.analytics.admin.v1alpha.UpdateConversionEventRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateConversionEventMethod(), 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); + } + + /** + * + * + *
+     * Creates an access binding on an account or property.
+     * 
+ */ + public com.google.analytics.admin.v1alpha.AccessBinding createAccessBinding( + com.google.analytics.admin.v1alpha.CreateAccessBindingRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateAccessBindingMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Gets information about an access binding.
+     * 
+ */ + public com.google.analytics.admin.v1alpha.AccessBinding getAccessBinding( + com.google.analytics.admin.v1alpha.GetAccessBindingRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetAccessBindingMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Updates an access binding on an account or property.
+     * 
+ */ + public com.google.analytics.admin.v1alpha.AccessBinding updateAccessBinding( + com.google.analytics.admin.v1alpha.UpdateAccessBindingRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateAccessBindingMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Deletes an access binding on an account or property.
+     * 
+ */ + public com.google.protobuf.Empty deleteAccessBinding( + com.google.analytics.admin.v1alpha.DeleteAccessBindingRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteAccessBindingMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Lists all access bindings on an account or property.
+     * 
+ */ + public com.google.analytics.admin.v1alpha.ListAccessBindingsResponse listAccessBindings( + com.google.analytics.admin.v1alpha.ListAccessBindingsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListAccessBindingsMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Creates information about multiple access bindings to an account or
+     * property.
+     * This method is transactional. If any AccessBinding cannot be created, none
+     * of the AccessBindings will be created.
+     * 
+ */ + public com.google.analytics.admin.v1alpha.BatchCreateAccessBindingsResponse + batchCreateAccessBindings( + com.google.analytics.admin.v1alpha.BatchCreateAccessBindingsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getBatchCreateAccessBindingsMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Gets information about multiple access bindings to an account or property.
+     * 
+ */ + public com.google.analytics.admin.v1alpha.BatchGetAccessBindingsResponse batchGetAccessBindings( + com.google.analytics.admin.v1alpha.BatchGetAccessBindingsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getBatchGetAccessBindingsMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Updates information about multiple access bindings to an account or
+     * property.
+     * 
+ */ + public com.google.analytics.admin.v1alpha.BatchUpdateAccessBindingsResponse + batchUpdateAccessBindings( + com.google.analytics.admin.v1alpha.BatchUpdateAccessBindingsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getBatchUpdateAccessBindingsMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Deletes information about multiple users' links to an account or property.
+     * 
+ */ + public com.google.protobuf.Empty batchDeleteAccessBindings( + com.google.analytics.admin.v1alpha.BatchDeleteAccessBindingsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getBatchDeleteAccessBindingsMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Lookup for a single ExpandedDataSet.
+     * 
+ */ + public com.google.analytics.admin.v1alpha.ExpandedDataSet getExpandedDataSet( + com.google.analytics.admin.v1alpha.GetExpandedDataSetRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetExpandedDataSetMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Lists ExpandedDataSets on a property.
+     * 
+ */ + public com.google.analytics.admin.v1alpha.ListExpandedDataSetsResponse listExpandedDataSets( + com.google.analytics.admin.v1alpha.ListExpandedDataSetsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListExpandedDataSetsMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Creates a ExpandedDataSet.
+     * 
+ */ + public com.google.analytics.admin.v1alpha.ExpandedDataSet createExpandedDataSet( + com.google.analytics.admin.v1alpha.CreateExpandedDataSetRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateExpandedDataSetMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Updates a ExpandedDataSet on a property.
+     * 
+ */ + public com.google.analytics.admin.v1alpha.ExpandedDataSet updateExpandedDataSet( + com.google.analytics.admin.v1alpha.UpdateExpandedDataSetRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateExpandedDataSetMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Deletes a ExpandedDataSet on a property.
+     * 
+ */ + public com.google.protobuf.Empty deleteExpandedDataSet( + com.google.analytics.admin.v1alpha.DeleteExpandedDataSetRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteExpandedDataSetMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Lookup for a single ChannelGroup.
+     * 
+ */ + public com.google.analytics.admin.v1alpha.ChannelGroup getChannelGroup( + com.google.analytics.admin.v1alpha.GetChannelGroupRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetChannelGroupMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Lists ChannelGroups on a property.
+     * 
+ */ + public com.google.analytics.admin.v1alpha.ListChannelGroupsResponse listChannelGroups( + com.google.analytics.admin.v1alpha.ListChannelGroupsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListChannelGroupsMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Creates a ChannelGroup.
+     * 
+ */ + public com.google.analytics.admin.v1alpha.ChannelGroup createChannelGroup( + com.google.analytics.admin.v1alpha.CreateChannelGroupRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateChannelGroupMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Updates a ChannelGroup.
+     * 
+ */ + public com.google.analytics.admin.v1alpha.ChannelGroup updateChannelGroup( + com.google.analytics.admin.v1alpha.UpdateChannelGroupRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateChannelGroupMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Deletes a ChannelGroup on a property.
+     * 
+ */ + public com.google.protobuf.Empty deleteChannelGroup( + com.google.analytics.admin.v1alpha.DeleteChannelGroupRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteChannelGroupMethod(), 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); + } + + /** + * + * + *
+     * Returns the enhanced measurement settings for this data stream.
+     * Note that the stream must enable enhanced measurement for these settings to
+     * take effect.
+     * 
+ */ + public com.google.analytics.admin.v1alpha.EnhancedMeasurementSettings + getEnhancedMeasurementSettings( + com.google.analytics.admin.v1alpha.GetEnhancedMeasurementSettingsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetEnhancedMeasurementSettingsMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Updates the enhanced measurement settings for this data stream.
+     * Note that the stream must enable enhanced measurement for these settings to
+     * take effect.
+     * 
+ */ + public com.google.analytics.admin.v1alpha.EnhancedMeasurementSettings + updateEnhancedMeasurementSettings( + com.google.analytics.admin.v1alpha.UpdateEnhancedMeasurementSettingsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateEnhancedMeasurementSettingsMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Creates a connected site tag for a Universal Analytics property. You can
+     * create a maximum of 20 connected site tags per property.
+     * Note: This API cannot be used on GA4 properties.
+     * 
+ */ + public com.google.analytics.admin.v1alpha.CreateConnectedSiteTagResponse createConnectedSiteTag( + com.google.analytics.admin.v1alpha.CreateConnectedSiteTagRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateConnectedSiteTagMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Deletes a connected site tag for a Universal Analytics property.
+     * Note: this has no effect on GA4 properties.
+     * 
+ */ + public com.google.protobuf.Empty deleteConnectedSiteTag( + com.google.analytics.admin.v1alpha.DeleteConnectedSiteTagRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteConnectedSiteTagMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Lists the connected site tags for a Universal Analytics property. A maximum
+     * of 20 connected site tags will be returned. Note: this has no effect on GA4
+     * property.
+     * 
+ */ + public com.google.analytics.admin.v1alpha.ListConnectedSiteTagsResponse listConnectedSiteTags( + com.google.analytics.admin.v1alpha.ListConnectedSiteTagsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListConnectedSiteTagsMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Given a specified UA property, looks up the GA4 property connected to it.
+     * Note: this cannot be used with GA4 properties.
+     * 
+ */ + public com.google.analytics.admin.v1alpha.FetchConnectedGa4PropertyResponse + fetchConnectedGa4Property( + com.google.analytics.admin.v1alpha.FetchConnectedGa4PropertyRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getFetchConnectedGa4PropertyMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Looks up a single AdSenseLink.
+     * 
+ */ + public com.google.analytics.admin.v1alpha.AdSenseLink getAdSenseLink( + com.google.analytics.admin.v1alpha.GetAdSenseLinkRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetAdSenseLinkMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Creates an AdSenseLink.
+     * 
+ */ + public com.google.analytics.admin.v1alpha.AdSenseLink createAdSenseLink( + com.google.analytics.admin.v1alpha.CreateAdSenseLinkRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateAdSenseLinkMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Deletes an AdSenseLink.
+     * 
+ */ + public com.google.protobuf.Empty deleteAdSenseLink( + com.google.analytics.admin.v1alpha.DeleteAdSenseLinkRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteAdSenseLinkMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Lists AdSenseLinks on a property.
+     * 
+ */ + public com.google.analytics.admin.v1alpha.ListAdSenseLinksResponse listAdSenseLinks( + com.google.analytics.admin.v1alpha.ListAdSenseLinksRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListAdSenseLinksMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Lookup for a single EventCreateRule.
+     * 
+ */ + public com.google.analytics.admin.v1alpha.EventCreateRule getEventCreateRule( + com.google.analytics.admin.v1alpha.GetEventCreateRuleRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetEventCreateRuleMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Lists EventCreateRules on a web data stream.
+     * 
+ */ + public com.google.analytics.admin.v1alpha.ListEventCreateRulesResponse listEventCreateRules( + com.google.analytics.admin.v1alpha.ListEventCreateRulesRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListEventCreateRulesMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Creates an EventCreateRule.
+     * 
+ */ + public com.google.analytics.admin.v1alpha.EventCreateRule createEventCreateRule( + com.google.analytics.admin.v1alpha.CreateEventCreateRuleRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateEventCreateRuleMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Updates an EventCreateRule.
+     * 
+ */ + public com.google.analytics.admin.v1alpha.EventCreateRule updateEventCreateRule( + com.google.analytics.admin.v1alpha.UpdateEventCreateRuleRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateEventCreateRuleMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Deletes an EventCreateRule.
+     * 
+ */ + public com.google.protobuf.Empty deleteEventCreateRule( + com.google.analytics.admin.v1alpha.DeleteEventCreateRuleRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteEventCreateRuleMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Updates a DataRedactionSettings on a property.
+     * 
+ */ + public com.google.analytics.admin.v1alpha.DataRedactionSettings updateDataRedactionSettings( + com.google.analytics.admin.v1alpha.UpdateDataRedactionSettingsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateDataRedactionSettingsMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Lookup for a single DataRedactionSettings.
+     * 
+ */ + public com.google.analytics.admin.v1alpha.DataRedactionSettings getDataRedactionSettings( + com.google.analytics.admin.v1alpha.GetDataRedactionSettingsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetDataRedactionSettingsMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Create a roll-up property and all roll-up property source links.
+     * 
+ */ + public com.google.analytics.admin.v1alpha.CreateRollupPropertyResponse createRollupProperty( + com.google.analytics.admin.v1alpha.CreateRollupPropertyRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateRollupPropertyMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Lookup for a single roll-up property source Link.
+     * Only roll-up properties can have source links, so this method will throw an
+     * error if used on other types of properties.
+     * 
+ */ + public com.google.analytics.admin.v1alpha.RollupPropertySourceLink getRollupPropertySourceLink( + com.google.analytics.admin.v1alpha.GetRollupPropertySourceLinkRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetRollupPropertySourceLinkMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Lists roll-up property source Links on a property.
+     * Only roll-up properties can have source links, so this method will throw an
+     * error if used on other types of properties.
+     * 
+ */ + public com.google.analytics.admin.v1alpha.ListRollupPropertySourceLinksResponse + listRollupPropertySourceLinks( + com.google.analytics.admin.v1alpha.ListRollupPropertySourceLinksRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListRollupPropertySourceLinksMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Creates a roll-up property source link.
+     * Only roll-up properties can have source links, so this method will throw an
+     * error if used on other types of properties.
+     * 
+ */ + public com.google.analytics.admin.v1alpha.RollupPropertySourceLink + createRollupPropertySourceLink( + com.google.analytics.admin.v1alpha.CreateRollupPropertySourceLinkRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateRollupPropertySourceLinkMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Deletes a roll-up property source link.
+     * Only roll-up properties can have source links, so this method will throw an
+     * error if used on other types of properties.
+     * 
+ */ + public com.google.protobuf.Empty deleteRollupPropertySourceLink( + com.google.analytics.admin.v1alpha.DeleteRollupPropertySourceLinkRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteRollupPropertySourceLinkMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Create a subproperty and a subproperty event filter that applies to the
+     * created subproperty.
+     * 
+ */ + public com.google.analytics.admin.v1alpha.CreateSubpropertyResponse createSubproperty( + com.google.analytics.admin.v1alpha.CreateSubpropertyRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateSubpropertyMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Deletes a subproperty event filter.
+     * 
+ */ + public com.google.protobuf.Empty deleteSubpropertyEventFilter( + com.google.analytics.admin.v1alpha.DeleteSubpropertyEventFilterRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteSubpropertyEventFilterMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Creates a subproperty Event Filter.
+     * 
+ */ + public com.google.analytics.admin.v1alpha.SubpropertyEventFilter createSubpropertyEventFilter( + com.google.analytics.admin.v1alpha.CreateSubpropertyEventFilterRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateSubpropertyEventFilterMethod(), getCallOptions(), request); + } + } + + /** + * A stub to allow clients to do ListenableFuture-style rpc calls to service + * AnalyticsAdminService. + * + *
+   * 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,
+     * AccessBindings) 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, AccessBindings)
+     * 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); + } + + /** + * + * + *
+     * 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 through 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); + } + + /** + * + * + *
+     * Looks up a single SKAdNetworkConversionValueSchema.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema> + getSKAdNetworkConversionValueSchema( + com.google.analytics.admin.v1alpha.GetSKAdNetworkConversionValueSchemaRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetSKAdNetworkConversionValueSchemaMethod(), getCallOptions()), + request); + } + + /** + * + * + *
+     * Creates a SKAdNetworkConversionValueSchema.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema> + createSKAdNetworkConversionValueSchema( + com.google.analytics.admin.v1alpha.CreateSKAdNetworkConversionValueSchemaRequest + request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateSKAdNetworkConversionValueSchemaMethod(), getCallOptions()), + request); + } + + /** + * + * + *
+     * Deletes target SKAdNetworkConversionValueSchema.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + deleteSKAdNetworkConversionValueSchema( + com.google.analytics.admin.v1alpha.DeleteSKAdNetworkConversionValueSchemaRequest + request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteSKAdNetworkConversionValueSchemaMethod(), getCallOptions()), + request); + } + + /** + * + * + *
+     * Updates a SKAdNetworkConversionValueSchema.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema> + updateSKAdNetworkConversionValueSchema( + com.google.analytics.admin.v1alpha.UpdateSKAdNetworkConversionValueSchemaRequest + request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateSKAdNetworkConversionValueSchemaMethod(), getCallOptions()), + request); + } + + /** + * + * + *
+     * Lists SKAdNetworkConversionValueSchema on a stream.
+     * Properties can have at most one SKAdNetworkConversionValueSchema.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.analytics.admin.v1alpha.ListSKAdNetworkConversionValueSchemasResponse> + listSKAdNetworkConversionValueSchemas( + com.google.analytics.admin.v1alpha.ListSKAdNetworkConversionValueSchemasRequest + request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListSKAdNetworkConversionValueSchemasMethod(), 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); + } + + /** + * + * + *
+     * Updates a conversion event with the specified attributes.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.analytics.admin.v1alpha.ConversionEvent> + updateConversionEvent( + com.google.analytics.admin.v1alpha.UpdateConversionEventRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateConversionEventMethod(), 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); + } + + /** + * + * + *
+     * Creates an access binding on an account or property.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.analytics.admin.v1alpha.AccessBinding> + createAccessBinding(com.google.analytics.admin.v1alpha.CreateAccessBindingRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateAccessBindingMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Gets information about an access binding.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.analytics.admin.v1alpha.AccessBinding> + getAccessBinding(com.google.analytics.admin.v1alpha.GetAccessBindingRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetAccessBindingMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Updates an access binding on an account or property.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.analytics.admin.v1alpha.AccessBinding> + updateAccessBinding(com.google.analytics.admin.v1alpha.UpdateAccessBindingRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateAccessBindingMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Deletes an access binding on an account or property.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + deleteAccessBinding(com.google.analytics.admin.v1alpha.DeleteAccessBindingRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteAccessBindingMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Lists all access bindings on an account or property.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.analytics.admin.v1alpha.ListAccessBindingsResponse> + listAccessBindings(com.google.analytics.admin.v1alpha.ListAccessBindingsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListAccessBindingsMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Creates information about multiple access bindings to an account or
+     * property.
+     * This method is transactional. If any AccessBinding cannot be created, none
+     * of the AccessBindings will be created.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.analytics.admin.v1alpha.BatchCreateAccessBindingsResponse> + batchCreateAccessBindings( + com.google.analytics.admin.v1alpha.BatchCreateAccessBindingsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getBatchCreateAccessBindingsMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Gets information about multiple access bindings to an account or property.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.analytics.admin.v1alpha.BatchGetAccessBindingsResponse> + batchGetAccessBindings( + com.google.analytics.admin.v1alpha.BatchGetAccessBindingsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getBatchGetAccessBindingsMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Updates information about multiple access bindings to an account or
+     * property.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.analytics.admin.v1alpha.BatchUpdateAccessBindingsResponse> + batchUpdateAccessBindings( + com.google.analytics.admin.v1alpha.BatchUpdateAccessBindingsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getBatchUpdateAccessBindingsMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Deletes information about multiple users' links to an account or property.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + batchDeleteAccessBindings( + com.google.analytics.admin.v1alpha.BatchDeleteAccessBindingsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getBatchDeleteAccessBindingsMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Lookup for a single ExpandedDataSet.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.analytics.admin.v1alpha.ExpandedDataSet> + getExpandedDataSet(com.google.analytics.admin.v1alpha.GetExpandedDataSetRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetExpandedDataSetMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Lists ExpandedDataSets on a property.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.analytics.admin.v1alpha.ListExpandedDataSetsResponse> + listExpandedDataSets( + com.google.analytics.admin.v1alpha.ListExpandedDataSetsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListExpandedDataSetsMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Creates a ExpandedDataSet.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.analytics.admin.v1alpha.ExpandedDataSet> + createExpandedDataSet( + com.google.analytics.admin.v1alpha.CreateExpandedDataSetRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateExpandedDataSetMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Updates a ExpandedDataSet on a property.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.analytics.admin.v1alpha.ExpandedDataSet> + updateExpandedDataSet( + com.google.analytics.admin.v1alpha.UpdateExpandedDataSetRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateExpandedDataSetMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Deletes a ExpandedDataSet on a property.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + deleteExpandedDataSet( + com.google.analytics.admin.v1alpha.DeleteExpandedDataSetRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteExpandedDataSetMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Lookup for a single ChannelGroup.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.analytics.admin.v1alpha.ChannelGroup> + getChannelGroup(com.google.analytics.admin.v1alpha.GetChannelGroupRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetChannelGroupMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Lists ChannelGroups on a property.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.analytics.admin.v1alpha.ListChannelGroupsResponse> + listChannelGroups(com.google.analytics.admin.v1alpha.ListChannelGroupsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListChannelGroupsMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Creates a ChannelGroup.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.analytics.admin.v1alpha.ChannelGroup> + createChannelGroup(com.google.analytics.admin.v1alpha.CreateChannelGroupRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateChannelGroupMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Updates a ChannelGroup.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.analytics.admin.v1alpha.ChannelGroup> + updateChannelGroup(com.google.analytics.admin.v1alpha.UpdateChannelGroupRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateChannelGroupMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Deletes a ChannelGroup on a property.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + deleteChannelGroup(com.google.analytics.admin.v1alpha.DeleteChannelGroupRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteChannelGroupMethod(), 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); + } + + /** + * + * + *
+     * Returns the enhanced measurement settings for this data stream.
+     * Note that the stream must enable enhanced measurement for these settings to
+     * take effect.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.analytics.admin.v1alpha.EnhancedMeasurementSettings> + getEnhancedMeasurementSettings( + com.google.analytics.admin.v1alpha.GetEnhancedMeasurementSettingsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetEnhancedMeasurementSettingsMethod(), getCallOptions()), + request); + } + + /** + * + * + *
+     * Updates the enhanced measurement settings for this data stream.
+     * Note that the stream must enable enhanced measurement for these settings to
+     * take effect.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.analytics.admin.v1alpha.EnhancedMeasurementSettings> + updateEnhancedMeasurementSettings( + com.google.analytics.admin.v1alpha.UpdateEnhancedMeasurementSettingsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateEnhancedMeasurementSettingsMethod(), getCallOptions()), + request); + } + + /** + * + * + *
+     * Creates a connected site tag for a Universal Analytics property. You can
+     * create a maximum of 20 connected site tags per property.
+     * Note: This API cannot be used on GA4 properties.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.analytics.admin.v1alpha.CreateConnectedSiteTagResponse> + createConnectedSiteTag( + com.google.analytics.admin.v1alpha.CreateConnectedSiteTagRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateConnectedSiteTagMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Deletes a connected site tag for a Universal Analytics property.
+     * Note: this has no effect on GA4 properties.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + deleteConnectedSiteTag( + com.google.analytics.admin.v1alpha.DeleteConnectedSiteTagRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteConnectedSiteTagMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Lists the connected site tags for a Universal Analytics property. A maximum
+     * of 20 connected site tags will be returned. Note: this has no effect on GA4
+     * property.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.analytics.admin.v1alpha.ListConnectedSiteTagsResponse> + listConnectedSiteTags( + com.google.analytics.admin.v1alpha.ListConnectedSiteTagsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListConnectedSiteTagsMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Given a specified UA property, looks up the GA4 property connected to it.
+     * Note: this cannot be used with GA4 properties.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.analytics.admin.v1alpha.FetchConnectedGa4PropertyResponse> + fetchConnectedGa4Property( + com.google.analytics.admin.v1alpha.FetchConnectedGa4PropertyRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getFetchConnectedGa4PropertyMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Looks up a single AdSenseLink.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.analytics.admin.v1alpha.AdSenseLink> + getAdSenseLink(com.google.analytics.admin.v1alpha.GetAdSenseLinkRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetAdSenseLinkMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Creates an AdSenseLink.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.analytics.admin.v1alpha.AdSenseLink> + createAdSenseLink(com.google.analytics.admin.v1alpha.CreateAdSenseLinkRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateAdSenseLinkMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Deletes an AdSenseLink.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + deleteAdSenseLink(com.google.analytics.admin.v1alpha.DeleteAdSenseLinkRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteAdSenseLinkMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Lists AdSenseLinks on a property.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.analytics.admin.v1alpha.ListAdSenseLinksResponse> + listAdSenseLinks(com.google.analytics.admin.v1alpha.ListAdSenseLinksRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListAdSenseLinksMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Lookup for a single EventCreateRule.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.analytics.admin.v1alpha.EventCreateRule> + getEventCreateRule(com.google.analytics.admin.v1alpha.GetEventCreateRuleRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetEventCreateRuleMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Lists EventCreateRules on a web data stream.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.analytics.admin.v1alpha.ListEventCreateRulesResponse> + listEventCreateRules( + com.google.analytics.admin.v1alpha.ListEventCreateRulesRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListEventCreateRulesMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Creates an EventCreateRule.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.analytics.admin.v1alpha.EventCreateRule> + createEventCreateRule( + com.google.analytics.admin.v1alpha.CreateEventCreateRuleRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateEventCreateRuleMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Updates an EventCreateRule.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.analytics.admin.v1alpha.EventCreateRule> + updateEventCreateRule( + com.google.analytics.admin.v1alpha.UpdateEventCreateRuleRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateEventCreateRuleMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Deletes an EventCreateRule.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + deleteEventCreateRule( + com.google.analytics.admin.v1alpha.DeleteEventCreateRuleRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteEventCreateRuleMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Updates a DataRedactionSettings on a property.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.analytics.admin.v1alpha.DataRedactionSettings> + updateDataRedactionSettings( + com.google.analytics.admin.v1alpha.UpdateDataRedactionSettingsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateDataRedactionSettingsMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Lookup for a single DataRedactionSettings.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.analytics.admin.v1alpha.DataRedactionSettings> + getDataRedactionSettings( + com.google.analytics.admin.v1alpha.GetDataRedactionSettingsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetDataRedactionSettingsMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Create a roll-up property and all roll-up property source links.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.analytics.admin.v1alpha.CreateRollupPropertyResponse> + createRollupProperty( + com.google.analytics.admin.v1alpha.CreateRollupPropertyRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateRollupPropertyMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Lookup for a single roll-up property source Link.
+     * Only roll-up properties can have source links, so this method will throw an
+     * error if used on other types of properties.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.analytics.admin.v1alpha.RollupPropertySourceLink> + getRollupPropertySourceLink( + com.google.analytics.admin.v1alpha.GetRollupPropertySourceLinkRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetRollupPropertySourceLinkMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Lists roll-up property source Links on a property.
+     * Only roll-up properties can have source links, so this method will throw an
+     * error if used on other types of properties.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.analytics.admin.v1alpha.ListRollupPropertySourceLinksResponse> + listRollupPropertySourceLinks( + com.google.analytics.admin.v1alpha.ListRollupPropertySourceLinksRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListRollupPropertySourceLinksMethod(), getCallOptions()), + request); + } + + /** + * + * + *
+     * Creates a roll-up property source link.
+     * Only roll-up properties can have source links, so this method will throw an
+     * error if used on other types of properties.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.analytics.admin.v1alpha.RollupPropertySourceLink> + createRollupPropertySourceLink( + com.google.analytics.admin.v1alpha.CreateRollupPropertySourceLinkRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateRollupPropertySourceLinkMethod(), getCallOptions()), + request); + } + + /** + * + * + *
+     * Deletes a roll-up property source link.
+     * Only roll-up properties can have source links, so this method will throw an
+     * error if used on other types of properties.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + deleteRollupPropertySourceLink( + com.google.analytics.admin.v1alpha.DeleteRollupPropertySourceLinkRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteRollupPropertySourceLinkMethod(), getCallOptions()), + request); + } + + /** + * + * + *
+     * Create a subproperty and a subproperty event filter that applies to the
+     * created subproperty.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.analytics.admin.v1alpha.CreateSubpropertyResponse> + createSubproperty(com.google.analytics.admin.v1alpha.CreateSubpropertyRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateSubpropertyMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Deletes a subproperty event filter.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + deleteSubpropertyEventFilter( + com.google.analytics.admin.v1alpha.DeleteSubpropertyEventFilterRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteSubpropertyEventFilterMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Creates a subproperty Event Filter.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.analytics.admin.v1alpha.SubpropertyEventFilter> + createSubpropertyEventFilter( + com.google.analytics.admin.v1alpha.CreateSubpropertyEventFilterRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateSubpropertyEventFilterMethod(), 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_GET_GLOBAL_SITE_TAG = 14; + private static final int METHODID_CREATE_GOOGLE_ADS_LINK = 15; + private static final int METHODID_UPDATE_GOOGLE_ADS_LINK = 16; + private static final int METHODID_DELETE_GOOGLE_ADS_LINK = 17; + private static final int METHODID_LIST_GOOGLE_ADS_LINKS = 18; + private static final int METHODID_GET_DATA_SHARING_SETTINGS = 19; + private static final int METHODID_GET_MEASUREMENT_PROTOCOL_SECRET = 20; + private static final int METHODID_LIST_MEASUREMENT_PROTOCOL_SECRETS = 21; + private static final int METHODID_CREATE_MEASUREMENT_PROTOCOL_SECRET = 22; + private static final int METHODID_DELETE_MEASUREMENT_PROTOCOL_SECRET = 23; + private static final int METHODID_UPDATE_MEASUREMENT_PROTOCOL_SECRET = 24; + private static final int METHODID_ACKNOWLEDGE_USER_DATA_COLLECTION = 25; + private static final int METHODID_GET_SKAD_NETWORK_CONVERSION_VALUE_SCHEMA = 26; + private static final int METHODID_CREATE_SKAD_NETWORK_CONVERSION_VALUE_SCHEMA = 27; + private static final int METHODID_DELETE_SKAD_NETWORK_CONVERSION_VALUE_SCHEMA = 28; + private static final int METHODID_UPDATE_SKAD_NETWORK_CONVERSION_VALUE_SCHEMA = 29; + private static final int METHODID_LIST_SKAD_NETWORK_CONVERSION_VALUE_SCHEMAS = 30; + private static final int METHODID_SEARCH_CHANGE_HISTORY_EVENTS = 31; + private static final int METHODID_GET_GOOGLE_SIGNALS_SETTINGS = 32; + private static final int METHODID_UPDATE_GOOGLE_SIGNALS_SETTINGS = 33; + private static final int METHODID_CREATE_CONVERSION_EVENT = 34; + private static final int METHODID_UPDATE_CONVERSION_EVENT = 35; + private static final int METHODID_GET_CONVERSION_EVENT = 36; + private static final int METHODID_DELETE_CONVERSION_EVENT = 37; + private static final int METHODID_LIST_CONVERSION_EVENTS = 38; + private static final int METHODID_GET_DISPLAY_VIDEO360ADVERTISER_LINK = 39; + private static final int METHODID_LIST_DISPLAY_VIDEO360ADVERTISER_LINKS = 40; + private static final int METHODID_CREATE_DISPLAY_VIDEO360ADVERTISER_LINK = 41; + private static final int METHODID_DELETE_DISPLAY_VIDEO360ADVERTISER_LINK = 42; + private static final int METHODID_UPDATE_DISPLAY_VIDEO360ADVERTISER_LINK = 43; + private static final int METHODID_GET_DISPLAY_VIDEO360ADVERTISER_LINK_PROPOSAL = 44; + private static final int METHODID_LIST_DISPLAY_VIDEO360ADVERTISER_LINK_PROPOSALS = 45; + private static final int METHODID_CREATE_DISPLAY_VIDEO360ADVERTISER_LINK_PROPOSAL = 46; + private static final int METHODID_DELETE_DISPLAY_VIDEO360ADVERTISER_LINK_PROPOSAL = 47; + private static final int METHODID_APPROVE_DISPLAY_VIDEO360ADVERTISER_LINK_PROPOSAL = 48; + private static final int METHODID_CANCEL_DISPLAY_VIDEO360ADVERTISER_LINK_PROPOSAL = 49; + private static final int METHODID_CREATE_CUSTOM_DIMENSION = 50; + private static final int METHODID_UPDATE_CUSTOM_DIMENSION = 51; + private static final int METHODID_LIST_CUSTOM_DIMENSIONS = 52; + private static final int METHODID_ARCHIVE_CUSTOM_DIMENSION = 53; + private static final int METHODID_GET_CUSTOM_DIMENSION = 54; + private static final int METHODID_CREATE_CUSTOM_METRIC = 55; + private static final int METHODID_UPDATE_CUSTOM_METRIC = 56; + private static final int METHODID_LIST_CUSTOM_METRICS = 57; + private static final int METHODID_ARCHIVE_CUSTOM_METRIC = 58; + private static final int METHODID_GET_CUSTOM_METRIC = 59; + private static final int METHODID_GET_DATA_RETENTION_SETTINGS = 60; + private static final int METHODID_UPDATE_DATA_RETENTION_SETTINGS = 61; + private static final int METHODID_CREATE_DATA_STREAM = 62; + private static final int METHODID_DELETE_DATA_STREAM = 63; + private static final int METHODID_UPDATE_DATA_STREAM = 64; + private static final int METHODID_LIST_DATA_STREAMS = 65; + private static final int METHODID_GET_DATA_STREAM = 66; + private static final int METHODID_GET_AUDIENCE = 67; + private static final int METHODID_LIST_AUDIENCES = 68; + private static final int METHODID_CREATE_AUDIENCE = 69; + private static final int METHODID_UPDATE_AUDIENCE = 70; + private static final int METHODID_ARCHIVE_AUDIENCE = 71; + private static final int METHODID_GET_SEARCH_ADS360LINK = 72; + private static final int METHODID_LIST_SEARCH_ADS360LINKS = 73; + private static final int METHODID_CREATE_SEARCH_ADS360LINK = 74; + private static final int METHODID_DELETE_SEARCH_ADS360LINK = 75; + private static final int METHODID_UPDATE_SEARCH_ADS360LINK = 76; + private static final int METHODID_GET_ATTRIBUTION_SETTINGS = 77; + private static final int METHODID_UPDATE_ATTRIBUTION_SETTINGS = 78; + private static final int METHODID_RUN_ACCESS_REPORT = 79; + private static final int METHODID_CREATE_ACCESS_BINDING = 80; + private static final int METHODID_GET_ACCESS_BINDING = 81; + private static final int METHODID_UPDATE_ACCESS_BINDING = 82; + private static final int METHODID_DELETE_ACCESS_BINDING = 83; + private static final int METHODID_LIST_ACCESS_BINDINGS = 84; + private static final int METHODID_BATCH_CREATE_ACCESS_BINDINGS = 85; + private static final int METHODID_BATCH_GET_ACCESS_BINDINGS = 86; + private static final int METHODID_BATCH_UPDATE_ACCESS_BINDINGS = 87; + private static final int METHODID_BATCH_DELETE_ACCESS_BINDINGS = 88; + private static final int METHODID_GET_EXPANDED_DATA_SET = 89; + private static final int METHODID_LIST_EXPANDED_DATA_SETS = 90; + private static final int METHODID_CREATE_EXPANDED_DATA_SET = 91; + private static final int METHODID_UPDATE_EXPANDED_DATA_SET = 92; + private static final int METHODID_DELETE_EXPANDED_DATA_SET = 93; + private static final int METHODID_GET_CHANNEL_GROUP = 94; + private static final int METHODID_LIST_CHANNEL_GROUPS = 95; + private static final int METHODID_CREATE_CHANNEL_GROUP = 96; + private static final int METHODID_UPDATE_CHANNEL_GROUP = 97; + private static final int METHODID_DELETE_CHANNEL_GROUP = 98; + private static final int METHODID_SET_AUTOMATED_GA4CONFIGURATION_OPT_OUT = 99; + private static final int METHODID_FETCH_AUTOMATED_GA4CONFIGURATION_OPT_OUT = 100; + private static final int METHODID_GET_BIG_QUERY_LINK = 101; + private static final int METHODID_LIST_BIG_QUERY_LINKS = 102; + private static final int METHODID_GET_ENHANCED_MEASUREMENT_SETTINGS = 103; + private static final int METHODID_UPDATE_ENHANCED_MEASUREMENT_SETTINGS = 104; + private static final int METHODID_CREATE_CONNECTED_SITE_TAG = 105; + private static final int METHODID_DELETE_CONNECTED_SITE_TAG = 106; + private static final int METHODID_LIST_CONNECTED_SITE_TAGS = 107; + private static final int METHODID_FETCH_CONNECTED_GA4PROPERTY = 108; + private static final int METHODID_GET_AD_SENSE_LINK = 109; + private static final int METHODID_CREATE_AD_SENSE_LINK = 110; + private static final int METHODID_DELETE_AD_SENSE_LINK = 111; + private static final int METHODID_LIST_AD_SENSE_LINKS = 112; + private static final int METHODID_GET_EVENT_CREATE_RULE = 113; + private static final int METHODID_LIST_EVENT_CREATE_RULES = 114; + private static final int METHODID_CREATE_EVENT_CREATE_RULE = 115; + private static final int METHODID_UPDATE_EVENT_CREATE_RULE = 116; + private static final int METHODID_DELETE_EVENT_CREATE_RULE = 117; + private static final int METHODID_UPDATE_DATA_REDACTION_SETTINGS = 118; + private static final int METHODID_GET_DATA_REDACTION_SETTINGS = 119; + private static final int METHODID_CREATE_ROLLUP_PROPERTY = 120; + private static final int METHODID_GET_ROLLUP_PROPERTY_SOURCE_LINK = 121; + private static final int METHODID_LIST_ROLLUP_PROPERTY_SOURCE_LINKS = 122; + private static final int METHODID_CREATE_ROLLUP_PROPERTY_SOURCE_LINK = 123; + private static final int METHODID_DELETE_ROLLUP_PROPERTY_SOURCE_LINK = 124; + private static final int METHODID_CREATE_SUBPROPERTY = 125; + private static final int METHODID_DELETE_SUBPROPERTY_EVENT_FILTER = 126; + private static final int METHODID_CREATE_SUBPROPERTY_EVENT_FILTER = 127; + + 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 AsyncService serviceImpl; + private final int methodId; + + MethodHandlers(AsyncService 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_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_GET_SKAD_NETWORK_CONVERSION_VALUE_SCHEMA: + serviceImpl.getSKAdNetworkConversionValueSchema( + (com.google.analytics.admin.v1alpha.GetSKAdNetworkConversionValueSchemaRequest) + request, + (io.grpc.stub.StreamObserver< + com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema>) + responseObserver); + break; + case METHODID_CREATE_SKAD_NETWORK_CONVERSION_VALUE_SCHEMA: + serviceImpl.createSKAdNetworkConversionValueSchema( + (com.google.analytics.admin.v1alpha.CreateSKAdNetworkConversionValueSchemaRequest) + request, + (io.grpc.stub.StreamObserver< + com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema>) + responseObserver); + break; + case METHODID_DELETE_SKAD_NETWORK_CONVERSION_VALUE_SCHEMA: + serviceImpl.deleteSKAdNetworkConversionValueSchema( + (com.google.analytics.admin.v1alpha.DeleteSKAdNetworkConversionValueSchemaRequest) + request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_UPDATE_SKAD_NETWORK_CONVERSION_VALUE_SCHEMA: + serviceImpl.updateSKAdNetworkConversionValueSchema( + (com.google.analytics.admin.v1alpha.UpdateSKAdNetworkConversionValueSchemaRequest) + request, + (io.grpc.stub.StreamObserver< + com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema>) + responseObserver); + break; + case METHODID_LIST_SKAD_NETWORK_CONVERSION_VALUE_SCHEMAS: + serviceImpl.listSKAdNetworkConversionValueSchemas( + (com.google.analytics.admin.v1alpha.ListSKAdNetworkConversionValueSchemasRequest) + request, + (io.grpc.stub.StreamObserver< + com.google.analytics.admin.v1alpha + .ListSKAdNetworkConversionValueSchemasResponse>) + 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_UPDATE_CONVERSION_EVENT: + serviceImpl.updateConversionEvent( + (com.google.analytics.admin.v1alpha.UpdateConversionEventRequest) 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_CREATE_ACCESS_BINDING: + serviceImpl.createAccessBinding( + (com.google.analytics.admin.v1alpha.CreateAccessBindingRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_GET_ACCESS_BINDING: + serviceImpl.getAccessBinding( + (com.google.analytics.admin.v1alpha.GetAccessBindingRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_UPDATE_ACCESS_BINDING: + serviceImpl.updateAccessBinding( + (com.google.analytics.admin.v1alpha.UpdateAccessBindingRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_DELETE_ACCESS_BINDING: + serviceImpl.deleteAccessBinding( + (com.google.analytics.admin.v1alpha.DeleteAccessBindingRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_ACCESS_BINDINGS: + serviceImpl.listAccessBindings( + (com.google.analytics.admin.v1alpha.ListAccessBindingsRequest) request, + (io.grpc.stub.StreamObserver< + com.google.analytics.admin.v1alpha.ListAccessBindingsResponse>) + responseObserver); + break; + case METHODID_BATCH_CREATE_ACCESS_BINDINGS: + serviceImpl.batchCreateAccessBindings( + (com.google.analytics.admin.v1alpha.BatchCreateAccessBindingsRequest) request, + (io.grpc.stub.StreamObserver< + com.google.analytics.admin.v1alpha.BatchCreateAccessBindingsResponse>) + responseObserver); + break; + case METHODID_BATCH_GET_ACCESS_BINDINGS: + serviceImpl.batchGetAccessBindings( + (com.google.analytics.admin.v1alpha.BatchGetAccessBindingsRequest) request, + (io.grpc.stub.StreamObserver< + com.google.analytics.admin.v1alpha.BatchGetAccessBindingsResponse>) + responseObserver); + break; + case METHODID_BATCH_UPDATE_ACCESS_BINDINGS: + serviceImpl.batchUpdateAccessBindings( + (com.google.analytics.admin.v1alpha.BatchUpdateAccessBindingsRequest) request, + (io.grpc.stub.StreamObserver< + com.google.analytics.admin.v1alpha.BatchUpdateAccessBindingsResponse>) + responseObserver); + break; + case METHODID_BATCH_DELETE_ACCESS_BINDINGS: + serviceImpl.batchDeleteAccessBindings( + (com.google.analytics.admin.v1alpha.BatchDeleteAccessBindingsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_EXPANDED_DATA_SET: + serviceImpl.getExpandedDataSet( + (com.google.analytics.admin.v1alpha.GetExpandedDataSetRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_LIST_EXPANDED_DATA_SETS: + serviceImpl.listExpandedDataSets( + (com.google.analytics.admin.v1alpha.ListExpandedDataSetsRequest) request, + (io.grpc.stub.StreamObserver< + com.google.analytics.admin.v1alpha.ListExpandedDataSetsResponse>) + responseObserver); + break; + case METHODID_CREATE_EXPANDED_DATA_SET: + serviceImpl.createExpandedDataSet( + (com.google.analytics.admin.v1alpha.CreateExpandedDataSetRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_UPDATE_EXPANDED_DATA_SET: + serviceImpl.updateExpandedDataSet( + (com.google.analytics.admin.v1alpha.UpdateExpandedDataSetRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_DELETE_EXPANDED_DATA_SET: + serviceImpl.deleteExpandedDataSet( + (com.google.analytics.admin.v1alpha.DeleteExpandedDataSetRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_CHANNEL_GROUP: + serviceImpl.getChannelGroup( + (com.google.analytics.admin.v1alpha.GetChannelGroupRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_LIST_CHANNEL_GROUPS: + serviceImpl.listChannelGroups( + (com.google.analytics.admin.v1alpha.ListChannelGroupsRequest) request, + (io.grpc.stub.StreamObserver< + com.google.analytics.admin.v1alpha.ListChannelGroupsResponse>) + responseObserver); + break; + case METHODID_CREATE_CHANNEL_GROUP: + serviceImpl.createChannelGroup( + (com.google.analytics.admin.v1alpha.CreateChannelGroupRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_UPDATE_CHANNEL_GROUP: + serviceImpl.updateChannelGroup( + (com.google.analytics.admin.v1alpha.UpdateChannelGroupRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_DELETE_CHANNEL_GROUP: + serviceImpl.deleteChannelGroup( + (com.google.analytics.admin.v1alpha.DeleteChannelGroupRequest) 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< + 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; + case METHODID_GET_ENHANCED_MEASUREMENT_SETTINGS: + serviceImpl.getEnhancedMeasurementSettings( + (com.google.analytics.admin.v1alpha.GetEnhancedMeasurementSettingsRequest) request, + (io.grpc.stub.StreamObserver< + com.google.analytics.admin.v1alpha.EnhancedMeasurementSettings>) + responseObserver); + break; + case METHODID_UPDATE_ENHANCED_MEASUREMENT_SETTINGS: + serviceImpl.updateEnhancedMeasurementSettings( + (com.google.analytics.admin.v1alpha.UpdateEnhancedMeasurementSettingsRequest) request, + (io.grpc.stub.StreamObserver< + com.google.analytics.admin.v1alpha.EnhancedMeasurementSettings>) + responseObserver); + break; + case METHODID_CREATE_CONNECTED_SITE_TAG: + serviceImpl.createConnectedSiteTag( + (com.google.analytics.admin.v1alpha.CreateConnectedSiteTagRequest) request, + (io.grpc.stub.StreamObserver< + com.google.analytics.admin.v1alpha.CreateConnectedSiteTagResponse>) + responseObserver); + break; + case METHODID_DELETE_CONNECTED_SITE_TAG: + serviceImpl.deleteConnectedSiteTag( + (com.google.analytics.admin.v1alpha.DeleteConnectedSiteTagRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_CONNECTED_SITE_TAGS: + serviceImpl.listConnectedSiteTags( + (com.google.analytics.admin.v1alpha.ListConnectedSiteTagsRequest) request, + (io.grpc.stub.StreamObserver< + com.google.analytics.admin.v1alpha.ListConnectedSiteTagsResponse>) + responseObserver); + break; + case METHODID_FETCH_CONNECTED_GA4PROPERTY: + serviceImpl.fetchConnectedGa4Property( + (com.google.analytics.admin.v1alpha.FetchConnectedGa4PropertyRequest) request, + (io.grpc.stub.StreamObserver< + com.google.analytics.admin.v1alpha.FetchConnectedGa4PropertyResponse>) + responseObserver); + break; + case METHODID_GET_AD_SENSE_LINK: + serviceImpl.getAdSenseLink( + (com.google.analytics.admin.v1alpha.GetAdSenseLinkRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_CREATE_AD_SENSE_LINK: + serviceImpl.createAdSenseLink( + (com.google.analytics.admin.v1alpha.CreateAdSenseLinkRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_DELETE_AD_SENSE_LINK: + serviceImpl.deleteAdSenseLink( + (com.google.analytics.admin.v1alpha.DeleteAdSenseLinkRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_AD_SENSE_LINKS: + serviceImpl.listAdSenseLinks( + (com.google.analytics.admin.v1alpha.ListAdSenseLinksRequest) request, + (io.grpc.stub.StreamObserver< + com.google.analytics.admin.v1alpha.ListAdSenseLinksResponse>) + responseObserver); + break; + case METHODID_GET_EVENT_CREATE_RULE: + serviceImpl.getEventCreateRule( + (com.google.analytics.admin.v1alpha.GetEventCreateRuleRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_LIST_EVENT_CREATE_RULES: + serviceImpl.listEventCreateRules( + (com.google.analytics.admin.v1alpha.ListEventCreateRulesRequest) request, + (io.grpc.stub.StreamObserver< + com.google.analytics.admin.v1alpha.ListEventCreateRulesResponse>) + responseObserver); + break; + case METHODID_CREATE_EVENT_CREATE_RULE: + serviceImpl.createEventCreateRule( + (com.google.analytics.admin.v1alpha.CreateEventCreateRuleRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_UPDATE_EVENT_CREATE_RULE: + serviceImpl.updateEventCreateRule( + (com.google.analytics.admin.v1alpha.UpdateEventCreateRuleRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_DELETE_EVENT_CREATE_RULE: + serviceImpl.deleteEventCreateRule( + (com.google.analytics.admin.v1alpha.DeleteEventCreateRuleRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_UPDATE_DATA_REDACTION_SETTINGS: + serviceImpl.updateDataRedactionSettings( + (com.google.analytics.admin.v1alpha.UpdateDataRedactionSettingsRequest) request, + (io.grpc.stub.StreamObserver< + com.google.analytics.admin.v1alpha.DataRedactionSettings>) + responseObserver); + break; + case METHODID_GET_DATA_REDACTION_SETTINGS: + serviceImpl.getDataRedactionSettings( + (com.google.analytics.admin.v1alpha.GetDataRedactionSettingsRequest) request, + (io.grpc.stub.StreamObserver< + com.google.analytics.admin.v1alpha.DataRedactionSettings>) + responseObserver); + break; + case METHODID_CREATE_ROLLUP_PROPERTY: + serviceImpl.createRollupProperty( + (com.google.analytics.admin.v1alpha.CreateRollupPropertyRequest) request, + (io.grpc.stub.StreamObserver< + com.google.analytics.admin.v1alpha.CreateRollupPropertyResponse>) + responseObserver); + break; + case METHODID_GET_ROLLUP_PROPERTY_SOURCE_LINK: + serviceImpl.getRollupPropertySourceLink( + (com.google.analytics.admin.v1alpha.GetRollupPropertySourceLinkRequest) request, + (io.grpc.stub.StreamObserver< + com.google.analytics.admin.v1alpha.RollupPropertySourceLink>) + responseObserver); + break; + case METHODID_LIST_ROLLUP_PROPERTY_SOURCE_LINKS: + serviceImpl.listRollupPropertySourceLinks( + (com.google.analytics.admin.v1alpha.ListRollupPropertySourceLinksRequest) request, + (io.grpc.stub.StreamObserver< + com.google.analytics.admin.v1alpha.ListRollupPropertySourceLinksResponse>) + responseObserver); + break; + case METHODID_CREATE_ROLLUP_PROPERTY_SOURCE_LINK: + serviceImpl.createRollupPropertySourceLink( + (com.google.analytics.admin.v1alpha.CreateRollupPropertySourceLinkRequest) request, + (io.grpc.stub.StreamObserver< + com.google.analytics.admin.v1alpha.RollupPropertySourceLink>) + responseObserver); + break; + case METHODID_DELETE_ROLLUP_PROPERTY_SOURCE_LINK: + serviceImpl.deleteRollupPropertySourceLink( + (com.google.analytics.admin.v1alpha.DeleteRollupPropertySourceLinkRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_CREATE_SUBPROPERTY: + serviceImpl.createSubproperty( + (com.google.analytics.admin.v1alpha.CreateSubpropertyRequest) request, + (io.grpc.stub.StreamObserver< + com.google.analytics.admin.v1alpha.CreateSubpropertyResponse>) + responseObserver); + break; + case METHODID_DELETE_SUBPROPERTY_EVENT_FILTER: + serviceImpl.deleteSubpropertyEventFilter( + (com.google.analytics.admin.v1alpha.DeleteSubpropertyEventFilterRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_CREATE_SUBPROPERTY_EVENT_FILTER: + serviceImpl.createSubpropertyEventFilter( + (com.google.analytics.admin.v1alpha.CreateSubpropertyEventFilterRequest) request, + (io.grpc.stub.StreamObserver< + com.google.analytics.admin.v1alpha.SubpropertyEventFilter>) + 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(); + } + } + } + + public static final io.grpc.ServerServiceDefinition bindService(AsyncService service) { + 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>(service, METHODID_GET_ACCOUNT))) + .addMethod( + getListAccountsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.ListAccountsRequest, + com.google.analytics.admin.v1alpha.ListAccountsResponse>( + service, METHODID_LIST_ACCOUNTS))) + .addMethod( + getDeleteAccountMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.DeleteAccountRequest, + com.google.protobuf.Empty>(service, METHODID_DELETE_ACCOUNT))) + .addMethod( + getUpdateAccountMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.UpdateAccountRequest, + com.google.analytics.admin.v1alpha.Account>(service, METHODID_UPDATE_ACCOUNT))) + .addMethod( + getProvisionAccountTicketMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.ProvisionAccountTicketRequest, + com.google.analytics.admin.v1alpha.ProvisionAccountTicketResponse>( + service, 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>( + service, 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>(service, METHODID_GET_PROPERTY))) + .addMethod( + getListPropertiesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.ListPropertiesRequest, + com.google.analytics.admin.v1alpha.ListPropertiesResponse>( + service, METHODID_LIST_PROPERTIES))) + .addMethod( + getCreatePropertyMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.CreatePropertyRequest, + com.google.analytics.admin.v1alpha.Property>( + service, METHODID_CREATE_PROPERTY))) + .addMethod( + getDeletePropertyMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.DeletePropertyRequest, + com.google.analytics.admin.v1alpha.Property>( + service, METHODID_DELETE_PROPERTY))) + .addMethod( + getUpdatePropertyMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.UpdatePropertyRequest, + com.google.analytics.admin.v1alpha.Property>( + service, METHODID_UPDATE_PROPERTY))) + .addMethod( + getCreateFirebaseLinkMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.CreateFirebaseLinkRequest, + com.google.analytics.admin.v1alpha.FirebaseLink>( + service, METHODID_CREATE_FIREBASE_LINK))) + .addMethod( + getDeleteFirebaseLinkMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.DeleteFirebaseLinkRequest, + com.google.protobuf.Empty>(service, 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>( + service, 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>( + service, 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>( + service, 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>( + service, METHODID_UPDATE_GOOGLE_ADS_LINK))) + .addMethod( + getDeleteGoogleAdsLinkMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.DeleteGoogleAdsLinkRequest, + com.google.protobuf.Empty>(service, 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>( + service, 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>( + service, 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>( + service, 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>( + service, 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>( + service, METHODID_CREATE_MEASUREMENT_PROTOCOL_SECRET))) + .addMethod( + getDeleteMeasurementProtocolSecretMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.DeleteMeasurementProtocolSecretRequest, + com.google.protobuf.Empty>( + service, 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>( + service, 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>( + service, METHODID_ACKNOWLEDGE_USER_DATA_COLLECTION))) + .addMethod( + getGetSKAdNetworkConversionValueSchemaMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.GetSKAdNetworkConversionValueSchemaRequest, + com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema>( + service, METHODID_GET_SKAD_NETWORK_CONVERSION_VALUE_SCHEMA))) + .addMethod( + getCreateSKAdNetworkConversionValueSchemaMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha + .CreateSKAdNetworkConversionValueSchemaRequest, + com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema>( + service, METHODID_CREATE_SKAD_NETWORK_CONVERSION_VALUE_SCHEMA))) + .addMethod( + getDeleteSKAdNetworkConversionValueSchemaMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha + .DeleteSKAdNetworkConversionValueSchemaRequest, + com.google.protobuf.Empty>( + service, METHODID_DELETE_SKAD_NETWORK_CONVERSION_VALUE_SCHEMA))) + .addMethod( + getUpdateSKAdNetworkConversionValueSchemaMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha + .UpdateSKAdNetworkConversionValueSchemaRequest, + com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema>( + service, METHODID_UPDATE_SKAD_NETWORK_CONVERSION_VALUE_SCHEMA))) + .addMethod( + getListSKAdNetworkConversionValueSchemasMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.ListSKAdNetworkConversionValueSchemasRequest, + com.google.analytics.admin.v1alpha + .ListSKAdNetworkConversionValueSchemasResponse>( + service, METHODID_LIST_SKAD_NETWORK_CONVERSION_VALUE_SCHEMAS))) + .addMethod( + getSearchChangeHistoryEventsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsRequest, + com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsResponse>( + service, 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>( + service, 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>( + service, 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>( + service, METHODID_CREATE_CONVERSION_EVENT))) + .addMethod( + getUpdateConversionEventMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.UpdateConversionEventRequest, + com.google.analytics.admin.v1alpha.ConversionEvent>( + service, METHODID_UPDATE_CONVERSION_EVENT))) + .addMethod( + getGetConversionEventMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.GetConversionEventRequest, + com.google.analytics.admin.v1alpha.ConversionEvent>( + service, METHODID_GET_CONVERSION_EVENT))) + .addMethod( + getDeleteConversionEventMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.DeleteConversionEventRequest, + com.google.protobuf.Empty>(service, 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>( + service, 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>( + service, 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>( + service, 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>( + service, METHODID_CREATE_DISPLAY_VIDEO360ADVERTISER_LINK))) + .addMethod( + getDeleteDisplayVideo360AdvertiserLinkMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkRequest, + com.google.protobuf.Empty>( + service, 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>( + service, 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>( + service, 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>( + service, 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>( + service, 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>( + service, 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>( + service, 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>( + service, 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>( + service, 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>( + service, 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>( + service, METHODID_LIST_CUSTOM_DIMENSIONS))) + .addMethod( + getArchiveCustomDimensionMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.ArchiveCustomDimensionRequest, + com.google.protobuf.Empty>(service, 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>( + service, 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>( + service, 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>( + service, 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>( + service, METHODID_LIST_CUSTOM_METRICS))) + .addMethod( + getArchiveCustomMetricMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.ArchiveCustomMetricRequest, + com.google.protobuf.Empty>(service, 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>( + service, 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>( + service, 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>( + service, 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>( + service, METHODID_CREATE_DATA_STREAM))) + .addMethod( + getDeleteDataStreamMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.DeleteDataStreamRequest, + com.google.protobuf.Empty>(service, 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>( + service, 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>( + service, 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>( + service, 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>(service, METHODID_GET_AUDIENCE))) + .addMethod( + getListAudiencesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.ListAudiencesRequest, + com.google.analytics.admin.v1alpha.ListAudiencesResponse>( + service, METHODID_LIST_AUDIENCES))) + .addMethod( + getCreateAudienceMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.CreateAudienceRequest, + com.google.analytics.admin.v1alpha.Audience>( + service, METHODID_CREATE_AUDIENCE))) + .addMethod( + getUpdateAudienceMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.UpdateAudienceRequest, + com.google.analytics.admin.v1alpha.Audience>( + service, METHODID_UPDATE_AUDIENCE))) + .addMethod( + getArchiveAudienceMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.ArchiveAudienceRequest, + com.google.protobuf.Empty>(service, METHODID_ARCHIVE_AUDIENCE))) + .addMethod( + getGetSearchAds360LinkMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.GetSearchAds360LinkRequest, + com.google.analytics.admin.v1alpha.SearchAds360Link>( + service, 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>( + service, 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>( + service, METHODID_CREATE_SEARCH_ADS360LINK))) + .addMethod( + getDeleteSearchAds360LinkMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.DeleteSearchAds360LinkRequest, + com.google.protobuf.Empty>(service, 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>( + service, 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>( + service, 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>( + service, 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>( + service, METHODID_RUN_ACCESS_REPORT))) + .addMethod( + getCreateAccessBindingMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.CreateAccessBindingRequest, + com.google.analytics.admin.v1alpha.AccessBinding>( + service, METHODID_CREATE_ACCESS_BINDING))) + .addMethod( + getGetAccessBindingMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.GetAccessBindingRequest, + com.google.analytics.admin.v1alpha.AccessBinding>( + service, METHODID_GET_ACCESS_BINDING))) + .addMethod( + getUpdateAccessBindingMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.UpdateAccessBindingRequest, + com.google.analytics.admin.v1alpha.AccessBinding>( + service, METHODID_UPDATE_ACCESS_BINDING))) + .addMethod( + getDeleteAccessBindingMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.DeleteAccessBindingRequest, + com.google.protobuf.Empty>(service, METHODID_DELETE_ACCESS_BINDING))) + .addMethod( + getListAccessBindingsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.ListAccessBindingsRequest, + com.google.analytics.admin.v1alpha.ListAccessBindingsResponse>( + service, METHODID_LIST_ACCESS_BINDINGS))) + .addMethod( + getBatchCreateAccessBindingsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.BatchCreateAccessBindingsRequest, + com.google.analytics.admin.v1alpha.BatchCreateAccessBindingsResponse>( + service, METHODID_BATCH_CREATE_ACCESS_BINDINGS))) + .addMethod( + getBatchGetAccessBindingsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.BatchGetAccessBindingsRequest, + com.google.analytics.admin.v1alpha.BatchGetAccessBindingsResponse>( + service, METHODID_BATCH_GET_ACCESS_BINDINGS))) + .addMethod( + getBatchUpdateAccessBindingsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.BatchUpdateAccessBindingsRequest, + com.google.analytics.admin.v1alpha.BatchUpdateAccessBindingsResponse>( + service, METHODID_BATCH_UPDATE_ACCESS_BINDINGS))) + .addMethod( + getBatchDeleteAccessBindingsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.BatchDeleteAccessBindingsRequest, + com.google.protobuf.Empty>(service, METHODID_BATCH_DELETE_ACCESS_BINDINGS))) + .addMethod( + getGetExpandedDataSetMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.GetExpandedDataSetRequest, + com.google.analytics.admin.v1alpha.ExpandedDataSet>( + service, METHODID_GET_EXPANDED_DATA_SET))) + .addMethod( + getListExpandedDataSetsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.ListExpandedDataSetsRequest, + com.google.analytics.admin.v1alpha.ListExpandedDataSetsResponse>( + service, METHODID_LIST_EXPANDED_DATA_SETS))) + .addMethod( + getCreateExpandedDataSetMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.CreateExpandedDataSetRequest, + com.google.analytics.admin.v1alpha.ExpandedDataSet>( + service, METHODID_CREATE_EXPANDED_DATA_SET))) + .addMethod( + getUpdateExpandedDataSetMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.UpdateExpandedDataSetRequest, + com.google.analytics.admin.v1alpha.ExpandedDataSet>( + service, METHODID_UPDATE_EXPANDED_DATA_SET))) + .addMethod( + getDeleteExpandedDataSetMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.DeleteExpandedDataSetRequest, + com.google.protobuf.Empty>(service, METHODID_DELETE_EXPANDED_DATA_SET))) + .addMethod( + getGetChannelGroupMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.GetChannelGroupRequest, + com.google.analytics.admin.v1alpha.ChannelGroup>( + service, METHODID_GET_CHANNEL_GROUP))) + .addMethod( + getListChannelGroupsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.ListChannelGroupsRequest, + com.google.analytics.admin.v1alpha.ListChannelGroupsResponse>( + service, METHODID_LIST_CHANNEL_GROUPS))) + .addMethod( + getCreateChannelGroupMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.CreateChannelGroupRequest, + com.google.analytics.admin.v1alpha.ChannelGroup>( + service, METHODID_CREATE_CHANNEL_GROUP))) + .addMethod( + getUpdateChannelGroupMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.UpdateChannelGroupRequest, + com.google.analytics.admin.v1alpha.ChannelGroup>( + service, METHODID_UPDATE_CHANNEL_GROUP))) + .addMethod( + getDeleteChannelGroupMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.DeleteChannelGroupRequest, + com.google.protobuf.Empty>(service, METHODID_DELETE_CHANNEL_GROUP))) + .addMethod( + getSetAutomatedGa4ConfigurationOptOutMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.SetAutomatedGa4ConfigurationOptOutRequest, + com.google.analytics.admin.v1alpha.SetAutomatedGa4ConfigurationOptOutResponse>( + service, 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>( + service, 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>( + service, 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>( + service, METHODID_LIST_BIG_QUERY_LINKS))) + .addMethod( + getGetEnhancedMeasurementSettingsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.GetEnhancedMeasurementSettingsRequest, + com.google.analytics.admin.v1alpha.EnhancedMeasurementSettings>( + service, METHODID_GET_ENHANCED_MEASUREMENT_SETTINGS))) + .addMethod( + getUpdateEnhancedMeasurementSettingsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.UpdateEnhancedMeasurementSettingsRequest, + com.google.analytics.admin.v1alpha.EnhancedMeasurementSettings>( + service, METHODID_UPDATE_ENHANCED_MEASUREMENT_SETTINGS))) + .addMethod( + getCreateConnectedSiteTagMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.CreateConnectedSiteTagRequest, + com.google.analytics.admin.v1alpha.CreateConnectedSiteTagResponse>( + service, METHODID_CREATE_CONNECTED_SITE_TAG))) + .addMethod( + getDeleteConnectedSiteTagMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.DeleteConnectedSiteTagRequest, + com.google.protobuf.Empty>(service, METHODID_DELETE_CONNECTED_SITE_TAG))) + .addMethod( + getListConnectedSiteTagsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.ListConnectedSiteTagsRequest, + com.google.analytics.admin.v1alpha.ListConnectedSiteTagsResponse>( + service, METHODID_LIST_CONNECTED_SITE_TAGS))) + .addMethod( + getFetchConnectedGa4PropertyMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.FetchConnectedGa4PropertyRequest, + com.google.analytics.admin.v1alpha.FetchConnectedGa4PropertyResponse>( + service, METHODID_FETCH_CONNECTED_GA4PROPERTY))) + .addMethod( + getGetAdSenseLinkMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.GetAdSenseLinkRequest, + com.google.analytics.admin.v1alpha.AdSenseLink>( + service, METHODID_GET_AD_SENSE_LINK))) + .addMethod( + getCreateAdSenseLinkMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.CreateAdSenseLinkRequest, + com.google.analytics.admin.v1alpha.AdSenseLink>( + service, METHODID_CREATE_AD_SENSE_LINK))) + .addMethod( + getDeleteAdSenseLinkMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.DeleteAdSenseLinkRequest, + com.google.protobuf.Empty>(service, METHODID_DELETE_AD_SENSE_LINK))) + .addMethod( + getListAdSenseLinksMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.ListAdSenseLinksRequest, + com.google.analytics.admin.v1alpha.ListAdSenseLinksResponse>( + service, METHODID_LIST_AD_SENSE_LINKS))) + .addMethod( + getGetEventCreateRuleMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.GetEventCreateRuleRequest, + com.google.analytics.admin.v1alpha.EventCreateRule>( + service, METHODID_GET_EVENT_CREATE_RULE))) + .addMethod( + getListEventCreateRulesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.ListEventCreateRulesRequest, + com.google.analytics.admin.v1alpha.ListEventCreateRulesResponse>( + service, METHODID_LIST_EVENT_CREATE_RULES))) + .addMethod( + getCreateEventCreateRuleMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.CreateEventCreateRuleRequest, + com.google.analytics.admin.v1alpha.EventCreateRule>( + service, METHODID_CREATE_EVENT_CREATE_RULE))) + .addMethod( + getUpdateEventCreateRuleMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.UpdateEventCreateRuleRequest, + com.google.analytics.admin.v1alpha.EventCreateRule>( + service, METHODID_UPDATE_EVENT_CREATE_RULE))) + .addMethod( + getDeleteEventCreateRuleMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.DeleteEventCreateRuleRequest, + com.google.protobuf.Empty>(service, METHODID_DELETE_EVENT_CREATE_RULE))) + .addMethod( + getUpdateDataRedactionSettingsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.UpdateDataRedactionSettingsRequest, + com.google.analytics.admin.v1alpha.DataRedactionSettings>( + service, METHODID_UPDATE_DATA_REDACTION_SETTINGS))) + .addMethod( + getGetDataRedactionSettingsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.GetDataRedactionSettingsRequest, + com.google.analytics.admin.v1alpha.DataRedactionSettings>( + service, METHODID_GET_DATA_REDACTION_SETTINGS))) + .addMethod( + getCreateRollupPropertyMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.CreateRollupPropertyRequest, + com.google.analytics.admin.v1alpha.CreateRollupPropertyResponse>( + service, METHODID_CREATE_ROLLUP_PROPERTY))) + .addMethod( + getGetRollupPropertySourceLinkMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.GetRollupPropertySourceLinkRequest, + com.google.analytics.admin.v1alpha.RollupPropertySourceLink>( + service, METHODID_GET_ROLLUP_PROPERTY_SOURCE_LINK))) + .addMethod( + getListRollupPropertySourceLinksMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.ListRollupPropertySourceLinksRequest, + com.google.analytics.admin.v1alpha.ListRollupPropertySourceLinksResponse>( + service, METHODID_LIST_ROLLUP_PROPERTY_SOURCE_LINKS))) + .addMethod( + getCreateRollupPropertySourceLinkMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.CreateRollupPropertySourceLinkRequest, + com.google.analytics.admin.v1alpha.RollupPropertySourceLink>( + service, METHODID_CREATE_ROLLUP_PROPERTY_SOURCE_LINK))) + .addMethod( + getDeleteRollupPropertySourceLinkMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.DeleteRollupPropertySourceLinkRequest, + com.google.protobuf.Empty>( + service, METHODID_DELETE_ROLLUP_PROPERTY_SOURCE_LINK))) + .addMethod( + getCreateSubpropertyMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.CreateSubpropertyRequest, + com.google.analytics.admin.v1alpha.CreateSubpropertyResponse>( + service, METHODID_CREATE_SUBPROPERTY))) + .addMethod( + getDeleteSubpropertyEventFilterMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.DeleteSubpropertyEventFilterRequest, + com.google.protobuf.Empty>(service, METHODID_DELETE_SUBPROPERTY_EVENT_FILTER))) + .addMethod( + getCreateSubpropertyEventFilterMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1alpha.CreateSubpropertyEventFilterRequest, + com.google.analytics.admin.v1alpha.SubpropertyEventFilter>( + service, METHODID_CREATE_SUBPROPERTY_EVENT_FILTER))) + .build(); + } + + 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 java.lang.String methodName; + + AnalyticsAdminServiceMethodDescriptorSupplier(java.lang.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(getGetGlobalSiteTagMethod()) + .addMethod(getCreateGoogleAdsLinkMethod()) + .addMethod(getUpdateGoogleAdsLinkMethod()) + .addMethod(getDeleteGoogleAdsLinkMethod()) + .addMethod(getListGoogleAdsLinksMethod()) + .addMethod(getGetDataSharingSettingsMethod()) + .addMethod(getGetMeasurementProtocolSecretMethod()) + .addMethod(getListMeasurementProtocolSecretsMethod()) + .addMethod(getCreateMeasurementProtocolSecretMethod()) + .addMethod(getDeleteMeasurementProtocolSecretMethod()) + .addMethod(getUpdateMeasurementProtocolSecretMethod()) + .addMethod(getAcknowledgeUserDataCollectionMethod()) + .addMethod(getGetSKAdNetworkConversionValueSchemaMethod()) + .addMethod(getCreateSKAdNetworkConversionValueSchemaMethod()) + .addMethod(getDeleteSKAdNetworkConversionValueSchemaMethod()) + .addMethod(getUpdateSKAdNetworkConversionValueSchemaMethod()) + .addMethod(getListSKAdNetworkConversionValueSchemasMethod()) + .addMethod(getSearchChangeHistoryEventsMethod()) + .addMethod(getGetGoogleSignalsSettingsMethod()) + .addMethod(getUpdateGoogleSignalsSettingsMethod()) + .addMethod(getCreateConversionEventMethod()) + .addMethod(getUpdateConversionEventMethod()) + .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(getCreateAccessBindingMethod()) + .addMethod(getGetAccessBindingMethod()) + .addMethod(getUpdateAccessBindingMethod()) + .addMethod(getDeleteAccessBindingMethod()) + .addMethod(getListAccessBindingsMethod()) + .addMethod(getBatchCreateAccessBindingsMethod()) + .addMethod(getBatchGetAccessBindingsMethod()) + .addMethod(getBatchUpdateAccessBindingsMethod()) + .addMethod(getBatchDeleteAccessBindingsMethod()) + .addMethod(getGetExpandedDataSetMethod()) + .addMethod(getListExpandedDataSetsMethod()) + .addMethod(getCreateExpandedDataSetMethod()) + .addMethod(getUpdateExpandedDataSetMethod()) + .addMethod(getDeleteExpandedDataSetMethod()) + .addMethod(getGetChannelGroupMethod()) + .addMethod(getListChannelGroupsMethod()) + .addMethod(getCreateChannelGroupMethod()) + .addMethod(getUpdateChannelGroupMethod()) + .addMethod(getDeleteChannelGroupMethod()) + .addMethod(getSetAutomatedGa4ConfigurationOptOutMethod()) + .addMethod(getFetchAutomatedGa4ConfigurationOptOutMethod()) + .addMethod(getGetBigQueryLinkMethod()) + .addMethod(getListBigQueryLinksMethod()) + .addMethod(getGetEnhancedMeasurementSettingsMethod()) + .addMethod(getUpdateEnhancedMeasurementSettingsMethod()) + .addMethod(getCreateConnectedSiteTagMethod()) + .addMethod(getDeleteConnectedSiteTagMethod()) + .addMethod(getListConnectedSiteTagsMethod()) + .addMethod(getFetchConnectedGa4PropertyMethod()) + .addMethod(getGetAdSenseLinkMethod()) + .addMethod(getCreateAdSenseLinkMethod()) + .addMethod(getDeleteAdSenseLinkMethod()) + .addMethod(getListAdSenseLinksMethod()) + .addMethod(getGetEventCreateRuleMethod()) + .addMethod(getListEventCreateRulesMethod()) + .addMethod(getCreateEventCreateRuleMethod()) + .addMethod(getUpdateEventCreateRuleMethod()) + .addMethod(getDeleteEventCreateRuleMethod()) + .addMethod(getUpdateDataRedactionSettingsMethod()) + .addMethod(getGetDataRedactionSettingsMethod()) + .addMethod(getCreateRollupPropertyMethod()) + .addMethod(getGetRollupPropertySourceLinkMethod()) + .addMethod(getListRollupPropertySourceLinksMethod()) + .addMethod(getCreateRollupPropertySourceLinkMethod()) + .addMethod(getDeleteRollupPropertySourceLinkMethod()) + .addMethod(getCreateSubpropertyMethod()) + .addMethod(getDeleteSubpropertyEventFilterMethod()) + .addMethod(getCreateSubpropertyEventFilterMethod()) + .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..27d90a7a345e --- /dev/null +++ b/java-analytics-admin/grpc-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AnalyticsAdminServiceGrpc.java @@ -0,0 +1,6450 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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 java.lang.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.UpdateConversionEventRequest, + com.google.analytics.admin.v1beta.ConversionEvent> + getUpdateConversionEventMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateConversionEvent", + requestType = com.google.analytics.admin.v1beta.UpdateConversionEventRequest.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.UpdateConversionEventRequest, + com.google.analytics.admin.v1beta.ConversionEvent> + getUpdateConversionEventMethod() { + io.grpc.MethodDescriptor< + com.google.analytics.admin.v1beta.UpdateConversionEventRequest, + com.google.analytics.admin.v1beta.ConversionEvent> + getUpdateConversionEventMethod; + if ((getUpdateConversionEventMethod = AnalyticsAdminServiceGrpc.getUpdateConversionEventMethod) + == null) { + synchronized (AnalyticsAdminServiceGrpc.class) { + if ((getUpdateConversionEventMethod = + AnalyticsAdminServiceGrpc.getUpdateConversionEventMethod) + == null) { + AnalyticsAdminServiceGrpc.getUpdateConversionEventMethod = + getUpdateConversionEventMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "UpdateConversionEvent")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1beta.UpdateConversionEventRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1beta.ConversionEvent + .getDefaultInstance())) + .setSchemaDescriptor( + new AnalyticsAdminServiceMethodDescriptorSupplier( + "UpdateConversionEvent")) + .build(); + } + } + } + return getUpdateConversionEventMethod; + } + + 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; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.analytics.admin.v1beta.RunAccessReportRequest, + com.google.analytics.admin.v1beta.RunAccessReportResponse> + getRunAccessReportMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "RunAccessReport", + requestType = com.google.analytics.admin.v1beta.RunAccessReportRequest.class, + responseType = com.google.analytics.admin.v1beta.RunAccessReportResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.analytics.admin.v1beta.RunAccessReportRequest, + com.google.analytics.admin.v1beta.RunAccessReportResponse> + getRunAccessReportMethod() { + io.grpc.MethodDescriptor< + com.google.analytics.admin.v1beta.RunAccessReportRequest, + com.google.analytics.admin.v1beta.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.v1beta.RunAccessReportRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.analytics.admin.v1beta.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 interface AsyncService { + + /** + * + * + *
+     * Lookup for a single Account.
+     * 
+ */ + default 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.
+     * 
+ */ + default 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.
+     * 
+ */ + default void deleteAccount( + com.google.analytics.admin.v1beta.DeleteAccountRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getDeleteAccountMethod(), responseObserver); + } + + /** + * + * + *
+     * Updates an account.
+     * 
+ */ + default 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.
+     * 
+ */ + default 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.
+     * 
+ */ + default 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.
+     * 
+ */ + default 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.
+     * 
+ */ + default 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.
+     * 
+ */ + default 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 a GA4 Property.
+     * 
+ */ + default void deleteProperty( + com.google.analytics.admin.v1beta.DeletePropertyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getDeletePropertyMethod(), responseObserver); + } + + /** + * + * + *
+     * Updates a property.
+     * 
+ */ + default 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.
+     * 
+ */ + default 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
+     * 
+ */ + default 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.
+     * 
+ */ + default void listFirebaseLinks( + com.google.analytics.admin.v1beta.ListFirebaseLinksRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListFirebaseLinksMethod(), responseObserver); + } + + /** + * + * + *
+     * Creates a GoogleAdsLink.
+     * 
+ */ + default 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
+     * 
+ */ + default 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
+     * 
+ */ + default 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.
+     * 
+ */ + default 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.
+     * 
+ */ + default 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.
+     * 
+ */ + default 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.
+     * 
+ */ + default 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.
+     * 
+ */ + default void createMeasurementProtocolSecret( + com.google.analytics.admin.v1beta.CreateMeasurementProtocolSecretRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getCreateMeasurementProtocolSecretMethod(), responseObserver); + } + + /** + * + * + *
+     * Deletes target MeasurementProtocolSecret.
+     * 
+ */ + default 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.
+     * 
+ */ + default 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 through this API) before MeasurementProtocolSecret resources may be
+     * created.
+     * 
+ */ + default 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.
+     * 
+ */ + default 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.
+     * 
+ */ + default void createConversionEvent( + com.google.analytics.admin.v1beta.CreateConversionEventRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getCreateConversionEventMethod(), responseObserver); + } + + /** + * + * + *
+     * Updates a conversion event with the specified attributes.
+     * 
+ */ + default void updateConversionEvent( + com.google.analytics.admin.v1beta.UpdateConversionEventRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getUpdateConversionEventMethod(), responseObserver); + } + + /** + * + * + *
+     * Retrieve a single conversion event.
+     * 
+ */ + default 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.
+     * 
+ */ + default 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.
+     * 
+ */ + default void listConversionEvents( + com.google.analytics.admin.v1beta.ListConversionEventsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListConversionEventsMethod(), responseObserver); + } + + /** + * + * + *
+     * Creates a CustomDimension.
+     * 
+ */ + default 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.
+     * 
+ */ + default 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.
+     * 
+ */ + default 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.
+     * 
+ */ + default 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.
+     * 
+ */ + default void getCustomDimension( + com.google.analytics.admin.v1beta.GetCustomDimensionRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getGetCustomDimensionMethod(), responseObserver); + } + + /** + * + * + *
+     * Creates a CustomMetric.
+     * 
+ */ + default 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.
+     * 
+ */ + default 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.
+     * 
+ */ + default 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.
+     * 
+ */ + default 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.
+     * 
+ */ + default 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.
+     * 
+ */ + default 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.
+     * 
+ */ + default void updateDataRetentionSettings( + com.google.analytics.admin.v1beta.UpdateDataRetentionSettingsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getUpdateDataRetentionSettingsMethod(), responseObserver); + } + + /** + * + * + *
+     * Creates a DataStream.
+     * 
+ */ + default 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.
+     * 
+ */ + default 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.
+     * 
+ */ + default 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.
+     * 
+ */ + default 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.
+     * 
+ */ + default void getDataStream( + com.google.analytics.admin.v1beta.GetDataStreamRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getGetDataStreamMethod(), 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).
+     * 
+ */ + default void runAccessReport( + com.google.analytics.admin.v1beta.RunAccessReportRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getRunAccessReportMethod(), responseObserver); + } + } + + /** + * Base class for the server implementation of the service AnalyticsAdminService. + * + *
+   * Service Interface for the Analytics Admin API (GA4).
+   * 
+ */ + public abstract static class AnalyticsAdminServiceImplBase + implements io.grpc.BindableService, AsyncService { + + @java.lang.Override + public final io.grpc.ServerServiceDefinition bindService() { + return AnalyticsAdminServiceGrpc.bindService(this); + } + } + + /** + * A stub to allow clients to do asynchronous rpc calls to service AnalyticsAdminService. + * + *
+   * 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 a 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 through 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); + } + + /** + * + * + *
+     * Updates a conversion event with the specified attributes.
+     * 
+ */ + public void updateConversionEvent( + com.google.analytics.admin.v1beta.UpdateConversionEventRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateConversionEventMethod(), 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); + } + + /** + * + * + *
+     * 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.v1beta.RunAccessReportRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getRunAccessReportMethod(), getCallOptions()), + request, + responseObserver); + } + } + + /** + * A stub to allow clients to do synchronous rpc calls to service AnalyticsAdminService. + * + *
+   * 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 a 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 through 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); + } + + /** + * + * + *
+     * Updates a conversion event with the specified attributes.
+     * 
+ */ + public com.google.analytics.admin.v1beta.ConversionEvent updateConversionEvent( + com.google.analytics.admin.v1beta.UpdateConversionEventRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateConversionEventMethod(), 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); + } + + /** + * + * + *
+     * 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.v1beta.RunAccessReportResponse runAccessReport( + com.google.analytics.admin.v1beta.RunAccessReportRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getRunAccessReportMethod(), getCallOptions(), request); + } + } + + /** + * A stub to allow clients to do ListenableFuture-style rpc calls to service + * AnalyticsAdminService. + * + *
+   * 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 a 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 through 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); + } + + /** + * + * + *
+     * Updates a conversion event with the specified attributes.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.analytics.admin.v1beta.ConversionEvent> + updateConversionEvent( + com.google.analytics.admin.v1beta.UpdateConversionEventRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateConversionEventMethod(), 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); + } + + /** + * + * + *
+     * 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.v1beta.RunAccessReportResponse> + runAccessReport(com.google.analytics.admin.v1beta.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_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_UPDATE_CONVERSION_EVENT = 27; + private static final int METHODID_GET_CONVERSION_EVENT = 28; + private static final int METHODID_DELETE_CONVERSION_EVENT = 29; + private static final int METHODID_LIST_CONVERSION_EVENTS = 30; + private static final int METHODID_CREATE_CUSTOM_DIMENSION = 31; + private static final int METHODID_UPDATE_CUSTOM_DIMENSION = 32; + private static final int METHODID_LIST_CUSTOM_DIMENSIONS = 33; + private static final int METHODID_ARCHIVE_CUSTOM_DIMENSION = 34; + private static final int METHODID_GET_CUSTOM_DIMENSION = 35; + private static final int METHODID_CREATE_CUSTOM_METRIC = 36; + private static final int METHODID_UPDATE_CUSTOM_METRIC = 37; + private static final int METHODID_LIST_CUSTOM_METRICS = 38; + private static final int METHODID_ARCHIVE_CUSTOM_METRIC = 39; + private static final int METHODID_GET_CUSTOM_METRIC = 40; + private static final int METHODID_GET_DATA_RETENTION_SETTINGS = 41; + private static final int METHODID_UPDATE_DATA_RETENTION_SETTINGS = 42; + private static final int METHODID_CREATE_DATA_STREAM = 43; + private static final int METHODID_DELETE_DATA_STREAM = 44; + private static final int METHODID_UPDATE_DATA_STREAM = 45; + private static final int METHODID_LIST_DATA_STREAMS = 46; + private static final int METHODID_GET_DATA_STREAM = 47; + private static final int METHODID_RUN_ACCESS_REPORT = 48; + + 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 AsyncService serviceImpl; + private final int methodId; + + MethodHandlers(AsyncService 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_UPDATE_CONVERSION_EVENT: + serviceImpl.updateConversionEvent( + (com.google.analytics.admin.v1beta.UpdateConversionEventRequest) 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; + case METHODID_RUN_ACCESS_REPORT: + serviceImpl.runAccessReport( + (com.google.analytics.admin.v1beta.RunAccessReportRequest) request, + (io.grpc.stub.StreamObserver< + com.google.analytics.admin.v1beta.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(); + } + } + } + + public static final io.grpc.ServerServiceDefinition bindService(AsyncService service) { + 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>(service, METHODID_GET_ACCOUNT))) + .addMethod( + getListAccountsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1beta.ListAccountsRequest, + com.google.analytics.admin.v1beta.ListAccountsResponse>( + service, METHODID_LIST_ACCOUNTS))) + .addMethod( + getDeleteAccountMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1beta.DeleteAccountRequest, + com.google.protobuf.Empty>(service, METHODID_DELETE_ACCOUNT))) + .addMethod( + getUpdateAccountMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1beta.UpdateAccountRequest, + com.google.analytics.admin.v1beta.Account>(service, METHODID_UPDATE_ACCOUNT))) + .addMethod( + getProvisionAccountTicketMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1beta.ProvisionAccountTicketRequest, + com.google.analytics.admin.v1beta.ProvisionAccountTicketResponse>( + service, 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>( + service, 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>(service, METHODID_GET_PROPERTY))) + .addMethod( + getListPropertiesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1beta.ListPropertiesRequest, + com.google.analytics.admin.v1beta.ListPropertiesResponse>( + service, METHODID_LIST_PROPERTIES))) + .addMethod( + getCreatePropertyMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1beta.CreatePropertyRequest, + com.google.analytics.admin.v1beta.Property>(service, METHODID_CREATE_PROPERTY))) + .addMethod( + getDeletePropertyMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1beta.DeletePropertyRequest, + com.google.analytics.admin.v1beta.Property>(service, METHODID_DELETE_PROPERTY))) + .addMethod( + getUpdatePropertyMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1beta.UpdatePropertyRequest, + com.google.analytics.admin.v1beta.Property>(service, METHODID_UPDATE_PROPERTY))) + .addMethod( + getCreateFirebaseLinkMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1beta.CreateFirebaseLinkRequest, + com.google.analytics.admin.v1beta.FirebaseLink>( + service, METHODID_CREATE_FIREBASE_LINK))) + .addMethod( + getDeleteFirebaseLinkMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1beta.DeleteFirebaseLinkRequest, + com.google.protobuf.Empty>(service, 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>( + service, 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>( + service, 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>( + service, METHODID_UPDATE_GOOGLE_ADS_LINK))) + .addMethod( + getDeleteGoogleAdsLinkMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1beta.DeleteGoogleAdsLinkRequest, + com.google.protobuf.Empty>(service, 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>( + service, 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>( + service, 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>( + service, 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>( + service, 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>( + service, METHODID_CREATE_MEASUREMENT_PROTOCOL_SECRET))) + .addMethod( + getDeleteMeasurementProtocolSecretMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1beta.DeleteMeasurementProtocolSecretRequest, + com.google.protobuf.Empty>( + service, 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>( + service, 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>( + service, 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>( + service, 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>( + service, METHODID_CREATE_CONVERSION_EVENT))) + .addMethod( + getUpdateConversionEventMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1beta.UpdateConversionEventRequest, + com.google.analytics.admin.v1beta.ConversionEvent>( + service, METHODID_UPDATE_CONVERSION_EVENT))) + .addMethod( + getGetConversionEventMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1beta.GetConversionEventRequest, + com.google.analytics.admin.v1beta.ConversionEvent>( + service, METHODID_GET_CONVERSION_EVENT))) + .addMethod( + getDeleteConversionEventMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1beta.DeleteConversionEventRequest, + com.google.protobuf.Empty>(service, 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>( + service, 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>( + service, 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>( + service, 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>( + service, METHODID_LIST_CUSTOM_DIMENSIONS))) + .addMethod( + getArchiveCustomDimensionMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1beta.ArchiveCustomDimensionRequest, + com.google.protobuf.Empty>(service, 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>( + service, 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>( + service, 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>( + service, 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>( + service, METHODID_LIST_CUSTOM_METRICS))) + .addMethod( + getArchiveCustomMetricMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1beta.ArchiveCustomMetricRequest, + com.google.protobuf.Empty>(service, 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>( + service, 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>( + service, 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>( + service, 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>( + service, METHODID_CREATE_DATA_STREAM))) + .addMethod( + getDeleteDataStreamMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1beta.DeleteDataStreamRequest, + com.google.protobuf.Empty>(service, 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>( + service, 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>( + service, 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>( + service, METHODID_GET_DATA_STREAM))) + .addMethod( + getRunAccessReportMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.analytics.admin.v1beta.RunAccessReportRequest, + com.google.analytics.admin.v1beta.RunAccessReportResponse>( + service, METHODID_RUN_ACCESS_REPORT))) + .build(); + } + + 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 java.lang.String methodName; + + AnalyticsAdminServiceMethodDescriptorSupplier(java.lang.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(getUpdateConversionEventMethod()) + .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()) + .addMethod(getRunAccessReportMethod()) + .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 73d92ca899c9..d86f2246f141 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,55 +1,76 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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(); } - 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 @@ -57,18 +78,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.
    * 
@@ -77,17 +105,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 @@ -95,18 +128,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.
    * 
@@ -115,10 +155,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; @@ -130,8 +173,7 @@ public final boolean isInitialized() { } @java.lang.Override - public 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()); } @@ -148,12 +190,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; @@ -163,22 +203,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; @@ -205,131 +244,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(); @@ -348,9 +392,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 @@ -369,8 +413,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; } @@ -378,14 +425,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(); } } @@ -393,38 +436,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; @@ -432,7 +476,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()); } @@ -465,26 +510,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) { @@ -494,38 +538,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.
      * 
@@ -546,6 +604,8 @@ public Builder setFromValue(com.google.analytics.admin.v1alpha.NumericValue valu return this; } /** + * + * *
      * Begins with this number.
      * 
@@ -564,6 +624,8 @@ public Builder setFromValue( return this; } /** + * + * *
      * Begins with this number.
      * 
@@ -572,9 +634,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; @@ -587,6 +649,8 @@ public Builder mergeFromValue(com.google.analytics.admin.v1alpha.NumericValue va return this; } /** + * + * *
      * Begins with this number.
      * 
@@ -604,6 +668,8 @@ public Builder clearFromValue() { return this; } /** + * + * *
      * Begins with this number.
      * 
@@ -616,6 +682,8 @@ public com.google.analytics.admin.v1alpha.NumericValue.Builder getFromValueBuild return getFromValueFieldBuilder().getBuilder(); } /** + * + * *
      * Begins with this number.
      * 
@@ -626,11 +694,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.
      * 
@@ -638,14 +709,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_; @@ -653,34 +727,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.
      * 
@@ -701,6 +788,8 @@ public Builder setToValue(com.google.analytics.admin.v1alpha.NumericValue value) return this; } /** + * + * *
      * Ends with this number.
      * 
@@ -719,6 +808,8 @@ public Builder setToValue( return this; } /** + * + * *
      * Ends with this number.
      * 
@@ -727,9 +818,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; @@ -742,6 +833,8 @@ public Builder mergeToValue(com.google.analytics.admin.v1alpha.NumericValue valu return this; } /** + * + * *
      * Ends with this number.
      * 
@@ -759,6 +852,8 @@ public Builder clearToValue() { return this; } /** + * + * *
      * Ends with this number.
      * 
@@ -771,6 +866,8 @@ public com.google.analytics.admin.v1alpha.NumericValue.Builder getToValueBuilder return getToValueFieldBuilder().getBuilder(); } /** + * + * *
      * Ends with this number.
      * 
@@ -781,11 +878,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.
      * 
@@ -793,21 +893,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); } @@ -817,12 +920,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(); } @@ -831,27 +934,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; @@ -866,6 +969,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..4406326a4bce 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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/AccessBinding.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessBinding.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/AccessBinding.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessBinding.java index 9053c280902a..bfaab8683b45 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessBinding.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessBinding.java @@ -1,59 +1,81 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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 binding of a user to a set of roles.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.AccessBinding} */ -public final class AccessBinding extends - com.google.protobuf.GeneratedMessageV3 implements +public final class AccessBinding extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.AccessBinding) AccessBindingOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use AccessBinding.newBuilder() to construct. private AccessBinding(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private AccessBinding() { name_ = ""; - roles_ = - com.google.protobuf.LazyStringArrayList.emptyList(); + roles_ = com.google.protobuf.LazyStringArrayList.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new AccessBinding(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_AccessBinding_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.ResourcesProto + .internal_static_google_analytics_admin_v1alpha_AccessBinding_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_AccessBinding_fieldAccessorTable + return com.google.analytics.admin.v1alpha.ResourcesProto + .internal_static_google_analytics_admin_v1alpha_AccessBinding_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.AccessBinding.class, com.google.analytics.admin.v1alpha.AccessBinding.Builder.class); + com.google.analytics.admin.v1alpha.AccessBinding.class, + com.google.analytics.admin.v1alpha.AccessBinding.Builder.class); } private int accessTargetCase_ = 0; + @SuppressWarnings("serial") private java.lang.Object accessTarget_; + public enum AccessTargetCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { USER(2), ACCESSTARGET_NOT_SET(0); private final int value; + private AccessTargetCase(int value) { this.value = value; } @@ -69,42 +91,50 @@ public static AccessTargetCase valueOf(int value) { public static AccessTargetCase forNumber(int value) { switch (value) { - case 2: return USER; - case 0: return ACCESSTARGET_NOT_SET; - default: return null; + case 2: + return USER; + case 0: + return ACCESSTARGET_NOT_SET; + default: + return null; } } + public int getNumber() { return this.value; } }; - public AccessTargetCase - getAccessTargetCase() { - return AccessTargetCase.forNumber( - accessTargetCase_); + public AccessTargetCase getAccessTargetCase() { + return AccessTargetCase.forNumber(accessTargetCase_); } public static final int USER_FIELD_NUMBER = 2; /** + * + * *
    * If set, the email address of the user to set roles for.
    * Format: "someuser@gmail.com"
    * 
* * string user = 2; + * * @return Whether the user field is set. */ public boolean hasUser() { return accessTargetCase_ == 2; } /** + * + * *
    * If set, the email address of the user to set roles for.
    * Format: "someuser@gmail.com"
    * 
* * string user = 2; + * * @return The user. */ public java.lang.String getUser() { @@ -115,8 +145,7 @@ public java.lang.String getUser() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (accessTargetCase_ == 2) { accessTarget_ = s; @@ -125,24 +154,25 @@ public java.lang.String getUser() { } } /** + * + * *
    * If set, the email address of the user to set roles for.
    * Format: "someuser@gmail.com"
    * 
* * string user = 2; + * * @return The bytes for user. */ - public com.google.protobuf.ByteString - getUserBytes() { + public com.google.protobuf.ByteString getUserBytes() { java.lang.Object ref = ""; if (accessTargetCase_ == 2) { ref = accessTarget_; } if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); if (accessTargetCase_ == 2) { accessTarget_ = b; } @@ -153,9 +183,12 @@ public java.lang.String getUser() { } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Output only. Resource name of this binding.
    *
@@ -167,6 +200,7 @@ public java.lang.String getUser() {
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ @java.lang.Override @@ -175,14 +209,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 binding.
    *
@@ -194,16 +229,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 { @@ -212,10 +246,13 @@ public java.lang.String getName() { } public static final int ROLES_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList roles_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** + * + * *
    * A list of roles for to grant to the parent resource.
    *
@@ -232,13 +269,15 @@ public java.lang.String getName() {
    * 
* * repeated string roles = 3; + * * @return A list containing the roles. */ - public com.google.protobuf.ProtocolStringList - getRolesList() { + public com.google.protobuf.ProtocolStringList getRolesList() { return roles_; } /** + * + * *
    * A list of roles for to grant to the parent resource.
    *
@@ -255,12 +294,15 @@ public java.lang.String getName() {
    * 
* * repeated string roles = 3; + * * @return The count of roles. */ public int getRolesCount() { return roles_.size(); } /** + * + * *
    * A list of roles for to grant to the parent resource.
    *
@@ -277,6 +319,7 @@ public int getRolesCount() {
    * 
* * repeated string roles = 3; + * * @param index The index of the element to return. * @return The roles at the given index. */ @@ -284,6 +327,8 @@ public java.lang.String getRoles(int index) { return roles_.get(index); } /** + * + * *
    * A list of roles for to grant to the parent resource.
    *
@@ -300,15 +345,16 @@ public java.lang.String getRoles(int index) {
    * 
* * repeated string roles = 3; + * * @param index The index of the value to return. * @return The bytes of the roles at the given index. */ - public com.google.protobuf.ByteString - getRolesBytes(int index) { + public com.google.protobuf.ByteString getRolesBytes(int index) { return roles_.getByteString(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -320,8 +366,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -362,22 +407,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.AccessBinding)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.AccessBinding other = (com.google.analytics.admin.v1alpha.AccessBinding) obj; + com.google.analytics.admin.v1alpha.AccessBinding other = + (com.google.analytics.admin.v1alpha.AccessBinding) obj; - if (!getName() - .equals(other.getName())) return false; - if (!getRolesList() - .equals(other.getRolesList())) return false; + if (!getName().equals(other.getName())) return false; + if (!getRolesList().equals(other.getRolesList())) return false; if (!getAccessTargetCase().equals(other.getAccessTargetCase())) return false; switch (accessTargetCase_) { case 2: - if (!getUser() - .equals(other.getUser())) return false; + if (!getUser().equals(other.getUser())) return false; break; case 0: default: @@ -412,148 +455,151 @@ public int hashCode() { return hash; } - public static com.google.analytics.admin.v1alpha.AccessBinding parseFrom( - java.nio.ByteBuffer data) + public static com.google.analytics.admin.v1alpha.AccessBinding parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.AccessBinding parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.AccessBinding parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.AccessBinding parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.AccessBinding parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.AccessBinding parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.AccessBinding parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.AccessBinding parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.AccessBinding parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.AccessBinding parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.AccessBinding parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.analytics.admin.v1alpha.AccessBinding parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.AccessBinding parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.AccessBinding parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.analytics.admin.v1alpha.AccessBinding prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 binding of a user to a set of roles.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.AccessBinding} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.AccessBinding) com.google.analytics.admin.v1alpha.AccessBindingOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_AccessBinding_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.ResourcesProto + .internal_static_google_analytics_admin_v1alpha_AccessBinding_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_AccessBinding_fieldAccessorTable + return com.google.analytics.admin.v1alpha.ResourcesProto + .internal_static_google_analytics_admin_v1alpha_AccessBinding_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.AccessBinding.class, com.google.analytics.admin.v1alpha.AccessBinding.Builder.class); + com.google.analytics.admin.v1alpha.AccessBinding.class, + com.google.analytics.admin.v1alpha.AccessBinding.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.AccessBinding.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(); bitField0_ = 0; name_ = ""; - roles_ = - com.google.protobuf.LazyStringArrayList.emptyList(); + roles_ = com.google.protobuf.LazyStringArrayList.emptyList(); accessTargetCase_ = 0; accessTarget_ = 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_AccessBinding_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1alpha.ResourcesProto + .internal_static_google_analytics_admin_v1alpha_AccessBinding_descriptor; } @java.lang.Override @@ -572,8 +618,11 @@ public com.google.analytics.admin.v1alpha.AccessBinding build() { @java.lang.Override public com.google.analytics.admin.v1alpha.AccessBinding buildPartial() { - com.google.analytics.admin.v1alpha.AccessBinding result = new com.google.analytics.admin.v1alpha.AccessBinding(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.analytics.admin.v1alpha.AccessBinding result = + new com.google.analytics.admin.v1alpha.AccessBinding(this); + if (bitField0_ != 0) { + buildPartial0(result); + } buildPartialOneofs(result); onBuilt(); return result; @@ -599,38 +648,39 @@ private void buildPartialOneofs(com.google.analytics.admin.v1alpha.AccessBinding public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.analytics.admin.v1alpha.AccessBinding) { - return mergeFrom((com.google.analytics.admin.v1alpha.AccessBinding)other); + return mergeFrom((com.google.analytics.admin.v1alpha.AccessBinding) other); } else { super.mergeFrom(other); return this; @@ -638,7 +688,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1alpha.AccessBinding other) { - if (other == com.google.analytics.admin.v1alpha.AccessBinding.getDefaultInstance()) return this; + if (other == com.google.analytics.admin.v1alpha.AccessBinding.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000002; @@ -655,15 +706,17 @@ public Builder mergeFrom(com.google.analytics.admin.v1alpha.AccessBinding other) onChanged(); } switch (other.getAccessTargetCase()) { - case USER: { - accessTargetCase_ = 2; - accessTarget_ = other.accessTarget_; - onChanged(); - break; - } - case ACCESSTARGET_NOT_SET: { - break; - } + case USER: + { + accessTargetCase_ = 2; + accessTarget_ = other.accessTarget_; + onChanged(); + break; + } + case ACCESSTARGET_NOT_SET: + { + break; + } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -691,29 +744,33 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 10 - case 18: { - java.lang.String s = input.readStringRequireUtf8(); - accessTargetCase_ = 2; - accessTarget_ = s; - break; - } // case 18 - case 26: { - java.lang.String s = input.readStringRequireUtf8(); - ensureRolesIsMutable(); - roles_.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_ |= 0x00000002; + break; + } // case 10 + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); + accessTargetCase_ = 2; + accessTarget_ = s; + break; + } // case 18 + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); + ensureRolesIsMutable(); + roles_.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) { @@ -723,12 +780,12 @@ public Builder mergeFrom( } // finally return this; } + private int accessTargetCase_ = 0; private java.lang.Object accessTarget_; - public AccessTargetCase - getAccessTargetCase() { - return AccessTargetCase.forNumber( - accessTargetCase_); + + public AccessTargetCase getAccessTargetCase() { + return AccessTargetCase.forNumber(accessTargetCase_); } public Builder clearAccessTarget() { @@ -741,12 +798,15 @@ public Builder clearAccessTarget() { private int bitField0_; /** + * + * *
      * If set, the email address of the user to set roles for.
      * Format: "someuser@gmail.com"
      * 
* * string user = 2; + * * @return Whether the user field is set. */ @java.lang.Override @@ -754,12 +814,15 @@ public boolean hasUser() { return accessTargetCase_ == 2; } /** + * + * *
      * If set, the email address of the user to set roles for.
      * Format: "someuser@gmail.com"
      * 
* * string user = 2; + * * @return The user. */ @java.lang.Override @@ -769,8 +832,7 @@ public java.lang.String getUser() { ref = accessTarget_; } if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (accessTargetCase_ == 2) { accessTarget_ = s; @@ -781,25 +843,26 @@ public java.lang.String getUser() { } } /** + * + * *
      * If set, the email address of the user to set roles for.
      * Format: "someuser@gmail.com"
      * 
* * string user = 2; + * * @return The bytes for user. */ @java.lang.Override - public com.google.protobuf.ByteString - getUserBytes() { + public com.google.protobuf.ByteString getUserBytes() { java.lang.Object ref = ""; if (accessTargetCase_ == 2) { ref = accessTarget_; } if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); if (accessTargetCase_ == 2) { accessTarget_ = b; } @@ -809,30 +872,37 @@ public java.lang.String getUser() { } } /** + * + * *
      * If set, the email address of the user to set roles for.
      * Format: "someuser@gmail.com"
      * 
* * string user = 2; + * * @param value The user to set. * @return This builder for chaining. */ - public Builder setUser( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setUser(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } accessTargetCase_ = 2; accessTarget_ = value; onChanged(); return this; } /** + * + * *
      * If set, the email address of the user to set roles for.
      * Format: "someuser@gmail.com"
      * 
* * string user = 2; + * * @return This builder for chaining. */ public Builder clearUser() { @@ -844,18 +914,22 @@ public Builder clearUser() { return this; } /** + * + * *
      * If set, the email address of the user to set roles for.
      * Format: "someuser@gmail.com"
      * 
* * string user = 2; + * * @param value The bytes for user to set. * @return This builder for chaining. */ - public Builder setUserBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setUserBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); accessTargetCase_ = 2; accessTarget_ = value; @@ -865,6 +939,8 @@ public Builder setUserBytes( private java.lang.Object name_ = ""; /** + * + * *
      * Output only. Resource name of this binding.
      *
@@ -876,13 +952,13 @@ public Builder setUserBytes(
      * 
* * 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; @@ -891,6 +967,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. Resource name of this binding.
      *
@@ -902,15 +980,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 { @@ -918,6 +995,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. Resource name of this binding.
      *
@@ -929,18 +1008,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_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Output only. Resource name of this binding.
      *
@@ -952,6 +1035,7 @@ public Builder setName(
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearName() { @@ -961,6 +1045,8 @@ public Builder clearName() { return this; } /** + * + * *
      * Output only. Resource name of this binding.
      *
@@ -972,12 +1058,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_ |= 0x00000002; @@ -987,6 +1075,7 @@ public Builder setNameBytes( private com.google.protobuf.LazyStringArrayList roles_ = com.google.protobuf.LazyStringArrayList.emptyList(); + private void ensureRolesIsMutable() { if (!roles_.isModifiable()) { roles_ = new com.google.protobuf.LazyStringArrayList(roles_); @@ -994,6 +1083,8 @@ private void ensureRolesIsMutable() { bitField0_ |= 0x00000004; } /** + * + * *
      * A list of roles for to grant to the parent resource.
      *
@@ -1010,14 +1101,16 @@ private void ensureRolesIsMutable() {
      * 
* * repeated string roles = 3; + * * @return A list containing the roles. */ - public com.google.protobuf.ProtocolStringList - getRolesList() { + public com.google.protobuf.ProtocolStringList getRolesList() { roles_.makeImmutable(); return roles_; } /** + * + * *
      * A list of roles for to grant to the parent resource.
      *
@@ -1034,12 +1127,15 @@ private void ensureRolesIsMutable() {
      * 
* * repeated string roles = 3; + * * @return The count of roles. */ public int getRolesCount() { return roles_.size(); } /** + * + * *
      * A list of roles for to grant to the parent resource.
      *
@@ -1056,6 +1152,7 @@ public int getRolesCount() {
      * 
* * repeated string roles = 3; + * * @param index The index of the element to return. * @return The roles at the given index. */ @@ -1063,6 +1160,8 @@ public java.lang.String getRoles(int index) { return roles_.get(index); } /** + * + * *
      * A list of roles for to grant to the parent resource.
      *
@@ -1079,14 +1178,16 @@ public java.lang.String getRoles(int index) {
      * 
* * repeated string roles = 3; + * * @param index The index of the value to return. * @return The bytes of the roles at the given index. */ - public com.google.protobuf.ByteString - getRolesBytes(int index) { + public com.google.protobuf.ByteString getRolesBytes(int index) { return roles_.getByteString(index); } /** + * + * *
      * A list of roles for to grant to the parent resource.
      *
@@ -1103,13 +1204,15 @@ public java.lang.String getRoles(int index) {
      * 
* * repeated string roles = 3; + * * @param index The index to set the value at. * @param value The roles to set. * @return This builder for chaining. */ - public Builder setRoles( - int index, java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRoles(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureRolesIsMutable(); roles_.set(index, value); bitField0_ |= 0x00000004; @@ -1117,6 +1220,8 @@ public Builder setRoles( return this; } /** + * + * *
      * A list of roles for to grant to the parent resource.
      *
@@ -1133,12 +1238,14 @@ public Builder setRoles(
      * 
* * repeated string roles = 3; + * * @param value The roles to add. * @return This builder for chaining. */ - public Builder addRoles( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder addRoles(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureRolesIsMutable(); roles_.add(value); bitField0_ |= 0x00000004; @@ -1146,6 +1253,8 @@ public Builder addRoles( return this; } /** + * + * *
      * A list of roles for to grant to the parent resource.
      *
@@ -1162,19 +1271,20 @@ public Builder addRoles(
      * 
* * repeated string roles = 3; + * * @param values The roles to add. * @return This builder for chaining. */ - public Builder addAllRoles( - java.lang.Iterable values) { + public Builder addAllRoles(java.lang.Iterable values) { ensureRolesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, roles_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, roles_); bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * A list of roles for to grant to the parent resource.
      *
@@ -1191,16 +1301,19 @@ public Builder addAllRoles(
      * 
* * repeated string roles = 3; + * * @return This builder for chaining. */ public Builder clearRoles() { - roles_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000004);; + roles_ = com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000004); + ; onChanged(); return this; } /** + * + * *
      * A list of roles for to grant to the parent resource.
      *
@@ -1217,12 +1330,14 @@ public Builder clearRoles() {
      * 
* * repeated string roles = 3; + * * @param value The bytes of the roles to add. * @return This builder for chaining. */ - public Builder addRolesBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder addRolesBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); ensureRolesIsMutable(); roles_.add(value); @@ -1230,9 +1345,9 @@ public Builder addRolesBytes( onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1242,12 +1357,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.AccessBinding) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.AccessBinding) private static final com.google.analytics.admin.v1alpha.AccessBinding DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.AccessBinding(); } @@ -1256,27 +1371,27 @@ public static com.google.analytics.admin.v1alpha.AccessBinding getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AccessBinding parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AccessBinding parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1291,6 +1406,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1alpha.AccessBinding 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/AccessBindingName.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessBindingName.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/AccessBindingName.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessBindingName.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessBindingOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessBindingOrBuilder.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/AccessBindingOrBuilder.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessBindingOrBuilder.java index 4b8c391e35ef..acb92d979e58 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessBindingOrBuilder.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AccessBindingOrBuilder.java @@ -1,45 +1,71 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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 AccessBindingOrBuilder extends +public interface AccessBindingOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.AccessBinding) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * If set, the email address of the user to set roles for.
    * Format: "someuser@gmail.com"
    * 
* * string user = 2; + * * @return Whether the user field is set. */ boolean hasUser(); /** + * + * *
    * If set, the email address of the user to set roles for.
    * Format: "someuser@gmail.com"
    * 
* * string user = 2; + * * @return The user. */ java.lang.String getUser(); /** + * + * *
    * If set, the email address of the user to set roles for.
    * Format: "someuser@gmail.com"
    * 
* * string user = 2; + * * @return The bytes for user. */ - com.google.protobuf.ByteString - getUserBytes(); + com.google.protobuf.ByteString getUserBytes(); /** + * + * *
    * Output only. Resource name of this binding.
    *
@@ -51,10 +77,13 @@ public interface AccessBindingOrBuilder extends
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Output only. Resource name of this binding.
    *
@@ -66,12 +95,14 @@ public interface AccessBindingOrBuilder 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(); /** + * + * *
    * A list of roles for to grant to the parent resource.
    *
@@ -88,11 +119,13 @@ public interface AccessBindingOrBuilder extends
    * 
* * repeated string roles = 3; + * * @return A list containing the roles. */ - java.util.List - getRolesList(); + java.util.List getRolesList(); /** + * + * *
    * A list of roles for to grant to the parent resource.
    *
@@ -109,10 +142,13 @@ public interface AccessBindingOrBuilder extends
    * 
* * repeated string roles = 3; + * * @return The count of roles. */ int getRolesCount(); /** + * + * *
    * A list of roles for to grant to the parent resource.
    *
@@ -129,11 +165,14 @@ public interface AccessBindingOrBuilder extends
    * 
* * repeated string roles = 3; + * * @param index The index of the element to return. * @return The roles at the given index. */ java.lang.String getRoles(int index); /** + * + * *
    * A list of roles for to grant to the parent resource.
    *
@@ -150,11 +189,11 @@ public interface AccessBindingOrBuilder extends
    * 
* * repeated string roles = 3; + * * @param index The index of the value to return. * @return The bytes of the roles at the given index. */ - com.google.protobuf.ByteString - getRolesBytes(int index); + com.google.protobuf.ByteString getRolesBytes(int index); com.google.analytics.admin.v1alpha.AccessBinding.AccessTargetCase getAccessTargetCase(); } 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 4ebd611a593e..876bd277a0fc 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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,28 +44,32 @@ private AccessDateRange() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new AccessDateRange(); } - 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
@@ -56,6 +78,7 @@ protected java.lang.Object newInstance(
    * 
* * string start_date = 1; + * * @return The startDate. */ @java.lang.Override @@ -64,14 +87,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
@@ -80,16 +104,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 { @@ -98,9 +121,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
@@ -109,6 +135,7 @@ public java.lang.String getStartDate() {
    * 
* * string end_date = 2; + * * @return The endDate. */ @java.lang.Override @@ -117,14 +144,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
@@ -133,16 +161,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 { @@ -151,6 +178,7 @@ public java.lang.String getEndDate() { } 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(startDate_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, startDate_); } @@ -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.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; } @@ -225,131 +251,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(); @@ -360,9 +390,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 @@ -381,8 +411,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; } @@ -401,38 +434,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; @@ -440,7 +474,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; @@ -477,22 +512,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) { @@ -502,10 +540,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
@@ -514,13 +555,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; @@ -529,6 +570,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
@@ -537,15 +580,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 { @@ -553,6 +595,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
@@ -561,18 +605,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
@@ -581,6 +629,7 @@ public Builder setStartDate(
      * 
* * string start_date = 1; + * * @return This builder for chaining. */ public Builder clearStartDate() { @@ -590,6 +639,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
@@ -598,12 +649,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; @@ -613,6 +666,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
@@ -621,13 +676,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; @@ -636,6 +691,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
@@ -644,15 +701,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 { @@ -660,6 +716,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
@@ -668,18 +726,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
@@ -688,6 +750,7 @@ public Builder setEndDate(
      * 
* * string end_date = 2; + * * @return This builder for chaining. */ public Builder clearEndDate() { @@ -697,6 +760,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
@@ -705,21 +770,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); } @@ -729,12 +796,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(); } @@ -743,27 +810,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; @@ -778,6 +845,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..247f8e06a04a 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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 5089686e29d5..042c4dc62a41 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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,43 +29,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();
   }
 
-  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)
@@ -58,6 +80,7 @@ protected java.lang.Object newInstance(
    * 
* * string dimension_name = 1; + * * @return The dimensionName. */ @java.lang.Override @@ -66,14 +89,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)
@@ -83,16 +107,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 { @@ -101,6 +124,7 @@ public java.lang.String getDimensionName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -112,8 +136,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -137,15 +160,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; } @@ -165,98 +188,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.
@@ -265,33 +293,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();
@@ -301,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_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
@@ -322,8 +349,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;
     }
@@ -339,38 +369,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;
@@ -378,7 +409,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;
@@ -410,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) {
@@ -430,10 +464,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 +480,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 +495,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)
@@ -467,15 +506,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 { @@ -483,6 +521,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)
@@ -492,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)
@@ -513,6 +557,7 @@ public Builder setDimensionName(
      * 
* * string dimension_name = 1; + * * @return This builder for chaining. */ public Builder clearDimensionName() { @@ -522,6 +567,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)
@@ -531,21 +578,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); } @@ -555,12 +604,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(); } @@ -569,27 +618,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; @@ -604,6 +653,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 c0e83604976d..88a685aa83c5 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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,48 +30,54 @@
  *
  * 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();
   }
 
-  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 @@ -63,29 +86,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 { @@ -94,6 +117,7 @@ public java.lang.String getDimensionName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -105,8 +129,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -130,15 +153,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; } @@ -158,98 +181,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
@@ -259,33 +288,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();
@@ -295,9 +323,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
@@ -316,8 +344,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;
     }
@@ -333,38 +364,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;
@@ -372,7 +404,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;
@@ -404,17 +437,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) {
@@ -424,22 +459,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; @@ -448,20 +486,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 { @@ -469,28 +508,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() { @@ -500,26 +546,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); } @@ -529,12 +579,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(); } @@ -543,27 +593,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; @@ -578,6 +628,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..4f2df27eb81f --- /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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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 349fa19c56b7..d2d15b6f4f62 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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)
@@ -17,10 +35,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)
@@ -30,8 +51,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 c93bae03c562..05319b133a6c 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,58 +1,81 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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(); } - 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 @@ -61,30 +84,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 { @@ -93,6 +116,7 @@ public java.lang.String getValue() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -104,8 +128,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -129,15 +152,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; } @@ -157,131 +180,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(); @@ -291,9 +319,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 @@ -312,8 +340,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; } @@ -329,38 +360,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; @@ -368,7 +400,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; @@ -400,17 +433,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) { @@ -420,23 +455,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; @@ -445,21 +483,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 { @@ -467,30 +506,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() { @@ -500,27 +546,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); } @@ -530,12 +580,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(); } @@ -544,27 +594,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; @@ -579,6 +629,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..cf3d8593a487 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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 72% 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 6e271b7ff98a..6a9b186bf221 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,53 +1,75 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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(); } - 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; + @SuppressWarnings("serial") 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), @@ -55,6 +77,7 @@ public enum OneFilterCase BETWEEN_FILTER(5), ONEFILTER_NOT_SET(0); private final int value; + private OneFilterCase(int value) { this.value = value; } @@ -70,32 +93,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 @@ -103,21 +134,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.
    * 
@@ -127,18 +163,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 @@ -146,21 +185,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.
    * 
@@ -170,18 +214,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 @@ -189,21 +236,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.
    * 
@@ -211,20 +263,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 @@ -232,21 +288,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.
    * 
@@ -254,22 +315,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 @@ -278,29 +344,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 { @@ -309,6 +375,7 @@ public java.lang.String getFieldName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -320,8 +387,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -350,20 +416,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; @@ -373,32 +443,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: @@ -441,132 +507,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(); @@ -590,9 +660,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 @@ -611,8 +681,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; @@ -628,20 +701,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(); } } @@ -650,38 +719,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; @@ -689,32 +759,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(); @@ -742,45 +818,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) { @@ -790,12 +864,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() { @@ -808,13 +882,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 @@ -822,11 +902,14 @@ public boolean hasStringFilter() { return oneFilterCase_ == 2; } /** + * + * *
      * Strings related filter.
      * 
* * .google.analytics.admin.v1alpha.AccessStringFilter string_filter = 2; + * * @return The stringFilter. */ @java.lang.Override @@ -844,6 +927,8 @@ public com.google.analytics.admin.v1alpha.AccessStringFilter getStringFilter() { } } /** + * + * *
      * Strings related filter.
      * 
@@ -864,6 +949,8 @@ public Builder setStringFilter(com.google.analytics.admin.v1alpha.AccessStringFi return this; } /** + * + * *
      * Strings related filter.
      * 
@@ -882,6 +969,8 @@ public Builder setStringFilter( return this; } /** + * + * *
      * Strings related filter.
      * 
@@ -890,10 +979,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; } @@ -909,6 +1002,8 @@ public Builder mergeStringFilter(com.google.analytics.admin.v1alpha.AccessString return this; } /** + * + * *
      * Strings related filter.
      * 
@@ -932,6 +1027,8 @@ public Builder clearStringFilter() { return this; } /** + * + * *
      * Strings related filter.
      * 
@@ -942,6 +1039,8 @@ public com.google.analytics.admin.v1alpha.AccessStringFilter.Builder getStringFi return getStringFilterFieldBuilder().getBuilder(); } /** + * + * *
      * Strings related filter.
      * 
@@ -949,7 +1048,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 { @@ -960,6 +1060,8 @@ public com.google.analytics.admin.v1alpha.AccessStringFilterOrBuilder getStringF } } /** + * + * *
      * Strings related filter.
      * 
@@ -967,14 +1069,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()); @@ -986,13 +1093,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 @@ -1000,11 +1113,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 @@ -1022,6 +1138,8 @@ public com.google.analytics.admin.v1alpha.AccessInListFilter getInListFilter() { } } /** + * + * *
      * A filter for in list values.
      * 
@@ -1042,6 +1160,8 @@ public Builder setInListFilter(com.google.analytics.admin.v1alpha.AccessInListFi return this; } /** + * + * *
      * A filter for in list values.
      * 
@@ -1060,6 +1180,8 @@ public Builder setInListFilter( return this; } /** + * + * *
      * A filter for in list values.
      * 
@@ -1068,10 +1190,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; } @@ -1087,6 +1213,8 @@ public Builder mergeInListFilter(com.google.analytics.admin.v1alpha.AccessInList return this; } /** + * + * *
      * A filter for in list values.
      * 
@@ -1110,6 +1238,8 @@ public Builder clearInListFilter() { return this; } /** + * + * *
      * A filter for in list values.
      * 
@@ -1120,6 +1250,8 @@ public com.google.analytics.admin.v1alpha.AccessInListFilter.Builder getInListFi return getInListFilterFieldBuilder().getBuilder(); } /** + * + * *
      * A filter for in list values.
      * 
@@ -1127,7 +1259,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 { @@ -1138,6 +1271,8 @@ public com.google.analytics.admin.v1alpha.AccessInListFilterOrBuilder getInListF } } /** + * + * *
      * A filter for in list values.
      * 
@@ -1145,14 +1280,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()); @@ -1164,13 +1304,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 @@ -1178,11 +1324,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 @@ -1200,6 +1349,8 @@ public com.google.analytics.admin.v1alpha.AccessNumericFilter getNumericFilter() } } /** + * + * *
      * A filter for numeric or date values.
      * 
@@ -1220,6 +1371,8 @@ public Builder setNumericFilter(com.google.analytics.admin.v1alpha.AccessNumeric return this; } /** + * + * *
      * A filter for numeric or date values.
      * 
@@ -1238,18 +1391,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; } @@ -1265,6 +1425,8 @@ public Builder mergeNumericFilter(com.google.analytics.admin.v1alpha.AccessNumer return this; } /** + * + * *
      * A filter for numeric or date values.
      * 
@@ -1288,16 +1450,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.
      * 
@@ -1305,7 +1472,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 { @@ -1316,6 +1484,8 @@ public com.google.analytics.admin.v1alpha.AccessNumericFilterOrBuilder getNumeri } } /** + * + * *
      * A filter for numeric or date values.
      * 
@@ -1323,14 +1493,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()); @@ -1342,13 +1517,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 @@ -1356,11 +1537,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 @@ -1378,6 +1562,8 @@ public com.google.analytics.admin.v1alpha.AccessBetweenFilter getBetweenFilter() } } /** + * + * *
      * A filter for two values.
      * 
@@ -1398,6 +1584,8 @@ public Builder setBetweenFilter(com.google.analytics.admin.v1alpha.AccessBetween return this; } /** + * + * *
      * A filter for two values.
      * 
@@ -1416,18 +1604,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; } @@ -1443,6 +1638,8 @@ public Builder mergeBetweenFilter(com.google.analytics.admin.v1alpha.AccessBetwe return this; } /** + * + * *
      * A filter for two values.
      * 
@@ -1466,16 +1663,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.
      * 
@@ -1483,7 +1685,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 { @@ -1494,6 +1697,8 @@ public com.google.analytics.admin.v1alpha.AccessBetweenFilterOrBuilder getBetwee } } /** + * + * *
      * A filter for two values.
      * 
@@ -1501,14 +1706,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()); @@ -1521,18 +1731,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; @@ -1541,20 +1753,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 { @@ -1562,28 +1775,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() { @@ -1593,26 +1813,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); } @@ -1622,12 +1846,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(); } @@ -1636,27 +1860,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; @@ -1671,6 +1895,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 224d114fea35..79e79a4c7a36 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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,43 +28,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();
   }
 
-  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;
+
   @SuppressWarnings("serial")
   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),
@@ -55,6 +76,7 @@ public enum OneExpressionCase
     ACCESS_FILTER(4),
     ONEEXPRESSION_NOT_SET(0);
     private final int value;
+
     private OneExpressionCase(int value) {
       this.value = value;
     }
@@ -70,32 +92,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 @@ -103,21 +133,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.
    * 
@@ -125,20 +160,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 @@ -146,21 +185,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.
    * 
@@ -168,20 +212,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 @@ -189,21 +237,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.
    * 
@@ -211,21 +264,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 @@ -233,22 +290,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.
@@ -259,12 +321,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;
@@ -276,16 +339,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_);
@@ -300,20 +365,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;
@@ -323,30 +392,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:
@@ -388,98 +454,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.
@@ -487,33 +559,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();
@@ -536,9 +607,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
@@ -557,8 +628,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;
@@ -568,23 +642,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();
       }
     }
@@ -593,38 +664,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;
@@ -632,27 +704,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();
@@ -680,40 +758,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) {
@@ -723,12 +798,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() {
@@ -741,13 +816,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 @@ -755,11 +836,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 @@ -777,13 +861,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(); @@ -797,6 +884,8 @@ public Builder setAndGroup(com.google.analytics.admin.v1alpha.AccessFilterExpres return this; } /** + * + * *
      * Each of the FilterExpressions in the and_group has an AND relationship.
      * 
@@ -815,18 +904,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; } @@ -842,6 +940,8 @@ public Builder mergeAndGroup(com.google.analytics.admin.v1alpha.AccessFilterExpr return this; } /** + * + * *
      * Each of the FilterExpressions in the and_group has an AND relationship.
      * 
@@ -865,16 +965,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.
      * 
@@ -882,7 +987,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 { @@ -893,6 +999,8 @@ public com.google.analytics.admin.v1alpha.AccessFilterExpressionListOrBuilder ge } } /** + * + * *
      * Each of the FilterExpressions in the and_group has an AND relationship.
      * 
@@ -900,14 +1008,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()); @@ -919,13 +1033,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 @@ -933,11 +1053,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 @@ -955,6 +1078,8 @@ public com.google.analytics.admin.v1alpha.AccessFilterExpressionList getOrGroup( } } /** + * + * *
      * Each of the FilterExpressions in the or_group has an OR relationship.
      * 
@@ -975,6 +1100,8 @@ public Builder setOrGroup(com.google.analytics.admin.v1alpha.AccessFilterExpress return this; } /** + * + * *
      * Each of the FilterExpressions in the or_group has an OR relationship.
      * 
@@ -993,18 +1120,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; } @@ -1020,6 +1156,8 @@ public Builder mergeOrGroup(com.google.analytics.admin.v1alpha.AccessFilterExpre return this; } /** + * + * *
      * Each of the FilterExpressions in the or_group has an OR relationship.
      * 
@@ -1043,16 +1181,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.
      * 
@@ -1060,7 +1203,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 { @@ -1071,6 +1215,8 @@ public com.google.analytics.admin.v1alpha.AccessFilterExpressionListOrBuilder ge } } /** + * + * *
      * Each of the FilterExpressions in the or_group has an OR relationship.
      * 
@@ -1078,14 +1224,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()); @@ -1097,13 +1249,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 @@ -1111,11 +1269,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 @@ -1133,13 +1294,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(); @@ -1153,6 +1317,8 @@ public Builder setNotExpression(com.google.analytics.admin.v1alpha.AccessFilterE return this; } /** + * + * *
      * The FilterExpression is NOT of not_expression.
      * 
@@ -1171,18 +1337,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; } @@ -1198,6 +1371,8 @@ public Builder mergeNotExpression(com.google.analytics.admin.v1alpha.AccessFilte return this; } /** + * + * *
      * The FilterExpression is NOT of not_expression.
      * 
@@ -1221,16 +1396,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.
      * 
@@ -1238,7 +1418,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 { @@ -1249,6 +1430,8 @@ public com.google.analytics.admin.v1alpha.AccessFilterExpressionOrBuilder getNot } } /** + * + * *
      * The FilterExpression is NOT of not_expression.
      * 
@@ -1256,14 +1439,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()); @@ -1275,14 +1464,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 @@ -1290,12 +1485,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 @@ -1313,6 +1511,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.
@@ -1334,6 +1534,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.
@@ -1353,6 +1555,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.
@@ -1362,10 +1566,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;
         }
@@ -1381,6 +1589,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.
@@ -1405,6 +1615,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.
@@ -1416,6 +1628,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.
@@ -1435,6 +1649,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.
@@ -1443,14 +1659,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());
@@ -1460,9 +1681,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);
     }
 
@@ -1472,12 +1693,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();
   }
@@ -1486,27 +1707,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;
@@ -1521,6 +1742,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 30134ee21877..36329924d6b0 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,52 +1,74 @@
+/*
+ * Copyright 2023 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for 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(); } - 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.
    * 
@@ -54,10 +76,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.
    * 
@@ -65,11 +90,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.
    * 
@@ -81,6 +109,8 @@ public int getExpressionsCount() { return expressions_.size(); } /** + * + * *
    * A list of filter expressions.
    * 
@@ -92,6 +122,8 @@ public com.google.analytics.admin.v1alpha.AccessFilterExpression getExpressions( return expressions_.get(index); } /** + * + * *
    * A list of filter expressions.
    * 
@@ -105,6 +137,7 @@ public com.google.analytics.admin.v1alpha.AccessFilterExpressionOrBuilder getExp } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -116,8 +149,7 @@ public final boolean isInitialized() { } @java.lang.Override - 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)); } @@ -131,8 +163,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; @@ -142,15 +173,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; } @@ -172,131 +203,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(); @@ -312,13 +348,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(); } @@ -333,14 +370,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_); @@ -352,7 +393,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_; } @@ -360,38 +402,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; @@ -399,7 +442,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()) { @@ -418,9 +463,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_); } @@ -452,25 +498,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) { @@ -480,28 +528,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 { @@ -509,6 +567,8 @@ public java.util.List } } /** + * + * *
      * A list of filter expressions.
      * 
@@ -523,6 +583,8 @@ public int getExpressionsCount() { } } /** + * + * *
      * A list of filter expressions.
      * 
@@ -537,6 +599,8 @@ public com.google.analytics.admin.v1alpha.AccessFilterExpression getExpressions( } } /** + * + * *
      * A list of filter expressions.
      * 
@@ -558,6 +622,8 @@ public Builder setExpressions( return this; } /** + * + * *
      * A list of filter expressions.
      * 
@@ -565,7 +631,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()); @@ -576,6 +643,8 @@ public Builder setExpressions( return this; } /** + * + * *
      * A list of filter expressions.
      * 
@@ -596,6 +665,8 @@ public Builder addExpressions(com.google.analytics.admin.v1alpha.AccessFilterExp return this; } /** + * + * *
      * A list of filter expressions.
      * 
@@ -617,6 +688,8 @@ public Builder addExpressions( return this; } /** + * + * *
      * A list of filter expressions.
      * 
@@ -635,6 +708,8 @@ public Builder addExpressions( return this; } /** + * + * *
      * A list of filter expressions.
      * 
@@ -642,7 +717,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()); @@ -653,6 +729,8 @@ public Builder addExpressions( return this; } /** + * + * *
      * A list of filter expressions.
      * 
@@ -660,11 +738,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); @@ -672,6 +750,8 @@ public Builder addAllExpressions( return this; } /** + * + * *
      * A list of filter expressions.
      * 
@@ -689,6 +769,8 @@ public Builder clearExpressions() { return this; } /** + * + * *
      * A list of filter expressions.
      * 
@@ -706,6 +788,8 @@ public Builder removeExpressions(int index) { return this; } /** + * + * *
      * A list of filter expressions.
      * 
@@ -717,28 +801,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 { @@ -746,17 +836,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.
      * 
@@ -765,37 +861,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); } @@ -805,12 +908,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(); } @@ -819,27 +923,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; @@ -854,6 +958,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..d027c1278bd1 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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 21c5ac939ee1..d64a67c98f4d 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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();
 
-  com.google.analytics.admin.v1alpha.AccessFilterExpression.OneExpressionCase getOneExpressionCase();
+  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 ffac2f94b9a4..aaa838c79645 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 2023 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for 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(); 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 619acc2a6a7a..ffe79ff6e5d9 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,82 +1,109 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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.emptyList(); + values_ = com.google.protobuf.LazyStringArrayList.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new AccessInListFilter(); } - 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.LazyStringArrayList values_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** + * + * *
    * 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. */ @@ -84,27 +111,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 @@ -113,6 +145,7 @@ public boolean getCaseSensitive() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -124,8 +157,7 @@ public final boolean isInitialized() { } @java.lang.Override - 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)); } @@ -150,8 +182,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; @@ -161,17 +192,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; } @@ -188,153 +218,156 @@ 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(); bitField0_ = 0; - values_ = - com.google.protobuf.LazyStringArrayList.emptyList(); + values_ = com.google.protobuf.LazyStringArrayList.emptyList(); caseSensitive_ = false; 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_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 @@ -353,8 +386,11 @@ 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); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.analytics.admin.v1alpha.AccessInListFilter result = + new com.google.analytics.admin.v1alpha.AccessInListFilter(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -374,38 +410,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; @@ -413,7 +450,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_; @@ -453,23 +491,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) { @@ -479,10 +520,12 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private com.google.protobuf.LazyStringArrayList values_ = com.google.protobuf.LazyStringArrayList.emptyList(); + private void ensureValuesIsMutable() { if (!values_.isModifiable()) { values_ = new com.google.protobuf.LazyStringArrayList(values_); @@ -490,35 +533,43 @@ private void ensureValuesIsMutable() { 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() { values_.makeImmutable(); 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. */ @@ -526,31 +577,37 @@ 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); bitField0_ |= 0x00000001; @@ -558,17 +615,21 @@ public Builder setValues( 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); bitField0_ |= 0x00000001; @@ -576,50 +637,58 @@ public Builder addValues( 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_); bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * The list of string values. Must be non-empty.
      * 
* * repeated string values = 1; + * * @return This builder for chaining. */ public Builder clearValues() { - values_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000001);; + values_ = com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001); + ; onChanged(); return this; } /** + * + * *
      * The list of string values. Must be non-empty.
      * 
* * repeated string values = 1; + * * @param value The bytes of the values to add. * @return This builder for chaining. */ - public Builder addValuesBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder addValuesBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); ensureValuesIsMutable(); values_.add(value); @@ -628,13 +697,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 @@ -642,11 +714,14 @@ 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. */ @@ -658,11 +733,14 @@ public Builder setCaseSensitive(boolean value) { return this; } /** + * + * *
      * If true, the string value is case sensitive.
      * 
* * bool case_sensitive = 2; + * * @return This builder for chaining. */ public Builder clearCaseSensitive() { @@ -671,9 +749,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); } @@ -683,12 +761,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(); } @@ -697,27 +775,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; @@ -732,6 +810,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..61c37ef163af 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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 69% 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 8acee04c774c..eda3b9b9166a 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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,43 +28,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();
   }
 
-  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)
@@ -57,6 +79,7 @@ protected java.lang.Object newInstance(
    * 
* * string metric_name = 1; + * * @return The metricName. */ @java.lang.Override @@ -65,14 +88,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)
@@ -82,16 +106,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 { @@ -100,6 +123,7 @@ public java.lang.String getMetricName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -111,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(metricName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, metricName_); } @@ -136,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.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; } @@ -163,99 +186,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.
@@ -263,33 +291,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();
@@ -299,9 +326,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
@@ -320,8 +347,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;
     }
@@ -337,38 +367,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;
@@ -376,7 +407,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;
@@ -408,17 +440,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) {
@@ -428,10 +462,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 +478,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 +493,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)
@@ -465,15 +504,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 { @@ -481,6 +519,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)
@@ -490,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)
@@ -511,6 +555,7 @@ public Builder setMetricName(
      * 
* * string metric_name = 1; + * * @return This builder for chaining. */ public Builder clearMetricName() { @@ -520,6 +565,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)
@@ -529,21 +576,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); } @@ -553,12 +602,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(); } @@ -567,27 +616,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; @@ -602,6 +651,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 e524b28fff8e..48b3da04efb9 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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,48 +30,54 @@
  *
  * 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();
   }
 
-  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 @@ -63,29 +86,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 { @@ -94,6 +117,7 @@ public java.lang.String getMetricName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -105,8 +129,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -130,15 +153,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; } @@ -158,98 +181,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,
@@ -259,33 +288,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();
@@ -295,9 +323,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
@@ -316,8 +344,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;
     }
@@ -333,38 +364,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;
@@ -372,7 +404,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;
@@ -404,17 +437,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) {
@@ -424,22 +459,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; @@ -448,20 +486,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 { @@ -469,28 +508,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() { @@ -500,26 +546,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); } @@ -529,12 +579,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(); } @@ -543,27 +593,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; @@ -578,6 +628,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..4e645aa81827 --- /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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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 d0ba2d021706..3d9117e68b06 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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)
@@ -17,10 +35,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)
@@ -30,8 +51,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 a3fa68120acb..054169552d31 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,57 +1,80 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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(); } - 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 @@ -60,29 +83,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 { @@ -91,6 +114,7 @@ public java.lang.String getValue() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -102,8 +126,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -127,15 +150,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; } @@ -155,131 +178,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(); @@ -289,9 +316,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 @@ -310,8 +337,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; } @@ -327,38 +357,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; @@ -366,7 +397,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; @@ -398,17 +430,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) { @@ -418,22 +452,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; @@ -442,20 +479,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 { @@ -463,28 +501,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() { @@ -494,26 +539,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); } @@ -523,12 +572,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(); } @@ -537,27 +586,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; @@ -572,6 +621,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..2950279bf1bc --- /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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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 d06c01a3cc82..c63575001192 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,58 +1,80 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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(); } - 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.
      * 
@@ -61,6 +83,8 @@ public enum Operation */ OPERATION_UNSPECIFIED(0), /** + * + * *
      * Equal
      * 
@@ -69,6 +93,8 @@ public enum Operation */ EQUAL(1), /** + * + * *
      * Less than
      * 
@@ -77,6 +103,8 @@ public enum Operation */ LESS_THAN(2), /** + * + * *
      * Less than or equal
      * 
@@ -85,6 +113,8 @@ public enum Operation */ LESS_THAN_OR_EQUAL(3), /** + * + * *
      * Greater than
      * 
@@ -93,6 +123,8 @@ public enum Operation */ GREATER_THAN(4), /** + * + * *
      * Greater than or equal
      * 
@@ -104,6 +136,8 @@ public enum Operation ; /** + * + * *
      * Unspecified.
      * 
@@ -112,6 +146,8 @@ public enum Operation */ public static final int OPERATION_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Equal
      * 
@@ -120,6 +156,8 @@ public enum Operation */ public static final int EQUAL_VALUE = 1; /** + * + * *
      * Less than
      * 
@@ -128,6 +166,8 @@ public enum Operation */ public static final int LESS_THAN_VALUE = 2; /** + * + * *
      * Less than or equal
      * 
@@ -136,6 +176,8 @@ public enum Operation */ public static final int LESS_THAN_OR_EQUAL_VALUE = 3; /** + * + * *
      * Greater than
      * 
@@ -144,6 +186,8 @@ public enum Operation */ public static final int GREATER_THAN_VALUE = 4; /** + * + * *
      * Greater than or equal
      * 
@@ -152,7 +196,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( @@ -177,52 +220,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; @@ -242,37 +290,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 @@ -280,18 +342,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.
    * 
@@ -300,10 +369,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; @@ -315,9 +387,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) { @@ -332,13 +405,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; @@ -348,18 +421,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; @@ -384,131 +457,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(); @@ -523,9 +601,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 @@ -544,8 +622,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; } @@ -556,9 +637,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(); } } @@ -566,38 +645,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; @@ -605,7 +685,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()); } @@ -638,24 +719,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) { @@ -665,26 +747,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. */ @@ -695,28 +785,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(); } @@ -726,11 +826,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() { @@ -742,34 +845,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.
      * 
@@ -790,6 +906,8 @@ public Builder setValue(com.google.analytics.admin.v1alpha.NumericValue value) { return this; } /** + * + * *
      * A numeric value or a date value.
      * 
@@ -808,6 +926,8 @@ public Builder setValue( return this; } /** + * + * *
      * A numeric value or a date value.
      * 
@@ -816,9 +936,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; @@ -831,6 +951,8 @@ public Builder mergeValue(com.google.analytics.admin.v1alpha.NumericValue value) return this; } /** + * + * *
      * A numeric value or a date value.
      * 
@@ -848,6 +970,8 @@ public Builder clearValue() { return this; } /** + * + * *
      * A numeric value or a date value.
      * 
@@ -860,6 +984,8 @@ public com.google.analytics.admin.v1alpha.NumericValue.Builder getValueBuilder() return getValueFieldBuilder().getBuilder(); } /** + * + * *
      * A numeric value or a date value.
      * 
@@ -870,11 +996,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.
      * 
@@ -882,21 +1011,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); } @@ -906,12 +1038,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(); } @@ -920,27 +1052,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; @@ -955,6 +1087,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..3636195f7d59 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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 68% 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 f3b73e33e88a..94bf85c177ba 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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,111 +29,126 @@
  *
  * 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();
   }
 
-  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(); } - 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 @@ -125,29 +157,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 { @@ -156,6 +188,7 @@ public java.lang.String getMetricName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -167,8 +200,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -192,15 +224,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; } @@ -220,89 +252,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 @@ -312,39 +349,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(); @@ -354,13 +393,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(); } @@ -375,13 +415,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_; @@ -392,46 +436,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; @@ -463,17 +513,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) { @@ -483,22 +535,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; @@ -507,20 +562,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 { @@ -528,28 +584,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() { @@ -559,23 +622,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) { @@ -588,41 +656,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; @@ -634,71 +705,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; @@ -706,34 +796,38 @@ private DimensionOrderBy() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DimensionOrderBy(); } - 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.
        * 
@@ -742,6 +836,8 @@ public enum OrderType */ ORDER_TYPE_UNSPECIFIED(0), /** + * + * *
        * Alphanumeric sort by Unicode code point. For example, "2" < "A" < "X" <
        * "b" < "z".
@@ -751,6 +847,8 @@ public enum OrderType
        */
       ALPHANUMERIC(1),
       /**
+       *
+       *
        * 
        * Case insensitive alphanumeric sort by lower case Unicode code point.
        * For example, "2" < "A" < "b" < "X" < "z".
@@ -760,6 +858,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" <
@@ -774,6 +874,8 @@ public enum OrderType
       ;
 
       /**
+       *
+       *
        * 
        * Unspecified.
        * 
@@ -782,6 +884,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".
@@ -791,6 +895,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".
@@ -800,6 +906,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" <
@@ -811,7 +919,6 @@ public enum OrderType
        */
       public static final int NUMERIC_VALUE = 3;
 
-
       public final int getNumber() {
         if (this == UNRECOGNIZED) {
           throw new java.lang.IllegalArgumentException(
@@ -836,50 +943,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;
@@ -897,14 +1007,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 @@ -913,29 +1027,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 { @@ -946,30 +1060,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; @@ -981,12 +1113,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); @@ -1001,9 +1135,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; @@ -1013,15 +1149,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; @@ -1044,89 +1180,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 @@ -1136,39 +1278,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(); @@ -1179,14 +1324,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 @@ -1200,13 +1347,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_; @@ -1220,46 +1371,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; @@ -1294,22 +1452,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) { @@ -1319,22 +1480,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; @@ -1343,20 +1507,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 { @@ -1364,28 +1529,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() { @@ -1395,17 +1567,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; @@ -1415,22 +1591,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. */ @@ -1441,28 +1628,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(); } @@ -1472,11 +1676,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() { @@ -1485,6 +1694,7 @@ public Builder clearOrderType() { onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1497,41 +1707,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; @@ -1543,22 +1756,26 @@ 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; + @SuppressWarnings("serial") 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; } @@ -1574,30 +1791,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 @@ -1605,21 +1828,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.
    * 
@@ -1627,20 +1855,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 @@ -1648,21 +1880,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.
    * 
@@ -1670,9 +1907,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(); } @@ -1680,12 +1918,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 @@ -1694,6 +1935,7 @@ public boolean getDesc() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1705,13 +1947,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_); @@ -1726,16 +1969,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; @@ -1745,24 +1989,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: @@ -1779,8 +2021,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; @@ -1798,99 +2039,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
@@ -1899,33 +2145,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();
@@ -1943,9 +2188,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
@@ -1964,8 +2209,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;
@@ -1981,12 +2229,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();
       }
     }
@@ -1995,38 +2241,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;
@@ -2034,22 +2281,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();
@@ -2077,31 +2328,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) {
@@ -2111,12 +2362,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() {
@@ -2129,13 +2380,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 @@ -2143,11 +2400,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 @@ -2165,6 +2425,8 @@ public com.google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderBy getMetric( } } /** + * + * *
      * Sorts results by a metric's values.
      * 
@@ -2185,6 +2447,8 @@ public Builder setMetric(com.google.analytics.admin.v1alpha.AccessOrderBy.Metric return this; } /** + * + * *
      * Sorts results by a metric's values.
      * 
@@ -2203,18 +2467,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; } @@ -2230,6 +2502,8 @@ public Builder mergeMetric(com.google.analytics.admin.v1alpha.AccessOrderBy.Metr return this; } /** + * + * *
      * Sorts results by a metric's values.
      * 
@@ -2253,16 +2527,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.
      * 
@@ -2270,7 +2549,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 { @@ -2281,6 +2561,8 @@ public com.google.analytics.admin.v1alpha.AccessOrderBy.MetricOrderByOrBuilder g } } /** + * + * *
      * Sorts results by a metric's values.
      * 
@@ -2288,14 +2570,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()); @@ -2307,13 +2595,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 @@ -2321,11 +2615,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 @@ -2334,22 +2631,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(); @@ -2363,6 +2665,8 @@ public Builder setDimension(com.google.analytics.admin.v1alpha.AccessOrderBy.Dim return this; } /** + * + * *
      * Sorts results by a dimension's values.
      * 
@@ -2381,18 +2685,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; } @@ -2408,6 +2721,8 @@ public Builder mergeDimension(com.google.analytics.admin.v1alpha.AccessOrderBy.D return this; } /** + * + * *
      * Sorts results by a dimension's values.
      * 
@@ -2431,16 +2746,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.
      * 
@@ -2448,17 +2768,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.
      * 
@@ -2466,14 +2790,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()); @@ -2484,14 +2815,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 @@ -2499,12 +2833,15 @@ 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. */ @@ -2516,12 +2853,15 @@ public Builder setDesc(boolean value) { 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() { @@ -2530,9 +2870,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); } @@ -2542,12 +2882,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(); } @@ -2556,27 +2896,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; @@ -2591,6 +2931,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 35b0c173949f..f4c7caecc2b5 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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 157d2ac4bd31..8894ffebbf0f 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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,47 +29,51 @@
  *
  * 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();
   }
 
-  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 @@ -60,19 +81,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.
@@ -82,12 +110,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,
@@ -95,6 +127,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 @@ -102,6 +135,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,
@@ -109,13 +144,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,
@@ -126,17 +166,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 @@ -144,18 +189,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.
    * 
@@ -163,19 +215,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 @@ -183,34 +242,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
@@ -219,6 +292,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 @@ -226,6 +300,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
@@ -234,13 +310,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
@@ -251,11 +332,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;
@@ -267,8 +352,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
     if (tokensPerDay_ != null) {
       output.writeMessage(1, getTokensPerDay());
     }
@@ -294,24 +378,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;
@@ -321,37 +403,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;
@@ -389,99 +469,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
@@ -490,33 +575,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();
@@ -550,9 +634,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
@@ -571,8 +655,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;
     }
@@ -580,29 +667,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();
       }
     }
 
@@ -610,38 +698,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;
@@ -691,47 +780,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) {
@@ -741,40 +829,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.
@@ -796,6 +898,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.
@@ -815,6 +919,8 @@ public Builder setTokensPerDay(
       return this;
     }
     /**
+     *
+     *
      * 
      * Properties can use 250,000 tokens per day. Most requests consume fewer than
      * 10 tokens.
@@ -824,9 +930,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;
@@ -839,6 +946,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.
@@ -857,6 +966,8 @@ public Builder clearTokensPerDay() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Properties can use 250,000 tokens per day. Most requests consume fewer than
      * 10 tokens.
@@ -870,6 +981,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.
@@ -877,15 +990,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.
@@ -894,14 +1011,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_;
@@ -909,8 +1029,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,
@@ -918,12 +1043,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,
@@ -931,16 +1059,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,
@@ -963,6 +1096,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,
@@ -983,6 +1118,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,
@@ -993,9 +1130,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;
@@ -1008,6 +1146,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,
@@ -1027,6 +1167,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,
@@ -1041,6 +1183,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,
@@ -1049,15 +1193,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,
@@ -1067,14 +1215,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_;
@@ -1082,41 +1233,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(); @@ -1130,6 +1295,8 @@ public Builder setConcurrentRequests(com.google.analytics.admin.v1alpha.AccessQu return this; } /** + * + * *
      * Properties can use up to 50 concurrent requests.
      * 
@@ -1148,17 +1315,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; @@ -1171,6 +1342,8 @@ public Builder mergeConcurrentRequests(com.google.analytics.admin.v1alpha.Access return this; } /** + * + * *
      * Properties can use up to 50 concurrent requests.
      * 
@@ -1188,33 +1361,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.
      * 
@@ -1222,14 +1404,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_; @@ -1237,44 +1422,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(); @@ -1288,12 +1493,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) { @@ -1307,18 +1516,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; @@ -1331,12 +1546,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); @@ -1349,51 +1568,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_; @@ -1401,8 +1638,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
@@ -1410,13 +1652,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
@@ -1424,17 +1670,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
@@ -1442,9 +1694,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(); @@ -1458,6 +1712,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
@@ -1465,7 +1721,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) { @@ -1479,6 +1736,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
@@ -1486,13 +1745,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; @@ -1505,6 +1767,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
@@ -1512,7 +1776,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); @@ -1525,6 +1790,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
@@ -1532,14 +1799,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
@@ -1547,17 +1818,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
@@ -1565,24 +1841,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); } @@ -1592,12 +1872,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(); } @@ -1606,27 +1886,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; @@ -1641,6 +1921,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..778e4a17dd56 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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 7b74b576b638..2fc3e09078e0 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,55 +1,76 @@
+/*
+ * Copyright 2023 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for 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(); } - 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 @@ -60,11 +81,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 @@ -73,6 +97,7 @@ public int getRemaining() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -84,8 +109,7 @@ public final boolean isInitialized() { } @java.lang.Override - public 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_); } @@ -102,12 +126,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; @@ -117,17 +139,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; } @@ -149,131 +170,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(); @@ -284,9 +309,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 @@ -305,8 +330,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; } @@ -325,38 +353,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; @@ -364,7 +393,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()); } @@ -397,22 +427,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) { @@ -422,15 +455,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 @@ -438,11 +475,14 @@ public int getConsumed() { return consumed_; } /** + * + * *
      * Quota consumed by this request.
      * 
* * int32 consumed = 1; + * * @param value The consumed to set. * @return This builder for chaining. */ @@ -454,11 +494,14 @@ public Builder setConsumed(int value) { return this; } /** + * + * *
      * Quota consumed by this request.
      * 
* * int32 consumed = 1; + * * @return This builder for chaining. */ public Builder clearConsumed() { @@ -468,13 +511,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 @@ -482,11 +528,14 @@ public int getRemaining() { return remaining_; } /** + * + * *
      * Quota remaining after this request.
      * 
* * int32 remaining = 2; + * * @param value The remaining to set. * @return This builder for chaining. */ @@ -498,11 +547,14 @@ public Builder setRemaining(int value) { return this; } /** + * + * *
      * Quota remaining after this request.
      * 
* * int32 remaining = 2; + * * @return This builder for chaining. */ public Builder clearRemaining() { @@ -511,9 +563,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); } @@ -523,12 +575,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(); } @@ -537,27 +589,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; @@ -572,6 +624,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..fbb37de45439 --- /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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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..b814b2809813 --- /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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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(\005By\n\"com.google.analytics.admin.v1al" + + "phaB\021AccessReportProtoP\001Z>cloud.google.c" + + "om/go/analytics/admin/apiv1alpha/adminpb" + + ";adminpbb\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 89e62ec96e4f..f707b926bec0 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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,94 +44,115 @@ private AccessRow() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new AccessRow(); } - 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.
@@ -122,10 +161,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.
@@ -134,11 +176,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.
@@ -151,6 +195,8 @@ public int getMetricValuesCount() {
     return metricValues_.size();
   }
   /**
+   *
+   *
    * 
    * List of metric values. These values are in the same order as specified
    * in the request.
@@ -163,6 +209,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.
@@ -177,6 +225,7 @@ public com.google.analytics.admin.v1alpha.AccessMetricValueOrBuilder getMetricVa
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -188,8 +237,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  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));
     }
@@ -206,12 +254,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;
@@ -221,17 +267,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;
   }
@@ -256,132 +301,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(); @@ -404,9 +453,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 @@ -425,9 +474,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; } @@ -461,38 +513,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; @@ -519,9 +572,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_); } @@ -545,9 +599,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_); } @@ -579,38 +634,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) { @@ -620,29 +678,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 { @@ -650,12 +719,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) { @@ -665,12 +737,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) { @@ -680,12 +755,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) { @@ -702,15 +780,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()); @@ -721,14 +803,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(); @@ -742,12 +828,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) { @@ -764,12 +853,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) { @@ -783,15 +875,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()); @@ -802,19 +898,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); @@ -822,12 +921,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) { @@ -840,12 +942,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) { @@ -858,42 +963,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 { @@ -901,48 +1017,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(), @@ -953,18 +1086,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.
@@ -972,7 +1113,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 {
@@ -980,6 +1122,8 @@ public java.util.List getM
       }
     }
     /**
+     *
+     *
      * 
      * List of metric values. These values are in the same order as specified
      * in the request.
@@ -995,6 +1139,8 @@ public int getMetricValuesCount() {
       }
     }
     /**
+     *
+     *
      * 
      * List of metric values. These values are in the same order as specified
      * in the request.
@@ -1010,6 +1156,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.
@@ -1032,6 +1180,8 @@ public Builder setMetricValues(
       return this;
     }
     /**
+     *
+     *
      * 
      * List of metric values. These values are in the same order as specified
      * in the request.
@@ -1051,6 +1201,8 @@ public Builder setMetricValues(
       return this;
     }
     /**
+     *
+     *
      * 
      * List of metric values. These values are in the same order as specified
      * in the request.
@@ -1072,6 +1224,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.
@@ -1094,6 +1248,8 @@ public Builder addMetricValues(
       return this;
     }
     /**
+     *
+     *
      * 
      * List of metric values. These values are in the same order as specified
      * in the request.
@@ -1113,6 +1269,8 @@ public Builder addMetricValues(
       return this;
     }
     /**
+     *
+     *
      * 
      * List of metric values. These values are in the same order as specified
      * in the request.
@@ -1132,6 +1290,8 @@ public Builder addMetricValues(
       return this;
     }
     /**
+     *
+     *
      * 
      * List of metric values. These values are in the same order as specified
      * in the request.
@@ -1143,8 +1303,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);
@@ -1152,6 +1311,8 @@ public Builder addAllMetricValues(
       return this;
     }
     /**
+     *
+     *
      * 
      * List of metric values. These values are in the same order as specified
      * in the request.
@@ -1170,6 +1331,8 @@ public Builder clearMetricValues() {
       return this;
     }
     /**
+     *
+     *
      * 
      * List of metric values. These values are in the same order as specified
      * in the request.
@@ -1188,6 +1351,8 @@ public Builder removeMetricValues(int index) {
       return this;
     }
     /**
+     *
+     *
      * 
      * List of metric values. These values are in the same order as specified
      * in the request.
@@ -1200,6 +1365,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.
@@ -1210,11 +1377,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.
@@ -1222,8 +1392,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 {
@@ -1231,6 +1401,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.
@@ -1239,10 +1411,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.
@@ -1252,10 +1426,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.
@@ -1263,27 +1440,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);
     }
 
@@ -1293,12 +1473,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();
   }
@@ -1307,27 +1487,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;
@@ -1342,6 +1522,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..667500457ac8 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 2023 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for 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 1921c31d0bf3..896ad7071965 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 2023 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for 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,34 +44,38 @@ private AccessStringFilter() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new AccessStringFilter(); } - 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
      * 
@@ -62,6 +84,8 @@ public enum MatchType */ MATCH_TYPE_UNSPECIFIED(0), /** + * + * *
      * Exact match of the string value.
      * 
@@ -70,6 +94,8 @@ public enum MatchType */ EXACT(1), /** + * + * *
      * Begins with the string value.
      * 
@@ -78,6 +104,8 @@ public enum MatchType */ BEGINS_WITH(2), /** + * + * *
      * Ends with the string value.
      * 
@@ -86,6 +114,8 @@ public enum MatchType */ ENDS_WITH(3), /** + * + * *
      * Contains the string value.
      * 
@@ -94,6 +124,8 @@ public enum MatchType */ CONTAINS(4), /** + * + * *
      * Full match for the regular expression with the string value.
      * 
@@ -102,6 +134,8 @@ public enum MatchType */ FULL_REGEXP(5), /** + * + * *
      * Partial match for the regular expression with the string value.
      * 
@@ -113,6 +147,8 @@ public enum MatchType ; /** + * + * *
      * Unspecified
      * 
@@ -121,6 +157,8 @@ public enum MatchType */ public static final int MATCH_TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Exact match of the string value.
      * 
@@ -129,6 +167,8 @@ public enum MatchType */ public static final int EXACT_VALUE = 1; /** + * + * *
      * Begins with the string value.
      * 
@@ -137,6 +177,8 @@ public enum MatchType */ public static final int BEGINS_WITH_VALUE = 2; /** + * + * *
      * Ends with the string value.
      * 
@@ -145,6 +187,8 @@ public enum MatchType */ public static final int ENDS_WITH_VALUE = 3; /** + * + * *
      * Contains the string value.
      * 
@@ -153,6 +197,8 @@ public enum MatchType */ public static final int CONTAINS_VALUE = 4; /** + * + * *
      * Full match for the regular expression with the string value.
      * 
@@ -161,6 +207,8 @@ public enum MatchType */ public static final int FULL_REGEXP_VALUE = 5; /** + * + * *
      * Partial match for the regular expression with the string value.
      * 
@@ -169,7 +217,6 @@ public enum MatchType */ public static final int PARTIAL_REGEXP_VALUE = 6; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -194,53 +241,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; @@ -260,38 +313,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 @@ -300,29 +368,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 { @@ -333,11 +401,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 @@ -346,6 +417,7 @@ public boolean getCaseSensitive() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -357,9 +429,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_)) { @@ -377,16 +450,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; @@ -396,18 +469,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; } @@ -424,139 +496,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(); @@ -568,9 +644,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 @@ -589,8 +665,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; } @@ -612,38 +691,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; @@ -651,7 +731,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()); } @@ -689,27 +770,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) { @@ -719,26 +804,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. */ @@ -749,28 +842,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(); } @@ -780,11 +883,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() { @@ -796,18 +902,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; @@ -816,20 +924,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 { @@ -837,28 +946,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() { @@ -868,17 +984,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; @@ -886,13 +1006,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 @@ -900,11 +1023,14 @@ 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. */ @@ -916,11 +1042,14 @@ public Builder setCaseSensitive(boolean value) { return this; } /** + * + * *
      * If true, the string value is case sensitive.
      * 
* * bool case_sensitive = 3; + * * @return This builder for chaining. */ public Builder clearCaseSensitive() { @@ -929,9 +1058,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); } @@ -941,12 +1070,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(); } @@ -955,27 +1084,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; @@ -990,6 +1119,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..6833eed44b7c 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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 a790842cfde2..fb2cbcaa74a7 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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,28 +45,32 @@ private Account() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Account(); } - 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}
@@ -56,6 +78,7 @@ protected java.lang.Object newInstance(
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ @java.lang.Override @@ -64,14 +87,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}
@@ -79,16 +103,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 { @@ -99,11 +122,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 @@ -111,11 +138,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 @@ -123,11 +154,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() { @@ -137,11 +171,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 @@ -149,11 +187,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 @@ -161,11 +203,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() { @@ -173,14 +218,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 @@ -189,29 +238,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 { @@ -220,14 +269,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 @@ -236,29 +289,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 { @@ -269,12 +322,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 @@ -283,6 +339,7 @@ public boolean getDeleted() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -294,8 +351,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -327,12 +383,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_); @@ -341,8 +395,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; @@ -352,31 +405,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; } @@ -403,139 +451,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(); @@ -558,9 +609,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 @@ -579,8 +630,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; } @@ -591,14 +645,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_; @@ -615,38 +665,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; @@ -705,46 +756,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) { @@ -754,10 +808,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}
@@ -765,13 +822,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; @@ -780,6 +837,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. Resource name of this account.
      * Format: accounts/{account}
@@ -787,15 +846,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 { @@ -803,6 +861,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. Resource name of this account.
      * Format: accounts/{account}
@@ -810,18 +870,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}
@@ -829,6 +893,7 @@ public Builder setName(
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearName() { @@ -838,6 +903,8 @@ public Builder clearName() { return this; } /** + * + * *
      * Output only. Resource name of this account.
      * Format: accounts/{account}
@@ -845,12 +912,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; @@ -860,39 +929,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) { @@ -908,14 +996,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 { @@ -926,17 +1017,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; @@ -949,11 +1044,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); @@ -966,11 +1065,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; @@ -978,36 +1081,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_; @@ -1015,39 +1130,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) { @@ -1063,14 +1197,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 { @@ -1081,17 +1218,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; @@ -1104,11 +1245,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); @@ -1121,11 +1266,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; @@ -1133,36 +1282,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_; @@ -1170,18 +1331,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; @@ -1190,20 +1353,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 { @@ -1211,28 +1375,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() { @@ -1242,17 +1413,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; @@ -1262,18 +1437,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; @@ -1282,20 +1459,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 { @@ -1303,28 +1481,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() { @@ -1334,17 +1519,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; @@ -1352,14 +1541,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 @@ -1367,12 +1559,15 @@ 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. */ @@ -1384,12 +1579,15 @@ public Builder setDeleted(boolean value) { 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() { @@ -1398,9 +1596,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); } @@ -1410,12 +1608,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(); } @@ -1424,27 +1622,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; @@ -1459,6 +1657,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..99d18d484803 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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 f055482b4222..f303b107c94b 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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,28 +47,32 @@ private AccountSummary() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new AccountSummary();
   }
 
-  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}
@@ -58,6 +80,7 @@ protected java.lang.Object newInstance(
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -66,14 +89,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}
@@ -81,16 +105,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 { @@ -99,9 +122,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}
@@ -109,6 +135,7 @@ public java.lang.String getName() {
    * 
* * string account = 2 [(.google.api.resource_reference) = { ... } + * * @return The account. */ @java.lang.Override @@ -117,14 +144,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}
@@ -132,16 +160,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 { @@ -150,14 +177,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 @@ -166,29 +197,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 { @@ -197,9 +228,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.
    * 
@@ -207,10 +241,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.
    * 
@@ -218,11 +255,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.
    * 
@@ -234,6 +273,8 @@ public int getPropertySummariesCount() { return propertySummaries_.size(); } /** + * + * *
    * List of summaries for child accounts of this account.
    * 
@@ -245,6 +286,8 @@ public com.google.analytics.admin.v1alpha.PropertySummary getPropertySummaries(i return propertySummaries_.get(index); } /** + * + * *
    * List of summaries for child accounts of this account.
    * 
@@ -258,6 +301,7 @@ public com.google.analytics.admin.v1alpha.PropertySummaryOrBuilder getPropertySu } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -269,8 +313,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -302,8 +345,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; @@ -313,21 +356,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; } @@ -355,98 +395,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.
@@ -454,33 +499,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();
@@ -499,9 +543,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
@@ -520,14 +564,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_);
@@ -556,38 +604,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;
@@ -595,7 +644,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;
@@ -629,9 +679,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_);
           }
@@ -663,40 +714,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) {
@@ -706,10 +762,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}
@@ -717,13 +776,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; @@ -732,6 +791,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Resource name for this account summary.
      * Format: accountSummaries/{account_id}
@@ -739,15 +800,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 { @@ -755,6 +815,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Resource name for this account summary.
      * Format: accountSummaries/{account_id}
@@ -762,18 +824,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}
@@ -781,6 +847,7 @@ public Builder setName(
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { @@ -790,6 +857,8 @@ public Builder clearName() { return this; } /** + * + * *
      * Resource name for this account summary.
      * Format: accountSummaries/{account_id}
@@ -797,12 +866,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; @@ -812,6 +883,8 @@ public Builder setNameBytes( private java.lang.Object account_ = ""; /** + * + * *
      * Resource name of account referred to by this account summary
      * Format: accounts/{account_id}
@@ -819,13 +892,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; @@ -834,6 +907,8 @@ public java.lang.String getAccount() { } } /** + * + * *
      * Resource name of account referred to by this account summary
      * Format: accounts/{account_id}
@@ -841,15 +916,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 { @@ -857,6 +931,8 @@ public java.lang.String getAccount() { } } /** + * + * *
      * Resource name of account referred to by this account summary
      * Format: accounts/{account_id}
@@ -864,18 +940,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}
@@ -883,6 +963,7 @@ public Builder setAccount(
      * 
* * string account = 2 [(.google.api.resource_reference) = { ... } + * * @return This builder for chaining. */ public Builder clearAccount() { @@ -892,6 +973,8 @@ public Builder clearAccount() { return this; } /** + * + * *
      * Resource name of account referred to by this account summary
      * Format: accounts/{account_id}
@@ -899,12 +982,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; @@ -914,18 +999,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; @@ -934,20 +1021,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 { @@ -955,28 +1043,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() { @@ -986,17 +1081,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; @@ -1005,25 +1104,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 { @@ -1031,6 +1139,8 @@ public java.util.List getPro } } /** + * + * *
      * List of summaries for child accounts of this account.
      * 
@@ -1045,6 +1155,8 @@ public int getPropertySummariesCount() { } } /** + * + * *
      * List of summaries for child accounts of this account.
      * 
@@ -1059,6 +1171,8 @@ public com.google.analytics.admin.v1alpha.PropertySummary getPropertySummaries(i } } /** + * + * *
      * List of summaries for child accounts of this account.
      * 
@@ -1080,6 +1194,8 @@ public Builder setPropertySummaries( return this; } /** + * + * *
      * List of summaries for child accounts of this account.
      * 
@@ -1098,6 +1214,8 @@ public Builder setPropertySummaries( return this; } /** + * + * *
      * List of summaries for child accounts of this account.
      * 
@@ -1118,6 +1236,8 @@ public Builder addPropertySummaries(com.google.analytics.admin.v1alpha.PropertyS return this; } /** + * + * *
      * List of summaries for child accounts of this account.
      * 
@@ -1139,6 +1259,8 @@ public Builder addPropertySummaries( return this; } /** + * + * *
      * List of summaries for child accounts of this account.
      * 
@@ -1157,6 +1279,8 @@ public Builder addPropertySummaries( return this; } /** + * + * *
      * List of summaries for child accounts of this account.
      * 
@@ -1175,6 +1299,8 @@ public Builder addPropertySummaries( return this; } /** + * + * *
      * List of summaries for child accounts of this account.
      * 
@@ -1185,8 +1311,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); @@ -1194,6 +1319,8 @@ public Builder addAllPropertySummaries( return this; } /** + * + * *
      * List of summaries for child accounts of this account.
      * 
@@ -1211,6 +1338,8 @@ public Builder clearPropertySummaries() { return this; } /** + * + * *
      * List of summaries for child accounts of this account.
      * 
@@ -1228,6 +1357,8 @@ public Builder removePropertySummaries(int index) { return this; } /** + * + * *
      * List of summaries for child accounts of this account.
      * 
@@ -1239,28 +1370,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 { @@ -1268,17 +1404,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.
      * 
@@ -1287,26 +1428,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(), @@ -1315,9 +1465,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); } @@ -1327,12 +1477,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(); } @@ -1341,27 +1491,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; @@ -1376,6 +1526,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..c43a56d07c07 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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 ff3b41b21de5..fb5e08ab2380 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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,33 +46,40 @@ private AcknowledgeUserDataCollectionRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new AcknowledgeUserDataCollectionRequest(); } - 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 @@ -61,29 +88,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 { @@ -92,9 +121,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.
@@ -107,6 +139,7 @@ public java.lang.String getProperty() {
    * 
* * string acknowledgement = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The acknowledgement. */ @java.lang.Override @@ -115,14 +148,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.
@@ -135,16 +169,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 { @@ -153,6 +186,7 @@ public java.lang.String getAcknowledgement() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -164,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(property_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, property_); } @@ -195,17 +228,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; } @@ -227,131 +259,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(); @@ -362,19 +402,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); } @@ -383,13 +426,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_; @@ -403,46 +450,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; @@ -479,22 +532,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) { @@ -504,22 +560,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; @@ -528,20 +589,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 { @@ -549,28 +613,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() { @@ -580,17 +655,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; @@ -600,6 +681,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.
@@ -639,15 +724,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 { @@ -655,6 +739,8 @@ public java.lang.String getAcknowledgement() { } } /** + * + * *
      * Required. An acknowledgement that the caller of this method understands the
      * terms of user data collection.
@@ -667,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.
@@ -691,6 +781,7 @@ public Builder setAcknowledgement(
      * 
* * string acknowledgement = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearAcknowledgement() { @@ -700,6 +791,8 @@ public Builder clearAcknowledgement() { return this; } /** + * + * *
      * Required. An acknowledgement that the caller of this method understands the
      * terms of user data collection.
@@ -712,21 +805,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); } @@ -736,41 +831,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; @@ -782,9 +880,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 6bdd382231e6..13c376fe20bd 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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.
@@ -40,10 +67,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.
@@ -56,8 +86,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 f6593ebcd78f..f9c2d117fd2e 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,48 +1,69 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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(); } - 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; @@ -54,8 +75,7 @@ public final boolean isInitialized() { } @java.lang.Override - 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); } @@ -73,12 +93,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; @@ -97,131 +119,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(); @@ -229,19 +259,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); } @@ -250,7 +283,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; } @@ -259,46 +293,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; @@ -325,12 +365,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) { @@ -340,9 +381,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); } @@ -352,41 +393,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; @@ -398,9 +442,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..1edc23223ddb --- /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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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..ae1ad82aa35d 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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..47e9936675b0 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AdSenseLink.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AdSenseLink.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/AdSenseLink.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AdSenseLink.java index e537829af819..9413d5838aa9 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AdSenseLink.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AdSenseLink.java @@ -1,24 +1,42 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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 an AdSense for Content ad client.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.AdSenseLink} */ -public final class AdSenseLink extends - com.google.protobuf.GeneratedMessageV3 implements +public final class AdSenseLink extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.AdSenseLink) AdSenseLinkOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use AdSenseLink.newBuilder() to construct. private AdSenseLink(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private AdSenseLink() { name_ = ""; adClientCode_ = ""; @@ -26,28 +44,32 @@ private AdSenseLink() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new AdSenseLink(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_AdSenseLink_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.ResourcesProto + .internal_static_google_analytics_admin_v1alpha_AdSenseLink_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_AdSenseLink_fieldAccessorTable + return com.google.analytics.admin.v1alpha.ResourcesProto + .internal_static_google_analytics_admin_v1alpha_AdSenseLink_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.AdSenseLink.class, com.google.analytics.admin.v1alpha.AdSenseLink.Builder.class); + com.google.analytics.admin.v1alpha.AdSenseLink.class, + com.google.analytics.admin.v1alpha.AdSenseLink.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 AdSense Link resource.
    * Format: properties/{propertyId}/adSenseLinks/{linkId}
@@ -55,6 +77,7 @@ protected java.lang.Object newInstance(
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ @java.lang.Override @@ -63,14 +86,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 AdSense Link resource.
    * Format: properties/{propertyId}/adSenseLinks/{linkId}
@@ -78,16 +102,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 { @@ -96,15 +119,19 @@ public java.lang.String getName() { } public static final int AD_CLIENT_CODE_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object adClientCode_ = ""; /** + * + * *
    * Immutable. The AdSense ad client code that the GA4 property is linked to.
    * Example format: "ca-pub-1234567890"
    * 
* * string ad_client_code = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return The adClientCode. */ @java.lang.Override @@ -113,30 +140,30 @@ public java.lang.String getAdClientCode() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); adClientCode_ = s; return s; } } /** + * + * *
    * Immutable. The AdSense ad client code that the GA4 property is linked to.
    * Example format: "ca-pub-1234567890"
    * 
* * string ad_client_code = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return The bytes for adClientCode. */ @java.lang.Override - public com.google.protobuf.ByteString - getAdClientCodeBytes() { + public com.google.protobuf.ByteString getAdClientCodeBytes() { java.lang.Object ref = adClientCode_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); adClientCode_ = b; return b; } else { @@ -145,6 +172,7 @@ public java.lang.String getAdClientCode() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -156,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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -187,17 +214,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.AdSenseLink)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.AdSenseLink other = (com.google.analytics.admin.v1alpha.AdSenseLink) obj; + com.google.analytics.admin.v1alpha.AdSenseLink other = + (com.google.analytics.admin.v1alpha.AdSenseLink) obj; - if (!getName() - .equals(other.getName())) return false; - if (!getAdClientCode() - .equals(other.getAdClientCode())) return false; + if (!getName().equals(other.getName())) return false; + if (!getAdClientCode().equals(other.getAdClientCode())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -218,132 +244,136 @@ public int hashCode() { return hash; } - public static com.google.analytics.admin.v1alpha.AdSenseLink parseFrom( - java.nio.ByteBuffer data) + public static com.google.analytics.admin.v1alpha.AdSenseLink parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.AdSenseLink parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.AdSenseLink parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.AdSenseLink parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.AdSenseLink parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.AdSenseLink parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.AdSenseLink 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.AdSenseLink parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.AdSenseLink parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.AdSenseLink parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.analytics.admin.v1alpha.AdSenseLink parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.AdSenseLink parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.AdSenseLink parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.analytics.admin.v1alpha.AdSenseLink prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 an AdSense for Content ad client.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.AdSenseLink} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.AdSenseLink) com.google.analytics.admin.v1alpha.AdSenseLinkOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_AdSenseLink_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.ResourcesProto + .internal_static_google_analytics_admin_v1alpha_AdSenseLink_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_AdSenseLink_fieldAccessorTable + return com.google.analytics.admin.v1alpha.ResourcesProto + .internal_static_google_analytics_admin_v1alpha_AdSenseLink_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.AdSenseLink.class, com.google.analytics.admin.v1alpha.AdSenseLink.Builder.class); + com.google.analytics.admin.v1alpha.AdSenseLink.class, + com.google.analytics.admin.v1alpha.AdSenseLink.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.AdSenseLink.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(); @@ -354,9 +384,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_AdSenseLink_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1alpha.ResourcesProto + .internal_static_google_analytics_admin_v1alpha_AdSenseLink_descriptor; } @java.lang.Override @@ -375,8 +405,11 @@ public com.google.analytics.admin.v1alpha.AdSenseLink build() { @java.lang.Override public com.google.analytics.admin.v1alpha.AdSenseLink buildPartial() { - com.google.analytics.admin.v1alpha.AdSenseLink result = new com.google.analytics.admin.v1alpha.AdSenseLink(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.analytics.admin.v1alpha.AdSenseLink result = + new com.google.analytics.admin.v1alpha.AdSenseLink(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -395,38 +428,39 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.AdSenseLink 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.AdSenseLink) { - return mergeFrom((com.google.analytics.admin.v1alpha.AdSenseLink)other); + return mergeFrom((com.google.analytics.admin.v1alpha.AdSenseLink) other); } else { super.mergeFrom(other); return this; @@ -471,22 +505,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - adClientCode_ = 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: + { + adClientCode_ = 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) { @@ -496,10 +533,13 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Output only. The resource name for this AdSense Link resource.
      * Format: properties/{propertyId}/adSenseLinks/{linkId}
@@ -507,13 +547,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; @@ -522,6 +562,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. The resource name for this AdSense Link resource.
      * Format: properties/{propertyId}/adSenseLinks/{linkId}
@@ -529,15 +571,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 { @@ -545,6 +586,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. The resource name for this AdSense Link resource.
      * Format: properties/{propertyId}/adSenseLinks/{linkId}
@@ -552,18 +595,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 AdSense Link resource.
      * Format: properties/{propertyId}/adSenseLinks/{linkId}
@@ -571,6 +618,7 @@ public Builder setName(
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearName() { @@ -580,6 +628,8 @@ public Builder clearName() { return this; } /** + * + * *
      * Output only. The resource name for this AdSense Link resource.
      * Format: properties/{propertyId}/adSenseLinks/{linkId}
@@ -587,12 +637,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; @@ -602,19 +654,21 @@ public Builder setNameBytes( private java.lang.Object adClientCode_ = ""; /** + * + * *
      * Immutable. The AdSense ad client code that the GA4 property is linked to.
      * Example format: "ca-pub-1234567890"
      * 
* * string ad_client_code = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return The adClientCode. */ public java.lang.String getAdClientCode() { java.lang.Object ref = adClientCode_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); adClientCode_ = s; return s; @@ -623,21 +677,22 @@ public java.lang.String getAdClientCode() { } } /** + * + * *
      * Immutable. The AdSense ad client code that the GA4 property is linked to.
      * Example format: "ca-pub-1234567890"
      * 
* * string ad_client_code = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return The bytes for adClientCode. */ - public com.google.protobuf.ByteString - getAdClientCodeBytes() { + public com.google.protobuf.ByteString getAdClientCodeBytes() { java.lang.Object ref = adClientCode_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); adClientCode_ = b; return b; } else { @@ -645,30 +700,37 @@ public java.lang.String getAdClientCode() { } } /** + * + * *
      * Immutable. The AdSense ad client code that the GA4 property is linked to.
      * Example format: "ca-pub-1234567890"
      * 
* * string ad_client_code = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * * @param value The adClientCode to set. * @return This builder for chaining. */ - public Builder setAdClientCode( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setAdClientCode(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } adClientCode_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Immutable. The AdSense ad client code that the GA4 property is linked to.
      * Example format: "ca-pub-1234567890"
      * 
* * string ad_client_code = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return This builder for chaining. */ public Builder clearAdClientCode() { @@ -678,27 +740,31 @@ public Builder clearAdClientCode() { return this; } /** + * + * *
      * Immutable. The AdSense ad client code that the GA4 property is linked to.
      * Example format: "ca-pub-1234567890"
      * 
* * string ad_client_code = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * * @param value The bytes for adClientCode to set. * @return This builder for chaining. */ - public Builder setAdClientCodeBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setAdClientCodeBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); adClientCode_ = 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); } @@ -708,12 +774,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.AdSenseLink) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.AdSenseLink) private static final com.google.analytics.admin.v1alpha.AdSenseLink DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.AdSenseLink(); } @@ -722,27 +788,27 @@ public static com.google.analytics.admin.v1alpha.AdSenseLink getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AdSenseLink parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AdSenseLink parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.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,6 +823,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1alpha.AdSenseLink 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/AdSenseLinkName.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AdSenseLinkName.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/AdSenseLinkName.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AdSenseLinkName.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AdSenseLinkOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AdSenseLinkOrBuilder.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/AdSenseLinkOrBuilder.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AdSenseLinkOrBuilder.java index 42257b3917b5..a21031bd349b 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AdSenseLinkOrBuilder.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AdSenseLinkOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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 AdSenseLinkOrBuilder extends +public interface AdSenseLinkOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.AdSenseLink) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Output only. The resource name for this AdSense Link resource.
    * Format: properties/{propertyId}/adSenseLinks/{linkId}
@@ -15,10 +33,13 @@ public interface AdSenseLinkOrBuilder extends
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Output only. The resource name for this AdSense Link resource.
    * Format: properties/{propertyId}/adSenseLinks/{linkId}
@@ -26,30 +47,35 @@ public interface AdSenseLinkOrBuilder 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 AdSense ad client code that the GA4 property is linked to.
    * Example format: "ca-pub-1234567890"
    * 
* * string ad_client_code = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return The adClientCode. */ java.lang.String getAdClientCode(); /** + * + * *
    * Immutable. The AdSense ad client code that the GA4 property is linked to.
    * Example format: "ca-pub-1234567890"
    * 
* * string ad_client_code = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return The bytes for adClientCode. */ - com.google.protobuf.ByteString - getAdClientCodeBytes(); + com.google.protobuf.ByteString getAdClientCodeBytes(); } 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..134aee0742d9 --- /dev/null +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/AnalyticsAdminProto.java @@ -0,0 +1,3500 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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_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_GetSKAdNetworkConversionValueSchemaRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_GetSKAdNetworkConversionValueSchemaRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_CreateSKAdNetworkConversionValueSchemaRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_CreateSKAdNetworkConversionValueSchemaRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_DeleteSKAdNetworkConversionValueSchemaRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_DeleteSKAdNetworkConversionValueSchemaRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_UpdateSKAdNetworkConversionValueSchemaRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_UpdateSKAdNetworkConversionValueSchemaRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_ListSKAdNetworkConversionValueSchemasRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_ListSKAdNetworkConversionValueSchemasRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_ListSKAdNetworkConversionValueSchemasResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_ListSKAdNetworkConversionValueSchemasResponse_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_UpdateConversionEventRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_UpdateConversionEventRequest_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_GetAccessBindingRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_GetAccessBindingRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_BatchGetAccessBindingsRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_BatchGetAccessBindingsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_BatchGetAccessBindingsResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_BatchGetAccessBindingsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_ListAccessBindingsRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_ListAccessBindingsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_ListAccessBindingsResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_ListAccessBindingsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_CreateAccessBindingRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_CreateAccessBindingRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_BatchCreateAccessBindingsRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_BatchCreateAccessBindingsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_BatchCreateAccessBindingsResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_BatchCreateAccessBindingsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_UpdateAccessBindingRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_UpdateAccessBindingRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_BatchUpdateAccessBindingsRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_BatchUpdateAccessBindingsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_BatchUpdateAccessBindingsResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_BatchUpdateAccessBindingsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_DeleteAccessBindingRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_DeleteAccessBindingRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_BatchDeleteAccessBindingsRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_BatchDeleteAccessBindingsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_CreateExpandedDataSetRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_CreateExpandedDataSetRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_UpdateExpandedDataSetRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_UpdateExpandedDataSetRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_DeleteExpandedDataSetRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_DeleteExpandedDataSetRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_GetExpandedDataSetRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_GetExpandedDataSetRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_ListExpandedDataSetsRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_ListExpandedDataSetsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_ListExpandedDataSetsResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_ListExpandedDataSetsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_CreateChannelGroupRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_CreateChannelGroupRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_UpdateChannelGroupRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_UpdateChannelGroupRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_DeleteChannelGroupRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_DeleteChannelGroupRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_GetChannelGroupRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_GetChannelGroupRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_ListChannelGroupsRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_ListChannelGroupsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_ListChannelGroupsResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_ListChannelGroupsResponse_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; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_GetEnhancedMeasurementSettingsRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_GetEnhancedMeasurementSettingsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_UpdateEnhancedMeasurementSettingsRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_UpdateEnhancedMeasurementSettingsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_GetDataRedactionSettingsRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_GetDataRedactionSettingsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_UpdateDataRedactionSettingsRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_UpdateDataRedactionSettingsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_CreateConnectedSiteTagRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_CreateConnectedSiteTagRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_CreateConnectedSiteTagResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_CreateConnectedSiteTagResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_DeleteConnectedSiteTagRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_DeleteConnectedSiteTagRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_ListConnectedSiteTagsRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_ListConnectedSiteTagsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_ListConnectedSiteTagsResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_ListConnectedSiteTagsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_CreateAdSenseLinkRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_CreateAdSenseLinkRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_GetAdSenseLinkRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_GetAdSenseLinkRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_DeleteAdSenseLinkRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_DeleteAdSenseLinkRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_ListAdSenseLinksRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_ListAdSenseLinksRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_ListAdSenseLinksResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_ListAdSenseLinksResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_FetchConnectedGa4PropertyRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_FetchConnectedGa4PropertyRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_FetchConnectedGa4PropertyResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_FetchConnectedGa4PropertyResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_CreateEventCreateRuleRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_CreateEventCreateRuleRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_UpdateEventCreateRuleRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_UpdateEventCreateRuleRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_DeleteEventCreateRuleRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_DeleteEventCreateRuleRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_GetEventCreateRuleRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_GetEventCreateRuleRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_ListEventCreateRulesRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_ListEventCreateRulesRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_ListEventCreateRulesResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_ListEventCreateRulesResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_CreateRollupPropertyRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_CreateRollupPropertyRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_CreateRollupPropertyResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_CreateRollupPropertyResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_GetRollupPropertySourceLinkRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_GetRollupPropertySourceLinkRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_ListRollupPropertySourceLinksRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_ListRollupPropertySourceLinksRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_ListRollupPropertySourceLinksResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_ListRollupPropertySourceLinksResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_CreateRollupPropertySourceLinkRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_CreateRollupPropertySourceLinkRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_DeleteRollupPropertySourceLinkRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_DeleteRollupPropertySourceLinkRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_CreateSubpropertyRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_CreateSubpropertyRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_CreateSubpropertyResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_CreateSubpropertyResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_CreateSubpropertyEventFilterRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_CreateSubpropertyEventFilterRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_GetSubpropertyEventFilterRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_GetSubpropertyEventFilterRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_ListSubpropertyEventFiltersRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_ListSubpropertyEventFiltersRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_ListSubpropertyEventFiltersResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_ListSubpropertyEventFiltersResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_UpdateSubpropertyEventFilterRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_UpdateSubpropertyEventFilterRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_DeleteSubpropertyEventFilterRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_DeleteSubpropertyEventFilterRequest_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\0322google/analyt" + + "ics/admin/v1alpha/channel_group.proto\032:g" + + "oogle/analytics/admin/v1alpha/event_crea" + + "te_and_edit.proto\0326google/analytics/admi" + + "n/v1alpha/expanded_data_set.proto\032.googl" + + "e/analytics/admin/v1alpha/resources.prot" + + "o\032=google/analytics/admin/v1alpha/subpro" + + "perty_event_filter.proto\032\034google/api/ann" + + "otations.proto\032\027google/api/client.proto\032" + + "\037google/api/field_behavior.proto\032\031google" + + "/api/resource.proto\032\033google/protobuf/emp" + + "ty.proto\032 google/protobuf/field_mask.pro" + + "to\032\037google/protobuf/timestamp.proto\"\342\004\n\026" + + "RunAccessReportRequest\022\016\n\006entity\030\001 \001(\t\022C" + + "\n\ndimensions\030\002 \003(\0132/.google.analytics.ad" + + "min.v1alpha.AccessDimension\022=\n\007metrics\030\003" + + " \003(\0132,.google.analytics.admin.v1alpha.Ac" + + "cessMetric\022D\n\013date_ranges\030\004 \003(\0132/.google" + + ".analytics.admin.v1alpha.AccessDateRange" + + "\022P\n\020dimension_filter\030\005 \001(\01326.google.anal" + + "ytics.admin.v1alpha.AccessFilterExpressi" + + "on\022M\n\rmetric_filter\030\006 \001(\01326.google.analy" + + "tics.admin.v1alpha.AccessFilterExpressio" + + "n\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.AccessOrderBy\022\033\n" + + "\023return_entity_quota\030\013 \001(\010\022\037\n\021include_al" + + "l_users\030\014 \001(\010B\004\342A\001\001\022\033\n\rexpand_groups\030\r \001" + + "(\010B\004\342A\001\001\"\277\002\n\027RunAccessReportResponse\022P\n\021" + + "dimension_headers\030\001 \003(\01325.google.analyti" + + "cs.admin.v1alpha.AccessDimensionHeader\022J" + + "\n\016metric_headers\030\002 \003(\01322.google.analytic" + + "s.admin.v1alpha.AccessMetricHeader\0227\n\004ro" + + "ws\030\003 \003(\0132).google.analytics.admin.v1alph" + + "a.AccessRow\022\021\n\trow_count\030\004 \001(\005\022:\n\005quota\030" + + "\005 \001(\0132+.google.analytics.admin.v1alpha.A" + + "ccessQuota\"Q\n\021GetAccountRequest\022<\n\004name\030" + + "\001 \001(\tB.\342A\001\002\372A\'\n%analyticsadmin.googleapi" + + "s.com/Account\"R\n\023ListAccountsRequest\022\021\n\t" + + "page_size\030\001 \001(\005\022\022\n\npage_token\030\002 \001(\t\022\024\n\014s" + + "how_deleted\030\003 \001(\010\"j\n\024ListAccountsRespons" + + "e\0229\n\010accounts\030\001 \003(\0132\'.google.analytics.a" + + "dmin.v1alpha.Account\022\027\n\017next_page_token\030" + + "\002 \001(\t\"T\n\024DeleteAccountRequest\022<\n\004name\030\001 " + + "\001(\tB.\342A\001\002\372A\'\n%analyticsadmin.googleapis." + + "com/Account\"\215\001\n\024UpdateAccountRequest\022>\n\007" + + "account\030\001 \001(\0132\'.google.analytics.admin.v" + + "1alpha.AccountB\004\342A\001\002\0225\n\013update_mask\030\002 \001(" + + "\0132\032.google.protobuf.FieldMaskB\004\342A\001\002\"o\n\035P" + + "rovisionAccountTicketRequest\0228\n\007account\030" + + "\001 \001(\0132\'.google.analytics.admin.v1alpha.A" + + "ccount\022\024\n\014redirect_uri\030\002 \001(\t\";\n\036Provisio" + + "nAccountTicketResponse\022\031\n\021account_ticket" + + "_id\030\001 \001(\t\"S\n\022GetPropertyRequest\022=\n\004name\030" + + "\001 \001(\tB/\342A\001\002\372A(\n&analyticsadmin.googleapi" + + "s.com/Property\"j\n\025ListPropertiesRequest\022" + + "\024\n\006filter\030\001 \001(\tB\004\342A\001\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\026ListPropertiesResponse\022<\n\nproperti" + + "es\030\001 \003(\0132(.google.analytics.admin.v1alph" + + "a.Property\022\027\n\017next_page_token\030\002 \001(\t\"\220\001\n\025" + + "UpdatePropertyRequest\022@\n\010property\030\001 \001(\0132" + + "(.google.analytics.admin.v1alpha.Propert" + + "yB\004\342A\001\002\0225\n\013update_mask\030\002 \001(\0132\032.google.pr" + + "otobuf.FieldMaskB\004\342A\001\002\"Y\n\025CreateProperty" + + "Request\022@\n\010property\030\001 \001(\0132(.google.analy" + + "tics.admin.v1alpha.PropertyB\004\342A\001\002\"V\n\025Del" + + "etePropertyRequest\022=\n\004name\030\001 \001(\tB/\342A\001\002\372A" + + "(\n&analyticsadmin.googleapis.com/Propert" + + "y\"\253\001\n\031CreateFirebaseLinkRequest\022C\n\006paren" + + "t\030\001 \001(\tB3\342A\001\002\372A,\022*analyticsadmin.googlea" + + "pis.com/FirebaseLink\022I\n\rfirebase_link\030\002 " + + "\001(\0132,.google.analytics.admin.v1alpha.Fir" + + "ebaseLinkB\004\342A\001\002\"^\n\031DeleteFirebaseLinkReq" + + "uest\022A\n\004name\030\001 \001(\tB3\342A\001\002\372A,\n*analyticsad" + + "min.googleapis.com/FirebaseLink\"\206\001\n\030List" + + "FirebaseLinksRequest\022C\n\006parent\030\001 \001(\tB3\342A" + + "\001\002\372A,\022*analyticsadmin.googleapis.com/Fir" + + "ebaseLink\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_tok" + + "en\030\003 \001(\t\"z\n\031ListFirebaseLinksResponse\022D\n" + + "\016firebase_links\030\001 \003(\0132,.google.analytics" + + ".admin.v1alpha.FirebaseLink\022\027\n\017next_page" + + "_token\030\002 \001(\t\"]\n\027GetGlobalSiteTagRequest\022" + + "B\n\004name\030\001 \001(\tB4\342A\001\002\372A-\n+analyticsadmin.g" + + "oogleapis.com/GlobalSiteTag\"\260\001\n\032CreateGo" + + "ogleAdsLinkRequest\022D\n\006parent\030\001 \001(\tB4\342A\001\002" + + "\372A-\022+analyticsadmin.googleapis.com/Googl" + + "eAdsLink\022L\n\017google_ads_link\030\002 \001(\0132-.goog" + + "le.analytics.admin.v1alpha.GoogleAdsLink" + + "B\004\342A\001\002\"\233\001\n\032UpdateGoogleAdsLinkRequest\022F\n" + + "\017google_ads_link\030\001 \001(\0132-.google.analytic" + + "s.admin.v1alpha.GoogleAdsLink\0225\n\013update_" + + "mask\030\002 \001(\0132\032.google.protobuf.FieldMaskB\004" + + "\342A\001\002\"`\n\032DeleteGoogleAdsLinkRequest\022B\n\004na" + + "me\030\001 \001(\tB4\342A\001\002\372A-\n+analyticsadmin.google" + + "apis.com/GoogleAdsLink\"\210\001\n\031ListGoogleAds" + + "LinksRequest\022D\n\006parent\030\001 \001(\tB4\342A\001\002\372A-\022+a" + + "nalyticsadmin.googleapis.com/GoogleAdsLi" + + "nk\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(" + + "\t\"~\n\032ListGoogleAdsLinksResponse\022G\n\020googl" + + "e_ads_links\030\001 \003(\0132-.google.analytics.adm" + + "in.v1alpha.GoogleAdsLink\022\027\n\017next_page_to" + + "ken\030\002 \001(\t\"i\n\035GetDataSharingSettingsReque" + + "st\022H\n\004name\030\001 \001(\tB:\342A\001\002\372A3\n1analyticsadmi" + + "n.googleapis.com/DataSharingSettings\"D\n\033" + + "ListAccountSummariesRequest\022\021\n\tpage_size" + + "\030\001 \001(\005\022\022\n\npage_token\030\002 \001(\t\"\202\001\n\034ListAccou" + + "ntSummariesResponse\022I\n\021account_summaries" + + "\030\001 \003(\0132..google.analytics.admin.v1alpha." + + "AccountSummary\022\027\n\017next_page_token\030\002 \001(\t\"" + + "\210\001\n$AcknowledgeUserDataCollectionRequest" + + "\022A\n\010property\030\001 \001(\tB/\342A\001\002\372A(\n&analyticsad" + + "min.googleapis.com/Property\022\035\n\017acknowled" + + "gement\030\002 \001(\tB\004\342A\001\002\"\'\n%AcknowledgeUserDat" + + "aCollectionResponse\"\214\004\n SearchChangeHist" + + "oryEventsRequest\022?\n\007account\030\001 \001(\tB.\342A\001\002\372" + + "A\'\n%analyticsadmin.googleapis.com/Accoun" + + "t\022A\n\010property\030\002 \001(\tB/\342A\001\001\372A(\n&analyticsa" + + "dmin.googleapis.com/Property\022V\n\rresource" + + "_type\030\003 \003(\01629.google.analytics.admin.v1a" + + "lpha.ChangeHistoryResourceTypeB\004\342A\001\001\022@\n\006" + + "action\030\004 \003(\0162*.google.analytics.admin.v1" + + "alpha.ActionTypeB\004\342A\001\001\022\031\n\013actor_email\030\005 " + + "\003(\tB\004\342A\001\001\022>\n\024earliest_change_time\030\006 \001(\0132" + + "\032.google.protobuf.TimestampB\004\342A\001\001\022<\n\022lat" + + "est_change_time\030\007 \001(\0132\032.google.protobuf." + + "TimestampB\004\342A\001\001\022\027\n\tpage_size\030\010 \001(\005B\004\342A\001\001" + + "\022\030\n\npage_token\030\t \001(\tB\004\342A\001\001\"\217\001\n!SearchCha" + + "ngeHistoryEventsResponse\022Q\n\025change_histo" + + "ry_events\030\001 \003(\01322.google.analytics.admin" + + ".v1alpha.ChangeHistoryEvent\022\027\n\017next_page" + + "_token\030\002 \001(\t\"u\n#GetMeasurementProtocolSe" + + "cretRequest\022N\n\004name\030\001 \001(\tB@\342A\001\002\372A9\n7anal" + + "yticsadmin.googleapis.com/MeasurementPro" + + "tocolSecret\"\340\001\n&CreateMeasurementProtoco" + + "lSecretRequest\022P\n\006parent\030\001 \001(\tB@\342A\001\002\372A9\022" + + "7analyticsadmin.googleapis.com/Measureme" + + "ntProtocolSecret\022d\n\033measurement_protocol" + + "_secret\030\002 \001(\01329.google.analytics.admin.v" + + "1alpha.MeasurementProtocolSecretB\004\342A\001\002\"x" + + "\n&DeleteMeasurementProtocolSecretRequest" + + "\022N\n\004name\030\001 \001(\tB@\342A\001\002\372A9\n7analyticsadmin." + + "googleapis.com/MeasurementProtocolSecret" + + "\"\305\001\n&UpdateMeasurementProtocolSecretRequ" + + "est\022d\n\033measurement_protocol_secret\030\001 \001(\013" + + "29.google.analytics.admin.v1alpha.Measur" + + "ementProtocolSecretB\004\342A\001\002\0225\n\013update_mask" + + "\030\002 \001(\0132\032.google.protobuf.FieldMaskB\004\342A\001\002" + + "\"\240\001\n%ListMeasurementProtocolSecretsReque" + + "st\022P\n\006parent\030\001 \001(\tB@\342A\001\002\372A9\0227analyticsad" + + "min.googleapis.com/MeasurementProtocolSe" + + "cret\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_token\030\003 " + + "\001(\t\"\242\001\n&ListMeasurementProtocolSecretsRe" + + "sponse\022_\n\034measurement_protocol_secrets\030\001" + + " \003(\01329.google.analytics.admin.v1alpha.Me" + + "asurementProtocolSecret\022\027\n\017next_page_tok" + + "en\030\002 \001(\t\"\203\001\n*GetSKAdNetworkConversionVal" + + "ueSchemaRequest\022U\n\004name\030\001 \001(\tBG\342A\001\002\372A@\n>" + + "analyticsadmin.googleapis.com/SKAdNetwor" + + "kConversionValueSchema\"\375\001\n-CreateSKAdNet" + + "workConversionValueSchemaRequest\022W\n\006pare" + + "nt\030\001 \001(\tBG\342A\001\002\372A@\022>analyticsadmin.google" + + "apis.com/SKAdNetworkConversionValueSchem" + + "a\022s\n#skadnetwork_conversion_value_schema" + + "\030\002 \001(\0132@.google.analytics.admin.v1alpha." + + "SKAdNetworkConversionValueSchemaB\004\342A\001\002\"\206" + + "\001\n-DeleteSKAdNetworkConversionValueSchem" + + "aRequest\022U\n\004name\030\001 \001(\tBG\342A\001\002\372A@\n>analyti" + + "csadmin.googleapis.com/SKAdNetworkConver" + + "sionValueSchema\"\333\001\n-UpdateSKAdNetworkCon" + + "versionValueSchemaRequest\022s\n#skadnetwork" + + "_conversion_value_schema\030\001 \001(\0132@.google." + + "analytics.admin.v1alpha.SKAdNetworkConve" + + "rsionValueSchemaB\004\342A\001\002\0225\n\013update_mask\030\002 " + + "\001(\0132\032.google.protobuf.FieldMaskB\004\342A\001\002\"\256\001" + + "\n,ListSKAdNetworkConversionValueSchemasR" + + "equest\022W\n\006parent\030\001 \001(\tBG\342A\001\002\372A@\022>analyti" + + "csadmin.googleapis.com/SKAdNetworkConver" + + "sionValueSchema\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npa" + + "ge_token\030\003 \001(\t\"\270\001\n-ListSKAdNetworkConver" + + "sionValueSchemasResponse\022n\n$skadnetwork_" + + "conversion_value_schemas\030\001 \003(\0132@.google." + + "analytics.admin.v1alpha.SKAdNetworkConve" + + "rsionValueSchema\022\027\n\017next_page_token\030\002 \001(" + + "\t\"m\n\037GetGoogleSignalsSettingsRequest\022J\n\004" + + "name\030\001 \001(\tB<\342A\001\002\372A5\n3analyticsadmin.goog" + + "leapis.com/GoogleSignalsSettings\"\271\001\n\"Upd" + + "ateGoogleSignalsSettingsRequest\022\\\n\027googl" + + "e_signals_settings\030\001 \001(\01325.google.analyt" + + "ics.admin.v1alpha.GoogleSignalsSettingsB" + + "\004\342A\001\002\0225\n\013update_mask\030\002 \001(\0132\032.google.prot" + + "obuf.FieldMaskB\004\342A\001\002\"\267\001\n\034CreateConversio" + + "nEventRequest\022O\n\020conversion_event\030\001 \001(\0132" + + "/.google.analytics.admin.v1alpha.Convers" + + "ionEventB\004\342A\001\002\022F\n\006parent\030\002 \001(\tB6\342A\001\002\372A/\022" + + "-analyticsadmin.googleapis.com/Conversio" + + "nEvent\"\246\001\n\034UpdateConversionEventRequest\022" + + "O\n\020conversion_event\030\001 \001(\0132/.google.analy" + + "tics.admin.v1alpha.ConversionEventB\004\342A\001\002" + + "\0225\n\013update_mask\030\002 \001(\0132\032.google.protobuf." + + "FieldMaskB\004\342A\001\002\"a\n\031GetConversionEventReq" + + "uest\022D\n\004name\030\001 \001(\tB6\342A\001\002\372A/\n-analyticsad" + + "min.googleapis.com/ConversionEvent\"d\n\034De" + + "leteConversionEventRequest\022D\n\004name\030\001 \001(\t" + + "B6\342A\001\002\372A/\n-analyticsadmin.googleapis.com" + + "/ConversionEvent\"\214\001\n\033ListConversionEvent" + + "sRequest\022F\n\006parent\030\001 \001(\tB6\342A\001\002\372A/\022-analy" + + "ticsadmin.googleapis.com/ConversionEvent" + + "\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"" + + "\203\001\n\034ListConversionEventsResponse\022J\n\021conv" + + "ersion_events\030\001 \003(\0132/.google.analytics.a" + + "dmin.v1alpha.ConversionEvent\022\027\n\017next_pag" + + "e_token\030\002 \001(\t\"}\n\'GetDisplayVideo360Adver" + + "tiserLinkRequest\022R\n\004name\030\001 \001(\tBD\342A\001\002\372A=\n" + + ";analyticsadmin.googleapis.com/DisplayVi" + + "deo360AdvertiserLink\"\250\001\n)ListDisplayVide" + + "o360AdvertiserLinksRequest\022T\n\006parent\030\001 \001" + + "(\tBD\342A\001\002\372A=\022;analyticsadmin.googleapis.c" + + "om/DisplayVideo360AdvertiserLink\022\021\n\tpage" + + "_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"\260\001\n*List" + + "DisplayVideo360AdvertiserLinksResponse\022i" + + "\n\"display_video_360_advertiser_links\030\001 \003" + + "(\0132=.google.analytics.admin.v1alpha.Disp" + + "layVideo360AdvertiserLink\022\027\n\017next_page_t" + + "oken\030\002 \001(\t\"\362\001\n*CreateDisplayVideo360Adve" + + "rtiserLinkRequest\022T\n\006parent\030\001 \001(\tBD\342A\001\002\372" + + "A=\022;analyticsadmin.googleapis.com/Displa" + + "yVideo360AdvertiserLink\022n\n!display_video" + + "_360_advertiser_link\030\002 \001(\0132=.google.anal" + + "ytics.admin.v1alpha.DisplayVideo360Adver" + + "tiserLinkB\004\342A\001\002\"\200\001\n*DeleteDisplayVideo36" + + "0AdvertiserLinkRequest\022R\n\004name\030\001 \001(\tBD\342A" + + "\001\002\372A=\n;analyticsadmin.googleapis.com/Dis" + + "playVideo360AdvertiserLink\"\315\001\n*UpdateDis" + + "playVideo360AdvertiserLinkRequest\022h\n!dis" + + "play_video_360_advertiser_link\030\001 \001(\0132=.g" + + "oogle.analytics.admin.v1alpha.DisplayVid" + + "eo360AdvertiserLink\0225\n\013update_mask\030\002 \001(\013" + + "2\032.google.protobuf.FieldMaskB\004\342A\001\002\"\215\001\n/G" + + "etDisplayVideo360AdvertiserLinkProposalR" + + "equest\022Z\n\004name\030\001 \001(\tBL\342A\001\002\372AE\nCanalytics" + + "admin.googleapis.com/DisplayVideo360Adve" + + "rtiserLinkProposal\"\270\001\n1ListDisplayVideo3" + + "60AdvertiserLinkProposalsRequest\022\\\n\006pare" + + "nt\030\001 \001(\tBL\342A\001\002\372AE\022Canalyticsadmin.google" + + "apis.com/DisplayVideo360AdvertiserLinkPr" + + "oposal\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_token\030" + + "\003 \001(\t\"\311\001\n2ListDisplayVideo360AdvertiserL" + + "inkProposalsResponse\022z\n+display_video_36" + + "0_advertiser_link_proposals\030\001 \003(\0132E.goog" + + "le.analytics.admin.v1alpha.DisplayVideo3" + + "60AdvertiserLinkProposal\022\027\n\017next_page_to" + + "ken\030\002 \001(\t\"\223\002\n2CreateDisplayVideo360Adver" + + "tiserLinkProposalRequest\022\\\n\006parent\030\001 \001(\t" + + "BL\342A\001\002\372AE\022Canalyticsadmin.googleapis.com" + + "/DisplayVideo360AdvertiserLinkProposal\022\177" + + "\n*display_video_360_advertiser_link_prop" + + "osal\030\002 \001(\0132E.google.analytics.admin.v1al" + + "pha.DisplayVideo360AdvertiserLinkProposa" + + "lB\004\342A\001\002\"\220\001\n2DeleteDisplayVideo360Adverti" + + "serLinkProposalRequest\022Z\n\004name\030\001 \001(\tBL\342A" + + "\001\002\372AE\nCanalyticsadmin.googleapis.com/Dis" + + "playVideo360AdvertiserLinkProposal\"\221\001\n3A" + + "pproveDisplayVideo360AdvertiserLinkPropo" + + "salRequest\022Z\n\004name\030\001 \001(\tBL\342A\001\002\372AE\nCanaly" + + "ticsadmin.googleapis.com/DisplayVideo360" + + "AdvertiserLinkProposal\"\240\001\n4ApproveDispla" + + "yVideo360AdvertiserLinkProposalResponse\022" + + "h\n!display_video_360_advertiser_link\030\001 \001" + + "(\0132=.google.analytics.admin.v1alpha.Disp" + + "layVideo360AdvertiserLink\"\220\001\n2CancelDisp" + + "layVideo360AdvertiserLinkProposalRequest" + + "\022Z\n\004name\030\001 \001(\tBL\342A\001\002\372AE\nCanalyticsadmin." + + "googleapis.com/DisplayVideo360Advertiser" + + "LinkProposal\"c\n\032GetSearchAds360LinkReque" + + "st\022E\n\004name\030\001 \001(\tB7\342A\001\002\372A0\n.analyticsadmi" + + "n.googleapis.com/SearchAds360Link\"\216\001\n\034Li" + + "stSearchAds360LinksRequest\022G\n\006parent\030\001 \001" + + "(\tB7\342A\001\002\372A0\022.analyticsadmin.googleapis.c" + + "om/SearchAds360Link\022\021\n\tpage_size\030\002 \001(\005\022\022" + + "\n\npage_token\030\003 \001(\t\"\210\001\n\035ListSearchAds360L" + + "inksResponse\022N\n\024search_ads_360_links\030\001 \003" + + "(\01320.google.analytics.admin.v1alpha.Sear" + + "chAds360Link\022\027\n\017next_page_token\030\002 \001(\t\"\275\001" + + "\n\035CreateSearchAds360LinkRequest\022G\n\006paren" + + "t\030\001 \001(\tB7\342A\001\002\372A0\022.analyticsadmin.googlea" + + "pis.com/SearchAds360Link\022S\n\023search_ads_3" + + "60_link\030\002 \001(\01320.google.analytics.admin.v" + + "1alpha.SearchAds360LinkB\004\342A\001\002\"f\n\035DeleteS" + + "earchAds360LinkRequest\022E\n\004name\030\001 \001(\tB7\342A" + + "\001\002\372A0\n.analyticsadmin.googleapis.com/Sea" + + "rchAds360Link\"\245\001\n\035UpdateSearchAds360Link" + + "Request\022M\n\023search_ads_360_link\030\001 \001(\01320.g" + + "oogle.analytics.admin.v1alpha.SearchAds3" + + "60Link\0225\n\013update_mask\030\002 \001(\0132\032.google.pro" + + "tobuf.FieldMaskB\004\342A\001\002\"\267\001\n\034CreateCustomDi" + + "mensionRequest\022F\n\006parent\030\001 \001(\tB6\342A\001\002\372A/\022" + + "-analyticsadmin.googleapis.com/CustomDim" + + "ension\022O\n\020custom_dimension\030\002 \001(\0132/.googl" + + "e.analytics.admin.v1alpha.CustomDimensio" + + "nB\004\342A\001\002\"\240\001\n\034UpdateCustomDimensionRequest" + + "\022I\n\020custom_dimension\030\001 \001(\0132/.google.anal" + + "ytics.admin.v1alpha.CustomDimension\0225\n\013u" + + "pdate_mask\030\002 \001(\0132\032.google.protobuf.Field" + + "MaskB\004\342A\001\002\"\214\001\n\033ListCustomDimensionsReque" + + "st\022F\n\006parent\030\001 \001(\tB6\342A\001\002\372A/\022-analyticsad" + + "min.googleapis.com/CustomDimension\022\021\n\tpa" + + "ge_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"\203\001\n\034Li" + + "stCustomDimensionsResponse\022J\n\021custom_dim" + + "ensions\030\001 \003(\0132/.google.analytics.admin.v" + + "1alpha.CustomDimension\022\027\n\017next_page_toke" + + "n\030\002 \001(\t\"e\n\035ArchiveCustomDimensionRequest" + + "\022D\n\004name\030\001 \001(\tB6\342A\001\002\372A/\n-analyticsadmin." + + "googleapis.com/CustomDimension\"a\n\031GetCus" + + "tomDimensionRequest\022D\n\004name\030\001 \001(\tB6\342A\001\002\372" + + "A/\n-analyticsadmin.googleapis.com/Custom" + + "Dimension\"\253\001\n\031CreateCustomMetricRequest\022" + + "C\n\006parent\030\001 \001(\tB3\342A\001\002\372A,\022*analyticsadmin" + + ".googleapis.com/CustomMetric\022I\n\rcustom_m" + + "etric\030\002 \001(\0132,.google.analytics.admin.v1a" + + "lpha.CustomMetricB\004\342A\001\002\"\227\001\n\031UpdateCustom" + + "MetricRequest\022C\n\rcustom_metric\030\001 \001(\0132,.g" + + "oogle.analytics.admin.v1alpha.CustomMetr" + + "ic\0225\n\013update_mask\030\002 \001(\0132\032.google.protobu" + + "f.FieldMaskB\004\342A\001\002\"\206\001\n\030ListCustomMetricsR" + + "equest\022C\n\006parent\030\001 \001(\tB3\342A\001\002\372A,\022*analyti" + + "csadmin.googleapis.com/CustomMetric\022\021\n\tp" + + "age_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"z\n\031Li" + + "stCustomMetricsResponse\022D\n\016custom_metric" + + "s\030\001 \003(\0132,.google.analytics.admin.v1alpha" + + ".CustomMetric\022\027\n\017next_page_token\030\002 \001(\t\"_" + + "\n\032ArchiveCustomMetricRequest\022A\n\004name\030\001 \001" + + "(\tB3\342A\001\002\372A,\n*analyticsadmin.googleapis.c" + + "om/CustomMetric\"[\n\026GetCustomMetricReques" + + "t\022A\n\004name\030\001 \001(\tB3\342A\001\002\372A,\n*analyticsadmin" + + ".googleapis.com/CustomMetric\"m\n\037GetDataR" + + "etentionSettingsRequest\022J\n\004name\030\001 \001(\tB<\342" + + "A\001\002\372A5\n3analyticsadmin.googleapis.com/Da" + + "taRetentionSettings\"\271\001\n\"UpdateDataRetent" + + "ionSettingsRequest\022\\\n\027data_retention_set" + + "tings\030\001 \001(\01325.google.analytics.admin.v1a" + + "lpha.DataRetentionSettingsB\004\342A\001\002\0225\n\013upda" + + "te_mask\030\002 \001(\0132\032.google.protobuf.FieldMas" + + "kB\004\342A\001\002\"\243\001\n\027CreateDataStreamRequest\022A\n\006p" + + "arent\030\001 \001(\tB1\342A\001\002\372A*\022(analyticsadmin.goo" + + "gleapis.com/DataStream\022E\n\013data_stream\030\002 " + + "\001(\0132*.google.analytics.admin.v1alpha.Dat" + + "aStreamB\004\342A\001\002\"Z\n\027DeleteDataStreamRequest" + + "\022?\n\004name\030\001 \001(\tB1\342A\001\002\372A*\n(analyticsadmin." + + "googleapis.com/DataStream\"\221\001\n\027UpdateData" + + "StreamRequest\022?\n\013data_stream\030\001 \001(\0132*.goo" + + "gle.analytics.admin.v1alpha.DataStream\0225" + + "\n\013update_mask\030\002 \001(\0132\032.google.protobuf.Fi" + + "eldMaskB\004\342A\001\002\"\202\001\n\026ListDataStreamsRequest" + + "\022A\n\006parent\030\001 \001(\tB1\342A\001\002\372A*\022(analyticsadmi" + + "n.googleapis.com/DataStream\022\021\n\tpage_size" + + "\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"t\n\027ListDataSt" + + "reamsResponse\022@\n\014data_streams\030\001 \003(\0132*.go" + + "ogle.analytics.admin.v1alpha.DataStream\022" + + "\027\n\017next_page_token\030\002 \001(\t\"W\n\024GetDataStrea" + + "mRequest\022?\n\004name\030\001 \001(\tB1\342A\001\002\372A*\n(analyti" + + "csadmin.googleapis.com/DataStream\"S\n\022Get" + + "AudienceRequest\022=\n\004name\030\001 \001(\tB/\342A\001\002\372A(\n&" + + "analyticsadmin.googleapis.com/Audience\"~" + + "\n\024ListAudiencesRequest\022?\n\006parent\030\001 \001(\tB/" + + "\342A\001\002\372A(\022&analyticsadmin.googleapis.com/A" + + "udience\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_token" + + "\030\003 \001(\t\"m\n\025ListAudiencesResponse\022;\n\taudie" + + "nces\030\001 \003(\0132(.google.analytics.admin.v1al" + + "pha.Audience\022\027\n\017next_page_token\030\002 \001(\t\"\232\001" + + "\n\025CreateAudienceRequest\022?\n\006parent\030\001 \001(\tB" + + "/\342A\001\002\372A(\022&analyticsadmin.googleapis.com/" + + "Audience\022@\n\010audience\030\002 \001(\0132(.google.anal" + + "ytics.admin.v1alpha.AudienceB\004\342A\001\002\"\220\001\n\025U" + + "pdateAudienceRequest\022@\n\010audience\030\001 \001(\0132(" + + ".google.analytics.admin.v1alpha.Audience" + + "B\004\342A\001\002\0225\n\013update_mask\030\002 \001(\0132\032.google.pro" + + "tobuf.FieldMaskB\004\342A\001\002\"W\n\026ArchiveAudience" + + "Request\022=\n\004name\030\001 \001(\tB/\342A\001\002\372A(\022&analytic" + + "sadmin.googleapis.com/Audience\"i\n\035GetAtt" + + "ributionSettingsRequest\022H\n\004name\030\001 \001(\tB:\342" + + "A\001\002\372A3\n1analyticsadmin.googleapis.com/At" + + "tributionSettings\"\262\001\n UpdateAttributionS" + + "ettingsRequest\022W\n\024attribution_settings\030\001" + + " \001(\01323.google.analytics.admin.v1alpha.At" + + "tributionSettingsB\004\342A\001\002\0225\n\013update_mask\030\002" + + " \001(\0132\032.google.protobuf.FieldMaskB\004\342A\001\002\"]" + + "\n\027GetAccessBindingRequest\022B\n\004name\030\001 \001(\tB" + + "4\342A\001\002\372A-\n+analyticsadmin.googleapis.com/" + + "AccessBinding\"\252\001\n\035BatchGetAccessBindings" + + "Request\022D\n\006parent\030\001 \001(\tB4\342A\001\002\372A-\022+analyt" + + "icsadmin.googleapis.com/AccessBinding\022C\n" + + "\005names\030\002 \003(\tB4\342A\001\002\372A-\n+analyticsadmin.go" + + "ogleapis.com/AccessBinding\"h\n\036BatchGetAc" + + "cessBindingsResponse\022F\n\017access_bindings\030" + + "\001 \003(\0132-.google.analytics.admin.v1alpha.A", + "ccessBinding\"\210\001\n\031ListAccessBindingsReque" + + "st\022D\n\006parent\030\001 \001(\tB4\342A\001\002\372A-\022+analyticsad" + + "min.googleapis.com/AccessBinding\022\021\n\tpage" + + "_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"}\n\032ListA" + + "ccessBindingsResponse\022F\n\017access_bindings" + + "\030\001 \003(\0132-.google.analytics.admin.v1alpha." + + "AccessBinding\022\027\n\017next_page_token\030\002 \001(\t\"\257" + + "\001\n\032CreateAccessBindingRequest\022D\n\006parent\030" + + "\001 \001(\tB4\342A\001\002\372A-\022+analyticsadmin.googleapi" + + "s.com/AccessBinding\022K\n\016access_binding\030\002 " + + "\001(\0132-.google.analytics.admin.v1alpha.Acc" + + "essBindingB\004\342A\001\002\"\274\001\n BatchCreateAccessBi" + + "ndingsRequest\022D\n\006parent\030\001 \001(\tB4\342A\001\002\372A-\022+" + + "analyticsadmin.googleapis.com/AccessBind" + + "ing\022R\n\010requests\030\003 \003(\0132:.google.analytics" + + ".admin.v1alpha.CreateAccessBindingReques" + + "tB\004\342A\001\002\"k\n!BatchCreateAccessBindingsResp" + + "onse\022F\n\017access_bindings\030\001 \003(\0132-.google.a" + + "nalytics.admin.v1alpha.AccessBinding\"i\n\032" + + "UpdateAccessBindingRequest\022K\n\016access_bin" + + "ding\030\001 \001(\0132-.google.analytics.admin.v1al" + + "pha.AccessBindingB\004\342A\001\002\"\274\001\n BatchUpdateA" + + "ccessBindingsRequest\022D\n\006parent\030\001 \001(\tB4\342A" + + "\001\002\372A-\022+analyticsadmin.googleapis.com/Acc" + + "essBinding\022R\n\010requests\030\002 \003(\0132:.google.an" + + "alytics.admin.v1alpha.UpdateAccessBindin" + + "gRequestB\004\342A\001\002\"k\n!BatchUpdateAccessBindi" + + "ngsResponse\022F\n\017access_bindings\030\001 \003(\0132-.g" + + "oogle.analytics.admin.v1alpha.AccessBind" + + "ing\"`\n\032DeleteAccessBindingRequest\022B\n\004nam" + + "e\030\001 \001(\tB4\342A\001\002\372A-\n+analyticsadmin.googlea" + + "pis.com/AccessBinding\"\274\001\n BatchDeleteAcc" + + "essBindingsRequest\022D\n\006parent\030\001 \001(\tB4\342A\001\002" + + "\372A-\022+analyticsadmin.googleapis.com/Acces" + + "sBinding\022R\n\010requests\030\002 \003(\0132:.google.anal" + + "ytics.admin.v1alpha.DeleteAccessBindingR" + + "equestB\004\342A\001\002\"\270\001\n\034CreateExpandedDataSetRe" + + "quest\022F\n\006parent\030\001 \001(\tB6\342A\001\002\372A/\022-analytic" + + "sadmin.googleapis.com/ExpandedDataSet\022P\n" + + "\021expanded_data_set\030\002 \001(\0132/.google.analyt" + + "ics.admin.v1alpha.ExpandedDataSetB\004\342A\001\002\"" + + "\247\001\n\034UpdateExpandedDataSetRequest\022P\n\021expa" + + "nded_data_set\030\001 \001(\0132/.google.analytics.a" + + "dmin.v1alpha.ExpandedDataSetB\004\342A\001\002\0225\n\013up" + + "date_mask\030\002 \001(\0132\032.google.protobuf.FieldM" + + "askB\004\342A\001\002\"d\n\034DeleteExpandedDataSetReques" + + "t\022D\n\004name\030\001 \001(\tB6\342A\001\002\372A/\n-analyticsadmin" + + ".googleapis.com/ExpandedDataSet\"a\n\031GetEx" + + "pandedDataSetRequest\022D\n\004name\030\001 \001(\tB6\342A\001\002" + + "\372A/\n-analyticsadmin.googleapis.com/Expan" + + "dedDataSet\"\214\001\n\033ListExpandedDataSetsReque" + + "st\022F\n\006parent\030\001 \001(\tB6\342A\001\002\372A/\022-analyticsad" + + "min.googleapis.com/ExpandedDataSet\022\021\n\tpa" + + "ge_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"\204\001\n\034Li" + + "stExpandedDataSetsResponse\022K\n\022expanded_d" + + "ata_sets\030\001 \003(\0132/.google.analytics.admin." + + "v1alpha.ExpandedDataSet\022\027\n\017next_page_tok" + + "en\030\002 \001(\t\"\253\001\n\031CreateChannelGroupRequest\022C" + + "\n\006parent\030\001 \001(\tB3\342A\001\002\372A,\022*analyticsadmin." + + "googleapis.com/ChannelGroup\022I\n\rchannel_g" + + "roup\030\002 \001(\0132,.google.analytics.admin.v1al" + + "pha.ChannelGroupB\004\342A\001\002\"\235\001\n\031UpdateChannel" + + "GroupRequest\022I\n\rchannel_group\030\001 \001(\0132,.go" + + "ogle.analytics.admin.v1alpha.ChannelGrou" + + "pB\004\342A\001\002\0225\n\013update_mask\030\002 \001(\0132\032.google.pr" + + "otobuf.FieldMaskB\004\342A\001\002\"^\n\031DeleteChannelG" + + "roupRequest\022A\n\004name\030\001 \001(\tB3\342A\001\002\372A,\n*anal" + + "yticsadmin.googleapis.com/ChannelGroup\"[" + + "\n\026GetChannelGroupRequest\022A\n\004name\030\001 \001(\tB3" + + "\342A\001\002\372A,\n*analyticsadmin.googleapis.com/C" + + "hannelGroup\"\206\001\n\030ListChannelGroupsRequest" + + "\022C\n\006parent\030\001 \001(\tB3\342A\001\002\372A,\022*analyticsadmi" + + "n.googleapis.com/ChannelGroup\022\021\n\tpage_si" + + "ze\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"z\n\031ListChan" + + "nelGroupsResponse\022D\n\016channel_groups\030\001 \003(" + + "\0132,.google.analytics.admin.v1alpha.Chann" + + "elGroup\022\027\n\017next_page_token\030\002 \001(\t\"T\n)SetA" + + "utomatedGa4ConfigurationOptOutRequest\022\026\n" + + "\010property\030\001 \001(\tB\004\342A\001\002\022\017\n\007opt_out\030\002 \001(\010\"," + + "\n*SetAutomatedGa4ConfigurationOptOutResp" + + "onse\"E\n+FetchAutomatedGa4ConfigurationOp" + + "tOutRequest\022\026\n\010property\030\001 \001(\tB\004\342A\001\002\"?\n,F" + + "etchAutomatedGa4ConfigurationOptOutRespo" + + "nse\022\017\n\007opt_out\030\001 \001(\010\"[\n\026GetBigQueryLinkR" + + "equest\022A\n\004name\030\001 \001(\tB3\342A\001\002\372A,\n*analytics" + + "admin.googleapis.com/BigQueryLink\"\206\001\n\030Li" + + "stBigQueryLinksRequest\022C\n\006parent\030\001 \001(\tB3" + + "\342A\001\002\372A,\022*analyticsadmin.googleapis.com/B" + + "igQueryLink\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_t" + + "oken\030\003 \001(\t\"z\n\031ListBigQueryLinksResponse\022" + + "D\n\016bigquery_links\030\001 \003(\0132,.google.analyti" + + "cs.admin.v1alpha.BigQueryLink\022\027\n\017next_pa" + + "ge_token\030\002 \001(\t\"y\n%GetEnhancedMeasurement" + + "SettingsRequest\022P\n\004name\030\001 \001(\tBB\342A\001\002\372A;\n9" + + "analyticsadmin.googleapis.com/EnhancedMe" + + "asurementSettings\"\313\001\n(UpdateEnhancedMeas" + + "urementSettingsRequest\022h\n\035enhanced_measu" + + "rement_settings\030\001 \001(\0132;.google.analytics" + + ".admin.v1alpha.EnhancedMeasurementSettin" + + "gsB\004\342A\001\002\0225\n\013update_mask\030\002 \001(\0132\032.google.p" + + "rotobuf.FieldMaskB\004\342A\001\002\"m\n\037GetDataRedact" + + "ionSettingsRequest\022J\n\004name\030\001 \001(\tB<\342A\001\002\372A" + + "5\n3analyticsadmin.googleapis.com/DataRed" + + "actionSettings\"\271\001\n\"UpdateDataRedactionSe" + + "ttingsRequest\022\\\n\027data_redaction_settings" + + "\030\001 \001(\01325.google.analytics.admin.v1alpha." + + "DataRedactionSettingsB\004\342A\001\002\0225\n\013update_ma" + + "sk\030\002 \001(\0132\032.google.protobuf.FieldMaskB\004\342A" + + "\001\002\"\205\001\n\035CreateConnectedSiteTagRequest\022\020\n\010" + + "property\030\001 \001(\t\022R\n\022connected_site_tag\030\002 \001" + + "(\01320.google.analytics.admin.v1alpha.Conn" + + "ectedSiteTagB\004\342A\001\002\" \n\036CreateConnectedSit" + + "eTagResponse\"A\n\035DeleteConnectedSiteTagRe" + + "quest\022\020\n\010property\030\001 \001(\t\022\016\n\006tag_id\030\002 \001(\t\"" + + "0\n\034ListConnectedSiteTagsRequest\022\020\n\010prope" + + "rty\030\001 \001(\t\"n\n\035ListConnectedSiteTagsRespon" + + "se\022M\n\023connected_site_tags\030\001 \003(\01320.google" + + ".analytics.admin.v1alpha.ConnectedSiteTa" + + "g\"\247\001\n\030CreateAdSenseLinkRequest\022B\n\006parent" + + "\030\001 \001(\tB2\342A\001\002\372A+\022)analyticsadmin.googleap" + + "is.com/AdSenseLink\022G\n\014adsense_link\030\002 \001(\013" + + "2+.google.analytics.admin.v1alpha.AdSens" + + "eLinkB\004\342A\001\002\"Y\n\025GetAdSenseLinkRequest\022@\n\004" + + "name\030\001 \001(\tB2\342A\001\002\372A+\n)analyticsadmin.goog" + + "leapis.com/AdSenseLink\"\\\n\030DeleteAdSenseL" + + "inkRequest\022@\n\004name\030\001 \001(\tB2\342A\001\002\372A+\n)analy" + + "ticsadmin.googleapis.com/AdSenseLink\"\204\001\n" + + "\027ListAdSenseLinksRequest\022B\n\006parent\030\001 \001(\t" + + "B2\342A\001\002\372A+\022)analyticsadmin.googleapis.com" + + "/AdSenseLink\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_" + + "token\030\003 \001(\t\"w\n\030ListAdSenseLinksResponse\022" + + "B\n\radsense_links\030\001 \003(\0132+.google.analytic" + + "s.admin.v1alpha.AdSenseLink\022\027\n\017next_page" + + "_token\030\002 \001(\t\"e\n FetchConnectedGa4Propert" + + "yRequest\022A\n\010property\030\001 \001(\tB/\342A\001\002\372A(\n&ana" + + "lyticsadmin.googleapis.com/Property\"b\n!F" + + "etchConnectedGa4PropertyResponse\022=\n\010prop" + + "erty\030\001 \001(\tB+\372A(\n&analyticsadmin.googleap" + + "is.com/Property\"\270\001\n\034CreateEventCreateRul" + + "eRequest\022F\n\006parent\030\001 \001(\tB6\342A\001\002\372A/\022-analy" + + "ticsadmin.googleapis.com/EventCreateRule" + + "\022P\n\021event_create_rule\030\002 \001(\0132/.google.ana" + + "lytics.admin.v1alpha.EventCreateRuleB\004\342A" + + "\001\002\"\247\001\n\034UpdateEventCreateRuleRequest\022P\n\021e" + + "vent_create_rule\030\001 \001(\0132/.google.analytic" + + "s.admin.v1alpha.EventCreateRuleB\004\342A\001\002\0225\n" + + "\013update_mask\030\002 \001(\0132\032.google.protobuf.Fie" + + "ldMaskB\004\342A\001\002\"d\n\034DeleteEventCreateRuleReq" + + "uest\022D\n\004name\030\001 \001(\tB6\342A\001\002\372A/\n-analyticsad" + + "min.googleapis.com/EventCreateRule\"a\n\031Ge" + + "tEventCreateRuleRequest\022D\n\004name\030\001 \001(\tB6\342" + + "A\001\002\372A/\n-analyticsadmin.googleapis.com/Ev" + + "entCreateRule\"\214\001\n\033ListEventCreateRulesRe" + + "quest\022F\n\006parent\030\001 \001(\tB6\342A\001\002\372A/\022-analytic" + + "sadmin.googleapis.com/EventCreateRule\022\021\n" + + "\tpage_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"\204\001\n" + + "\034ListEventCreateRulesResponse\022K\n\022event_c" + + "reate_rules\030\001 \003(\0132/.google.analytics.adm" + + "in.v1alpha.EventCreateRule\022\027\n\017next_page_" + + "token\030\002 \001(\t\"\207\001\n\033CreateRollupPropertyRequ" + + "est\022G\n\017rollup_property\030\001 \001(\0132(.google.an" + + "alytics.admin.v1alpha.PropertyB\004\342A\001\002\022\037\n\021" + + "source_properties\030\002 \003(\tB\004\342A\001\001\"\301\001\n\034Create" + + "RollupPropertyResponse\022A\n\017rollup_propert" + + "y\030\001 \001(\0132(.google.analytics.admin.v1alpha" + + ".Property\022^\n\034rollup_property_source_link" + + "s\030\002 \003(\01328.google.analytics.admin.v1alpha" + + ".RollupPropertySourceLink\"s\n\"GetRollupPr" + + "opertySourceLinkRequest\022M\n\004name\030\001 \001(\tB?\342" + + "A\001\002\372A8\n6analyticsadmin.googleapis.com/Ro" + + "llupPropertySourceLink\"\252\001\n$ListRollupPro" + + "pertySourceLinksRequest\022O\n\006parent\030\001 \001(\tB" + + "?\342A\001\002\372A8\0226analyticsadmin.googleapis.com/" + + "RollupPropertySourceLink\022\027\n\tpage_size\030\002 " + + "\001(\005B\004\342A\001\001\022\030\n\npage_token\030\003 \001(\tB\004\342A\001\001\"\240\001\n%" + + "ListRollupPropertySourceLinksResponse\022^\n" + + "\034rollup_property_source_links\030\001 \003(\01328.go" + + "ogle.analytics.admin.v1alpha.RollupPrope" + + "rtySourceLink\022\027\n\017next_page_token\030\002 \001(\t\"\335" + + "\001\n%CreateRollupPropertySourceLinkRequest" + + "\022O\n\006parent\030\001 \001(\tB?\342A\001\002\372A8\0226analyticsadmi" + + "n.googleapis.com/RollupPropertySourceLin" + + "k\022c\n\033rollup_property_source_link\030\002 \001(\01328" + + ".google.analytics.admin.v1alpha.RollupPr" + + "opertySourceLinkB\004\342A\001\002\"v\n%DeleteRollupPr" + + "opertySourceLinkRequest\022M\n\004name\030\001 \001(\tB?\342" + + "A\001\002\372A8\n6analyticsadmin.googleapis.com/Ro" + + "llupPropertySourceLink\"\200\002\n\030CreateSubprop" + + "ertyRequest\022?\n\006parent\030\001 \001(\tB/\342A\001\002\372A(\n&an" + + "alyticsadmin.googleapis.com/Property\022C\n\013" + + "subproperty\030\002 \001(\0132(.google.analytics.adm" + + "in.v1alpha.PropertyB\004\342A\001\002\022^\n\030subproperty" + + "_event_filter\030\003 \001(\01326.google.analytics.a" + + "dmin.v1alpha.SubpropertyEventFilterB\004\342A\001" + + "\001\"\264\001\n\031CreateSubpropertyResponse\022=\n\013subpr" + + "operty\030\001 \001(\0132(.google.analytics.admin.v1" + + "alpha.Property\022X\n\030subproperty_event_filt" + + "er\030\002 \001(\01326.google.analytics.admin.v1alph" + + "a.SubpropertyEventFilter\"\324\001\n#CreateSubpr" + + "opertyEventFilterRequest\022M\n\006parent\030\001 \001(\t" + + "B=\342A\001\002\372A6\0224analyticsadmin.googleapis.com" + + "/SubpropertyEventFilter\022^\n\030subproperty_e" + + "vent_filter\030\002 \001(\01326.google.analytics.adm" + + "in.v1alpha.SubpropertyEventFilterB\004\342A\001\002\"" + + "o\n GetSubpropertyEventFilterRequest\022K\n\004n" + + "ame\030\001 \001(\tB=\342A\001\002\372A6\n4analyticsadmin.googl" + + "eapis.com/SubpropertyEventFilter\"\246\001\n\"Lis" + + "tSubpropertyEventFiltersRequest\022M\n\006paren" + + "t\030\001 \001(\tB=\342A\001\002\372A6\0224analyticsadmin.googlea" + + "pis.com/SubpropertyEventFilter\022\027\n\tpage_s" + + "ize\030\002 \001(\005B\004\342A\001\001\022\030\n\npage_token\030\003 \001(\tB\004\342A\001" + + "\001\"\231\001\n#ListSubpropertyEventFiltersRespons" + + "e\022Y\n\031subproperty_event_filters\030\001 \003(\01326.g" + + "oogle.analytics.admin.v1alpha.Subpropert" + + "yEventFilter\022\027\n\017next_page_token\030\002 \001(\t\"\274\001" + + "\n#UpdateSubpropertyEventFilterRequest\022^\n" + + "\030subproperty_event_filter\030\001 \001(\01326.google" + + ".analytics.admin.v1alpha.SubpropertyEven" + + "tFilterB\004\342A\001\002\0225\n\013update_mask\030\002 \001(\0132\032.goo" + + "gle.protobuf.FieldMaskB\004\342A\001\002\"r\n#DeleteSu" + + "bpropertyEventFilterRequest\022K\n\004name\030\001 \001(" + + "\tB=\342A\001\002\372A6\n4analyticsadmin.googleapis.co" + + "m/SubpropertyEventFilter2\361\350\001\n\025AnalyticsA" + + "dminService\022\223\001\n\nGetAccount\0221.google.anal" + + "ytics.admin.v1alpha.GetAccountRequest\032\'." + + "google.analytics.admin.v1alpha.Account\")" + + "\332A\004name\202\323\344\223\002\034\022\032/v1alpha/{name=accounts/*" + + "}\022\224\001\n\014ListAccounts\0223.google.analytics.ad" + + "min.v1alpha.ListAccountsRequest\0324.google" + + ".analytics.admin.v1alpha.ListAccountsRes" + + "ponse\"\031\202\323\344\223\002\023\022\021/v1alpha/accounts\022\210\001\n\rDel" + + "eteAccount\0224.google.analytics.admin.v1al" + + "pha.DeleteAccountRequest\032\026.google.protob" + + "uf.Empty\")\332A\004name\202\323\344\223\002\034*\032/v1alpha/{name=" + + "accounts/*}\022\271\001\n\rUpdateAccount\0224.google.a" + + "nalytics.admin.v1alpha.UpdateAccountRequ" + + "est\032\'.google.analytics.admin.v1alpha.Acc" + + "ount\"I\332A\023account,update_mask\202\323\344\223\002-2\"/v1a" + + "lpha/{account.name=accounts/*}:\007account\022" + + "\314\001\n\026ProvisionAccountTicket\022=.google.anal" + + "ytics.admin.v1alpha.ProvisionAccountTick" + + "etRequest\032>.google.analytics.admin.v1alp" + + "ha.ProvisionAccountTicketResponse\"3\202\323\344\223\002" + + "-\"(/v1alpha/accounts:provisionAccountTic" + + "ket:\001*\022\264\001\n\024ListAccountSummaries\022;.google" + + ".analytics.admin.v1alpha.ListAccountSumm" + + "ariesRequest\032<.google.analytics.admin.v1" + + "alpha.ListAccountSummariesResponse\"!\202\323\344\223" + + "\002\033\022\031/v1alpha/accountSummaries\022\230\001\n\013GetPro" + + "perty\0222.google.analytics.admin.v1alpha.G" + + "etPropertyRequest\032(.google.analytics.adm" + + "in.v1alpha.Property\"+\332A\004name\202\323\344\223\002\036\022\034/v1a" + + "lpha/{name=properties/*}\022\234\001\n\016ListPropert" + + "ies\0225.google.analytics.admin.v1alpha.Lis" + + "tPropertiesRequest\0326.google.analytics.ad" + + "min.v1alpha.ListPropertiesResponse\"\033\202\323\344\223" + + "\002\025\022\023/v1alpha/properties\022\243\001\n\016CreateProper" + + "ty\0225.google.analytics.admin.v1alpha.Crea" + + "tePropertyRequest\032(.google.analytics.adm" + + "in.v1alpha.Property\"0\332A\010property\202\323\344\223\002\037\"\023" + + "/v1alpha/properties:\010property\022\236\001\n\016Delete" + + "Property\0225.google.analytics.admin.v1alph" + + "a.DeletePropertyRequest\032(.google.analyti" + + "cs.admin.v1alpha.Property\"+\332A\004name\202\323\344\223\002\036" + + "*\034/v1alpha/{name=properties/*}\022\301\001\n\016Updat" + + "eProperty\0225.google.analytics.admin.v1alp" + + "ha.UpdatePropertyRequest\032(.google.analyt" + + "ics.admin.v1alpha.Property\"N\332A\024property," + + "update_mask\202\323\344\223\00212%/v1alpha/{property.na" + + "me=properties/*}:\010property\022\331\001\n\022CreateFir" + + "ebaseLink\0229.google.analytics.admin.v1alp" + + "ha.CreateFirebaseLinkRequest\032,.google.an" + + "alytics.admin.v1alpha.FirebaseLink\"Z\332A\024p" + + "arent,firebase_link\202\323\344\223\002=\",/v1alpha/{par" + + "ent=properties/*}/firebaseLinks:\rfirebas" + + "e_link\022\244\001\n\022DeleteFirebaseLink\0229.google.a" + + "nalytics.admin.v1alpha.DeleteFirebaseLin" + + "kRequest\032\026.google.protobuf.Empty\";\332A\004nam" + + "e\202\323\344\223\002.*,/v1alpha/{name=properties/*/fir" + + "ebaseLinks/*}\022\307\001\n\021ListFirebaseLinks\0228.go" + + "ogle.analytics.admin.v1alpha.ListFirebas" + + "eLinksRequest\0329.google.analytics.admin.v" + + "1alpha.ListFirebaseLinksResponse\"=\332A\006par" + + "ent\202\323\344\223\002.\022,/v1alpha/{parent=properties/*" + + "}/firebaseLinks\022\303\001\n\020GetGlobalSiteTag\0227.g" + + "oogle.analytics.admin.v1alpha.GetGlobalS" + + "iteTagRequest\032-.google.analytics.admin.v" + + "1alpha.GlobalSiteTag\"G\332A\004name\202\323\344\223\002:\0228/v1" + + "alpha/{name=properties/*/dataStreams/*/g" + + "lobalSiteTag}\022\341\001\n\023CreateGoogleAdsLink\022:." + + "google.analytics.admin.v1alpha.CreateGoo" + + "gleAdsLinkRequest\032-.google.analytics.adm" + + "in.v1alpha.GoogleAdsLink\"_\332A\026parent,goog" + + "le_ads_link\202\323\344\223\002@\"-/v1alpha/{parent=prop" + + "erties/*}/googleAdsLinks:\017google_ads_lin" + + "k\022\366\001\n\023UpdateGoogleAdsLink\022:.google.analy" + + "tics.admin.v1alpha.UpdateGoogleAdsLinkRe" + + "quest\032-.google.analytics.admin.v1alpha.G" + + "oogleAdsLink\"t\332A\033google_ads_link,update_" + + "mask\202\323\344\223\002P2=/v1alpha/{google_ads_link.na" + + "me=properties/*/googleAdsLinks/*}:\017googl" + + "e_ads_link\022\247\001\n\023DeleteGoogleAdsLink\022:.goo" + + "gle.analytics.admin.v1alpha.DeleteGoogle" + + "AdsLinkRequest\032\026.google.protobuf.Empty\"<" + + "\332A\004name\202\323\344\223\002/*-/v1alpha/{name=properties" + + "/*/googleAdsLinks/*}\022\313\001\n\022ListGoogleAdsLi" + + "nks\0229.google.analytics.admin.v1alpha.Lis" + + "tGoogleAdsLinksRequest\032:.google.analytic" + + "s.admin.v1alpha.ListGoogleAdsLinksRespon" + + "se\">\332A\006parent\202\323\344\223\002/\022-/v1alpha/{parent=pr" + + "operties/*}/googleAdsLinks\022\313\001\n\026GetDataSh" + + "aringSettings\022=.google.analytics.admin.v" + + "1alpha.GetDataSharingSettingsRequest\0323.g" + + "oogle.analytics.admin.v1alpha.DataSharin" + + "gSettings\"=\332A\004name\202\323\344\223\0020\022./v1alpha/{name" + + "=accounts/*/dataSharingSettings}\022\366\001\n\034Get" + + "MeasurementProtocolSecret\022C.google.analy" + + "tics.admin.v1alpha.GetMeasurementProtoco" + + "lSecretRequest\0329.google.analytics.admin." + + "v1alpha.MeasurementProtocolSecret\"V\332A\004na" + + "me\202\323\344\223\002I\022G/v1alpha/{name=properties/*/da" + + "taStreams/*/measurementProtocolSecrets/*" + + "}\022\211\002\n\036ListMeasurementProtocolSecrets\022E.g" + + "oogle.analytics.admin.v1alpha.ListMeasur" + + "ementProtocolSecretsRequest\032F.google.ana" + + "lytics.admin.v1alpha.ListMeasurementProt" + + "ocolSecretsResponse\"X\332A\006parent\202\323\344\223\002I\022G/v" + + "1alpha/{parent=properties/*/dataStreams/" + + "*}/measurementProtocolSecrets\022\270\002\n\037Create" + + "MeasurementProtocolSecret\022F.google.analy" + + "tics.admin.v1alpha.CreateMeasurementProt" + + "ocolSecretRequest\0329.google.analytics.adm" + + "in.v1alpha.MeasurementProtocolSecret\"\221\001\332" + + "A\"parent,measurement_protocol_secret\202\323\344\223" + + "\002f\"G/v1alpha/{parent=properties/*/dataSt" + + "reams/*}/measurementProtocolSecrets:\033mea" + + "surement_protocol_secret\022\331\001\n\037DeleteMeasu" + + "rementProtocolSecret\022F.google.analytics." + + "admin.v1alpha.DeleteMeasurementProtocolS" + + "ecretRequest\032\026.google.protobuf.Empty\"V\332A" + + "\004name\202\323\344\223\002I*G/v1alpha/{name=properties/*" + + "/dataStreams/*/measurementProtocolSecret" + + "s/*}\022\332\002\n\037UpdateMeasurementProtocolSecret" + + "\022F.google.analytics.admin.v1alpha.Update" + + "MeasurementProtocolSecretRequest\0329.googl" + + "e.analytics.admin.v1alpha.MeasurementPro" + + "tocolSecret\"\263\001\332A\'measurement_protocol_se" + + "cret,update_mask\202\323\344\223\002\202\0012c/v1alpha/{measu" + + "rement_protocol_secret.name=properties/*" + + "/dataStreams/*/measurementProtocolSecret" + + "s/*}:\033measurement_protocol_secret\022\367\001\n\035Ac" + + "knowledgeUserDataCollection\022D.google.ana" + + "lytics.admin.v1alpha.AcknowledgeUserData" + + "CollectionRequest\032E.google.analytics.adm" + + "in.v1alpha.AcknowledgeUserDataCollection" + + "Response\"I\202\323\344\223\002C\">/v1alpha/{property=pro" + + "perties/*}:acknowledgeUserDataCollection" + + ":\001*\022\221\002\n#GetSKAdNetworkConversionValueSch" + + "ema\022J.google.analytics.admin.v1alpha.Get" + + "SKAdNetworkConversionValueSchemaRequest\032" + + "@.google.analytics.admin.v1alpha.SKAdNet" + + "workConversionValueSchema\"\\\332A\004name\202\323\344\223\002O" + + "\022M/v1alpha/{name=properties/*/dataStream" + + "s/*/sKAdNetworkConversionValueSchema/*}\022" + + "\343\002\n&CreateSKAdNetworkConversionValueSche" + + "ma\022M.google.analytics.admin.v1alpha.Crea" + + "teSKAdNetworkConversionValueSchemaReques" + + "t\032@.google.analytics.admin.v1alpha.SKAdN" + + "etworkConversionValueSchema\"\247\001\332A*parent," + + "skadnetwork_conversion_value_schema\202\323\344\223\002" + + "t\"M/v1alpha/{parent=properties/*/dataStr" + + "eams/*}/sKAdNetworkConversionValueSchema" + + ":#skadnetwork_conversion_value_schema\022\355\001" + + "\n&DeleteSKAdNetworkConversionValueSchema" + + "\022M.google.analytics.admin.v1alpha.Delete" + + "SKAdNetworkConversionValueSchemaRequest\032" + + "\026.google.protobuf.Empty\"\\\332A\004name\202\323\344\223\002O*M" + + "/v1alpha/{name=properties/*/dataStreams/" + + "*/sKAdNetworkConversionValueSchema/*}\022\215\003" + + "\n&UpdateSKAdNetworkConversionValueSchema" + + "\022M.google.analytics.admin.v1alpha.Update" + + "SKAdNetworkConversionValueSchemaRequest\032" + + "@.google.analytics.admin.v1alpha.SKAdNet" + + "workConversionValueSchema\"\321\001\332A/skadnetwo" + + "rk_conversion_value_schema,update_mask\202\323" + + "\344\223\002\230\0012q/v1alpha/{skadnetwork_conversion_" + + "value_schema.name=properties/*/dataStrea" + + "ms/*/sKAdNetworkConversionValueSchema/*}" + + ":#skadnetwork_conversion_value_schema\022\244\002" + + "\n%ListSKAdNetworkConversionValueSchemas\022" + + "L.google.analytics.admin.v1alpha.ListSKA" + + "dNetworkConversionValueSchemasRequest\032M." + + "google.analytics.admin.v1alpha.ListSKAdN" + + "etworkConversionValueSchemasResponse\"^\332A" + + "\006parent\202\323\344\223\002O\022M/v1alpha/{parent=properti" + + "es/*/dataStreams/*}/sKAdNetworkConversio" + + "nValueSchema\022\344\001\n\031SearchChangeHistoryEven" + + "ts\022@.google.analytics.admin.v1alpha.Sear" + + "chChangeHistoryEventsRequest\032A.google.an" + + "alytics.admin.v1alpha.SearchChangeHistor", + "yEventsResponse\"B\202\323\344\223\002<\"7/v1alpha/{accou" + + "nt=accounts/*}:searchChangeHistoryEvents" + + ":\001*\022\325\001\n\030GetGoogleSignalsSettings\022?.googl" + + "e.analytics.admin.v1alpha.GetGoogleSigna" + + "lsSettingsRequest\0325.google.analytics.adm" + + "in.v1alpha.GoogleSignalsSettings\"A\332A\004nam" + + "e\202\323\344\223\0024\0222/v1alpha/{name=properties/*/goo" + + "gleSignalsSettings}\022\254\002\n\033UpdateGoogleSign" + + "alsSettings\022B.google.analytics.admin.v1a" + + "lpha.UpdateGoogleSignalsSettingsRequest\032" + + "5.google.analytics.admin.v1alpha.GoogleS" + + "ignalsSettings\"\221\001\332A#google_signals_setti" + + "ngs,update_mask\202\323\344\223\002e2J/v1alpha/{google_" + + "signals_settings.name=properties/*/googl" + + "eSignalsSettings}:\027google_signals_settin" + + "gs\022\353\001\n\025CreateConversionEvent\022<.google.an" + + "alytics.admin.v1alpha.CreateConversionEv" + + "entRequest\032/.google.analytics.admin.v1al" + + "pha.ConversionEvent\"c\332A\027parent,conversio" + + "n_event\202\323\344\223\002C\"//v1alpha/{parent=properti" + + "es/*}/conversionEvents:\020conversion_event" + + "\022\201\002\n\025UpdateConversionEvent\022<.google.anal" + + "ytics.admin.v1alpha.UpdateConversionEven" + + "tRequest\032/.google.analytics.admin.v1alph" + + "a.ConversionEvent\"y\332A\034conversion_event,u" + + "pdate_mask\202\323\344\223\002T2@/v1alpha/{conversion_e" + + "vent.name=properties/*/conversionEvents/" + + "*}:\020conversion_event\022\300\001\n\022GetConversionEv" + + "ent\0229.google.analytics.admin.v1alpha.Get" + + "ConversionEventRequest\032/.google.analytic" + + "s.admin.v1alpha.ConversionEvent\">\332A\004name" + + "\202\323\344\223\0021\022//v1alpha/{name=properties/*/conv" + + "ersionEvents/*}\022\255\001\n\025DeleteConversionEven" + + "t\022<.google.analytics.admin.v1alpha.Delet" + + "eConversionEventRequest\032\026.google.protobu" + + "f.Empty\">\332A\004name\202\323\344\223\0021*//v1alpha/{name=p" + + "roperties/*/conversionEvents/*}\022\323\001\n\024List" + + "ConversionEvents\022;.google.analytics.admi" + + "n.v1alpha.ListConversionEventsRequest\032<." + + "google.analytics.admin.v1alpha.ListConve" + + "rsionEventsResponse\"@\332A\006parent\202\323\344\223\0021\022//v" + + "1alpha/{parent=properties/*}/conversionE" + + "vents\022\370\001\n GetDisplayVideo360AdvertiserLi" + + "nk\022G.google.analytics.admin.v1alpha.GetD" + + "isplayVideo360AdvertiserLinkRequest\032=.go" + + "ogle.analytics.admin.v1alpha.DisplayVide" + + "o360AdvertiserLink\"L\332A\004name\202\323\344\223\002?\022=/v1al" + + "pha/{name=properties/*/displayVideo360Ad" + + "vertiserLinks/*}\022\213\002\n\"ListDisplayVideo360" + + "AdvertiserLinks\022I.google.analytics.admin" + + ".v1alpha.ListDisplayVideo360AdvertiserLi" + + "nksRequest\032J.google.analytics.admin.v1al" + + "pha.ListDisplayVideo360AdvertiserLinksRe" + + "sponse\"N\332A\006parent\202\323\344\223\002?\022=/v1alpha/{paren" + + "t=properties/*}/displayVideo360Advertise" + + "rLinks\022\306\002\n#CreateDisplayVideo360Advertis" + + "erLink\022J.google.analytics.admin.v1alpha." + + "CreateDisplayVideo360AdvertiserLinkReque" + + "st\032=.google.analytics.admin.v1alpha.Disp" + + "layVideo360AdvertiserLink\"\223\001\332A(parent,di" + + "splay_video_360_advertiser_link\202\323\344\223\002b\"=/" + + "v1alpha/{parent=properties/*}/displayVid" + + "eo360AdvertiserLinks:!display_video_360_" + + "advertiser_link\022\327\001\n#DeleteDisplayVideo36" + + "0AdvertiserLink\022J.google.analytics.admin" + + ".v1alpha.DeleteDisplayVideo360Advertiser" + + "LinkRequest\032\026.google.protobuf.Empty\"L\332A\004" + + "name\202\323\344\223\002?*=/v1alpha/{name=properties/*/" + + "displayVideo360AdvertiserLinks/*}\022\356\002\n#Up" + + "dateDisplayVideo360AdvertiserLink\022J.goog" + + "le.analytics.admin.v1alpha.UpdateDisplay" + + "Video360AdvertiserLinkRequest\032=.google.a" + + "nalytics.admin.v1alpha.DisplayVideo360Ad" + + "vertiserLink\"\273\001\332A-display_video_360_adve" + + "rtiser_link,update_mask\202\323\344\223\002\204\0012_/v1alpha" + + "/{display_video_360_advertiser_link.name" + + "=properties/*/displayVideo360AdvertiserL" + + "inks/*}:!display_video_360_advertiser_li" + + "nk\022\230\002\n(GetDisplayVideo360AdvertiserLinkP" + + "roposal\022O.google.analytics.admin.v1alpha" + + ".GetDisplayVideo360AdvertiserLinkProposa" + + "lRequest\032E.google.analytics.admin.v1alph" + + "a.DisplayVideo360AdvertiserLinkProposal\"" + + "T\332A\004name\202\323\344\223\002G\022E/v1alpha/{name=propertie" + + "s/*/displayVideo360AdvertiserLinkProposa" + + "ls/*}\022\253\002\n*ListDisplayVideo360AdvertiserL" + + "inkProposals\022Q.google.analytics.admin.v1" + + "alpha.ListDisplayVideo360AdvertiserLinkP" + + "roposalsRequest\032R.google.analytics.admin" + + ".v1alpha.ListDisplayVideo360AdvertiserLi" + + "nkProposalsResponse\"V\332A\006parent\202\323\344\223\002G\022E/v" + + "1alpha/{parent=properties/*}/displayVide" + + "o360AdvertiserLinkProposals\022\370\002\n+CreateDi" + + "splayVideo360AdvertiserLinkProposal\022R.go" + + "ogle.analytics.admin.v1alpha.CreateDispl" + + "ayVideo360AdvertiserLinkProposalRequest\032" + + "E.google.analytics.admin.v1alpha.Display" + + "Video360AdvertiserLinkProposal\"\255\001\332A1pare" + + "nt,display_video_360_advertiser_link_pro" + + "posal\202\323\344\223\002s\"E/v1alpha/{parent=properties" + + "/*}/displayVideo360AdvertiserLinkProposa" + + "ls:*display_video_360_advertiser_link_pr" + + "oposal\022\357\001\n+DeleteDisplayVideo360Advertis" + + "erLinkProposal\022R.google.analytics.admin." + + "v1alpha.DeleteDisplayVideo360AdvertiserL" + + "inkProposalRequest\032\026.google.protobuf.Emp" + + "ty\"T\332A\004name\202\323\344\223\002G*E/v1alpha/{name=proper" + + "ties/*/displayVideo360AdvertiserLinkProp" + + "osals/*}\022\263\002\n,ApproveDisplayVideo360Adver" + + "tiserLinkProposal\022S.google.analytics.adm" + + "in.v1alpha.ApproveDisplayVideo360Adverti" + + "serLinkProposalRequest\032T.google.analytic" + + "s.admin.v1alpha.ApproveDisplayVideo360Ad" + + "vertiserLinkProposalResponse\"X\202\323\344\223\002R\"M/v" + + "1alpha/{name=properties/*/displayVideo36" + + "0AdvertiserLinkProposals/*}:approve:\001*\022\241" + + "\002\n+CancelDisplayVideo360AdvertiserLinkPr" + + "oposal\022R.google.analytics.admin.v1alpha." + + "CancelDisplayVideo360AdvertiserLinkPropo" + + "salRequest\032E.google.analytics.admin.v1al" + + "pha.DisplayVideo360AdvertiserLinkProposa" + + "l\"W\202\323\344\223\002Q\"L/v1alpha/{name=properties/*/d" + + "isplayVideo360AdvertiserLinkProposals/*}" + + ":cancel:\001*\022\353\001\n\025CreateCustomDimension\022<.g" + + "oogle.analytics.admin.v1alpha.CreateCust" + + "omDimensionRequest\032/.google.analytics.ad" + + "min.v1alpha.CustomDimension\"c\332A\027parent,c" + + "ustom_dimension\202\323\344\223\002C\"//v1alpha/{parent=" + + "properties/*}/customDimensions:\020custom_d" + + "imension\022\201\002\n\025UpdateCustomDimension\022<.goo" + + "gle.analytics.admin.v1alpha.UpdateCustom" + + "DimensionRequest\032/.google.analytics.admi" + + "n.v1alpha.CustomDimension\"y\332A\034custom_dim" + + "ension,update_mask\202\323\344\223\002T2@/v1alpha/{cust" + + "om_dimension.name=properties/*/customDim" + + "ensions/*}:\020custom_dimension\022\323\001\n\024ListCus" + + "tomDimensions\022;.google.analytics.admin.v" + + "1alpha.ListCustomDimensionsRequest\032<.goo" + + "gle.analytics.admin.v1alpha.ListCustomDi" + + "mensionsResponse\"@\332A\006parent\202\323\344\223\0021\022//v1al" + + "pha/{parent=properties/*}/customDimensio" + + "ns\022\272\001\n\026ArchiveCustomDimension\022=.google.a" + + "nalytics.admin.v1alpha.ArchiveCustomDime" + + "nsionRequest\032\026.google.protobuf.Empty\"I\332A" + + "\004name\202\323\344\223\002<\"7/v1alpha/{name=properties/*" + + "/customDimensions/*}:archive:\001*\022\300\001\n\022GetC" + + "ustomDimension\0229.google.analytics.admin." + + "v1alpha.GetCustomDimensionRequest\032/.goog" + + "le.analytics.admin.v1alpha.CustomDimensi" + + "on\">\332A\004name\202\323\344\223\0021\022//v1alpha/{name=proper" + + "ties/*/customDimensions/*}\022\331\001\n\022CreateCus" + + "tomMetric\0229.google.analytics.admin.v1alp" + + "ha.CreateCustomMetricRequest\032,.google.an" + + "alytics.admin.v1alpha.CustomMetric\"Z\332A\024p" + + "arent,custom_metric\202\323\344\223\002=\",/v1alpha/{par" + + "ent=properties/*}/customMetrics:\rcustom_" + + "metric\022\354\001\n\022UpdateCustomMetric\0229.google.a" + + "nalytics.admin.v1alpha.UpdateCustomMetri" + + "cRequest\032,.google.analytics.admin.v1alph" + + "a.CustomMetric\"m\332A\031custom_metric,update_" + + "mask\202\323\344\223\002K2:/v1alpha/{custom_metric.name" + + "=properties/*/customMetrics/*}:\rcustom_m" + + "etric\022\307\001\n\021ListCustomMetrics\0228.google.ana" + + "lytics.admin.v1alpha.ListCustomMetricsRe" + + "quest\0329.google.analytics.admin.v1alpha.L" + + "istCustomMetricsResponse\"=\332A\006parent\202\323\344\223\002" + + ".\022,/v1alpha/{parent=properties/*}/custom" + + "Metrics\022\261\001\n\023ArchiveCustomMetric\022:.google" + + ".analytics.admin.v1alpha.ArchiveCustomMe" + + "tricRequest\032\026.google.protobuf.Empty\"F\332A\004" + + "name\202\323\344\223\0029\"4/v1alpha/{name=properties/*/" + + "customMetrics/*}:archive:\001*\022\264\001\n\017GetCusto" + + "mMetric\0226.google.analytics.admin.v1alpha" + + ".GetCustomMetricRequest\032,.google.analyti" + + "cs.admin.v1alpha.CustomMetric\";\332A\004name\202\323" + + "\344\223\002.\022,/v1alpha/{name=properties/*/custom" + + "Metrics/*}\022\325\001\n\030GetDataRetentionSettings\022" + + "?.google.analytics.admin.v1alpha.GetData" + + "RetentionSettingsRequest\0325.google.analyt" + + "ics.admin.v1alpha.DataRetentionSettings\"" + + "A\332A\004name\202\323\344\223\0024\0222/v1alpha/{name=propertie" + + "s/*/dataRetentionSettings}\022\254\002\n\033UpdateDat" + + "aRetentionSettings\022B.google.analytics.ad" + + "min.v1alpha.UpdateDataRetentionSettingsR" + + "equest\0325.google.analytics.admin.v1alpha." + + "DataRetentionSettings\"\221\001\332A#data_retentio" + + "n_settings,update_mask\202\323\344\223\002e2J/v1alpha/{" + + "data_retention_settings.name=properties/" + + "*/dataRetentionSettings}:\027data_retention" + + "_settings\022\315\001\n\020CreateDataStream\0227.google." + + "analytics.admin.v1alpha.CreateDataStream" + + "Request\032*.google.analytics.admin.v1alpha" + + ".DataStream\"T\332A\022parent,data_stream\202\323\344\223\0029" + + "\"*/v1alpha/{parent=properties/*}/dataStr" + + "eams:\013data_stream\022\236\001\n\020DeleteDataStream\0227" + + ".google.analytics.admin.v1alpha.DeleteDa" + + "taStreamRequest\032\026.google.protobuf.Empty\"" + + "9\332A\004name\202\323\344\223\002,**/v1alpha/{name=propertie" + + "s/*/dataStreams/*}\022\336\001\n\020UpdateDataStream\022" + + "7.google.analytics.admin.v1alpha.UpdateD" + + "ataStreamRequest\032*.google.analytics.admi" + + "n.v1alpha.DataStream\"e\332A\027data_stream,upd" + + "ate_mask\202\323\344\223\002E26/v1alpha/{data_stream.na" + + "me=properties/*/dataStreams/*}:\013data_str" + + "eam\022\277\001\n\017ListDataStreams\0226.google.analyti" + + "cs.admin.v1alpha.ListDataStreamsRequest\032" + + "7.google.analytics.admin.v1alpha.ListDat" + + "aStreamsResponse\";\332A\006parent\202\323\344\223\002,\022*/v1al" + + "pha/{parent=properties/*}/dataStreams\022\254\001" + + "\n\rGetDataStream\0224.google.analytics.admin" + + ".v1alpha.GetDataStreamRequest\032*.google.a" + + "nalytics.admin.v1alpha.DataStream\"9\332A\004na" + + "me\202\323\344\223\002,\022*/v1alpha/{name=properties/*/da" + + "taStreams/*}\022\244\001\n\013GetAudience\0222.google.an" + + "alytics.admin.v1alpha.GetAudienceRequest" + + "\032(.google.analytics.admin.v1alpha.Audien" + + "ce\"7\332A\004name\202\323\344\223\002*\022(/v1alpha/{name=proper" + + "ties/*/audiences/*}\022\267\001\n\rListAudiences\0224." + + "google.analytics.admin.v1alpha.ListAudie" + + "ncesRequest\0325.google.analytics.admin.v1a" + + "lpha.ListAudiencesResponse\"9\332A\006parent\202\323\344" + + "\223\002*\022(/v1alpha/{parent=properties/*}/audi" + + "ences\022\277\001\n\016CreateAudience\0225.google.analyt" + + "ics.admin.v1alpha.CreateAudienceRequest\032" + + "(.google.analytics.admin.v1alpha.Audienc" + + "e\"L\332A\017parent,audience\202\323\344\223\0024\"(/v1alpha/{p" + + "arent=properties/*}/audiences:\010audience\022" + + "\315\001\n\016UpdateAudience\0225.google.analytics.ad" + + "min.v1alpha.UpdateAudienceRequest\032(.goog" + + "le.analytics.admin.v1alpha.Audience\"Z\332A\024" + + "audience,update_mask\202\323\344\223\002=21/v1alpha/{au" + + "dience.name=properties/*/audiences/*}:\010a" + + "udience\022\236\001\n\017ArchiveAudience\0226.google.ana" + + "lytics.admin.v1alpha.ArchiveAudienceRequ" + + "est\032\026.google.protobuf.Empty\";\202\323\344\223\0025\"0/v1" + + "alpha/{name=properties/*/audiences/*}:ar" + + "chive:\001*\022\304\001\n\023GetSearchAds360Link\022:.googl" + + "e.analytics.admin.v1alpha.GetSearchAds36" + + "0LinkRequest\0320.google.analytics.admin.v1" + + "alpha.SearchAds360Link\"?\332A\004name\202\323\344\223\0022\0220/" + + "v1alpha/{name=properties/*/searchAds360L" + + "inks/*}\022\327\001\n\025ListSearchAds360Links\022<.goog" + + "le.analytics.admin.v1alpha.ListSearchAds" + + "360LinksRequest\032=.google.analytics.admin" + + ".v1alpha.ListSearchAds360LinksResponse\"A" + + "\332A\006parent\202\323\344\223\0022\0220/v1alpha/{parent=proper" + + "ties/*}/searchAds360Links\022\365\001\n\026CreateSear" + + "chAds360Link\022=.google.analytics.admin.v1" + + "alpha.CreateSearchAds360LinkRequest\0320.go" + + "ogle.analytics.admin.v1alpha.SearchAds36" + + "0Link\"j\332A\032parent,search_ads_360_link\202\323\344\223" + + "\002G\"0/v1alpha/{parent=properties/*}/searc" + + "hAds360Links:\023search_ads_360_link\022\260\001\n\026De" + + "leteSearchAds360Link\022=.google.analytics." + + "admin.v1alpha.DeleteSearchAds360LinkRequ" + + "est\032\026.google.protobuf.Empty\"?\332A\004name\202\323\344\223" + + "\0022*0/v1alpha/{name=properties/*/searchAd" + + "s360Links/*}\022\217\002\n\026UpdateSearchAds360Link\022" + + "=.google.analytics.admin.v1alpha.UpdateS" + + "earchAds360LinkRequest\0320.google.analytic" + + "s.admin.v1alpha.SearchAds360Link\"\203\001\332A\037se" + + "arch_ads_360_link,update_mask\202\323\344\223\002[2D/v1" + + "alpha/{search_ads_360_link.name=properti" + + "es/*/searchAds360Links/*}:\023search_ads_36" + + "0_link\022\315\001\n\026GetAttributionSettings\022=.goog" + + "le.analytics.admin.v1alpha.GetAttributio" + + "nSettingsRequest\0323.google.analytics.admi" + + "n.v1alpha.AttributionSettings\"?\332A\004name\202\323" + + "\344\223\0022\0220/v1alpha/{name=properties/*/attrib" + + "utionSettings}\022\233\002\n\031UpdateAttributionSett" + + "ings\022@.google.analytics.admin.v1alpha.Up" + + "dateAttributionSettingsRequest\0323.google." + + "analytics.admin.v1alpha.AttributionSetti" + + "ngs\"\206\001\332A attribution_settings,update_mas" + + "k\202\323\344\223\002]2E/v1alpha/{attribution_settings." + + "name=properties/*/attributionSettings}:\024" + + "attribution_settings\022\360\001\n\017RunAccessReport" + + "\0226.google.analytics.admin.v1alpha.RunAcc" + + "essReportRequest\0327.google.analytics.admi" + + "n.v1alpha.RunAccessReportResponse\"l\202\323\344\223\002" + + "f\"./v1alpha/{entity=properties/*}:runAcc" + + "essReport:\001*Z1\",/v1alpha/{entity=account" + + "s/*}:runAccessReport:\001*\022\237\002\n\023CreateAccess" + + "Binding\022:.google.analytics.admin.v1alpha" + + ".CreateAccessBindingRequest\032-.google.ana" + + "lytics.admin.v1alpha.AccessBinding\"\234\001\332A\025" + + "parent,access_binding\202\323\344\223\002~\"+/v1alpha/{p" + + "arent=accounts/*}/accessBindings:\016access" + + "_bindingZ?\"-/v1alpha/{parent=properties/" + + "*}/accessBindings:\016access_binding\022\347\001\n\020Ge" + + "tAccessBinding\0227.google.analytics.admin." + + "v1alpha.GetAccessBindingRequest\032-.google" + + ".analytics.admin.v1alpha.AccessBinding\"k" + + "\332A\004name\202\323\344\223\002^\022+/v1alpha/{name=accounts/*" + + "/accessBindings/*}Z/\022-/v1alpha/{name=pro" + + "perties/*/accessBindings/*}\022\267\002\n\023UpdateAc" + + "cessBinding\022:.google.analytics.admin.v1a" + + "lpha.UpdateAccessBindingRequest\032-.google" + + ".analytics.admin.v1alpha.AccessBinding\"\264" + + "\001\332A\016access_binding\202\323\344\223\002\234\0012:/v1alpha/{acc" + + "ess_binding.name=accounts/*/accessBindin" + + "gs/*}:\016access_bindingZN2\"9/v1alpha/{parent=properties/*}/ac" + + "cessBindings:batchCreate:\001*\022\217\002\n\026BatchGet" + + "AccessBindings\022=.google.analytics.admin." + + "v1alpha.BatchGetAccessBindingsRequest\032>." + + "google.analytics.admin.v1alpha.BatchGetA" + + "ccessBindingsResponse\"v\202\323\344\223\002p\0224/v1alpha/" + + "{parent=accounts/*}/accessBindings:batch" + + "GetZ8\0226/v1alpha/{parent=properties/*}/ac" + + "cessBindings:batchGet\022\245\002\n\031BatchUpdateAcc" + + "essBindings\022@.google.analytics.admin.v1a" + + "lpha.BatchUpdateAccessBindingsRequest\032A." + + "google.analytics.admin.v1alpha.BatchUpda" + + "teAccessBindingsResponse\"\202\001\202\323\344\223\002|\"7/v1al" + + "pha/{parent=accounts/*}/accessBindings:b" + + "atchUpdate:\001*Z>\"9/v1alpha/{parent=proper" + + "ties/*}/accessBindings:batchUpdate:\001*\022\372\001" + + "\n\031BatchDeleteAccessBindings\022@.google.ana" + + "lytics.admin.v1alpha.BatchDeleteAccessBi" + + "ndingsRequest\032\026.google.protobuf.Empty\"\202\001" + + "\202\323\344\223\002|\"7/v1alpha/{parent=accounts/*}/acc" + + "essBindings:batchDelete:\001*Z>\"9/v1alpha/{" + + "parent=properties/*}/accessBindings:batc" + + "hDelete:\001*\022\300\001\n\022GetExpandedDataSet\0229.goog" + + "le.analytics.admin.v1alpha.GetExpandedDa" + + "taSetRequest\032/.google.analytics.admin.v1" + + "alpha.ExpandedDataSet\">\332A\004name\202\323\344\223\0021\022//v" + + "1alpha/{name=properties/*/expandedDataSe" + + "ts/*}\022\323\001\n\024ListExpandedDataSets\022;.google." + + "analytics.admin.v1alpha.ListExpandedData" + + "SetsRequest\032<.google.analytics.admin.v1a" + + "lpha.ListExpandedDataSetsResponse\"@\332A\006pa" + + "rent\202\323\344\223\0021\022//v1alpha/{parent=properties/" + + "*}/expandedDataSets\022\355\001\n\025CreateExpandedDa" + + "taSet\022<.google.analytics.admin.v1alpha.C" + + "reateExpandedDataSetRequest\032/.google.ana" + + "lytics.admin.v1alpha.ExpandedDataSet\"e\332A" + + "\030parent,expanded_data_set\202\323\344\223\002D\"//v1alph" + + "a/{parent=properties/*}/expandedDataSets" + + ":\021expanded_data_set\022\204\002\n\025UpdateExpandedDa" + + "taSet\022<.google.analytics.admin.v1alpha.U" + + "pdateExpandedDataSetRequest\032/.google.ana" + + "lytics.admin.v1alpha.ExpandedDataSet\"|\332A" + + "\035expanded_data_set,update_mask\202\323\344\223\002V2A/v" + + "1alpha/{expanded_data_set.name=propertie" + + "s/*/expandedDataSets/*}:\021expanded_data_s" + + "et\022\255\001\n\025DeleteExpandedDataSet\022<.google.an" + + "alytics.admin.v1alpha.DeleteExpandedData" + + "SetRequest\032\026.google.protobuf.Empty\">\332A\004n" + + "ame\202\323\344\223\0021*//v1alpha/{name=properties/*/e" + + "xpandedDataSets/*}\022\264\001\n\017GetChannelGroup\0226" + + ".google.analytics.admin.v1alpha.GetChann" + + "elGroupRequest\032,.google.analytics.admin." + + "v1alpha.ChannelGroup\";\332A\004name\202\323\344\223\002.\022,/v1" + + "alpha/{name=properties/*/channelGroups/*" + + "}\022\307\001\n\021ListChannelGroups\0228.google.analyti" + + "cs.admin.v1alpha.ListChannelGroupsReques" + + "t\0329.google.analytics.admin.v1alpha.ListC" + + "hannelGroupsResponse\"=\332A\006parent\202\323\344\223\002.\022,/" + + "v1alpha/{parent=properties/*}/channelGro" + + "ups\022\331\001\n\022CreateChannelGroup\0229.google.anal" + + "ytics.admin.v1alpha.CreateChannelGroupRe" + + "quest\032,.google.analytics.admin.v1alpha.C" + + "hannelGroup\"Z\332A\024parent,channel_group\202\323\344\223" + + "\002=\",/v1alpha/{parent=properties/*}/chann" + + "elGroups:\rchannel_group\022\354\001\n\022UpdateChanne" + + "lGroup\0229.google.analytics.admin.v1alpha." + + "UpdateChannelGroupRequest\032,.google.analy" + + "tics.admin.v1alpha.ChannelGroup\"m\332A\031chan" + + "nel_group,update_mask\202\323\344\223\002K2:/v1alpha/{c" + + "hannel_group.name=properties/*/channelGr" + + "oups/*}:\rchannel_group\022\244\001\n\022DeleteChannel" + + "Group\0229.google.analytics.admin.v1alpha.D" + + "eleteChannelGroupRequest\032\026.google.protob" + + "uf.Empty\";\332A\004name\202\323\344\223\002.*,/v1alpha/{name=" + + "properties/*/channelGroups/*}\022\376\001\n\"SetAut" + + "omatedGa4ConfigurationOptOut\022I.google.an" + + "alytics.admin.v1alpha.SetAutomatedGa4Con" + + "figurationOptOutRequest\032J.google.analyti" + + "cs.admin.v1alpha.SetAutomatedGa4Configur", + "ationOptOutResponse\"A\202\323\344\223\002;\"6/v1alpha/pr" + + "operties:setAutomatedGa4ConfigurationOpt" + + "Out:\001*\022\206\002\n$FetchAutomatedGa4Configuratio" + + "nOptOut\022K.google.analytics.admin.v1alpha" + + ".FetchAutomatedGa4ConfigurationOptOutReq" + + "uest\032L.google.analytics.admin.v1alpha.Fe" + + "tchAutomatedGa4ConfigurationOptOutRespon" + + "se\"C\202\323\344\223\002=\"8/v1alpha/properties:fetchAut" + + "omatedGa4ConfigurationOptOut:\001*\022\264\001\n\017GetB" + + "igQueryLink\0226.google.analytics.admin.v1a" + + "lpha.GetBigQueryLinkRequest\032,.google.ana" + + "lytics.admin.v1alpha.BigQueryLink\";\332A\004na" + + "me\202\323\344\223\002.\022,/v1alpha/{name=properties/*/bi" + + "gQueryLinks/*}\022\307\001\n\021ListBigQueryLinks\0228.g" + + "oogle.analytics.admin.v1alpha.ListBigQue" + + "ryLinksRequest\0329.google.analytics.admin." + + "v1alpha.ListBigQueryLinksResponse\"=\332A\006pa" + + "rent\202\323\344\223\002.\022,/v1alpha/{parent=properties/" + + "*}/bigQueryLinks\022\373\001\n\036GetEnhancedMeasurem" + + "entSettings\022E.google.analytics.admin.v1a" + + "lpha.GetEnhancedMeasurementSettingsReque" + + "st\032;.google.analytics.admin.v1alpha.Enha" + + "ncedMeasurementSettings\"U\332A\004name\202\323\344\223\002H\022F" + + "/v1alpha/{name=properties/*/dataStreams/" + + "*/enhancedMeasurementSettings}\022\345\002\n!Updat" + + "eEnhancedMeasurementSettings\022H.google.an" + + "alytics.admin.v1alpha.UpdateEnhancedMeas" + + "urementSettingsRequest\032;.google.analytic" + + "s.admin.v1alpha.EnhancedMeasurementSetti" + + "ngs\"\270\001\332A)enhanced_measurement_settings,u" + + "pdate_mask\202\323\344\223\002\205\0012d/v1alpha/{enhanced_me" + + "asurement_settings.name=properties/*/dat" + + "aStreams/*/enhancedMeasurementSettings}:" + + "\035enhanced_measurement_settings\022\316\001\n\026Creat" + + "eConnectedSiteTag\022=.google.analytics.adm" + + "in.v1alpha.CreateConnectedSiteTagRequest" + + "\032>.google.analytics.admin.v1alpha.Create" + + "ConnectedSiteTagResponse\"5\202\323\344\223\002/\"*/v1alp" + + "ha/properties:createConnectedSiteTag:\001*\022" + + "\246\001\n\026DeleteConnectedSiteTag\022=.google.anal" + + "ytics.admin.v1alpha.DeleteConnectedSiteT" + + "agRequest\032\026.google.protobuf.Empty\"5\202\323\344\223\002" + + "/\"*/v1alpha/properties:deleteConnectedSi" + + "teTag:\001*\022\312\001\n\025ListConnectedSiteTags\022<.goo" + + "gle.analytics.admin.v1alpha.ListConnecte" + + "dSiteTagsRequest\032=.google.analytics.admi" + + "n.v1alpha.ListConnectedSiteTagsResponse\"" + + "4\202\323\344\223\002.\")/v1alpha/properties:listConnect" + + "edSiteTags:\001*\022\327\001\n\031FetchConnectedGa4Prope" + + "rty\022@.google.analytics.admin.v1alpha.Fet" + + "chConnectedGa4PropertyRequest\032A.google.a" + + "nalytics.admin.v1alpha.FetchConnectedGa4" + + "PropertyResponse\"5\202\323\344\223\002/\022-/v1alpha/prope" + + "rties:fetchConnectedGa4Property\022\260\001\n\016GetA" + + "dSenseLink\0225.google.analytics.admin.v1al" + + "pha.GetAdSenseLinkRequest\032+.google.analy" + + "tics.admin.v1alpha.AdSenseLink\":\332A\004name\202" + + "\323\344\223\002-\022+/v1alpha/{name=properties/*/adSen" + + "seLinks/*}\022\323\001\n\021CreateAdSenseLink\0228.googl" + + "e.analytics.admin.v1alpha.CreateAdSenseL" + + "inkRequest\032+.google.analytics.admin.v1al" + + "pha.AdSenseLink\"W\332A\023parent,adsense_link\202" + + "\323\344\223\002;\"+/v1alpha/{parent=properties/*}/ad" + + "SenseLinks:\014adsense_link\022\241\001\n\021DeleteAdSen" + + "seLink\0228.google.analytics.admin.v1alpha." + + "DeleteAdSenseLinkRequest\032\026.google.protob" + + "uf.Empty\":\332A\004name\202\323\344\223\002-*+/v1alpha/{name=" + + "properties/*/adSenseLinks/*}\022\303\001\n\020ListAdS" + + "enseLinks\0227.google.analytics.admin.v1alp" + + "ha.ListAdSenseLinksRequest\0328.google.anal" + + "ytics.admin.v1alpha.ListAdSenseLinksResp" + + "onse\"<\332A\006parent\202\323\344\223\002-\022+/v1alpha/{parent=" + + "properties/*}/adSenseLinks\022\316\001\n\022GetEventC" + + "reateRule\0229.google.analytics.admin.v1alp" + + "ha.GetEventCreateRuleRequest\032/.google.an" + + "alytics.admin.v1alpha.EventCreateRule\"L\332" + + "A\004name\202\323\344\223\002?\022=/v1alpha/{name=properties/" + + "*/dataStreams/*/eventCreateRules/*}\022\341\001\n\024" + + "ListEventCreateRules\022;.google.analytics." + + "admin.v1alpha.ListEventCreateRulesReques" + + "t\032<.google.analytics.admin.v1alpha.ListE" + + "ventCreateRulesResponse\"N\332A\006parent\202\323\344\223\002?" + + "\022=/v1alpha/{parent=properties/*/dataStre" + + "ams/*}/eventCreateRules\022\373\001\n\025CreateEventC" + + "reateRule\022<.google.analytics.admin.v1alp" + + "ha.CreateEventCreateRuleRequest\032/.google" + + ".analytics.admin.v1alpha.EventCreateRule" + + "\"s\332A\030parent,event_create_rule\202\323\344\223\002R\"=/v1" + + "alpha/{parent=properties/*/dataStreams/*" + + "}/eventCreateRules:\021event_create_rule\022\223\002" + + "\n\025UpdateEventCreateRule\022<.google.analyti" + + "cs.admin.v1alpha.UpdateEventCreateRuleRe" + + "quest\032/.google.analytics.admin.v1alpha.E" + + "ventCreateRule\"\212\001\332A\035event_create_rule,up" + + "date_mask\202\323\344\223\002d2O/v1alpha/{event_create_" + + "rule.name=properties/*/dataStreams/*/eve" + + "ntCreateRules/*}:\021event_create_rule\022\273\001\n\025" + + "DeleteEventCreateRule\022<.google.analytics" + + ".admin.v1alpha.DeleteEventCreateRuleRequ" + + "est\032\026.google.protobuf.Empty\"L\332A\004name\202\323\344\223" + + "\002?*=/v1alpha/{name=properties/*/dataStre" + + "ams/*/eventCreateRules/*}\022\272\002\n\033UpdateData" + + "RedactionSettings\022B.google.analytics.adm" + + "in.v1alpha.UpdateDataRedactionSettingsRe" + + "quest\0325.google.analytics.admin.v1alpha.D" + + "ataRedactionSettings\"\237\001\332A#data_redaction" + + "_settings,update_mask\202\323\344\223\002s2X/v1alpha/{d" + + "ata_redaction_settings.name=properties/*" + + "/dataStreams/*/dataRedactionSettings}:\027d" + + "ata_redaction_settings\022\343\001\n\030GetDataRedact" + + "ionSettings\022?.google.analytics.admin.v1a" + + "lpha.GetDataRedactionSettingsRequest\0325.g" + + "oogle.analytics.admin.v1alpha.DataRedact" + + "ionSettings\"O\332A\004name\202\323\344\223\002B\022@/v1alpha/{na" + + "me=properties/*/dataStreams/*/dataRedact" + + "ionSettings}\022\306\001\n\024CreateRollupProperty\022;." + + "google.analytics.admin.v1alpha.CreateRol" + + "lupPropertyRequest\032<.google.analytics.ad" + + "min.v1alpha.CreateRollupPropertyResponse" + + "\"3\202\323\344\223\002-\"(/v1alpha/properties:createRoll" + + "upProperty:\001*\022\344\001\n\033GetRollupPropertySourc" + + "eLink\022B.google.analytics.admin.v1alpha.G" + + "etRollupPropertySourceLinkRequest\0328.goog" + + "le.analytics.admin.v1alpha.RollupPropert" + + "ySourceLink\"G\332A\004name\202\323\344\223\002:\0228/v1alpha/{na" + + "me=properties/*/rollupPropertySourceLink" + + "s/*}\022\367\001\n\035ListRollupPropertySourceLinks\022D" + + ".google.analytics.admin.v1alpha.ListRoll" + + "upPropertySourceLinksRequest\032E.google.an" + + "alytics.admin.v1alpha.ListRollupProperty" + + "SourceLinksResponse\"I\332A\006parent\202\323\344\223\002:\0228/v" + + "1alpha/{parent=properties/*}/rollupPrope" + + "rtySourceLinks\022\246\002\n\036CreateRollupPropertyS" + + "ourceLink\022E.google.analytics.admin.v1alp" + + "ha.CreateRollupPropertySourceLinkRequest" + + "\0328.google.analytics.admin.v1alpha.Rollup" + + "PropertySourceLink\"\202\001\332A\"parent,rollup_pr" + + "operty_source_link\202\323\344\223\002W\"8/v1alpha/{pare" + + "nt=properties/*}/rollupPropertySourceLin" + + "ks:\033rollup_property_source_link\022\310\001\n\036Dele" + + "teRollupPropertySourceLink\022E.google.anal" + + "ytics.admin.v1alpha.DeleteRollupProperty" + + "SourceLinkRequest\032\026.google.protobuf.Empt" + + "y\"G\332A\004name\202\323\344\223\002:*8/v1alpha/{name=propert" + + "ies/*/rollupPropertySourceLinks/*}\022\272\001\n\021C" + + "reateSubproperty\0228.google.analytics.admi" + + "n.v1alpha.CreateSubpropertyRequest\0329.goo" + + "gle.analytics.admin.v1alpha.CreateSubpro" + + "pertyResponse\"0\202\323\344\223\002*\"%/v1alpha/properti" + + "es:createSubproperty:\001*\022\302\001\n\034DeleteSubpro" + + "pertyEventFilter\022C.google.analytics.admi" + + "n.v1alpha.DeleteSubpropertyEventFilterRe" + + "quest\032\026.google.protobuf.Empty\"E\332A\004name\202\323" + + "\344\223\0028*6/v1alpha/{name=properties/*/subpro" + + "pertyEventFilters/*}\022\227\002\n\034CreateSubproper" + + "tyEventFilter\022C.google.analytics.admin.v" + + "1alpha.CreateSubpropertyEventFilterReque" + + "st\0326.google.analytics.admin.v1alpha.Subp" + + "ropertyEventFilter\"z\332A\037parent,subpropert" + + "y_event_filter\202\323\344\223\002R\"6/v1alpha/{parent=p" + + "roperties/*}/subpropertyEventFilters:\030su" + + "bproperty_event_filter\032\374\001\312A\035analyticsadm" + + "in.googleapis.com\322A\330\001https://www.googlea" + + "pis.com/auth/analytics.edit,https://www." + + "googleapis.com/auth/analytics.manage.use" + + "rs,https://www.googleapis.com/auth/analy" + + "tics.manage.users.readonly,https://www.g" + + "oogleapis.com/auth/analytics.readonlyB{\n" + + "\"com.google.analytics.admin.v1alphaB\023Ana" + + "lyticsAdminProtoP\001Z>cloud.google.com/go/" + + "analytics/admin/apiv1alpha/adminpb;admin" + + "pbb\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.ChannelGroupProto.getDescriptor(), + com.google.analytics.admin.v1alpha.EventCreateAndEdit.getDescriptor(), + com.google.analytics.admin.v1alpha.ExpandedDataSetProto.getDescriptor(), + com.google.analytics.admin.v1alpha.ResourcesProto.getDescriptor(), + com.google.analytics.admin.v1alpha.SubpropertyEventFilterProto.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", + "IncludeAllUsers", + "ExpandGroups", + }); + 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_CreateFirebaseLinkRequest_descriptor = + getDescriptor().getMessageTypes().get(15); + 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(16); + 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(17); + 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(18); + 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(19); + 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(20); + 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(21); + 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(22); + 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(23); + 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(24); + 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(25); + 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(26); + 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(27); + 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(28); + 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(29); + 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(30); + 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(31); + 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(32); + 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(33); + 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(34); + 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(35); + 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(36); + 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(37); + 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_GetSKAdNetworkConversionValueSchemaRequest_descriptor = + getDescriptor().getMessageTypes().get(38); + internal_static_google_analytics_admin_v1alpha_GetSKAdNetworkConversionValueSchemaRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_GetSKAdNetworkConversionValueSchemaRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_analytics_admin_v1alpha_CreateSKAdNetworkConversionValueSchemaRequest_descriptor = + getDescriptor().getMessageTypes().get(39); + internal_static_google_analytics_admin_v1alpha_CreateSKAdNetworkConversionValueSchemaRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_CreateSKAdNetworkConversionValueSchemaRequest_descriptor, + new java.lang.String[] { + "Parent", "SkadnetworkConversionValueSchema", + }); + internal_static_google_analytics_admin_v1alpha_DeleteSKAdNetworkConversionValueSchemaRequest_descriptor = + getDescriptor().getMessageTypes().get(40); + internal_static_google_analytics_admin_v1alpha_DeleteSKAdNetworkConversionValueSchemaRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_DeleteSKAdNetworkConversionValueSchemaRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_analytics_admin_v1alpha_UpdateSKAdNetworkConversionValueSchemaRequest_descriptor = + getDescriptor().getMessageTypes().get(41); + internal_static_google_analytics_admin_v1alpha_UpdateSKAdNetworkConversionValueSchemaRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_UpdateSKAdNetworkConversionValueSchemaRequest_descriptor, + new java.lang.String[] { + "SkadnetworkConversionValueSchema", "UpdateMask", + }); + internal_static_google_analytics_admin_v1alpha_ListSKAdNetworkConversionValueSchemasRequest_descriptor = + getDescriptor().getMessageTypes().get(42); + internal_static_google_analytics_admin_v1alpha_ListSKAdNetworkConversionValueSchemasRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_ListSKAdNetworkConversionValueSchemasRequest_descriptor, + new java.lang.String[] { + "Parent", "PageSize", "PageToken", + }); + internal_static_google_analytics_admin_v1alpha_ListSKAdNetworkConversionValueSchemasResponse_descriptor = + getDescriptor().getMessageTypes().get(43); + internal_static_google_analytics_admin_v1alpha_ListSKAdNetworkConversionValueSchemasResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_ListSKAdNetworkConversionValueSchemasResponse_descriptor, + new java.lang.String[] { + "SkadnetworkConversionValueSchemas", "NextPageToken", + }); + internal_static_google_analytics_admin_v1alpha_GetGoogleSignalsSettingsRequest_descriptor = + getDescriptor().getMessageTypes().get(44); + 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(45); + 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(46); + 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_UpdateConversionEventRequest_descriptor = + getDescriptor().getMessageTypes().get(47); + internal_static_google_analytics_admin_v1alpha_UpdateConversionEventRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_UpdateConversionEventRequest_descriptor, + new java.lang.String[] { + "ConversionEvent", "UpdateMask", + }); + internal_static_google_analytics_admin_v1alpha_GetConversionEventRequest_descriptor = + getDescriptor().getMessageTypes().get(48); + 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(49); + 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(50); + 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(51); + 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(52); + 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(53); + 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(54); + 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(55); + 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(56); + 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(57); + 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(58); + 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(59); + 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(60); + 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(61); + 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(62); + 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(63); + 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(64); + 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(65); + 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(66); + 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(67); + 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(68); + 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(69); + 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(70); + 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(71); + 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(72); + 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(73); + 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(74); + 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(75); + 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(76); + 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(77); + 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(78); + 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(79); + 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(80); + 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(81); + 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(82); + 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(83); + 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(84); + 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(85); + 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(86); + 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(87); + 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(88); + 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(89); + 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(90); + 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(91); + 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(92); + 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(93); + 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(94); + 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(95); + 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(96); + 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(97); + 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(98); + 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(99); + 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_GetAccessBindingRequest_descriptor = + getDescriptor().getMessageTypes().get(100); + internal_static_google_analytics_admin_v1alpha_GetAccessBindingRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_GetAccessBindingRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_analytics_admin_v1alpha_BatchGetAccessBindingsRequest_descriptor = + getDescriptor().getMessageTypes().get(101); + internal_static_google_analytics_admin_v1alpha_BatchGetAccessBindingsRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_BatchGetAccessBindingsRequest_descriptor, + new java.lang.String[] { + "Parent", "Names", + }); + internal_static_google_analytics_admin_v1alpha_BatchGetAccessBindingsResponse_descriptor = + getDescriptor().getMessageTypes().get(102); + internal_static_google_analytics_admin_v1alpha_BatchGetAccessBindingsResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_BatchGetAccessBindingsResponse_descriptor, + new java.lang.String[] { + "AccessBindings", + }); + internal_static_google_analytics_admin_v1alpha_ListAccessBindingsRequest_descriptor = + getDescriptor().getMessageTypes().get(103); + internal_static_google_analytics_admin_v1alpha_ListAccessBindingsRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_ListAccessBindingsRequest_descriptor, + new java.lang.String[] { + "Parent", "PageSize", "PageToken", + }); + internal_static_google_analytics_admin_v1alpha_ListAccessBindingsResponse_descriptor = + getDescriptor().getMessageTypes().get(104); + internal_static_google_analytics_admin_v1alpha_ListAccessBindingsResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_ListAccessBindingsResponse_descriptor, + new java.lang.String[] { + "AccessBindings", "NextPageToken", + }); + internal_static_google_analytics_admin_v1alpha_CreateAccessBindingRequest_descriptor = + getDescriptor().getMessageTypes().get(105); + internal_static_google_analytics_admin_v1alpha_CreateAccessBindingRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_CreateAccessBindingRequest_descriptor, + new java.lang.String[] { + "Parent", "AccessBinding", + }); + internal_static_google_analytics_admin_v1alpha_BatchCreateAccessBindingsRequest_descriptor = + getDescriptor().getMessageTypes().get(106); + internal_static_google_analytics_admin_v1alpha_BatchCreateAccessBindingsRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_BatchCreateAccessBindingsRequest_descriptor, + new java.lang.String[] { + "Parent", "Requests", + }); + internal_static_google_analytics_admin_v1alpha_BatchCreateAccessBindingsResponse_descriptor = + getDescriptor().getMessageTypes().get(107); + internal_static_google_analytics_admin_v1alpha_BatchCreateAccessBindingsResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_BatchCreateAccessBindingsResponse_descriptor, + new java.lang.String[] { + "AccessBindings", + }); + internal_static_google_analytics_admin_v1alpha_UpdateAccessBindingRequest_descriptor = + getDescriptor().getMessageTypes().get(108); + internal_static_google_analytics_admin_v1alpha_UpdateAccessBindingRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_UpdateAccessBindingRequest_descriptor, + new java.lang.String[] { + "AccessBinding", + }); + internal_static_google_analytics_admin_v1alpha_BatchUpdateAccessBindingsRequest_descriptor = + getDescriptor().getMessageTypes().get(109); + internal_static_google_analytics_admin_v1alpha_BatchUpdateAccessBindingsRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_BatchUpdateAccessBindingsRequest_descriptor, + new java.lang.String[] { + "Parent", "Requests", + }); + internal_static_google_analytics_admin_v1alpha_BatchUpdateAccessBindingsResponse_descriptor = + getDescriptor().getMessageTypes().get(110); + internal_static_google_analytics_admin_v1alpha_BatchUpdateAccessBindingsResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_BatchUpdateAccessBindingsResponse_descriptor, + new java.lang.String[] { + "AccessBindings", + }); + internal_static_google_analytics_admin_v1alpha_DeleteAccessBindingRequest_descriptor = + getDescriptor().getMessageTypes().get(111); + internal_static_google_analytics_admin_v1alpha_DeleteAccessBindingRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_DeleteAccessBindingRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_analytics_admin_v1alpha_BatchDeleteAccessBindingsRequest_descriptor = + getDescriptor().getMessageTypes().get(112); + internal_static_google_analytics_admin_v1alpha_BatchDeleteAccessBindingsRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_BatchDeleteAccessBindingsRequest_descriptor, + new java.lang.String[] { + "Parent", "Requests", + }); + internal_static_google_analytics_admin_v1alpha_CreateExpandedDataSetRequest_descriptor = + getDescriptor().getMessageTypes().get(113); + internal_static_google_analytics_admin_v1alpha_CreateExpandedDataSetRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_CreateExpandedDataSetRequest_descriptor, + new java.lang.String[] { + "Parent", "ExpandedDataSet", + }); + internal_static_google_analytics_admin_v1alpha_UpdateExpandedDataSetRequest_descriptor = + getDescriptor().getMessageTypes().get(114); + internal_static_google_analytics_admin_v1alpha_UpdateExpandedDataSetRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_UpdateExpandedDataSetRequest_descriptor, + new java.lang.String[] { + "ExpandedDataSet", "UpdateMask", + }); + internal_static_google_analytics_admin_v1alpha_DeleteExpandedDataSetRequest_descriptor = + getDescriptor().getMessageTypes().get(115); + internal_static_google_analytics_admin_v1alpha_DeleteExpandedDataSetRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_DeleteExpandedDataSetRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_analytics_admin_v1alpha_GetExpandedDataSetRequest_descriptor = + getDescriptor().getMessageTypes().get(116); + internal_static_google_analytics_admin_v1alpha_GetExpandedDataSetRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_GetExpandedDataSetRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_analytics_admin_v1alpha_ListExpandedDataSetsRequest_descriptor = + getDescriptor().getMessageTypes().get(117); + internal_static_google_analytics_admin_v1alpha_ListExpandedDataSetsRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_ListExpandedDataSetsRequest_descriptor, + new java.lang.String[] { + "Parent", "PageSize", "PageToken", + }); + internal_static_google_analytics_admin_v1alpha_ListExpandedDataSetsResponse_descriptor = + getDescriptor().getMessageTypes().get(118); + internal_static_google_analytics_admin_v1alpha_ListExpandedDataSetsResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_ListExpandedDataSetsResponse_descriptor, + new java.lang.String[] { + "ExpandedDataSets", "NextPageToken", + }); + internal_static_google_analytics_admin_v1alpha_CreateChannelGroupRequest_descriptor = + getDescriptor().getMessageTypes().get(119); + internal_static_google_analytics_admin_v1alpha_CreateChannelGroupRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_CreateChannelGroupRequest_descriptor, + new java.lang.String[] { + "Parent", "ChannelGroup", + }); + internal_static_google_analytics_admin_v1alpha_UpdateChannelGroupRequest_descriptor = + getDescriptor().getMessageTypes().get(120); + internal_static_google_analytics_admin_v1alpha_UpdateChannelGroupRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_UpdateChannelGroupRequest_descriptor, + new java.lang.String[] { + "ChannelGroup", "UpdateMask", + }); + internal_static_google_analytics_admin_v1alpha_DeleteChannelGroupRequest_descriptor = + getDescriptor().getMessageTypes().get(121); + internal_static_google_analytics_admin_v1alpha_DeleteChannelGroupRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_DeleteChannelGroupRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_analytics_admin_v1alpha_GetChannelGroupRequest_descriptor = + getDescriptor().getMessageTypes().get(122); + internal_static_google_analytics_admin_v1alpha_GetChannelGroupRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_GetChannelGroupRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_analytics_admin_v1alpha_ListChannelGroupsRequest_descriptor = + getDescriptor().getMessageTypes().get(123); + internal_static_google_analytics_admin_v1alpha_ListChannelGroupsRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_ListChannelGroupsRequest_descriptor, + new java.lang.String[] { + "Parent", "PageSize", "PageToken", + }); + internal_static_google_analytics_admin_v1alpha_ListChannelGroupsResponse_descriptor = + getDescriptor().getMessageTypes().get(124); + internal_static_google_analytics_admin_v1alpha_ListChannelGroupsResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_ListChannelGroupsResponse_descriptor, + new java.lang.String[] { + "ChannelGroups", "NextPageToken", + }); + internal_static_google_analytics_admin_v1alpha_SetAutomatedGa4ConfigurationOptOutRequest_descriptor = + getDescriptor().getMessageTypes().get(125); + 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(126); + 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(127); + 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(128); + 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(129); + 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(130); + 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(131); + 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", + }); + internal_static_google_analytics_admin_v1alpha_GetEnhancedMeasurementSettingsRequest_descriptor = + getDescriptor().getMessageTypes().get(132); + internal_static_google_analytics_admin_v1alpha_GetEnhancedMeasurementSettingsRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_GetEnhancedMeasurementSettingsRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_analytics_admin_v1alpha_UpdateEnhancedMeasurementSettingsRequest_descriptor = + getDescriptor().getMessageTypes().get(133); + internal_static_google_analytics_admin_v1alpha_UpdateEnhancedMeasurementSettingsRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_UpdateEnhancedMeasurementSettingsRequest_descriptor, + new java.lang.String[] { + "EnhancedMeasurementSettings", "UpdateMask", + }); + internal_static_google_analytics_admin_v1alpha_GetDataRedactionSettingsRequest_descriptor = + getDescriptor().getMessageTypes().get(134); + internal_static_google_analytics_admin_v1alpha_GetDataRedactionSettingsRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_GetDataRedactionSettingsRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_analytics_admin_v1alpha_UpdateDataRedactionSettingsRequest_descriptor = + getDescriptor().getMessageTypes().get(135); + internal_static_google_analytics_admin_v1alpha_UpdateDataRedactionSettingsRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_UpdateDataRedactionSettingsRequest_descriptor, + new java.lang.String[] { + "DataRedactionSettings", "UpdateMask", + }); + internal_static_google_analytics_admin_v1alpha_CreateConnectedSiteTagRequest_descriptor = + getDescriptor().getMessageTypes().get(136); + internal_static_google_analytics_admin_v1alpha_CreateConnectedSiteTagRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_CreateConnectedSiteTagRequest_descriptor, + new java.lang.String[] { + "Property", "ConnectedSiteTag", + }); + internal_static_google_analytics_admin_v1alpha_CreateConnectedSiteTagResponse_descriptor = + getDescriptor().getMessageTypes().get(137); + internal_static_google_analytics_admin_v1alpha_CreateConnectedSiteTagResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_CreateConnectedSiteTagResponse_descriptor, + new java.lang.String[] {}); + internal_static_google_analytics_admin_v1alpha_DeleteConnectedSiteTagRequest_descriptor = + getDescriptor().getMessageTypes().get(138); + internal_static_google_analytics_admin_v1alpha_DeleteConnectedSiteTagRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_DeleteConnectedSiteTagRequest_descriptor, + new java.lang.String[] { + "Property", "TagId", + }); + internal_static_google_analytics_admin_v1alpha_ListConnectedSiteTagsRequest_descriptor = + getDescriptor().getMessageTypes().get(139); + internal_static_google_analytics_admin_v1alpha_ListConnectedSiteTagsRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_ListConnectedSiteTagsRequest_descriptor, + new java.lang.String[] { + "Property", + }); + internal_static_google_analytics_admin_v1alpha_ListConnectedSiteTagsResponse_descriptor = + getDescriptor().getMessageTypes().get(140); + internal_static_google_analytics_admin_v1alpha_ListConnectedSiteTagsResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_ListConnectedSiteTagsResponse_descriptor, + new java.lang.String[] { + "ConnectedSiteTags", + }); + internal_static_google_analytics_admin_v1alpha_CreateAdSenseLinkRequest_descriptor = + getDescriptor().getMessageTypes().get(141); + internal_static_google_analytics_admin_v1alpha_CreateAdSenseLinkRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_CreateAdSenseLinkRequest_descriptor, + new java.lang.String[] { + "Parent", "AdsenseLink", + }); + internal_static_google_analytics_admin_v1alpha_GetAdSenseLinkRequest_descriptor = + getDescriptor().getMessageTypes().get(142); + internal_static_google_analytics_admin_v1alpha_GetAdSenseLinkRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_GetAdSenseLinkRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_analytics_admin_v1alpha_DeleteAdSenseLinkRequest_descriptor = + getDescriptor().getMessageTypes().get(143); + internal_static_google_analytics_admin_v1alpha_DeleteAdSenseLinkRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_DeleteAdSenseLinkRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_analytics_admin_v1alpha_ListAdSenseLinksRequest_descriptor = + getDescriptor().getMessageTypes().get(144); + internal_static_google_analytics_admin_v1alpha_ListAdSenseLinksRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_ListAdSenseLinksRequest_descriptor, + new java.lang.String[] { + "Parent", "PageSize", "PageToken", + }); + internal_static_google_analytics_admin_v1alpha_ListAdSenseLinksResponse_descriptor = + getDescriptor().getMessageTypes().get(145); + internal_static_google_analytics_admin_v1alpha_ListAdSenseLinksResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_ListAdSenseLinksResponse_descriptor, + new java.lang.String[] { + "AdsenseLinks", "NextPageToken", + }); + internal_static_google_analytics_admin_v1alpha_FetchConnectedGa4PropertyRequest_descriptor = + getDescriptor().getMessageTypes().get(146); + internal_static_google_analytics_admin_v1alpha_FetchConnectedGa4PropertyRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_FetchConnectedGa4PropertyRequest_descriptor, + new java.lang.String[] { + "Property", + }); + internal_static_google_analytics_admin_v1alpha_FetchConnectedGa4PropertyResponse_descriptor = + getDescriptor().getMessageTypes().get(147); + internal_static_google_analytics_admin_v1alpha_FetchConnectedGa4PropertyResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_FetchConnectedGa4PropertyResponse_descriptor, + new java.lang.String[] { + "Property", + }); + internal_static_google_analytics_admin_v1alpha_CreateEventCreateRuleRequest_descriptor = + getDescriptor().getMessageTypes().get(148); + internal_static_google_analytics_admin_v1alpha_CreateEventCreateRuleRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_CreateEventCreateRuleRequest_descriptor, + new java.lang.String[] { + "Parent", "EventCreateRule", + }); + internal_static_google_analytics_admin_v1alpha_UpdateEventCreateRuleRequest_descriptor = + getDescriptor().getMessageTypes().get(149); + internal_static_google_analytics_admin_v1alpha_UpdateEventCreateRuleRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_UpdateEventCreateRuleRequest_descriptor, + new java.lang.String[] { + "EventCreateRule", "UpdateMask", + }); + internal_static_google_analytics_admin_v1alpha_DeleteEventCreateRuleRequest_descriptor = + getDescriptor().getMessageTypes().get(150); + internal_static_google_analytics_admin_v1alpha_DeleteEventCreateRuleRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_DeleteEventCreateRuleRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_analytics_admin_v1alpha_GetEventCreateRuleRequest_descriptor = + getDescriptor().getMessageTypes().get(151); + internal_static_google_analytics_admin_v1alpha_GetEventCreateRuleRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_GetEventCreateRuleRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_analytics_admin_v1alpha_ListEventCreateRulesRequest_descriptor = + getDescriptor().getMessageTypes().get(152); + internal_static_google_analytics_admin_v1alpha_ListEventCreateRulesRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_ListEventCreateRulesRequest_descriptor, + new java.lang.String[] { + "Parent", "PageSize", "PageToken", + }); + internal_static_google_analytics_admin_v1alpha_ListEventCreateRulesResponse_descriptor = + getDescriptor().getMessageTypes().get(153); + internal_static_google_analytics_admin_v1alpha_ListEventCreateRulesResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_ListEventCreateRulesResponse_descriptor, + new java.lang.String[] { + "EventCreateRules", "NextPageToken", + }); + internal_static_google_analytics_admin_v1alpha_CreateRollupPropertyRequest_descriptor = + getDescriptor().getMessageTypes().get(154); + internal_static_google_analytics_admin_v1alpha_CreateRollupPropertyRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_CreateRollupPropertyRequest_descriptor, + new java.lang.String[] { + "RollupProperty", "SourceProperties", + }); + internal_static_google_analytics_admin_v1alpha_CreateRollupPropertyResponse_descriptor = + getDescriptor().getMessageTypes().get(155); + internal_static_google_analytics_admin_v1alpha_CreateRollupPropertyResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_CreateRollupPropertyResponse_descriptor, + new java.lang.String[] { + "RollupProperty", "RollupPropertySourceLinks", + }); + internal_static_google_analytics_admin_v1alpha_GetRollupPropertySourceLinkRequest_descriptor = + getDescriptor().getMessageTypes().get(156); + internal_static_google_analytics_admin_v1alpha_GetRollupPropertySourceLinkRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_GetRollupPropertySourceLinkRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_analytics_admin_v1alpha_ListRollupPropertySourceLinksRequest_descriptor = + getDescriptor().getMessageTypes().get(157); + internal_static_google_analytics_admin_v1alpha_ListRollupPropertySourceLinksRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_ListRollupPropertySourceLinksRequest_descriptor, + new java.lang.String[] { + "Parent", "PageSize", "PageToken", + }); + internal_static_google_analytics_admin_v1alpha_ListRollupPropertySourceLinksResponse_descriptor = + getDescriptor().getMessageTypes().get(158); + internal_static_google_analytics_admin_v1alpha_ListRollupPropertySourceLinksResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_ListRollupPropertySourceLinksResponse_descriptor, + new java.lang.String[] { + "RollupPropertySourceLinks", "NextPageToken", + }); + internal_static_google_analytics_admin_v1alpha_CreateRollupPropertySourceLinkRequest_descriptor = + getDescriptor().getMessageTypes().get(159); + internal_static_google_analytics_admin_v1alpha_CreateRollupPropertySourceLinkRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_CreateRollupPropertySourceLinkRequest_descriptor, + new java.lang.String[] { + "Parent", "RollupPropertySourceLink", + }); + internal_static_google_analytics_admin_v1alpha_DeleteRollupPropertySourceLinkRequest_descriptor = + getDescriptor().getMessageTypes().get(160); + internal_static_google_analytics_admin_v1alpha_DeleteRollupPropertySourceLinkRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_DeleteRollupPropertySourceLinkRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_analytics_admin_v1alpha_CreateSubpropertyRequest_descriptor = + getDescriptor().getMessageTypes().get(161); + internal_static_google_analytics_admin_v1alpha_CreateSubpropertyRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_CreateSubpropertyRequest_descriptor, + new java.lang.String[] { + "Parent", "Subproperty", "SubpropertyEventFilter", + }); + internal_static_google_analytics_admin_v1alpha_CreateSubpropertyResponse_descriptor = + getDescriptor().getMessageTypes().get(162); + internal_static_google_analytics_admin_v1alpha_CreateSubpropertyResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_CreateSubpropertyResponse_descriptor, + new java.lang.String[] { + "Subproperty", "SubpropertyEventFilter", + }); + internal_static_google_analytics_admin_v1alpha_CreateSubpropertyEventFilterRequest_descriptor = + getDescriptor().getMessageTypes().get(163); + internal_static_google_analytics_admin_v1alpha_CreateSubpropertyEventFilterRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_CreateSubpropertyEventFilterRequest_descriptor, + new java.lang.String[] { + "Parent", "SubpropertyEventFilter", + }); + internal_static_google_analytics_admin_v1alpha_GetSubpropertyEventFilterRequest_descriptor = + getDescriptor().getMessageTypes().get(164); + internal_static_google_analytics_admin_v1alpha_GetSubpropertyEventFilterRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_GetSubpropertyEventFilterRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_analytics_admin_v1alpha_ListSubpropertyEventFiltersRequest_descriptor = + getDescriptor().getMessageTypes().get(165); + internal_static_google_analytics_admin_v1alpha_ListSubpropertyEventFiltersRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_ListSubpropertyEventFiltersRequest_descriptor, + new java.lang.String[] { + "Parent", "PageSize", "PageToken", + }); + internal_static_google_analytics_admin_v1alpha_ListSubpropertyEventFiltersResponse_descriptor = + getDescriptor().getMessageTypes().get(166); + internal_static_google_analytics_admin_v1alpha_ListSubpropertyEventFiltersResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_ListSubpropertyEventFiltersResponse_descriptor, + new java.lang.String[] { + "SubpropertyEventFilters", "NextPageToken", + }); + internal_static_google_analytics_admin_v1alpha_UpdateSubpropertyEventFilterRequest_descriptor = + getDescriptor().getMessageTypes().get(167); + internal_static_google_analytics_admin_v1alpha_UpdateSubpropertyEventFilterRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_UpdateSubpropertyEventFilterRequest_descriptor, + new java.lang.String[] { + "SubpropertyEventFilter", "UpdateMask", + }); + internal_static_google_analytics_admin_v1alpha_DeleteSubpropertyEventFilterRequest_descriptor = + getDescriptor().getMessageTypes().get(168); + internal_static_google_analytics_admin_v1alpha_DeleteSubpropertyEventFilterRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_DeleteSubpropertyEventFilterRequest_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.v1alpha.AccessReportProto.getDescriptor(); + com.google.analytics.admin.v1alpha.AudienceProto.getDescriptor(); + com.google.analytics.admin.v1alpha.ChannelGroupProto.getDescriptor(); + com.google.analytics.admin.v1alpha.EventCreateAndEdit.getDescriptor(); + com.google.analytics.admin.v1alpha.ExpandedDataSetProto.getDescriptor(); + com.google.analytics.admin.v1alpha.ResourcesProto.getDescriptor(); + com.google.analytics.admin.v1alpha.SubpropertyEventFilterProto.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..f72b565ed157 --- /dev/null +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ApproveDisplayVideo360AdvertiserLinkProposalRequest.java @@ -0,0 +1,707 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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(); + } + + 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..e32ede28ecd9 --- /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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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..15b8249649aa --- /dev/null +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ApproveDisplayVideo360AdvertiserLinkProposalResponse.java @@ -0,0 +1,824 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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(); + } + + 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..1226fa86151a --- /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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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 63% 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 73d51641328f..7d3988dd8907 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,57 +1,82 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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(); } - 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 @@ -60,29 +85,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 { @@ -91,6 +118,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -102,8 +130,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -127,15 +154,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; } @@ -155,131 +182,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(); @@ -289,9 +321,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 @@ -310,8 +342,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; } @@ -327,38 +362,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; @@ -366,7 +402,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; @@ -398,17 +435,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) { @@ -418,22 +457,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; @@ -442,20 +486,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 { @@ -463,28 +510,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() { @@ -494,26 +552,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); } @@ -523,12 +587,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(); } @@ -537,27 +601,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; @@ -572,6 +636,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..7816f36047bb --- /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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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 7ce2046ce7bd..070668f5f932 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,58 +1,83 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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(); } - 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 @@ -61,30 +86,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 { @@ -93,6 +120,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -104,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(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -129,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.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; } @@ -157,131 +184,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(); @@ -291,13 +323,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(); } @@ -312,13 +345,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_; @@ -329,46 +366,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; @@ -400,17 +441,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) { @@ -420,23 +463,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; @@ -445,21 +493,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 { @@ -467,30 +518,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() { @@ -500,27 +562,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); } @@ -530,41 +598,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; @@ -576,9 +646,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..f2b1854217ae --- /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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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 659da7418f90..14f6ae924dac 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,58 +1,83 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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(); } - 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 @@ -61,30 +86,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 { @@ -93,6 +120,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -104,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(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -129,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.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; } @@ -157,131 +184,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(); @@ -291,13 +323,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(); } @@ -312,13 +345,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_; @@ -329,38 +366,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; @@ -368,7 +406,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; @@ -400,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) { @@ -420,23 +462,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; @@ -445,21 +492,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 { @@ -467,30 +517,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() { @@ -500,27 +561,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); } @@ -530,12 +597,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(); } @@ -544,27 +612,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; @@ -579,6 +647,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..e261b95ccb0b --- /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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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 65% 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 cb70e0c4327d..14d8fcdda192 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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;
@@ -30,36 +48,42 @@ private AttributionSettings() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new AttributionSettings();
   }
 
-  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.
      * 
@@ -68,6 +92,8 @@ public enum AcquisitionConversionEventLookbackWindow */ ACQUISITION_CONVERSION_EVENT_LOOKBACK_WINDOW_UNSPECIFIED(0), /** + * + * *
      * 7-day lookback window.
      * 
@@ -76,6 +102,8 @@ public enum AcquisitionConversionEventLookbackWindow */ ACQUISITION_CONVERSION_EVENT_LOOKBACK_WINDOW_7_DAYS(1), /** + * + * *
      * 30-day lookback window.
      * 
@@ -87,6 +115,8 @@ public enum AcquisitionConversionEventLookbackWindow ; /** + * + * *
      * Lookback window size unspecified.
      * 
@@ -95,6 +125,8 @@ public enum AcquisitionConversionEventLookbackWindow */ public static final int ACQUISITION_CONVERSION_EVENT_LOOKBACK_WINDOW_UNSPECIFIED_VALUE = 0; /** + * + * *
      * 7-day lookback window.
      * 
@@ -103,6 +135,8 @@ public enum AcquisitionConversionEventLookbackWindow */ public static final int ACQUISITION_CONVERSION_EVENT_LOOKBACK_WINDOW_7_DAYS_VALUE = 1; /** + * + * *
      * 30-day lookback window.
      * 
@@ -111,7 +145,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( @@ -136,10 +169,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; } } @@ -147,29 +184,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(); @@ -177,8 +218,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; @@ -196,17 +236,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.
      * 
@@ -215,6 +260,8 @@ public enum OtherConversionEventLookbackWindow */ OTHER_CONVERSION_EVENT_LOOKBACK_WINDOW_UNSPECIFIED(0), /** + * + * *
      * 30-day lookback window.
      * 
@@ -223,6 +270,8 @@ public enum OtherConversionEventLookbackWindow */ OTHER_CONVERSION_EVENT_LOOKBACK_WINDOW_30_DAYS(1), /** + * + * *
      * 60-day lookback window.
      * 
@@ -231,6 +280,8 @@ public enum OtherConversionEventLookbackWindow */ OTHER_CONVERSION_EVENT_LOOKBACK_WINDOW_60_DAYS(2), /** + * + * *
      * 90-day lookback window.
      * 
@@ -242,6 +293,8 @@ public enum OtherConversionEventLookbackWindow ; /** + * + * *
      * Lookback window size unspecified.
      * 
@@ -250,6 +303,8 @@ public enum OtherConversionEventLookbackWindow */ public static final int OTHER_CONVERSION_EVENT_LOOKBACK_WINDOW_UNSPECIFIED_VALUE = 0; /** + * + * *
      * 30-day lookback window.
      * 
@@ -258,6 +313,8 @@ public enum OtherConversionEventLookbackWindow */ public static final int OTHER_CONVERSION_EVENT_LOOKBACK_WINDOW_30_DAYS_VALUE = 1; /** + * + * *
      * 60-day lookback window.
      * 
@@ -266,6 +323,8 @@ public enum OtherConversionEventLookbackWindow */ public static final int OTHER_CONVERSION_EVENT_LOOKBACK_WINDOW_60_DAYS_VALUE = 2; /** + * + * *
      * 90-day lookback window.
      * 
@@ -274,7 +333,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( @@ -299,11 +357,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; } } @@ -311,29 +374,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(); @@ -341,8 +407,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; @@ -360,16 +425,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.
      * 
@@ -378,6 +447,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
@@ -389,6 +460,8 @@ public enum ReportingAttributionModel
      */
     PAID_AND_ORGANIC_CHANNELS_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
@@ -400,6 +473,8 @@ public enum ReportingAttributionModel
      */
     PAID_AND_ORGANIC_CHANNELS_LAST_CLICK(2),
     /**
+     *
+     *
      * 
      * Starting in June 2023, new properties can no longer use this model.
      * See
@@ -417,6 +492,8 @@ public enum ReportingAttributionModel
      */
     PAID_AND_ORGANIC_CHANNELS_FIRST_CLICK(3),
     /**
+     *
+     *
      * 
      * Starting in June 2023, new properties can no longer use this model.
      * See
@@ -435,6 +512,8 @@ public enum ReportingAttributionModel
      */
     PAID_AND_ORGANIC_CHANNELS_LINEAR(4),
     /**
+     *
+     *
      * 
      * Starting in June 2023, new properties can no longer use this model.
      * See
@@ -452,6 +531,8 @@ public enum ReportingAttributionModel
      */
     PAID_AND_ORGANIC_CHANNELS_POSITION_BASED(5),
     /**
+     *
+     *
      * 
      * Starting in June 2023, new properties can no longer use this model.
      * See
@@ -469,6 +550,8 @@ public enum ReportingAttributionModel
      */
     PAID_AND_ORGANIC_CHANNELS_TIME_DECAY(6),
     /**
+     *
+     *
      * 
      * Attributes 100% of the conversion value to the last Google Paid channel
      * that the customer clicked through before converting.
@@ -482,6 +565,8 @@ public enum ReportingAttributionModel
     ;
 
     /**
+     *
+     *
      * 
      * Reporting attribution model unspecified.
      * 
@@ -490,6 +575,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
@@ -501,6 +588,8 @@ public enum ReportingAttributionModel
      */
     public static final int PAID_AND_ORGANIC_CHANNELS_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
@@ -512,6 +601,8 @@ public enum ReportingAttributionModel
      */
     public static final int PAID_AND_ORGANIC_CHANNELS_LAST_CLICK_VALUE = 2;
     /**
+     *
+     *
      * 
      * Starting in June 2023, new properties can no longer use this model.
      * See
@@ -529,6 +620,8 @@ public enum ReportingAttributionModel
      */
     public static final int PAID_AND_ORGANIC_CHANNELS_FIRST_CLICK_VALUE = 3;
     /**
+     *
+     *
      * 
      * Starting in June 2023, new properties can no longer use this model.
      * See
@@ -547,6 +640,8 @@ public enum ReportingAttributionModel
      */
     public static final int PAID_AND_ORGANIC_CHANNELS_LINEAR_VALUE = 4;
     /**
+     *
+     *
      * 
      * Starting in June 2023, new properties can no longer use this model.
      * See
@@ -564,6 +659,8 @@ public enum ReportingAttributionModel
      */
     public static final int PAID_AND_ORGANIC_CHANNELS_POSITION_BASED_VALUE = 5;
     /**
+     *
+     *
      * 
      * Starting in June 2023, new properties can no longer use this model.
      * See
@@ -581,6 +678,8 @@ public enum ReportingAttributionModel
      */
     public static final int PAID_AND_ORGANIC_CHANNELS_TIME_DECAY_VALUE = 6;
     /**
+     *
+     *
      * 
      * Attributes 100% of the conversion value to the last Google Paid channel
      * that the customer clicked through before converting.
@@ -591,7 +690,6 @@ public enum ReportingAttributionModel
      */
     public static final int GOOGLE_PAID_CHANNELS_LAST_CLICK_VALUE = 7;
 
-
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -616,15 +714,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 PAID_AND_ORGANIC_CHANNELS_DATA_DRIVEN;
-        case 2: return PAID_AND_ORGANIC_CHANNELS_LAST_CLICK;
-        case 3: return PAID_AND_ORGANIC_CHANNELS_FIRST_CLICK;
-        case 4: return PAID_AND_ORGANIC_CHANNELS_LINEAR;
-        case 5: return PAID_AND_ORGANIC_CHANNELS_POSITION_BASED;
-        case 6: return PAID_AND_ORGANIC_CHANNELS_TIME_DECAY;
-        case 7: return GOOGLE_PAID_CHANNELS_LAST_CLICK;
-        default: return null;
+        case 0:
+          return REPORTING_ATTRIBUTION_MODEL_UNSPECIFIED;
+        case 1:
+          return PAID_AND_ORGANIC_CHANNELS_DATA_DRIVEN;
+        case 2:
+          return PAID_AND_ORGANIC_CHANNELS_LAST_CLICK;
+        case 3:
+          return PAID_AND_ORGANIC_CHANNELS_FIRST_CLICK;
+        case 4:
+          return PAID_AND_ORGANIC_CHANNELS_LINEAR;
+        case 5:
+          return PAID_AND_ORGANIC_CHANNELS_POSITION_BASED;
+        case 6:
+          return PAID_AND_ORGANIC_CHANNELS_TIME_DECAY;
+        case 7:
+          return GOOGLE_PAID_CHANNELS_LAST_CLICK;
+        default:
+          return null;
       }
     }
 
@@ -632,29 +739,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();
@@ -662,8 +771,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;
@@ -681,15 +789,19 @@ private ReportingAttributionModel(int value) {
   }
 
   /**
+   *
+   *
    * 
    * The Conversion Export Scope for data exported to linked Ads Accounts.
    * 
* - * Protobuf enum {@code google.analytics.admin.v1alpha.AttributionSettings.AdsWebConversionDataExportScope} + * Protobuf enum {@code + * google.analytics.admin.v1alpha.AttributionSettings.AdsWebConversionDataExportScope} */ - public enum AdsWebConversionDataExportScope - implements com.google.protobuf.ProtocolMessageEnum { + public enum AdsWebConversionDataExportScope implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Default value. This value is unused.
      * 
@@ -698,6 +810,8 @@ public enum AdsWebConversionDataExportScope */ ADS_WEB_CONVERSION_DATA_EXPORT_SCOPE_UNSPECIFIED(0), /** + * + * *
      * No data export scope selected yet.
      * Export scope can never be changed back to this value.
@@ -707,6 +821,8 @@ public enum AdsWebConversionDataExportScope
      */
     NOT_SELECTED_YET(1),
     /**
+     *
+     *
      * 
      * Paid and organic channels are eligible to receive conversion credit, but
      * only credit assigned to Google Ads channels will appear in your Ads
@@ -718,6 +834,8 @@ public enum AdsWebConversionDataExportScope
      */
     PAID_AND_ORGANIC_CHANNELS(2),
     /**
+     *
+     *
      * 
      * Only Google Ads paid channels are eligible to receive conversion credit.
      * To learn more, see [Google Paid
@@ -731,6 +849,8 @@ public enum AdsWebConversionDataExportScope
     ;
 
     /**
+     *
+     *
      * 
      * Default value. This value is unused.
      * 
@@ -739,6 +859,8 @@ public enum AdsWebConversionDataExportScope */ public static final int ADS_WEB_CONVERSION_DATA_EXPORT_SCOPE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * No data export scope selected yet.
      * Export scope can never be changed back to this value.
@@ -748,6 +870,8 @@ public enum AdsWebConversionDataExportScope
      */
     public static final int NOT_SELECTED_YET_VALUE = 1;
     /**
+     *
+     *
      * 
      * Paid and organic channels are eligible to receive conversion credit, but
      * only credit assigned to Google Ads channels will appear in your Ads
@@ -759,6 +883,8 @@ public enum AdsWebConversionDataExportScope
      */
     public static final int PAID_AND_ORGANIC_CHANNELS_VALUE = 2;
     /**
+     *
+     *
      * 
      * Only Google Ads paid channels are eligible to receive conversion credit.
      * To learn more, see [Google Paid
@@ -769,7 +895,6 @@ public enum AdsWebConversionDataExportScope
      */
     public static final int GOOGLE_PAID_CHANNELS_VALUE = 3;
 
-
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -794,11 +919,16 @@ public static AdsWebConversionDataExportScope valueOf(int value) {
      */
     public static AdsWebConversionDataExportScope forNumber(int value) {
       switch (value) {
-        case 0: return ADS_WEB_CONVERSION_DATA_EXPORT_SCOPE_UNSPECIFIED;
-        case 1: return NOT_SELECTED_YET;
-        case 2: return PAID_AND_ORGANIC_CHANNELS;
-        case 3: return GOOGLE_PAID_CHANNELS;
-        default: return null;
+        case 0:
+          return ADS_WEB_CONVERSION_DATA_EXPORT_SCOPE_UNSPECIFIED;
+        case 1:
+          return NOT_SELECTED_YET;
+        case 2:
+          return PAID_AND_ORGANIC_CHANNELS;
+        case 3:
+          return GOOGLE_PAID_CHANNELS;
+        default:
+          return null;
       }
     }
 
@@ -806,29 +936,31 @@ public static AdsWebConversionDataExportScope forNumber(int value) {
         internalGetValueMap() {
       return internalValueMap;
     }
-    private static final com.google.protobuf.Internal.EnumLiteMap<
-        AdsWebConversionDataExportScope> internalValueMap =
-          new com.google.protobuf.Internal.EnumLiteMap() {
-            public AdsWebConversionDataExportScope findValueByNumber(int number) {
-              return AdsWebConversionDataExportScope.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 AdsWebConversionDataExportScope findValueByNumber(int number) {
+                return AdsWebConversionDataExportScope.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(3);
+
+    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+      return com.google.analytics.admin.v1alpha.AttributionSettings.getDescriptor()
+          .getEnumTypes()
+          .get(3);
     }
 
     private static final AdsWebConversionDataExportScope[] VALUES = values();
@@ -836,8 +968,7 @@ public AdsWebConversionDataExportScope findValueByNumber(int number) {
     public static AdsWebConversionDataExportScope 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;
@@ -855,9 +986,12 @@ private AdsWebConversionDataExportScope(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
@@ -865,6 +999,7 @@ private AdsWebConversionDataExportScope(int value) {
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ @java.lang.Override @@ -873,14 +1008,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
@@ -888,16 +1024,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 { @@ -908,62 +1043,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.
@@ -973,13 +1150,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.
@@ -989,43 +1172,72 @@ 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; } public static final int ADS_WEB_CONVERSION_DATA_EXPORT_SCOPE_FIELD_NUMBER = 5; private int adsWebConversionDataExportScope_ = 0; /** + * + * *
    * Required. The Conversion Export Scope for data exported to linked Ads
    * Accounts.
    * 
* - * .google.analytics.admin.v1alpha.AttributionSettings.AdsWebConversionDataExportScope ads_web_conversion_data_export_scope = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.AttributionSettings.AdsWebConversionDataExportScope ads_web_conversion_data_export_scope = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The enum numeric value on the wire for adsWebConversionDataExportScope. */ - @java.lang.Override public int getAdsWebConversionDataExportScopeValue() { + @java.lang.Override + public int getAdsWebConversionDataExportScopeValue() { return adsWebConversionDataExportScope_; } /** + * + * *
    * Required. The Conversion Export Scope for data exported to linked Ads
    * Accounts.
    * 
* - * .google.analytics.admin.v1alpha.AttributionSettings.AdsWebConversionDataExportScope ads_web_conversion_data_export_scope = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.AttributionSettings.AdsWebConversionDataExportScope ads_web_conversion_data_export_scope = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The adsWebConversionDataExportScope. */ - @java.lang.Override public com.google.analytics.admin.v1alpha.AttributionSettings.AdsWebConversionDataExportScope getAdsWebConversionDataExportScope() { - com.google.analytics.admin.v1alpha.AttributionSettings.AdsWebConversionDataExportScope result = com.google.analytics.admin.v1alpha.AttributionSettings.AdsWebConversionDataExportScope.forNumber(adsWebConversionDataExportScope_); - return result == null ? com.google.analytics.admin.v1alpha.AttributionSettings.AdsWebConversionDataExportScope.UNRECOGNIZED : result; + @java.lang.Override + public com.google.analytics.admin.v1alpha.AttributionSettings.AdsWebConversionDataExportScope + getAdsWebConversionDataExportScope() { + com.google.analytics.admin.v1alpha.AttributionSettings.AdsWebConversionDataExportScope result = + com.google.analytics.admin.v1alpha.AttributionSettings.AdsWebConversionDataExportScope + .forNumber(adsWebConversionDataExportScope_); + return result == null + ? com.google.analytics.admin.v1alpha.AttributionSettings.AdsWebConversionDataExportScope + .UNRECOGNIZED + : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1037,21 +1249,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(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_); } - if (adsWebConversionDataExportScope_ != com.google.analytics.admin.v1alpha.AttributionSettings.AdsWebConversionDataExportScope.ADS_WEB_CONVERSION_DATA_EXPORT_SCOPE_UNSPECIFIED.getNumber()) { + if (adsWebConversionDataExportScope_ + != com.google.analytics.admin.v1alpha.AttributionSettings.AdsWebConversionDataExportScope + .ADS_WEB_CONVERSION_DATA_EXPORT_SCOPE_UNSPECIFIED + .getNumber()) { output.writeEnum(5, adsWebConversionDataExportScope_); } getUnknownFields().writeTo(output); @@ -1066,21 +1290,36 @@ 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 (adsWebConversionDataExportScope_ != com.google.analytics.admin.v1alpha.AttributionSettings.AdsWebConversionDataExportScope.ADS_WEB_CONVERSION_DATA_EXPORT_SCOPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(5, adsWebConversionDataExportScope_); + 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 (adsWebConversionDataExportScope_ + != com.google.analytics.admin.v1alpha.AttributionSettings.AdsWebConversionDataExportScope + .ADS_WEB_CONVERSION_DATA_EXPORT_SCOPE_UNSPECIFIED + .getNumber()) { + size += + com.google.protobuf.CodedOutputStream.computeEnumSize( + 5, adsWebConversionDataExportScope_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1090,17 +1329,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 (adsWebConversionDataExportScope_ != other.adsWebConversionDataExportScope_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; @@ -1130,98 +1371,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.
@@ -1229,33 +1476,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();
@@ -1269,9 +1515,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
@@ -1290,8 +1536,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;
     }
@@ -1302,7 +1551,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_;
@@ -1319,38 +1569,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;
@@ -1358,17 +1609,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());
@@ -1402,37 +1656,43 @@ 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
-            case 40: {
-              adsWebConversionDataExportScope_ = input.readEnum();
-              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 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
+            case 40:
+              {
+                adsWebConversionDataExportScope_ = input.readEnum();
+                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) {
@@ -1442,10 +1702,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
@@ -1453,13 +1716,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; @@ -1468,6 +1731,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. Resource name of this attribution settings resource.
      * Format: properties/{property_id}/attributionSettings
@@ -1475,15 +1740,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 { @@ -1491,6 +1755,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. Resource name of this attribution settings resource.
      * Format: properties/{property_id}/attributionSettings
@@ -1498,18 +1764,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
@@ -1517,6 +1787,7 @@ public Builder setName(
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearName() { @@ -1526,6 +1797,8 @@ public Builder clearName() { return this; } /** + * + * *
      * Output only. Resource name of this attribution settings resource.
      * Format: properties/{property_id}/attributionSettings
@@ -1533,12 +1806,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; @@ -1548,25 +1823,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) { @@ -1576,30 +1863,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(); } @@ -1609,12 +1919,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() { @@ -1626,25 +1941,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) { @@ -1654,30 +1981,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(); } @@ -1687,12 +2034,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() { @@ -1704,6 +2056,8 @@ public Builder clearOtherConversionEventLookbackWindow() { private int reportingAttributionModel_ = 0; /** + * + * *
      * Required. The reporting attribution model used to calculate conversion
      * credit in this property's reports.
@@ -1713,13 +2067,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.
@@ -1729,7 +2089,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. */ @@ -1740,6 +2103,8 @@ public Builder setReportingAttributionModelValue(int value) { return this; } /** + * + * *
      * Required. The reporting attribution model used to calculate conversion
      * credit in this property's reports.
@@ -1749,15 +2114,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.
@@ -1767,11 +2143,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(); } @@ -1781,6 +2161,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.
@@ -1790,7 +2172,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() { @@ -1802,24 +2187,35 @@ public Builder clearReportingAttributionModel() { private int adsWebConversionDataExportScope_ = 0; /** + * + * *
      * Required. The Conversion Export Scope for data exported to linked Ads
      * Accounts.
      * 
* - * .google.analytics.admin.v1alpha.AttributionSettings.AdsWebConversionDataExportScope ads_web_conversion_data_export_scope = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.AttributionSettings.AdsWebConversionDataExportScope ads_web_conversion_data_export_scope = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The enum numeric value on the wire for adsWebConversionDataExportScope. */ - @java.lang.Override public int getAdsWebConversionDataExportScopeValue() { + @java.lang.Override + public int getAdsWebConversionDataExportScopeValue() { return adsWebConversionDataExportScope_; } /** + * + * *
      * Required. The Conversion Export Scope for data exported to linked Ads
      * Accounts.
      * 
* - * .google.analytics.admin.v1alpha.AttributionSettings.AdsWebConversionDataExportScope ads_web_conversion_data_export_scope = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.AttributionSettings.AdsWebConversionDataExportScope ads_web_conversion_data_export_scope = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param value The enum numeric value on the wire for adsWebConversionDataExportScope to set. * @return This builder for chaining. */ @@ -1830,30 +2226,49 @@ public Builder setAdsWebConversionDataExportScopeValue(int value) { return this; } /** + * + * *
      * Required. The Conversion Export Scope for data exported to linked Ads
      * Accounts.
      * 
* - * .google.analytics.admin.v1alpha.AttributionSettings.AdsWebConversionDataExportScope ads_web_conversion_data_export_scope = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.AttributionSettings.AdsWebConversionDataExportScope ads_web_conversion_data_export_scope = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The adsWebConversionDataExportScope. */ @java.lang.Override - public com.google.analytics.admin.v1alpha.AttributionSettings.AdsWebConversionDataExportScope getAdsWebConversionDataExportScope() { - com.google.analytics.admin.v1alpha.AttributionSettings.AdsWebConversionDataExportScope result = com.google.analytics.admin.v1alpha.AttributionSettings.AdsWebConversionDataExportScope.forNumber(adsWebConversionDataExportScope_); - return result == null ? com.google.analytics.admin.v1alpha.AttributionSettings.AdsWebConversionDataExportScope.UNRECOGNIZED : result; + public com.google.analytics.admin.v1alpha.AttributionSettings.AdsWebConversionDataExportScope + getAdsWebConversionDataExportScope() { + com.google.analytics.admin.v1alpha.AttributionSettings.AdsWebConversionDataExportScope + result = + com.google.analytics.admin.v1alpha.AttributionSettings.AdsWebConversionDataExportScope + .forNumber(adsWebConversionDataExportScope_); + return result == null + ? com.google.analytics.admin.v1alpha.AttributionSettings.AdsWebConversionDataExportScope + .UNRECOGNIZED + : result; } /** + * + * *
      * Required. The Conversion Export Scope for data exported to linked Ads
      * Accounts.
      * 
* - * .google.analytics.admin.v1alpha.AttributionSettings.AdsWebConversionDataExportScope ads_web_conversion_data_export_scope = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.AttributionSettings.AdsWebConversionDataExportScope ads_web_conversion_data_export_scope = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param value The adsWebConversionDataExportScope to set. * @return This builder for chaining. */ - public Builder setAdsWebConversionDataExportScope(com.google.analytics.admin.v1alpha.AttributionSettings.AdsWebConversionDataExportScope value) { + public Builder setAdsWebConversionDataExportScope( + com.google.analytics.admin.v1alpha.AttributionSettings.AdsWebConversionDataExportScope + value) { if (value == null) { throw new NullPointerException(); } @@ -1863,12 +2278,17 @@ public Builder setAdsWebConversionDataExportScope(com.google.analytics.admin.v1a return this; } /** + * + * *
      * Required. The Conversion Export Scope for data exported to linked Ads
      * Accounts.
      * 
* - * .google.analytics.admin.v1alpha.AttributionSettings.AdsWebConversionDataExportScope ads_web_conversion_data_export_scope = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.AttributionSettings.AdsWebConversionDataExportScope ads_web_conversion_data_export_scope = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return This builder for chaining. */ public Builder clearAdsWebConversionDataExportScope() { @@ -1877,9 +2297,9 @@ public Builder clearAdsWebConversionDataExportScope() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1889,12 +2309,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(); } @@ -1903,27 +2323,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; @@ -1938,6 +2358,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 57% 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 19a5b4ded93b..1d1d36e74b3a 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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.
@@ -83,11 +128,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.
@@ -97,29 +147,44 @@ 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(); /** + * + * *
    * Required. The Conversion Export Scope for data exported to linked Ads
    * Accounts.
    * 
* - * .google.analytics.admin.v1alpha.AttributionSettings.AdsWebConversionDataExportScope ads_web_conversion_data_export_scope = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.AttributionSettings.AdsWebConversionDataExportScope ads_web_conversion_data_export_scope = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The enum numeric value on the wire for adsWebConversionDataExportScope. */ int getAdsWebConversionDataExportScopeValue(); /** + * + * *
    * Required. The Conversion Export Scope for data exported to linked Ads
    * Accounts.
    * 
* - * .google.analytics.admin.v1alpha.AttributionSettings.AdsWebConversionDataExportScope ads_web_conversion_data_export_scope = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.AttributionSettings.AdsWebConversionDataExportScope ads_web_conversion_data_export_scope = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The adsWebConversionDataExportScope. */ - com.google.analytics.admin.v1alpha.AttributionSettings.AdsWebConversionDataExportScope getAdsWebConversionDataExportScope(); + com.google.analytics.admin.v1alpha.AttributionSettings.AdsWebConversionDataExportScope + getAdsWebConversionDataExportScope(); } 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 3578d7a7a3c9..3d040e189adc 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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,25 +47,28 @@ private Audience() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Audience(); } - 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.
@@ -55,9 +76,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.
      * 
@@ -66,6 +88,8 @@ public enum AudienceExclusionDurationMode */ AUDIENCE_EXCLUSION_DURATION_MODE_UNSPECIFIED(0), /** + * + * *
      * Exclude users from the Audience during periods when they meet the
      * filter clause.
@@ -75,6 +99,8 @@ public enum AudienceExclusionDurationMode
      */
     EXCLUDE_TEMPORARILY(1),
     /**
+     *
+     *
      * 
      * Exclude users from the Audience if they've ever met the filter clause.
      * 
@@ -86,6 +112,8 @@ public enum AudienceExclusionDurationMode ; /** + * + * *
      * Not specified.
      * 
@@ -94,6 +122,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.
@@ -103,6 +133,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.
      * 
@@ -111,7 +143,6 @@ public enum AudienceExclusionDurationMode */ public static final int EXCLUDE_PERMANENTLY_VALUE = 2; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -136,10 +167,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; } } @@ -147,28 +182,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); } @@ -177,8 +212,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; @@ -196,15 +230,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 @@ -213,30 +251,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 { @@ -245,14 +283,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 @@ -261,29 +303,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 { @@ -292,14 +334,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 @@ -308,29 +354,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 { @@ -341,12 +387,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 @@ -357,12 +408,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 @@ -373,12 +427,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 @@ -386,120 +445,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( @@ -508,6 +620,7 @@ public com.google.analytics.admin.v1alpha.AudienceFilterClauseOrBuilder getFilte } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -519,8 +632,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -539,7 +651,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++) { @@ -564,24 +679,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; @@ -591,31 +704,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; } @@ -636,8 +743,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(); @@ -653,132 +759,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(); @@ -805,9 +915,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 @@ -826,9 +936,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; } @@ -863,9 +976,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_; @@ -876,38 +988,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; @@ -961,9 +1074,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_); } @@ -995,62 +1109,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) { @@ -1060,23 +1181,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; @@ -1085,21 +1209,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 { @@ -1107,30 +1232,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() { @@ -1140,18 +1272,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; @@ -1161,18 +1297,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; @@ -1181,20 +1319,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 { @@ -1202,28 +1341,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() { @@ -1233,17 +1379,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; @@ -1253,18 +1403,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; @@ -1273,20 +1425,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 { @@ -1294,28 +1447,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() { @@ -1325,17 +1485,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; @@ -1343,14 +1507,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 @@ -1358,12 +1527,17 @@ 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. */ @@ -1375,12 +1549,17 @@ public Builder setMembershipDurationDays(int value) { 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() { @@ -1390,14 +1569,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 @@ -1405,12 +1588,16 @@ 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. */ @@ -1422,12 +1609,16 @@ public Builder setAdsPersonalizationEnabled(boolean value) { 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() { @@ -1439,42 +1630,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) { @@ -1490,12 +1700,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) { @@ -1509,18 +1723,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; @@ -1533,12 +1753,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); @@ -1551,51 +1775,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_; @@ -1603,26 +1845,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. */ @@ -1633,32 +1886,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(); } @@ -1668,13 +1937,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() { @@ -1685,26 +1959,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 { @@ -1712,12 +1997,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) { @@ -1727,12 +2016,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) { @@ -1742,12 +2035,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) { @@ -1764,15 +2061,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()); @@ -1783,12 +2085,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) { @@ -1804,12 +2110,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) { @@ -1826,12 +2136,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) { @@ -1845,15 +2159,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()); @@ -1864,19 +2183,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); @@ -1884,12 +2207,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) { @@ -1902,12 +2229,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) { @@ -1920,42 +2251,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 { @@ -1963,48 +2308,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(), @@ -2013,9 +2378,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); } @@ -2025,12 +2390,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(); } @@ -2039,27 +2404,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; @@ -2074,6 +2439,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 57% 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 f9fb090fb000..8c74e2e7d173 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,118 +1,162 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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(); } - 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_ = ""; @@ -120,34 +164,40 @@ private StringFilter() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new StringFilter(); } - 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
        * 
@@ -156,6 +206,8 @@ public enum MatchType */ MATCH_TYPE_UNSPECIFIED(0), /** + * + * *
        * Exact match of the string value.
        * 
@@ -164,6 +216,8 @@ public enum MatchType */ EXACT(1), /** + * + * *
        * Begins with the string value.
        * 
@@ -172,6 +226,8 @@ public enum MatchType */ BEGINS_WITH(2), /** + * + * *
        * Ends with the string value.
        * 
@@ -180,6 +236,8 @@ public enum MatchType */ ENDS_WITH(3), /** + * + * *
        * Contains the string value.
        * 
@@ -188,6 +246,8 @@ public enum MatchType */ CONTAINS(4), /** + * + * *
        * Full regular expression matches with the string value.
        * 
@@ -199,6 +259,8 @@ public enum MatchType ; /** + * + * *
        * Unspecified
        * 
@@ -207,6 +269,8 @@ public enum MatchType */ public static final int MATCH_TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
        * Exact match of the string value.
        * 
@@ -215,6 +279,8 @@ public enum MatchType */ public static final int EXACT_VALUE = 1; /** + * + * *
        * Begins with the string value.
        * 
@@ -223,6 +289,8 @@ public enum MatchType */ public static final int BEGINS_WITH_VALUE = 2; /** + * + * *
        * Ends with the string value.
        * 
@@ -231,6 +299,8 @@ public enum MatchType */ public static final int ENDS_WITH_VALUE = 3; /** + * + * *
        * Contains the string value.
        * 
@@ -239,6 +309,8 @@ public enum MatchType */ public static final int CONTAINS_VALUE = 4; /** + * + * *
        * Full regular expression matches with the string value.
        * 
@@ -247,7 +319,6 @@ public enum MatchType */ public static final int FULL_REGEXP_VALUE = 5; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -272,52 +343,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; @@ -337,38 +414,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 @@ -377,29 +477,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 { @@ -410,12 +510,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 @@ -424,6 +527,7 @@ public boolean getCaseSensitive() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -435,9 +539,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_)) { @@ -455,16 +561,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; @@ -474,18 +581,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; } @@ -502,97 +610,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 @@ -602,39 +720,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(); @@ -646,19 +770,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); } @@ -666,14 +794,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_; @@ -690,46 +824,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()); } @@ -767,27 +911,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) { @@ -797,26 +945,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. */ @@ -827,28 +987,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(); } @@ -858,11 +1038,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() { @@ -874,18 +1059,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; @@ -894,20 +1081,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 { @@ -915,28 +1103,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() { @@ -946,17 +1141,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; @@ -964,14 +1163,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 @@ -979,12 +1181,15 @@ 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. */ @@ -996,12 +1201,15 @@ public Builder setCaseSensitive(boolean value) { 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() { @@ -1010,6 +1218,7 @@ public Builder clearCaseSensitive() { onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1022,41 +1231,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; @@ -1068,149 +1282,177 @@ 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.emptyList(); + values_ = com.google.protobuf.LazyStringArrayList.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new InListFilter(); } - 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.LazyStringArrayList values_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** + * + * *
      * 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. */ @@ -1218,29 +1460,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 @@ -1249,6 +1496,7 @@ public boolean getCaseSensitive() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1260,8 +1508,7 @@ public final boolean isInitialized() { } @java.lang.Override - 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)); } @@ -1286,8 +1533,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; @@ -1297,17 +1543,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; } @@ -1324,97 +1571,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 @@ -1424,63 +1681,72 @@ 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(); bitField0_ = 0; - values_ = - com.google.protobuf.LazyStringArrayList.emptyList(); + values_ = com.google.protobuf.LazyStringArrayList.emptyList(); caseSensitive_ = false; return this; } @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); } @@ -1488,14 +1754,20 @@ 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); - if (bitField0_ != 0) { buildPartial0(result); } + 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); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - 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_ & 0x00000001) != 0)) { values_.makeImmutable(); @@ -1510,46 +1782,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_; @@ -1589,23 +1871,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) { @@ -1615,10 +1900,12 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private com.google.protobuf.LazyStringArrayList values_ = com.google.protobuf.LazyStringArrayList.emptyList(); + private void ensureValuesIsMutable() { if (!values_.isModifiable()) { values_ = new com.google.protobuf.LazyStringArrayList(values_); @@ -1626,38 +1913,46 @@ private void ensureValuesIsMutable() { 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() { values_.makeImmutable(); 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. */ @@ -1665,33 +1960,39 @@ 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); bitField0_ |= 0x00000001; @@ -1699,18 +2000,22 @@ public Builder setValues( 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); bitField0_ |= 0x00000001; @@ -1718,53 +2023,61 @@ public Builder addValues( 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_); 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]; + * * @return This builder for chaining. */ public Builder clearValues() { - values_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000001);; + values_ = com.google.protobuf.LazyStringArrayList.emptyList(); + 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(); } + public Builder addValuesBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); ensureValuesIsMutable(); values_.add(value); @@ -1773,14 +2086,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 @@ -1788,12 +2104,15 @@ 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. */ @@ -1805,12 +2124,15 @@ public Builder setCaseSensitive(boolean value) { 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() { @@ -1819,6 +2141,7 @@ public Builder clearCaseSensitive() { onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1831,41 +2154,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; @@ -1877,105 +2205,128 @@ 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(); - com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue.OneValueCase getOneValueCase(); + 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(); } - 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; + @SuppressWarnings("serial") 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; } @@ -1991,30 +2342,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 @@ -2022,11 +2379,14 @@ public boolean hasInt64Value() { return oneValueCase_ == 1; } /** + * + * *
      * Integer value.
      * 
* * int64 int64_value = 1; + * * @return The int64Value. */ @java.lang.Override @@ -2039,11 +2399,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 @@ -2051,11 +2414,14 @@ public boolean hasDoubleValue() { return oneValueCase_ == 2; } /** + * + * *
      * Double value.
      * 
* * double double_value = 2; + * * @return The doubleValue. */ @java.lang.Override @@ -2067,6 +2433,7 @@ public double getDoubleValue() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2078,15 +2445,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); } @@ -2098,14 +2462,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; @@ -2115,23 +2479,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: @@ -2150,13 +2515,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: @@ -2166,90 +2532,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 @@ -2259,39 +2636,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(); @@ -2302,19 +2685,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); } @@ -2322,19 +2709,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_; } @@ -2343,58 +2737,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(); @@ -2422,22 +2829,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) { @@ -2447,12 +2857,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() { @@ -2465,22 +2875,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() { @@ -2490,11 +2906,14 @@ public long getInt64Value() { return 0L; } /** + * + * *
        * Integer value.
        * 
* * int64 int64_value = 1; + * * @param value The int64Value to set. * @return This builder for chaining. */ @@ -2506,11 +2925,14 @@ public Builder setInt64Value(long value) { return this; } /** + * + * *
        * Integer value.
        * 
* * int64 int64_value = 1; + * * @return This builder for chaining. */ public Builder clearInt64Value() { @@ -2523,22 +2945,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() { @@ -2548,11 +2976,14 @@ public double getDoubleValue() { return 0D; } /** + * + * *
        * Double value.
        * 
* * double double_value = 2; + * * @param value The doubleValue to set. * @return This builder for chaining. */ @@ -2564,11 +2995,14 @@ public Builder setDoubleValue(double value) { return this; } /** + * + * *
        * Double value.
        * 
* * double double_value = 2; + * * @return This builder for chaining. */ public Builder clearDoubleValue() { @@ -2579,6 +3013,7 @@ public Builder clearDoubleValue() { } return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -2591,41 +3026,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; @@ -2637,112 +3077,150 @@ 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(); } - 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.
        * 
@@ -2751,6 +3229,8 @@ public enum Operation */ OPERATION_UNSPECIFIED(0), /** + * + * *
        * Equal.
        * 
@@ -2759,6 +3239,8 @@ public enum Operation */ EQUAL(1), /** + * + * *
        * Less than.
        * 
@@ -2767,6 +3249,8 @@ public enum Operation */ LESS_THAN(2), /** + * + * *
        * Greater than.
        * 
@@ -2778,6 +3262,8 @@ public enum Operation ; /** + * + * *
        * Unspecified.
        * 
@@ -2786,6 +3272,8 @@ public enum Operation */ public static final int OPERATION_UNSPECIFIED_VALUE = 0; /** + * + * *
        * Equal.
        * 
@@ -2794,6 +3282,8 @@ public enum Operation */ public static final int EQUAL_VALUE = 1; /** + * + * *
        * Less than.
        * 
@@ -2802,6 +3292,8 @@ public enum Operation */ public static final int LESS_THAN_VALUE = 2; /** + * + * *
        * Greater than.
        * 
@@ -2810,7 +3302,6 @@ public enum Operation */ public static final int GREATER_THAN_VALUE = 4; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -2835,50 +3326,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; @@ -2898,37 +3393,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 @@ -2936,30 +3456,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; @@ -2971,9 +3509,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) { @@ -2988,13 +3528,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; @@ -3004,18 +3545,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; @@ -3039,90 +3582,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, - 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 + parseDelimitedFrom( + java.io.InputStream input, 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 @@ -3132,39 +3687,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(); @@ -3179,19 +3740,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); } @@ -3199,22 +3764,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(); } } @@ -3222,46 +3791,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()); } @@ -3294,24 +3873,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) { @@ -3321,26 +3901,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. */ @@ -3351,28 +3943,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(); } @@ -3382,11 +3994,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() { @@ -3396,43 +4013,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(); @@ -3446,14 +4088,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 { @@ -3464,17 +4111,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; @@ -3487,11 +4141,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); @@ -3504,52 +4162,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) { @@ -3562,41 +4244,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; @@ -3608,118 +4295,161 @@ 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(); } - 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 @@ -3727,37 +4457,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 @@ -3765,30 +4518,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; @@ -3800,8 +4571,7 @@ public final boolean isInitialized() { } @java.lang.Override - public 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()); } @@ -3818,12 +4588,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; @@ -3833,22 +4601,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; @@ -3874,90 +4643,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 @@ -3967,40 +4748,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(); @@ -4019,19 +4806,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); } @@ -4039,24 +4830,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(); } } @@ -4064,46 +4857,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()); } @@ -4136,26 +4939,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) { @@ -4165,45 +4967,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(); @@ -4217,14 +5045,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 { @@ -4235,17 +5068,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; @@ -4258,11 +5098,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); @@ -4275,90 +5119,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(); @@ -4372,14 +5264,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 { @@ -4390,17 +5287,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; @@ -4413,11 +5317,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); @@ -4430,52 +5338,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) { @@ -4488,41 +5420,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; @@ -4534,17 +5471,20 @@ 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; + @SuppressWarnings("serial") 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), @@ -4552,6 +5492,7 @@ public enum OneFilterCase BETWEEN_FILTER(5), ONEFILTER_NOT_SET(0); private final int value; + private OneFilterCase(int value) { this.value = value; } @@ -4567,32 +5508,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 @@ -4600,43 +5551,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 @@ -4644,44 +5615,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 @@ -4689,43 +5680,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 @@ -4733,41 +5744,59 @@ 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. If the
    * field name refers to a custom dimension or metric, a scope prefix will be
@@ -4777,7 +5806,10 @@ public com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.Betwee
    * (https://developers.google.com/analytics/devguides/reporting/data/v1/api-schema#custom_dimensions).
    * 
* - * 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 @@ -4786,14 +5818,15 @@ 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. If the
    * field name refers to a custom dimension or metric, a scope prefix will be
@@ -4803,17 +5836,18 @@ public java.lang.String getFieldName() {
    * (https://developers.google.com/analytics/devguides/reporting/data/v1/api-schema#custom_dimensions).
    * 
* - * 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 { @@ -4824,6 +5858,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
@@ -4835,6 +5871,7 @@ public java.lang.String getFieldName() {
    * 
* * bool at_any_point_in_time = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The atAnyPointInTime. */ @java.lang.Override @@ -4845,6 +5882,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
@@ -4859,6 +5898,7 @@ public boolean getAtAnyPointInTime() {
    * 
* * int32 in_any_n_day_period = 7 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The inAnyNDayPeriod. */ @java.lang.Override @@ -4867,6 +5907,7 @@ public int getInAnyNDayPeriod() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -4878,22 +5919,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_); @@ -4914,28 +5966,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; @@ -4945,36 +6007,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: @@ -4993,8 +6049,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_) { @@ -5023,131 +6078,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(); @@ -5173,14 +6235,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 @@ -5194,14 +6258,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_; @@ -5214,23 +6282,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(); } } @@ -5239,46 +6304,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; @@ -5291,25 +6361,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(); @@ -5337,55 +6412,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) { @@ -5395,12 +6470,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() { @@ -5413,13 +6488,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 @@ -5427,35 +6511,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(); @@ -5469,14 +6567,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(); @@ -5487,18 +6590,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; } @@ -5514,11 +6630,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) { @@ -5537,50 +6657,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; @@ -5591,14 +6738,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 @@ -5606,37 +6762,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(); @@ -5650,15 +6820,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(); @@ -5669,19 +6844,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; } @@ -5697,12 +6885,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) { @@ -5721,53 +6913,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; @@ -5778,13 +6997,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 @@ -5792,35 +7021,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(); @@ -5834,14 +7077,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(); @@ -5852,18 +7100,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; } @@ -5879,11 +7140,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) { @@ -5902,50 +7167,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; @@ -5956,14 +7249,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 @@ -5971,37 +7274,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(); @@ -6015,15 +7332,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(); @@ -6034,19 +7356,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; } @@ -6062,12 +7397,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) { @@ -6086,53 +7425,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; @@ -6144,6 +7511,8 @@ public com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.Betwee private java.lang.Object fieldName_ = ""; /** + * + * *
      * Required. Immutable. The dimension name or metric name to filter. If the
      * field name refers to a custom dimension or metric, a scope prefix will be
@@ -6153,14 +7522,16 @@ public com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.Betwee
      * (https://developers.google.com/analytics/devguides/reporting/data/v1/api-schema#custom_dimensions).
      * 
* - * 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; @@ -6169,6 +7540,8 @@ public java.lang.String getFieldName() { } } /** + * + * *
      * Required. Immutable. The dimension name or metric name to filter. If the
      * field name refers to a custom dimension or metric, a scope prefix will be
@@ -6178,16 +7551,17 @@ public java.lang.String getFieldName() {
      * (https://developers.google.com/analytics/devguides/reporting/data/v1/api-schema#custom_dimensions).
      * 
* - * 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 { @@ -6195,6 +7569,8 @@ public java.lang.String getFieldName() { } } /** + * + * *
      * Required. Immutable. The dimension name or metric name to filter. If the
      * field name refers to a custom dimension or metric, a scope prefix will be
@@ -6204,19 +7580,25 @@ public java.lang.String getFieldName() {
      * (https://developers.google.com/analytics/devguides/reporting/data/v1/api-schema#custom_dimensions).
      * 
* - * 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. If the
      * field name refers to a custom dimension or metric, a scope prefix will be
@@ -6226,7 +7608,10 @@ public Builder setFieldName(
      * (https://developers.google.com/analytics/devguides/reporting/data/v1/api-schema#custom_dimensions).
      * 
* - * 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() { @@ -6236,6 +7621,8 @@ public Builder clearFieldName() { return this; } /** + * + * *
      * Required. Immutable. The dimension name or metric name to filter. If the
      * field name refers to a custom dimension or metric, a scope prefix will be
@@ -6245,13 +7632,17 @@ public Builder clearFieldName() {
      * (https://developers.google.com/analytics/devguides/reporting/data/v1/api-schema#custom_dimensions).
      * 
* - * 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; @@ -6259,8 +7650,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
@@ -6272,6 +7665,7 @@ public Builder setFieldNameBytes(
      * 
* * bool at_any_point_in_time = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The atAnyPointInTime. */ @java.lang.Override @@ -6279,6 +7673,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
@@ -6290,6 +7686,7 @@ 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. */ @@ -6301,6 +7698,8 @@ public Builder setAtAnyPointInTime(boolean value) { 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
@@ -6312,6 +7711,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() { @@ -6321,8 +7721,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
@@ -6337,6 +7739,7 @@ public Builder clearAtAnyPointInTime() {
      * 
* * int32 in_any_n_day_period = 7 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The inAnyNDayPeriod. */ @java.lang.Override @@ -6344,6 +7747,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
@@ -6358,6 +7763,7 @@ 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. */ @@ -6369,6 +7775,8 @@ public Builder setInAnyNDayPeriod(int value) { 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
@@ -6383,6 +7791,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() { @@ -6391,9 +7800,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); } @@ -6403,41 +7812,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; @@ -6449,9 +7860,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 62% 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 9c2887c2a4ef..83a89b77853f 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,127 +1,207 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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. If the
    * field name refers to a custom dimension or metric, a scope prefix will be
@@ -131,11 +211,16 @@ public interface AudienceDimensionOrMetricFilterOrBuilder extends
    * (https://developers.google.com/analytics/devguides/reporting/data/v1/api-schema#custom_dimensions).
    * 
* - * 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. If the
    * field name refers to a custom dimension or metric, a scope prefix will be
@@ -145,13 +230,17 @@ public interface AudienceDimensionOrMetricFilterOrBuilder extends
    * (https://developers.google.com/analytics/devguides/reporting/data/v1/api-schema#custom_dimensions).
    * 
* - * 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
@@ -163,11 +252,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
@@ -182,9 +274,11 @@ public interface AudienceDimensionOrMetricFilterOrBuilder extends
    * 
* * int32 in_any_n_day_period = 7 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The inAnyNDayPeriod. */ int getInAnyNDayPeriod(); - com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.OneFilterCase getOneFilterCase(); + 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 b0aa9a0e5c7d..037360a5c535 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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,48 +29,56 @@
  *
  * 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();
   }
 
-  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 @@ -62,29 +87,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 { @@ -93,8 +120,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
@@ -105,7 +135,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 @@ -113,6 +146,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
@@ -123,14 +158,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
@@ -141,14 +184,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; @@ -160,8 +209,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -181,8 +229,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; @@ -192,19 +241,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; @@ -229,98 +279,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
@@ -329,33 +385,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();
@@ -370,9 +425,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
@@ -391,8 +446,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;
     }
@@ -403,9 +461,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();
       }
     }
 
@@ -413,38 +472,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;
@@ -452,7 +512,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;
@@ -487,24 +548,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) {
@@ -514,22 +578,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; @@ -538,20 +607,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 { @@ -559,28 +631,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() { @@ -590,17 +673,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; @@ -608,10 +697,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
@@ -622,13 +717,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
@@ -639,17 +739,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
@@ -660,9 +768,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(); @@ -676,6 +787,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
@@ -686,7 +799,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) { @@ -700,6 +815,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
@@ -710,13 +827,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; @@ -729,6 +851,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
@@ -739,7 +863,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); @@ -752,6 +878,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
@@ -762,14 +890,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
@@ -780,17 +913,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
@@ -801,24 +940,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); } @@ -828,12 +972,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(); } @@ -842,27 +986,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; @@ -877,6 +1021,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 62% 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 796b80f14561..311b1229e758 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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 fd5b884a11db..470ab2e0a775 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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,34 +44,38 @@ private AudienceEventTrigger() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new AudienceEventTrigger(); } - 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.
      * 
@@ -62,6 +84,8 @@ public enum LogCondition */ LOG_CONDITION_UNSPECIFIED(0), /** + * + * *
      * The event should be logged only when a user is joined.
      * 
@@ -70,6 +94,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.
@@ -82,6 +108,8 @@ public enum LogCondition
     ;
 
     /**
+     *
+     *
      * 
      * Log condition is not specified.
      * 
@@ -90,6 +118,8 @@ public enum LogCondition */ public static final int LOG_CONDITION_UNSPECIFIED_VALUE = 0; /** + * + * *
      * The event should be logged only when a user is joined.
      * 
@@ -98,6 +128,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.
@@ -107,7 +139,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(
@@ -132,49 +163,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;
@@ -192,14 +225,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 @@ -208,29 +245,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 { @@ -241,30 +278,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; @@ -276,12 +330,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); @@ -296,9 +352,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; @@ -308,15 +366,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; @@ -339,131 +397,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(); @@ -474,9 +537,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 @@ -495,8 +558,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; } @@ -515,38 +581,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; @@ -554,7 +621,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; @@ -589,22 +657,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) { @@ -614,22 +685,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; @@ -638,20 +712,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 { @@ -659,28 +734,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() { @@ -690,17 +772,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; @@ -710,22 +796,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. */ @@ -736,28 +833,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(); } @@ -767,11 +879,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() { @@ -780,9 +897,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); } @@ -792,12 +909,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(); } @@ -806,27 +923,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; @@ -841,6 +958,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..fccd172c4950 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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 cbf255dbcee3..425c417af971 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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 (For example, users satisfying the filter clause are included in
@@ -13,49 +30,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();
   }
 
-  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.
      * 
@@ -64,6 +86,8 @@ public enum AudienceClauseType */ AUDIENCE_CLAUSE_TYPE_UNSPECIFIED(0), /** + * + * *
      * Users will be included in the Audience if the filter clause is met.
      * 
@@ -72,6 +96,8 @@ public enum AudienceClauseType */ INCLUDE(1), /** + * + * *
      * Users will be excluded from the Audience if the filter clause is met.
      * 
@@ -83,6 +109,8 @@ public enum AudienceClauseType ; /** + * + * *
      * Unspecified clause type.
      * 
@@ -91,6 +119,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.
      * 
@@ -99,6 +129,8 @@ public enum AudienceClauseType */ public static final int INCLUDE_VALUE = 1; /** + * + * *
      * Users will be excluded from the Audience if the filter clause is met.
      * 
@@ -107,7 +139,6 @@ public enum AudienceClauseType */ public static final int EXCLUDE_VALUE = 2; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -132,10 +163,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; } } @@ -143,29 +178,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(); @@ -173,8 +210,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; @@ -192,15 +228,19 @@ private AudienceClauseType(int value) { } private int filterCase_ = 0; + @SuppressWarnings("serial") 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; } @@ -216,30 +256,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 @@ -247,21 +293,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.
    * 
@@ -269,21 +320,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 @@ -291,22 +346,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.
@@ -315,9 +375,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();
   }
@@ -325,30 +386,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; @@ -360,9 +439,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) { @@ -380,17 +461,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; @@ -400,23 +485,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: @@ -452,98 +536,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 (For example, users satisfying the filter clause are included in
@@ -553,33 +643,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();
@@ -597,9 +686,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
@@ -618,8 +707,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;
@@ -632,15 +724,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();
       }
     }
@@ -649,38 +740,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;
@@ -688,22 +780,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();
@@ -731,31 +827,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) {
@@ -765,12 +861,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() {
@@ -783,13 +879,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 @@ -797,11 +899,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 @@ -819,6 +924,8 @@ public com.google.analytics.admin.v1alpha.AudienceSimpleFilter getSimpleFilter() } } /** + * + * *
      * A simple filter that a user must satisfy to be a member of the Audience.
      * 
@@ -839,6 +946,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.
      * 
@@ -857,18 +966,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; } @@ -884,6 +1000,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.
      * 
@@ -907,16 +1025,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.
      * 
@@ -924,7 +1047,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 { @@ -935,6 +1059,8 @@ public com.google.analytics.admin.v1alpha.AudienceSimpleFilterOrBuilder getSimpl } } /** + * + * *
      * A simple filter that a user must satisfy to be a member of the Audience.
      * 
@@ -942,14 +1068,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()); @@ -961,14 +1092,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 @@ -976,12 +1113,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 @@ -999,6 +1139,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.
@@ -1006,7 +1148,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();
@@ -1020,6 +1163,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.
@@ -1039,6 +1184,8 @@ public Builder setSequenceFilter(
       return this;
     }
     /**
+     *
+     *
      * 
      * Filters that must occur in a specific order for the user to be a member
      * of the Audience.
@@ -1046,12 +1193,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;
         }
@@ -1067,6 +1219,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.
@@ -1091,6 +1245,8 @@ public Builder clearSequenceFilter() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Filters that must occur in a specific order for the user to be a member
      * of the Audience.
@@ -1098,10 +1254,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.
@@ -1110,7 +1269,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 {
@@ -1121,6 +1281,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.
@@ -1129,14 +1291,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());
@@ -1149,22 +1316,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. */ @@ -1175,28 +1353,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(); } @@ -1206,11 +1400,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() { @@ -1219,9 +1418,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); } @@ -1231,12 +1430,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(); } @@ -1245,27 +1444,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; @@ -1280,6 +1479,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 a97d4d7e3491..c0c2460ad169 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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 1d4bf33e1944..e1f3dac069ec 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,52 +1,73 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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(); } - 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; + @SuppressWarnings("serial") 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), @@ -55,6 +76,7 @@ public enum ExprCase EVENT_FILTER(5), EXPR_NOT_SET(0); private final int value; + private ExprCase(int value) { this.value = value; } @@ -70,28 +92,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
@@ -99,6 +129,7 @@ public int getNumber() {
    * 
* * .google.analytics.admin.v1alpha.AudienceFilterExpressionList and_group = 1; + * * @return Whether the andGroup field is set. */ @java.lang.Override @@ -106,6 +137,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
@@ -113,16 +146,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
@@ -132,21 +168,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 @@ -154,22 +194,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.
@@ -178,15 +223,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 (For example, inverted, complemented).
    * It can only include a dimension_or_metric_filter. This cannot be set on
@@ -194,6 +242,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 @@ -201,6 +250,8 @@ public boolean hasNotExpression() { return exprCase_ == 3; } /** + * + * *
    * A filter expression to be NOT'ed (For example, inverted, complemented).
    * It can only include a dimension_or_metric_filter. This cannot be set on
@@ -208,16 +259,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 (For example, inverted, complemented).
    * It can only include a dimension_or_metric_filter. This cannot be set on
@@ -227,21 +281,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 @@ -249,45 +309,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 @@ -295,22 +369,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.
@@ -321,12 +400,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;
@@ -338,19 +418,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_);
@@ -365,24 +447,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;
@@ -392,34 +479,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:
@@ -465,131 +548,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(); @@ -615,9 +703,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 @@ -636,8 +724,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; @@ -647,27 +738,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(); } } @@ -676,38 +763,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; @@ -715,31 +803,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(); @@ -767,47 +862,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) { @@ -817,12 +909,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() { @@ -835,8 +927,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
@@ -844,6 +941,7 @@ public Builder clearExpr() {
      * 
* * .google.analytics.admin.v1alpha.AudienceFilterExpressionList and_group = 1; + * * @return Whether the andGroup field is set. */ @java.lang.Override @@ -851,6 +949,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
@@ -858,6 +958,7 @@ public boolean hasAndGroup() {
      * 
* * .google.analytics.admin.v1alpha.AudienceFilterExpressionList and_group = 1; + * * @return The andGroup. */ @java.lang.Override @@ -875,6 +976,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
@@ -883,7 +986,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();
@@ -897,6 +1001,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
@@ -917,6 +1023,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
@@ -925,12 +1033,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;
         }
@@ -946,6 +1060,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
@@ -971,6 +1087,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
@@ -979,10 +1097,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
@@ -992,7 +1113,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 {
@@ -1003,6 +1125,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
@@ -1012,14 +1136,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());
@@ -1031,14 +1161,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 @@ -1046,12 +1182,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 @@ -1069,6 +1208,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.
@@ -1076,7 +1217,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();
@@ -1090,6 +1232,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.
@@ -1109,6 +1253,8 @@ public Builder setOrGroup(
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of expressions to OR’ed together. It cannot contain
      * AudienceFilterExpressions with and_group or or_group.
@@ -1116,12 +1262,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;
         }
@@ -1137,6 +1289,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.
@@ -1161,6 +1315,8 @@ public Builder clearOrGroup() {
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of expressions to OR’ed together. It cannot contain
      * AudienceFilterExpressions with and_group or or_group.
@@ -1168,10 +1324,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.
@@ -1180,7 +1339,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 {
@@ -1191,6 +1351,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.
@@ -1199,14 +1361,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());
@@ -1218,8 +1386,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 (For example, inverted, complemented).
      * It can only include a dimension_or_metric_filter. This cannot be set on
@@ -1227,6 +1400,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 @@ -1234,6 +1408,8 @@ public boolean hasNotExpression() { return exprCase_ == 3; } /** + * + * *
      * A filter expression to be NOT'ed (For example, inverted, complemented).
      * It can only include a dimension_or_metric_filter. This cannot be set on
@@ -1241,6 +1417,7 @@ public boolean hasNotExpression() {
      * 
* * .google.analytics.admin.v1alpha.AudienceFilterExpression not_expression = 3; + * * @return The notExpression. */ @java.lang.Override @@ -1258,6 +1435,8 @@ public com.google.analytics.admin.v1alpha.AudienceFilterExpression getNotExpress } } /** + * + * *
      * A filter expression to be NOT'ed (For example, inverted, complemented).
      * It can only include a dimension_or_metric_filter. This cannot be set on
@@ -1266,7 +1445,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();
@@ -1280,6 +1460,8 @@ public Builder setNotExpression(com.google.analytics.admin.v1alpha.AudienceFilte
       return this;
     }
     /**
+     *
+     *
      * 
      * A filter expression to be NOT'ed (For example, inverted, complemented).
      * It can only include a dimension_or_metric_filter. This cannot be set on
@@ -1300,6 +1482,8 @@ public Builder setNotExpression(
       return this;
     }
     /**
+     *
+     *
      * 
      * A filter expression to be NOT'ed (For example, inverted, complemented).
      * It can only include a dimension_or_metric_filter. This cannot be set on
@@ -1308,12 +1492,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;
         }
@@ -1329,6 +1519,8 @@ public Builder mergeNotExpression(com.google.analytics.admin.v1alpha.AudienceFil
       return this;
     }
     /**
+     *
+     *
      * 
      * A filter expression to be NOT'ed (For example, inverted, complemented).
      * It can only include a dimension_or_metric_filter. This cannot be set on
@@ -1354,6 +1546,8 @@ public Builder clearNotExpression() {
       return this;
     }
     /**
+     *
+     *
      * 
      * A filter expression to be NOT'ed (For example, inverted, complemented).
      * It can only include a dimension_or_metric_filter. This cannot be set on
@@ -1362,10 +1556,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 (For example, inverted, complemented).
      * It can only include a dimension_or_metric_filter. This cannot be set on
@@ -1375,7 +1572,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 {
@@ -1386,6 +1584,8 @@ public com.google.analytics.admin.v1alpha.AudienceFilterExpressionOrBuilder getN
       }
     }
     /**
+     *
+     *
      * 
      * A filter expression to be NOT'ed (For example, inverted, complemented).
      * It can only include a dimension_or_metric_filter. This cannot be set on
@@ -1395,14 +1595,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());
@@ -1414,14 +1619,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 @@ -1429,37 +1642,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(); @@ -1473,15 +1699,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(); @@ -1492,19 +1723,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; } @@ -1520,12 +1761,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) { @@ -1544,52 +1789,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()); @@ -1601,14 +1868,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 @@ -1616,12 +1889,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 @@ -1639,6 +1915,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.
@@ -1660,6 +1938,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.
@@ -1679,6 +1959,8 @@ public Builder setEventFilter(
       return this;
     }
     /**
+     *
+     *
      * 
      * Creates a filter that matches a specific event. This cannot be set on the
      * top level AudienceFilterExpression.
@@ -1688,10 +1970,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;
         }
@@ -1707,6 +1993,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.
@@ -1731,6 +2019,8 @@ public Builder clearEventFilter() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Creates a filter that matches a specific event. This cannot be set on the
      * top level AudienceFilterExpression.
@@ -1742,6 +2032,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.
@@ -1750,7 +2042,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 {
@@ -1761,6 +2054,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.
@@ -1769,14 +2064,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());
@@ -1786,9 +2086,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);
     }
 
@@ -1798,12 +2098,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();
   }
@@ -1812,27 +2112,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;
@@ -1847,6 +2147,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 0b84b411697a..028d05fe9de5 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,110 +1,150 @@
+/*
+ * Copyright 2023 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for 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(); } - 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; @@ -116,8 +156,7 @@ public final boolean isInitialized() { } @java.lang.Override - 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)); } @@ -131,8 +170,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; @@ -142,15 +181,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; } @@ -172,131 +211,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(); @@ -312,13 +356,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(); } @@ -333,14 +378,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_); @@ -352,7 +401,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_; } @@ -360,46 +410,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()) { @@ -418,9 +472,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_); } @@ -452,25 +507,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) { @@ -480,28 +537,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 { @@ -509,11 +578,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) { @@ -523,13 +596,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 { @@ -537,11 +615,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) { @@ -558,14 +640,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()); @@ -576,13 +663,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(); @@ -596,11 +688,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) { @@ -617,11 +713,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) { @@ -635,14 +735,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()); @@ -653,18 +758,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); @@ -672,11 +781,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) { @@ -689,11 +802,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) { @@ -706,39 +823,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 { @@ -746,45 +877,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(), @@ -793,9 +946,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); } @@ -805,41 +958,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; @@ -851,9 +1006,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..88ae69aa70a0 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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 7f94c478c83c..d1962af1bfdd 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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 (For example, inverted, complemented).
    * It can only include a dimension_or_metric_filter. This cannot be set on
@@ -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 (For example, inverted, complemented).
    * It can only include a dimension_or_metric_filter. This cannot be set on
@@ -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 (For example, inverted, complemented).
    * It can only include a dimension_or_metric_filter. This cannot be set on
@@ -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..95daddfb8432 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 2023 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for 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..cb33210e83e9 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 2023 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for 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..2f8930273c48 --- /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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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\"\206\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\031\n\nfield_name\030\001" + + " \001(\tB\005\342A\002\002\005\022\"\n\024at_any_point_in_time\030\006 \001(" + + "\010B\004\342A\001\001\022!\n\023in_any_n_day_period\030\007 \001(\005B\004\342A" + + "\001\001\032\246\002\n\014StringFilter\022p\n\nmatch_type\030\001 \001(\0162" + + "V.google.analytics.admin.v1alpha.Audienc" + + "eDimensionOrMetricFilter.StringFilter.Ma" + + "tchTypeB\004\342A\001\002\022\023\n\005value\030\002 \001(\tB\004\342A\001\002\022\034\n\016ca" + + "se_sensitive\030\003 \001(\010B\004\342A\001\001\"q\n\tMatchType\022\032\n" + + "\026MATCH_TYPE_UNSPECIFIED\020\000\022\t\n\005EXACT\020\001\022\017\n\013" + + "BEGINS_WITH\020\002\022\r\n\tENDS_WITH\020\003\022\014\n\010CONTAINS" + + "\020\004\022\017\n\013FULL_REGEXP\020\005\032B\n\014InListFilter\022\024\n\006v" + + "alues\030\001 \003(\tB\004\342A\001\002\022\034\n\016case_sensitive\030\002 \001(" + + "\010B\004\342A\001\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_va" + + "lue\032\270\002\n\rNumericFilter\022p\n\toperation\030\001 \001(\016" + + "2W.google.analytics.admin.v1alpha.Audien" + + "ceDimensionOrMetricFilter.NumericFilter." + + "OperationB\004\342A\001\002\022a\n\005value\030\002 \001(\0132L.google." + + "analytics.admin.v1alpha.AudienceDimensio" + + "nOrMetricFilter.NumericValueB\004\342A\001\002\"R\n\tOp" + + "eration\022\031\n\025OPERATION_UNSPECIFIED\020\000\022\t\n\005EQ" + + "UAL\020\001\022\r\n\tLESS_THAN\020\002\022\020\n\014GREATER_THAN\020\004\032\335" + + "\001\n\rBetweenFilter\022f\n\nfrom_value\030\001 \001(\0132L.g" + + "oogle.analytics.admin.v1alpha.AudienceDi" + + "mensionOrMetricFilter.NumericValueB\004\342A\001\002" + + "\022d\n\010to_value\030\002 \001(\0132L.google.analytics.ad" + + "min.v1alpha.AudienceDimensionOrMetricFil" + + "ter.NumericValueB\004\342A\001\002B\014\n\none_filter\"\233\001\n" + + "\023AudienceEventFilter\022\031\n\nevent_name\030\001 \001(\t" + + "B\005\342A\002\002\005\022i\n!event_parameter_filter_expres" + + "sion\030\002 \001(\01328.google.analytics.admin.v1al" + + "pha.AudienceFilterExpressionB\004\342A\001\001\"\317\003\n\030A" + + "udienceFilterExpression\022Q\n\tand_group\030\001 \001" + + "(\0132<.google.analytics.admin.v1alpha.Audi" + + "enceFilterExpressionListH\000\022P\n\010or_group\030\002" + + " \001(\0132<.google.analytics.admin.v1alpha.Au" + + "dienceFilterExpressionListH\000\022R\n\016not_expr" + + "ession\030\003 \001(\01328.google.analytics.admin.v1" + + "alpha.AudienceFilterExpressionH\000\022e\n\032dime" + + "nsion_or_metric_filter\030\004 \001(\0132?.google.an" + + "alytics.admin.v1alpha.AudienceDimensionO" + + "rMetricFilterH\000\022K\n\014event_filter\030\005 \001(\01323." + + "google.analytics.admin.v1alpha.AudienceE" + + "ventFilterH\000B\006\n\004expr\"t\n\034AudienceFilterEx" + + "pressionList\022T\n\022filter_expressions\030\001 \003(\013" + + "28.google.analytics.admin.v1alpha.Audien" + + "ceFilterExpression\"\275\001\n\024AudienceSimpleFil" + + "ter\022I\n\005scope\030\001 \001(\01623.google.analytics.ad" + + "min.v1alpha.AudienceFilterScopeB\005\342A\002\002\005\022Z" + + "\n\021filter_expression\030\002 \001(\01328.google.analy" + + "tics.admin.v1alpha.AudienceFilterExpress" + + "ionB\005\342A\002\002\005\"\263\004\n\026AudienceSequenceFilter\022I\n" + + "\005scope\030\001 \001(\01623.google.analytics.admin.v1" + + "alpha.AudienceFilterScopeB\005\342A\002\002\005\022B\n\031sequ" + + "ence_maximum_duration\030\002 \001(\0132\031.google.pro" + + "tobuf.DurationB\004\342A\001\001\022i\n\016sequence_steps\030\003" + + " \003(\0132K.google.analytics.admin.v1alpha.Au" + + "dienceSequenceFilter.AudienceSequenceSte" + + "pB\004\342A\001\002\032\236\002\n\024AudienceSequenceStep\022I\n\005scop" + + "e\030\001 \001(\01623.google.analytics.admin.v1alpha" + + ".AudienceFilterScopeB\005\342A\002\002\005\022!\n\023immediate" + + "ly_follows\030\002 \001(\010B\004\342A\001\001\022<\n\023constraint_dur" + + "ation\030\003 \001(\0132\031.google.protobuf.DurationB\004" + + "\342A\001\001\022Z\n\021filter_expression\030\004 \001(\01328.google" + + ".analytics.admin.v1alpha.AudienceFilterE" + + "xpressionB\005\342A\002\002\005\"\374\002\n\024AudienceFilterClaus" + + "e\022M\n\rsimple_filter\030\002 \001(\01324.google.analyt" + + "ics.admin.v1alpha.AudienceSimpleFilterH\000" + + "\022Q\n\017sequence_filter\030\003 \001(\01326.google.analy" + + "tics.admin.v1alpha.AudienceSequenceFilte" + + "rH\000\022b\n\013clause_type\030\001 \001(\0162G.google.analyt" + + "ics.admin.v1alpha.AudienceFilterClause.A" + + "udienceClauseTypeB\004\342A\001\002\"T\n\022AudienceClaus" + + "eType\022$\n AUDIENCE_CLAUSE_TYPE_UNSPECIFIE" + + "D\020\000\022\013\n\007INCLUDE\020\001\022\013\n\007EXCLUDE\020\002B\010\n\006filter\"" + + "\365\001\n\024AudienceEventTrigger\022\030\n\nevent_name\030\001" + + " \001(\tB\004\342A\001\002\022^\n\rlog_condition\030\002 \001(\0162A.goog" + + "le.analytics.admin.v1alpha.AudienceEvent" + + "Trigger.LogConditionB\004\342A\001\002\"c\n\014LogConditi" + + "on\022\035\n\031LOG_CONDITION_UNSPECIFIED\020\000\022\023\n\017AUD" + + "IENCE_JOINED\020\001\022\037\n\033AUDIENCE_MEMBERSHIP_RE" + + "NEWED\020\002\"\240\005\n\010Audience\022\022\n\004name\030\001 \001(\tB\004\342A\001\003" + + "\022\032\n\014display_name\030\002 \001(\tB\004\342A\001\002\022\031\n\013descript" + + "ion\030\003 \001(\tB\004\342A\001\002\022\'\n\030membership_duration_d" + + "ays\030\004 \001(\005B\005\342A\002\002\005\022)\n\033ads_personalization_" + + "enabled\030\005 \001(\010B\004\342A\001\003\022Q\n\revent_trigger\030\006 \001" + + "(\01324.google.analytics.admin.v1alpha.Audi" + + "enceEventTriggerB\004\342A\001\001\022m\n\027exclusion_dura" + + "tion_mode\030\007 \001(\0162F.google.analytics.admin" + + ".v1alpha.Audience.AudienceExclusionDurat" + + "ionModeB\004\342A\001\005\022T\n\016filter_clauses\030\010 \003(\01324." + + "google.analytics.admin.v1alpha.AudienceF" + + "ilterClauseB\006\342A\003\005\002\006\"\203\001\n\035AudienceExclusio" + + "nDurationMode\0220\n,AUDIENCE_EXCLUSION_DURA" + + "TION_MODE_UNSPECIFIED\020\000\022\027\n\023EXCLUDE_TEMPO" + + "RARILY\020\001\022\027\n\023EXCLUDE_PERMANENTLY\020\002:W\352AT\n&" + + "analyticsadmin.googleapis.com/Audience\022*" + + "properties/{property}/audiences/{audienc" + + "e}*\307\001\n\023AudienceFilterScope\022%\n!AUDIENCE_F" + + "ILTER_SCOPE_UNSPECIFIED\020\000\022+\n\'AUDIENCE_FI" + + "LTER_SCOPE_WITHIN_SAME_EVENT\020\001\022-\n)AUDIEN" + + "CE_FILTER_SCOPE_WITHIN_SAME_SESSION\020\002\022-\n" + + ")AUDIENCE_FILTER_SCOPE_ACROSS_ALL_SESSIO" + + "NS\020\003Bu\n\"com.google.analytics.admin.v1alp" + + "haB\rAudienceProtoP\001Z>cloud.google.com/go" + + "/analytics/admin/apiv1alpha/adminpb;admi" + + "npbb\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/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 13b1bd973650..b23b1d4b1bb5 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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,48 +45,62 @@ private AudienceSequenceFilter() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new AudienceSequenceFilter();
   }
 
-  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
@@ -78,11 +110,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 (For example,  t[i] - t[i-1] <=
@@ -90,11 +125,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 (For example,  t[i] - t[i-1] <=
@@ -102,11 +142,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 (For example,  t[i] - t[i-1] <=
@@ -114,110 +159,150 @@ 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(); } - 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
@@ -227,6 +312,7 @@ protected java.lang.Object newInstance(
      * 
* * bool immediately_follows = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The immediatelyFollows. */ @java.lang.Override @@ -237,6 +323,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 (For example,  t[i] - t[i-1] <=
@@ -244,7 +332,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 @@ -252,6 +343,8 @@ public boolean hasConstraintDuration() { return constraintDuration_ != null; } /** + * + * *
      * Optional. When set, this step must be satisfied within the
      * constraint_duration of the previous step (For example,  t[i] - t[i-1] <=
@@ -259,14 +352,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 (For example,  t[i] - t[i-1] <=
@@ -274,22 +374,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 @@ -297,32 +406,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; @@ -334,9 +458,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) { @@ -357,21 +483,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; @@ -381,25 +507,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; @@ -415,8 +541,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(); @@ -430,90 +555,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 @@ -523,40 +659,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(); @@ -577,19 +719,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); } @@ -597,14 +743,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_; @@ -613,14 +765,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(); } } @@ -628,46 +782,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()); } @@ -706,36 +870,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) { @@ -745,26 +912,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. */ @@ -775,24 +954,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. */ @@ -806,11 +998,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() { @@ -820,8 +1017,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
@@ -831,6 +1030,7 @@ public Builder clearScope() {
        * 
* * bool immediately_follows = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The immediatelyFollows. */ @java.lang.Override @@ -838,6 +1038,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
@@ -847,6 +1049,7 @@ public boolean getImmediatelyFollows() {
        * 
* * bool immediately_follows = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The immediatelyFollows to set. * @return This builder for chaining. */ @@ -858,6 +1061,8 @@ public Builder setImmediatelyFollows(boolean value) { 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
@@ -867,6 +1072,7 @@ public Builder setImmediatelyFollows(boolean value) {
        * 
* * bool immediately_follows = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearImmediatelyFollows() { @@ -878,8 +1084,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 (For example,  t[i] - t[i-1] <=
@@ -887,13 +1098,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 (For example,  t[i] - t[i-1] <=
@@ -901,17 +1117,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 (For example,  t[i] - t[i-1] <=
@@ -919,7 +1142,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) { @@ -935,6 +1160,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 (For example,  t[i] - t[i-1] <=
@@ -942,10 +1169,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 { @@ -956,6 +1184,8 @@ public Builder setConstraintDuration( return this; } /** + * + * *
        * Optional. When set, this step must be satisfied within the
        * constraint_duration of the previous step (For example,  t[i] - t[i-1] <=
@@ -963,13 +1193,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; @@ -982,6 +1214,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 (For example,  t[i] - t[i-1] <=
@@ -989,7 +1223,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); @@ -1002,6 +1238,8 @@ public Builder clearConstraintDuration() { return this; } /** + * + * *
        * Optional. When set, this step must be satisfied within the
        * constraint_duration of the previous step (For example,  t[i] - t[i-1] <=
@@ -1009,7 +1247,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; @@ -1017,6 +1257,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 (For example,  t[i] - t[i-1] <=
@@ -1024,17 +1266,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 (For example,  t[i] - t[i-1] <=
@@ -1042,17 +1289,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_; @@ -1060,44 +1312,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(); @@ -1111,12 +1383,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) { @@ -1130,18 +1406,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; @@ -1154,12 +1437,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); @@ -1172,55 +1459,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) { @@ -1233,41 +1539,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; @@ -1279,46 +1590,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 @@ -1326,96 +1657,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; @@ -1427,9 +1801,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) { @@ -1447,17 +1822,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; @@ -1467,21 +1842,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; } @@ -1509,98 +1883,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.
@@ -1608,33 +1988,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();
@@ -1656,9 +2035,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
@@ -1677,14 +2056,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_);
@@ -1702,9 +2085,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();
       }
     }
 
@@ -1712,38 +2096,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;
@@ -1751,7 +2136,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());
       }
@@ -1776,9 +2162,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_);
           }
@@ -1810,37 +2197,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) {
@@ -1850,26 +2241,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. */ @@ -1880,24 +2283,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. */ @@ -1911,11 +2327,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() { @@ -1927,39 +2348,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) { @@ -1975,11 +2415,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) { @@ -1993,17 +2437,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; @@ -2016,11 +2464,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); @@ -2033,11 +2485,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; @@ -2045,62 +2501,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 { @@ -2108,12 +2590,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) { @@ -2123,14 +2609,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 { @@ -2138,15 +2629,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(); @@ -2160,15 +2656,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()); @@ -2179,14 +2681,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(); @@ -2200,15 +2707,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(); @@ -2222,15 +2734,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()); @@ -2241,15 +2758,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()); @@ -2260,19 +2783,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); @@ -2280,12 +2809,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) { @@ -2298,12 +2831,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) { @@ -2316,42 +2853,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 { @@ -2359,48 +2912,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(), @@ -2409,9 +2989,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); } @@ -2421,12 +3001,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(); } @@ -2435,27 +3015,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; @@ -2470,6 +3050,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..5834e14114e2 --- /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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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 081ab92fdd0f..3492c1ef1abb 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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,74 +28,96 @@
  *
  * 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();
   }
 
-  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 @@ -86,32 +125,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; @@ -123,9 +177,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) { @@ -140,13 +195,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; @@ -156,18 +211,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; @@ -192,98 +247,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.
@@ -291,33 +352,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();
@@ -332,9 +392,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
@@ -353,8 +413,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;
     }
@@ -365,9 +428,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();
       }
     }
 
@@ -375,38 +437,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;
@@ -414,7 +477,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());
       }
@@ -447,24 +511,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) {
@@ -474,26 +540,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. */ @@ -504,24 +582,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. */ @@ -535,11 +626,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() { @@ -551,44 +647,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(); @@ -602,12 +718,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) { @@ -621,18 +741,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; @@ -645,12 +772,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); @@ -663,58 +794,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); } @@ -724,12 +873,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(); } @@ -738,27 +887,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; @@ -773,6 +922,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..0b1acf014b5a --- /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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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/BatchCreateAccessBindingsRequest.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchCreateAccessBindingsRequest.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/BatchCreateAccessBindingsRequest.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchCreateAccessBindingsRequest.java index 4c27a7c23715..1afe0b3fb014 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchCreateAccessBindingsRequest.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchCreateAccessBindingsRequest.java @@ -1,24 +1,43 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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 BatchCreateAccessBindings RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.BatchCreateAccessBindingsRequest} */ -public final class BatchCreateAccessBindingsRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class BatchCreateAccessBindingsRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.BatchCreateAccessBindingsRequest) BatchCreateAccessBindingsRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use BatchCreateAccessBindingsRequest.newBuilder() to construct. - private BatchCreateAccessBindingsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private BatchCreateAccessBindingsRequest( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private BatchCreateAccessBindingsRequest() { parent_ = ""; requests_ = java.util.Collections.emptyList(); @@ -26,28 +45,32 @@ private BatchCreateAccessBindingsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new BatchCreateAccessBindingsRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_BatchCreateAccessBindingsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_BatchCreateAccessBindingsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_BatchCreateAccessBindingsRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_BatchCreateAccessBindingsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.BatchCreateAccessBindingsRequest.class, com.google.analytics.admin.v1alpha.BatchCreateAccessBindingsRequest.Builder.class); + com.google.analytics.admin.v1alpha.BatchCreateAccessBindingsRequest.class, + com.google.analytics.admin.v1alpha.BatchCreateAccessBindingsRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** + * + * *
    * Required. The account or property that owns the access bindings. The parent
    * field in the CreateAccessBindingRequest messages must either be empty or
@@ -56,7 +79,10 @@ protected java.lang.Object newInstance(
    * - properties/{property}
    * 
* - * string parent = 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,14 +91,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 owns the access bindings. The parent
    * field in the CreateAccessBindingRequest messages must either be empty or
@@ -81,17 +108,18 @@ public java.lang.String getParent() {
    * - properties/{property}
    * 
* - * string parent = 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,72 +128,96 @@ public java.lang.String getParent() { } public static final int REQUESTS_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private java.util.List requests_; /** + * + * *
    * Required. The requests specifying the access bindings to create.
    * A maximum of 1000 access bindings can be created in a batch.
    * 
* - * repeated .google.analytics.admin.v1alpha.CreateAccessBindingRequest requests = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.CreateAccessBindingRequest 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 access bindings to create.
    * A maximum of 1000 access bindings can be created in a batch.
    * 
* - * repeated .google.analytics.admin.v1alpha.CreateAccessBindingRequest requests = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.CreateAccessBindingRequest requests = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public java.util.List + public java.util.List< + ? extends com.google.analytics.admin.v1alpha.CreateAccessBindingRequestOrBuilder> getRequestsOrBuilderList() { return requests_; } /** + * + * *
    * Required. The requests specifying the access bindings to create.
    * A maximum of 1000 access bindings can be created in a batch.
    * 
* - * repeated .google.analytics.admin.v1alpha.CreateAccessBindingRequest requests = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.CreateAccessBindingRequest requests = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public int getRequestsCount() { return requests_.size(); } /** + * + * *
    * Required. The requests specifying the access bindings to create.
    * A maximum of 1000 access bindings can be created in a batch.
    * 
* - * repeated .google.analytics.admin.v1alpha.CreateAccessBindingRequest requests = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.CreateAccessBindingRequest requests = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.analytics.admin.v1alpha.CreateAccessBindingRequest getRequests(int index) { return requests_.get(index); } /** + * + * *
    * Required. The requests specifying the access bindings to create.
    * A maximum of 1000 access bindings can be created in a batch.
    * 
* - * repeated .google.analytics.admin.v1alpha.CreateAccessBindingRequest requests = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.CreateAccessBindingRequest requests = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public com.google.analytics.admin.v1alpha.CreateAccessBindingRequestOrBuilder getRequestsOrBuilder( - int index) { + public com.google.analytics.admin.v1alpha.CreateAccessBindingRequestOrBuilder + getRequestsOrBuilder(int index) { return requests_.get(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -177,8 +229,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -198,8 +249,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(3, requests_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, requests_.get(i)); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -209,17 +259,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.BatchCreateAccessBindingsRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.BatchCreateAccessBindingsRequest other = (com.google.analytics.admin.v1alpha.BatchCreateAccessBindingsRequest) obj; + com.google.analytics.admin.v1alpha.BatchCreateAccessBindingsRequest other = + (com.google.analytics.admin.v1alpha.BatchCreateAccessBindingsRequest) 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; } @@ -243,131 +292,138 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.BatchCreateAccessBindingsRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.BatchCreateAccessBindingsRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.BatchCreateAccessBindingsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.BatchCreateAccessBindingsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.BatchCreateAccessBindingsRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.analytics.admin.v1alpha.BatchCreateAccessBindingsRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.BatchCreateAccessBindingsRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.BatchCreateAccessBindingsRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.BatchCreateAccessBindingsRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.BatchCreateAccessBindingsRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.BatchCreateAccessBindingsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.BatchCreateAccessBindingsRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.BatchCreateAccessBindingsRequest parseDelimitedFrom( - java.io.InputStream input, - 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.BatchCreateAccessBindingsRequest + parseDelimitedFrom( + java.io.InputStream input, 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.BatchCreateAccessBindingsRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.BatchCreateAccessBindingsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1alpha.BatchCreateAccessBindingsRequest prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1alpha.BatchCreateAccessBindingsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder 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 BatchCreateAccessBindings RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.BatchCreateAccessBindingsRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.BatchCreateAccessBindingsRequest) com.google.analytics.admin.v1alpha.BatchCreateAccessBindingsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_BatchCreateAccessBindingsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_BatchCreateAccessBindingsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_BatchCreateAccessBindingsRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_BatchCreateAccessBindingsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.BatchCreateAccessBindingsRequest.class, com.google.analytics.admin.v1alpha.BatchCreateAccessBindingsRequest.Builder.class); + com.google.analytics.admin.v1alpha.BatchCreateAccessBindingsRequest.class, + com.google.analytics.admin.v1alpha.BatchCreateAccessBindingsRequest.Builder.class); } - // Construct using com.google.analytics.admin.v1alpha.BatchCreateAccessBindingsRequest.newBuilder() - private Builder() { - - } + // Construct using + // com.google.analytics.admin.v1alpha.BatchCreateAccessBindingsRequest.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(); @@ -384,14 +440,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_BatchCreateAccessBindingsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_BatchCreateAccessBindingsRequest_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.BatchCreateAccessBindingsRequest getDefaultInstanceForType() { - return com.google.analytics.admin.v1alpha.BatchCreateAccessBindingsRequest.getDefaultInstance(); + public com.google.analytics.admin.v1alpha.BatchCreateAccessBindingsRequest + getDefaultInstanceForType() { + return com.google.analytics.admin.v1alpha.BatchCreateAccessBindingsRequest + .getDefaultInstance(); } @java.lang.Override @@ -405,14 +463,18 @@ public com.google.analytics.admin.v1alpha.BatchCreateAccessBindingsRequest build @java.lang.Override public com.google.analytics.admin.v1alpha.BatchCreateAccessBindingsRequest buildPartial() { - com.google.analytics.admin.v1alpha.BatchCreateAccessBindingsRequest result = new com.google.analytics.admin.v1alpha.BatchCreateAccessBindingsRequest(this); + com.google.analytics.admin.v1alpha.BatchCreateAccessBindingsRequest result = + new com.google.analytics.admin.v1alpha.BatchCreateAccessBindingsRequest(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartialRepeatedFields(com.google.analytics.admin.v1alpha.BatchCreateAccessBindingsRequest result) { + private void buildPartialRepeatedFields( + com.google.analytics.admin.v1alpha.BatchCreateAccessBindingsRequest result) { if (requestsBuilder_ == null) { if (((bitField0_ & 0x00000002) != 0)) { requests_ = java.util.Collections.unmodifiableList(requests_); @@ -424,7 +486,8 @@ private void buildPartialRepeatedFields(com.google.analytics.admin.v1alpha.Batch } } - private void buildPartial0(com.google.analytics.admin.v1alpha.BatchCreateAccessBindingsRequest result) { + private void buildPartial0( + com.google.analytics.admin.v1alpha.BatchCreateAccessBindingsRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.parent_ = parent_; @@ -435,46 +498,51 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.BatchCreateAccessB public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.analytics.admin.v1alpha.BatchCreateAccessBindingsRequest) { - return mergeFrom((com.google.analytics.admin.v1alpha.BatchCreateAccessBindingsRequest)other); + return mergeFrom( + (com.google.analytics.admin.v1alpha.BatchCreateAccessBindingsRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.analytics.admin.v1alpha.BatchCreateAccessBindingsRequest other) { - if (other == com.google.analytics.admin.v1alpha.BatchCreateAccessBindingsRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.analytics.admin.v1alpha.BatchCreateAccessBindingsRequest other) { + if (other + == com.google.analytics.admin.v1alpha.BatchCreateAccessBindingsRequest + .getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -498,9 +566,10 @@ public Builder mergeFrom(com.google.analytics.admin.v1alpha.BatchCreateAccessBin 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_); } @@ -532,30 +601,33 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 26: { - com.google.analytics.admin.v1alpha.CreateAccessBindingRequest m = - input.readMessage( - com.google.analytics.admin.v1alpha.CreateAccessBindingRequest.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 26: + { + com.google.analytics.admin.v1alpha.CreateAccessBindingRequest m = + input.readMessage( + com.google.analytics.admin.v1alpha.CreateAccessBindingRequest.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) { @@ -565,10 +637,13 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The account or property that owns the access bindings. The parent
      * field in the CreateAccessBindingRequest messages must either be empty or
@@ -577,14 +652,16 @@ public Builder mergeFrom(
      * - properties/{property}
      * 
* - * string parent = 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 +670,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The account or property that owns the access bindings. The parent
      * field in the CreateAccessBindingRequest messages must either be empty or
@@ -601,16 +680,17 @@ public java.lang.String getParent() {
      * - properties/{property}
      * 
* - * string parent = 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 { @@ -618,6 +698,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The account or property that owns the access bindings. The parent
      * field in the CreateAccessBindingRequest messages must either be empty or
@@ -626,19 +708,25 @@ public java.lang.String getParent() {
      * - properties/{property}
      * 
* - * 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 owns the access bindings. The parent
      * field in the CreateAccessBindingRequest messages must either be empty or
@@ -647,7 +735,10 @@ public Builder setParent(
      * - properties/{property}
      * 
* - * string 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() { @@ -657,6 +748,8 @@ public Builder clearParent() { return this; } /** + * + * *
      * Required. The account or property that owns the access bindings. The parent
      * field in the CreateAccessBindingRequest messages must either be empty or
@@ -665,13 +758,17 @@ public Builder clearParent() {
      * - properties/{property}
      * 
* - * 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; @@ -679,27 +776,38 @@ public Builder setParentBytes( return this; } - private java.util.List requests_ = - java.util.Collections.emptyList(); + private java.util.List + requests_ = 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.CreateAccessBindingRequest, com.google.analytics.admin.v1alpha.CreateAccessBindingRequest.Builder, com.google.analytics.admin.v1alpha.CreateAccessBindingRequestOrBuilder> requestsBuilder_; + com.google.analytics.admin.v1alpha.CreateAccessBindingRequest, + com.google.analytics.admin.v1alpha.CreateAccessBindingRequest.Builder, + com.google.analytics.admin.v1alpha.CreateAccessBindingRequestOrBuilder> + requestsBuilder_; /** + * + * *
      * Required. The requests specifying the access bindings to create.
      * A maximum of 1000 access bindings can be created in a batch.
      * 
* - * repeated .google.analytics.admin.v1alpha.CreateAccessBindingRequest requests = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.CreateAccessBindingRequest 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 { @@ -707,12 +815,16 @@ public java.util.List * Required. The requests specifying the access bindings to create. * A maximum of 1000 access bindings can be created in a batch. *
* - * repeated .google.analytics.admin.v1alpha.CreateAccessBindingRequest requests = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.CreateAccessBindingRequest requests = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public int getRequestsCount() { if (requestsBuilder_ == null) { @@ -722,12 +834,16 @@ public int getRequestsCount() { } } /** + * + * *
      * Required. The requests specifying the access bindings to create.
      * A maximum of 1000 access bindings can be created in a batch.
      * 
* - * repeated .google.analytics.admin.v1alpha.CreateAccessBindingRequest requests = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.CreateAccessBindingRequest requests = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.analytics.admin.v1alpha.CreateAccessBindingRequest getRequests(int index) { if (requestsBuilder_ == null) { @@ -737,12 +853,16 @@ public com.google.analytics.admin.v1alpha.CreateAccessBindingRequest getRequests } } /** + * + * *
      * Required. The requests specifying the access bindings to create.
      * A maximum of 1000 access bindings can be created in a batch.
      * 
* - * repeated .google.analytics.admin.v1alpha.CreateAccessBindingRequest requests = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.CreateAccessBindingRequest requests = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setRequests( int index, com.google.analytics.admin.v1alpha.CreateAccessBindingRequest value) { @@ -759,15 +879,20 @@ public Builder setRequests( return this; } /** + * + * *
      * Required. The requests specifying the access bindings to create.
      * A maximum of 1000 access bindings can be created in a batch.
      * 
* - * repeated .google.analytics.admin.v1alpha.CreateAccessBindingRequest requests = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.CreateAccessBindingRequest requests = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setRequests( - int index, com.google.analytics.admin.v1alpha.CreateAccessBindingRequest.Builder builderForValue) { + int index, + com.google.analytics.admin.v1alpha.CreateAccessBindingRequest.Builder builderForValue) { if (requestsBuilder_ == null) { ensureRequestsIsMutable(); requests_.set(index, builderForValue.build()); @@ -778,14 +903,19 @@ public Builder setRequests( return this; } /** + * + * *
      * Required. The requests specifying the access bindings to create.
      * A maximum of 1000 access bindings can be created in a batch.
      * 
* - * repeated .google.analytics.admin.v1alpha.CreateAccessBindingRequest requests = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.CreateAccessBindingRequest requests = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder addRequests(com.google.analytics.admin.v1alpha.CreateAccessBindingRequest value) { + public Builder addRequests( + com.google.analytics.admin.v1alpha.CreateAccessBindingRequest value) { if (requestsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -799,12 +929,16 @@ public Builder addRequests(com.google.analytics.admin.v1alpha.CreateAccessBindin return this; } /** + * + * *
      * Required. The requests specifying the access bindings to create.
      * A maximum of 1000 access bindings can be created in a batch.
      * 
* - * repeated .google.analytics.admin.v1alpha.CreateAccessBindingRequest requests = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.CreateAccessBindingRequest requests = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder addRequests( int index, com.google.analytics.admin.v1alpha.CreateAccessBindingRequest value) { @@ -821,12 +955,16 @@ public Builder addRequests( return this; } /** + * + * *
      * Required. The requests specifying the access bindings to create.
      * A maximum of 1000 access bindings can be created in a batch.
      * 
* - * repeated .google.analytics.admin.v1alpha.CreateAccessBindingRequest requests = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.CreateAccessBindingRequest requests = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder addRequests( com.google.analytics.admin.v1alpha.CreateAccessBindingRequest.Builder builderForValue) { @@ -840,15 +978,20 @@ public Builder addRequests( return this; } /** + * + * *
      * Required. The requests specifying the access bindings to create.
      * A maximum of 1000 access bindings can be created in a batch.
      * 
* - * repeated .google.analytics.admin.v1alpha.CreateAccessBindingRequest requests = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.CreateAccessBindingRequest requests = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder addRequests( - int index, com.google.analytics.admin.v1alpha.CreateAccessBindingRequest.Builder builderForValue) { + int index, + com.google.analytics.admin.v1alpha.CreateAccessBindingRequest.Builder builderForValue) { if (requestsBuilder_ == null) { ensureRequestsIsMutable(); requests_.add(index, builderForValue.build()); @@ -859,19 +1002,23 @@ public Builder addRequests( return this; } /** + * + * *
      * Required. The requests specifying the access bindings to create.
      * A maximum of 1000 access bindings can be created in a batch.
      * 
* - * repeated .google.analytics.admin.v1alpha.CreateAccessBindingRequest requests = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.CreateAccessBindingRequest 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); @@ -879,12 +1026,16 @@ public Builder addAllRequests( return this; } /** + * + * *
      * Required. The requests specifying the access bindings to create.
      * A maximum of 1000 access bindings can be created in a batch.
      * 
* - * repeated .google.analytics.admin.v1alpha.CreateAccessBindingRequest requests = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.CreateAccessBindingRequest requests = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearRequests() { if (requestsBuilder_ == null) { @@ -897,12 +1048,16 @@ public Builder clearRequests() { return this; } /** + * + * *
      * Required. The requests specifying the access bindings to create.
      * A maximum of 1000 access bindings can be created in a batch.
      * 
* - * repeated .google.analytics.admin.v1alpha.CreateAccessBindingRequest requests = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.CreateAccessBindingRequest requests = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder removeRequests(int index) { if (requestsBuilder_ == null) { @@ -915,42 +1070,56 @@ public Builder removeRequests(int index) { return this; } /** + * + * *
      * Required. The requests specifying the access bindings to create.
      * A maximum of 1000 access bindings can be created in a batch.
      * 
* - * repeated .google.analytics.admin.v1alpha.CreateAccessBindingRequest requests = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.CreateAccessBindingRequest requests = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.analytics.admin.v1alpha.CreateAccessBindingRequest.Builder getRequestsBuilder( int index) { return getRequestsFieldBuilder().getBuilder(index); } /** + * + * *
      * Required. The requests specifying the access bindings to create.
      * A maximum of 1000 access bindings can be created in a batch.
      * 
* - * repeated .google.analytics.admin.v1alpha.CreateAccessBindingRequest requests = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.CreateAccessBindingRequest requests = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.analytics.admin.v1alpha.CreateAccessBindingRequestOrBuilder getRequestsOrBuilder( - int index) { + public com.google.analytics.admin.v1alpha.CreateAccessBindingRequestOrBuilder + 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 access bindings to create.
      * A maximum of 1000 access bindings can be created in a batch.
      * 
* - * repeated .google.analytics.admin.v1alpha.CreateAccessBindingRequest requests = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.CreateAccessBindingRequest requests = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ - public java.util.List - getRequestsOrBuilderList() { + public java.util.List< + ? extends com.google.analytics.admin.v1alpha.CreateAccessBindingRequestOrBuilder> + getRequestsOrBuilderList() { if (requestsBuilder_ != null) { return requestsBuilder_.getMessageOrBuilderList(); } else { @@ -958,59 +1127,78 @@ public com.google.analytics.admin.v1alpha.CreateAccessBindingRequestOrBuilder ge } } /** + * + * *
      * Required. The requests specifying the access bindings to create.
      * A maximum of 1000 access bindings can be created in a batch.
      * 
* - * repeated .google.analytics.admin.v1alpha.CreateAccessBindingRequest requests = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.CreateAccessBindingRequest requests = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.analytics.admin.v1alpha.CreateAccessBindingRequest.Builder addRequestsBuilder() { - return getRequestsFieldBuilder().addBuilder( - com.google.analytics.admin.v1alpha.CreateAccessBindingRequest.getDefaultInstance()); + public com.google.analytics.admin.v1alpha.CreateAccessBindingRequest.Builder + addRequestsBuilder() { + return getRequestsFieldBuilder() + .addBuilder( + com.google.analytics.admin.v1alpha.CreateAccessBindingRequest.getDefaultInstance()); } /** + * + * *
      * Required. The requests specifying the access bindings to create.
      * A maximum of 1000 access bindings can be created in a batch.
      * 
* - * repeated .google.analytics.admin.v1alpha.CreateAccessBindingRequest requests = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.CreateAccessBindingRequest requests = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.analytics.admin.v1alpha.CreateAccessBindingRequest.Builder addRequestsBuilder( int index) { - return getRequestsFieldBuilder().addBuilder( - index, com.google.analytics.admin.v1alpha.CreateAccessBindingRequest.getDefaultInstance()); + return getRequestsFieldBuilder() + .addBuilder( + index, + com.google.analytics.admin.v1alpha.CreateAccessBindingRequest.getDefaultInstance()); } /** + * + * *
      * Required. The requests specifying the access bindings to create.
      * A maximum of 1000 access bindings can be created in a batch.
      * 
* - * repeated .google.analytics.admin.v1alpha.CreateAccessBindingRequest requests = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.CreateAccessBindingRequest 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.CreateAccessBindingRequest, com.google.analytics.admin.v1alpha.CreateAccessBindingRequest.Builder, com.google.analytics.admin.v1alpha.CreateAccessBindingRequestOrBuilder> + com.google.analytics.admin.v1alpha.CreateAccessBindingRequest, + com.google.analytics.admin.v1alpha.CreateAccessBindingRequest.Builder, + com.google.analytics.admin.v1alpha.CreateAccessBindingRequestOrBuilder> getRequestsFieldBuilder() { if (requestsBuilder_ == null) { - requestsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.CreateAccessBindingRequest, com.google.analytics.admin.v1alpha.CreateAccessBindingRequest.Builder, com.google.analytics.admin.v1alpha.CreateAccessBindingRequestOrBuilder>( - requests_, - ((bitField0_ & 0x00000002) != 0), - getParentForChildren(), - isClean()); + requestsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.analytics.admin.v1alpha.CreateAccessBindingRequest, + com.google.analytics.admin.v1alpha.CreateAccessBindingRequest.Builder, + com.google.analytics.admin.v1alpha.CreateAccessBindingRequestOrBuilder>( + 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); } @@ -1020,41 +1208,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.BatchCreateAccessBindingsRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.BatchCreateAccessBindingsRequest) - private static final com.google.analytics.admin.v1alpha.BatchCreateAccessBindingsRequest DEFAULT_INSTANCE; + private static final com.google.analytics.admin.v1alpha.BatchCreateAccessBindingsRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.BatchCreateAccessBindingsRequest(); } - public static com.google.analytics.admin.v1alpha.BatchCreateAccessBindingsRequest getDefaultInstance() { + public static com.google.analytics.admin.v1alpha.BatchCreateAccessBindingsRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public BatchCreateAccessBindingsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public BatchCreateAccessBindingsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1066,9 +1256,8 @@ public com.google.protobuf.Parser getParserFor } @java.lang.Override - public com.google.analytics.admin.v1alpha.BatchCreateAccessBindingsRequest getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.BatchCreateAccessBindingsRequest + 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/BatchCreateAccessBindingsRequestOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchCreateAccessBindingsRequestOrBuilder.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/BatchCreateAccessBindingsRequestOrBuilder.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchCreateAccessBindingsRequestOrBuilder.java index 2e1adc5bbb02..4bb7364f678e 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchCreateAccessBindingsRequestOrBuilder.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchCreateAccessBindingsRequestOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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 BatchCreateAccessBindingsRequestOrBuilder extends +public interface BatchCreateAccessBindingsRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.BatchCreateAccessBindingsRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The account or property that owns the access bindings. The parent
    * field in the CreateAccessBindingRequest messages must either be empty or
@@ -16,11 +34,16 @@ public interface BatchCreateAccessBindingsRequestOrBuilder extends
    * - properties/{property}
    * 
* - * string parent = 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 owns the access bindings. The parent
    * field in the CreateAccessBindingRequest messages must either be empty or
@@ -29,57 +52,78 @@ public interface BatchCreateAccessBindingsRequestOrBuilder extends
    * - properties/{property}
    * 
* - * string parent = 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 access bindings to create.
    * A maximum of 1000 access bindings can be created in a batch.
    * 
* - * repeated .google.analytics.admin.v1alpha.CreateAccessBindingRequest requests = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.CreateAccessBindingRequest requests = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ - java.util.List - getRequestsList(); + java.util.List getRequestsList(); /** + * + * *
    * Required. The requests specifying the access bindings to create.
    * A maximum of 1000 access bindings can be created in a batch.
    * 
* - * repeated .google.analytics.admin.v1alpha.CreateAccessBindingRequest requests = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.CreateAccessBindingRequest requests = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.analytics.admin.v1alpha.CreateAccessBindingRequest getRequests(int index); /** + * + * *
    * Required. The requests specifying the access bindings to create.
    * A maximum of 1000 access bindings can be created in a batch.
    * 
* - * repeated .google.analytics.admin.v1alpha.CreateAccessBindingRequest requests = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.CreateAccessBindingRequest requests = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ int getRequestsCount(); /** + * + * *
    * Required. The requests specifying the access bindings to create.
    * A maximum of 1000 access bindings can be created in a batch.
    * 
* - * repeated .google.analytics.admin.v1alpha.CreateAccessBindingRequest requests = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.CreateAccessBindingRequest requests = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ - java.util.List + java.util.List getRequestsOrBuilderList(); /** + * + * *
    * Required. The requests specifying the access bindings to create.
    * A maximum of 1000 access bindings can be created in a batch.
    * 
* - * repeated .google.analytics.admin.v1alpha.CreateAccessBindingRequest requests = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.CreateAccessBindingRequest requests = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.analytics.admin.v1alpha.CreateAccessBindingRequestOrBuilder 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/BatchCreateAccessBindingsResponse.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchCreateAccessBindingsResponse.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/BatchCreateAccessBindingsResponse.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchCreateAccessBindingsResponse.java index e8ad69ad8890..ea6496e880d2 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchCreateAccessBindingsResponse.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchCreateAccessBindingsResponse.java @@ -1,52 +1,75 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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 BatchCreateAccessBindings RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.BatchCreateAccessBindingsResponse} */ -public final class BatchCreateAccessBindingsResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class BatchCreateAccessBindingsResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.BatchCreateAccessBindingsResponse) BatchCreateAccessBindingsResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use BatchCreateAccessBindingsResponse.newBuilder() to construct. - private BatchCreateAccessBindingsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private BatchCreateAccessBindingsResponse( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private BatchCreateAccessBindingsResponse() { accessBindings_ = 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 BatchCreateAccessBindingsResponse(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_BatchCreateAccessBindingsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_BatchCreateAccessBindingsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_BatchCreateAccessBindingsResponse_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_BatchCreateAccessBindingsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.BatchCreateAccessBindingsResponse.class, com.google.analytics.admin.v1alpha.BatchCreateAccessBindingsResponse.Builder.class); + com.google.analytics.admin.v1alpha.BatchCreateAccessBindingsResponse.class, + com.google.analytics.admin.v1alpha.BatchCreateAccessBindingsResponse.Builder.class); } public static final int ACCESS_BINDINGS_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private java.util.List accessBindings_; /** + * + * *
    * The access bindings created.
    * 
@@ -58,6 +81,8 @@ public java.util.List getAcces return accessBindings_; } /** + * + * *
    * The access bindings created.
    * 
@@ -65,11 +90,13 @@ public java.util.List getAcces * repeated .google.analytics.admin.v1alpha.AccessBinding access_bindings = 1; */ @java.lang.Override - public java.util.List + public java.util.List getAccessBindingsOrBuilderList() { return accessBindings_; } /** + * + * *
    * The access bindings created.
    * 
@@ -81,6 +108,8 @@ public int getAccessBindingsCount() { return accessBindings_.size(); } /** + * + * *
    * The access bindings created.
    * 
@@ -92,6 +121,8 @@ public com.google.analytics.admin.v1alpha.AccessBinding getAccessBindings(int in return accessBindings_.get(index); } /** + * + * *
    * The access bindings created.
    * 
@@ -105,6 +136,7 @@ public com.google.analytics.admin.v1alpha.AccessBindingOrBuilder getAccessBindin } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -116,8 +148,7 @@ public final boolean isInitialized() { } @java.lang.Override - 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 < accessBindings_.size(); i++) { output.writeMessage(1, accessBindings_.get(i)); } @@ -131,8 +162,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < accessBindings_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, accessBindings_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, accessBindings_.get(i)); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -142,15 +172,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.BatchCreateAccessBindingsResponse)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.BatchCreateAccessBindingsResponse other = (com.google.analytics.admin.v1alpha.BatchCreateAccessBindingsResponse) obj; + com.google.analytics.admin.v1alpha.BatchCreateAccessBindingsResponse other = + (com.google.analytics.admin.v1alpha.BatchCreateAccessBindingsResponse) obj; - if (!getAccessBindingsList() - .equals(other.getAccessBindingsList())) return false; + if (!getAccessBindingsList().equals(other.getAccessBindingsList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -172,131 +202,138 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.BatchCreateAccessBindingsResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.BatchCreateAccessBindingsResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.BatchCreateAccessBindingsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.BatchCreateAccessBindingsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.BatchCreateAccessBindingsResponse parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.analytics.admin.v1alpha.BatchCreateAccessBindingsResponse parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.BatchCreateAccessBindingsResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.BatchCreateAccessBindingsResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.BatchCreateAccessBindingsResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.BatchCreateAccessBindingsResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.BatchCreateAccessBindingsResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.BatchCreateAccessBindingsResponse + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.BatchCreateAccessBindingsResponse parseDelimitedFrom( - java.io.InputStream input, - 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.BatchCreateAccessBindingsResponse + parseDelimitedFrom( + java.io.InputStream input, 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.BatchCreateAccessBindingsResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.BatchCreateAccessBindingsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1alpha.BatchCreateAccessBindingsResponse prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1alpha.BatchCreateAccessBindingsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 BatchCreateAccessBindings RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.BatchCreateAccessBindingsResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.BatchCreateAccessBindingsResponse) com.google.analytics.admin.v1alpha.BatchCreateAccessBindingsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_BatchCreateAccessBindingsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_BatchCreateAccessBindingsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_BatchCreateAccessBindingsResponse_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_BatchCreateAccessBindingsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.BatchCreateAccessBindingsResponse.class, com.google.analytics.admin.v1alpha.BatchCreateAccessBindingsResponse.Builder.class); + com.google.analytics.admin.v1alpha.BatchCreateAccessBindingsResponse.class, + com.google.analytics.admin.v1alpha.BatchCreateAccessBindingsResponse.Builder.class); } - // Construct using com.google.analytics.admin.v1alpha.BatchCreateAccessBindingsResponse.newBuilder() - private Builder() { - - } + // Construct using + // com.google.analytics.admin.v1alpha.BatchCreateAccessBindingsResponse.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(); @@ -312,14 +349,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_BatchCreateAccessBindingsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_BatchCreateAccessBindingsResponse_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.BatchCreateAccessBindingsResponse getDefaultInstanceForType() { - return com.google.analytics.admin.v1alpha.BatchCreateAccessBindingsResponse.getDefaultInstance(); + public com.google.analytics.admin.v1alpha.BatchCreateAccessBindingsResponse + getDefaultInstanceForType() { + return com.google.analytics.admin.v1alpha.BatchCreateAccessBindingsResponse + .getDefaultInstance(); } @java.lang.Override @@ -333,14 +372,18 @@ public com.google.analytics.admin.v1alpha.BatchCreateAccessBindingsResponse buil @java.lang.Override public com.google.analytics.admin.v1alpha.BatchCreateAccessBindingsResponse buildPartial() { - com.google.analytics.admin.v1alpha.BatchCreateAccessBindingsResponse result = new com.google.analytics.admin.v1alpha.BatchCreateAccessBindingsResponse(this); + com.google.analytics.admin.v1alpha.BatchCreateAccessBindingsResponse result = + new com.google.analytics.admin.v1alpha.BatchCreateAccessBindingsResponse(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartialRepeatedFields(com.google.analytics.admin.v1alpha.BatchCreateAccessBindingsResponse result) { + private void buildPartialRepeatedFields( + com.google.analytics.admin.v1alpha.BatchCreateAccessBindingsResponse result) { if (accessBindingsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { accessBindings_ = java.util.Collections.unmodifiableList(accessBindings_); @@ -352,7 +395,8 @@ private void buildPartialRepeatedFields(com.google.analytics.admin.v1alpha.Batch } } - private void buildPartial0(com.google.analytics.admin.v1alpha.BatchCreateAccessBindingsResponse result) { + private void buildPartial0( + com.google.analytics.admin.v1alpha.BatchCreateAccessBindingsResponse result) { int from_bitField0_ = bitField0_; } @@ -360,46 +404,51 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.BatchCreateAccessB public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.analytics.admin.v1alpha.BatchCreateAccessBindingsResponse) { - return mergeFrom((com.google.analytics.admin.v1alpha.BatchCreateAccessBindingsResponse)other); + return mergeFrom( + (com.google.analytics.admin.v1alpha.BatchCreateAccessBindingsResponse) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.analytics.admin.v1alpha.BatchCreateAccessBindingsResponse other) { - if (other == com.google.analytics.admin.v1alpha.BatchCreateAccessBindingsResponse.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.analytics.admin.v1alpha.BatchCreateAccessBindingsResponse other) { + if (other + == com.google.analytics.admin.v1alpha.BatchCreateAccessBindingsResponse + .getDefaultInstance()) return this; if (accessBindingsBuilder_ == null) { if (!other.accessBindings_.isEmpty()) { if (accessBindings_.isEmpty()) { @@ -418,9 +467,10 @@ public Builder mergeFrom(com.google.analytics.admin.v1alpha.BatchCreateAccessBin accessBindingsBuilder_ = null; accessBindings_ = other.accessBindings_; bitField0_ = (bitField0_ & ~0x00000001); - accessBindingsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getAccessBindingsFieldBuilder() : null; + accessBindingsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getAccessBindingsFieldBuilder() + : null; } else { accessBindingsBuilder_.addAllMessages(other.accessBindings_); } @@ -452,25 +502,27 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - com.google.analytics.admin.v1alpha.AccessBinding m = - input.readMessage( - com.google.analytics.admin.v1alpha.AccessBinding.parser(), - extensionRegistry); - if (accessBindingsBuilder_ == null) { - ensureAccessBindingsIsMutable(); - accessBindings_.add(m); - } else { - accessBindingsBuilder_.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.AccessBinding m = + input.readMessage( + com.google.analytics.admin.v1alpha.AccessBinding.parser(), + extensionRegistry); + if (accessBindingsBuilder_ == null) { + ensureAccessBindingsIsMutable(); + accessBindings_.add(m); + } else { + accessBindingsBuilder_.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) { @@ -480,28 +532,38 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.util.List accessBindings_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureAccessBindingsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - accessBindings_ = new java.util.ArrayList(accessBindings_); + accessBindings_ = + new java.util.ArrayList( + accessBindings_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.AccessBinding, com.google.analytics.admin.v1alpha.AccessBinding.Builder, com.google.analytics.admin.v1alpha.AccessBindingOrBuilder> accessBindingsBuilder_; + com.google.analytics.admin.v1alpha.AccessBinding, + com.google.analytics.admin.v1alpha.AccessBinding.Builder, + com.google.analytics.admin.v1alpha.AccessBindingOrBuilder> + accessBindingsBuilder_; /** + * + * *
      * The access bindings created.
      * 
* * repeated .google.analytics.admin.v1alpha.AccessBinding access_bindings = 1; */ - public java.util.List getAccessBindingsList() { + public java.util.List + getAccessBindingsList() { if (accessBindingsBuilder_ == null) { return java.util.Collections.unmodifiableList(accessBindings_); } else { @@ -509,6 +571,8 @@ public java.util.List getAcces } } /** + * + * *
      * The access bindings created.
      * 
@@ -523,6 +587,8 @@ public int getAccessBindingsCount() { } } /** + * + * *
      * The access bindings created.
      * 
@@ -537,6 +603,8 @@ public com.google.analytics.admin.v1alpha.AccessBinding getAccessBindings(int in } } /** + * + * *
      * The access bindings created.
      * 
@@ -558,6 +626,8 @@ public Builder setAccessBindings( return this; } /** + * + * *
      * The access bindings created.
      * 
@@ -576,6 +646,8 @@ public Builder setAccessBindings( return this; } /** + * + * *
      * The access bindings created.
      * 
@@ -596,6 +668,8 @@ public Builder addAccessBindings(com.google.analytics.admin.v1alpha.AccessBindin return this; } /** + * + * *
      * The access bindings created.
      * 
@@ -617,6 +691,8 @@ public Builder addAccessBindings( return this; } /** + * + * *
      * The access bindings created.
      * 
@@ -635,6 +711,8 @@ public Builder addAccessBindings( return this; } /** + * + * *
      * The access bindings created.
      * 
@@ -653,6 +731,8 @@ public Builder addAccessBindings( return this; } /** + * + * *
      * The access bindings created.
      * 
@@ -663,8 +743,7 @@ public Builder addAllAccessBindings( java.lang.Iterable values) { if (accessBindingsBuilder_ == null) { ensureAccessBindingsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, accessBindings_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, accessBindings_); onChanged(); } else { accessBindingsBuilder_.addAllMessages(values); @@ -672,6 +751,8 @@ public Builder addAllAccessBindings( return this; } /** + * + * *
      * The access bindings created.
      * 
@@ -689,6 +770,8 @@ public Builder clearAccessBindings() { return this; } /** + * + * *
      * The access bindings created.
      * 
@@ -706,6 +789,8 @@ public Builder removeAccessBindings(int index) { return this; } /** + * + * *
      * The access bindings created.
      * 
@@ -717,6 +802,8 @@ public com.google.analytics.admin.v1alpha.AccessBinding.Builder getAccessBinding return getAccessBindingsFieldBuilder().getBuilder(index); } /** + * + * *
      * The access bindings created.
      * 
@@ -726,19 +813,22 @@ public com.google.analytics.admin.v1alpha.AccessBinding.Builder getAccessBinding public com.google.analytics.admin.v1alpha.AccessBindingOrBuilder getAccessBindingsOrBuilder( int index) { if (accessBindingsBuilder_ == null) { - return accessBindings_.get(index); } else { + return accessBindings_.get(index); + } else { return accessBindingsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * The access bindings created.
      * 
* * repeated .google.analytics.admin.v1alpha.AccessBinding access_bindings = 1; */ - public java.util.List - getAccessBindingsOrBuilderList() { + public java.util.List + getAccessBindingsOrBuilderList() { if (accessBindingsBuilder_ != null) { return accessBindingsBuilder_.getMessageOrBuilderList(); } else { @@ -746,6 +836,8 @@ public com.google.analytics.admin.v1alpha.AccessBindingOrBuilder getAccessBindin } } /** + * + * *
      * The access bindings created.
      * 
@@ -753,10 +845,12 @@ public com.google.analytics.admin.v1alpha.AccessBindingOrBuilder getAccessBindin * repeated .google.analytics.admin.v1alpha.AccessBinding access_bindings = 1; */ public com.google.analytics.admin.v1alpha.AccessBinding.Builder addAccessBindingsBuilder() { - return getAccessBindingsFieldBuilder().addBuilder( - com.google.analytics.admin.v1alpha.AccessBinding.getDefaultInstance()); + return getAccessBindingsFieldBuilder() + .addBuilder(com.google.analytics.admin.v1alpha.AccessBinding.getDefaultInstance()); } /** + * + * *
      * The access bindings created.
      * 
@@ -765,26 +859,34 @@ public com.google.analytics.admin.v1alpha.AccessBinding.Builder addAccessBinding */ public com.google.analytics.admin.v1alpha.AccessBinding.Builder addAccessBindingsBuilder( int index) { - return getAccessBindingsFieldBuilder().addBuilder( - index, com.google.analytics.admin.v1alpha.AccessBinding.getDefaultInstance()); + return getAccessBindingsFieldBuilder() + .addBuilder(index, com.google.analytics.admin.v1alpha.AccessBinding.getDefaultInstance()); } /** + * + * *
      * The access bindings created.
      * 
* * repeated .google.analytics.admin.v1alpha.AccessBinding access_bindings = 1; */ - public java.util.List - getAccessBindingsBuilderList() { + public java.util.List + getAccessBindingsBuilderList() { return getAccessBindingsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.AccessBinding, com.google.analytics.admin.v1alpha.AccessBinding.Builder, com.google.analytics.admin.v1alpha.AccessBindingOrBuilder> + com.google.analytics.admin.v1alpha.AccessBinding, + com.google.analytics.admin.v1alpha.AccessBinding.Builder, + com.google.analytics.admin.v1alpha.AccessBindingOrBuilder> getAccessBindingsFieldBuilder() { if (accessBindingsBuilder_ == null) { - accessBindingsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.AccessBinding, com.google.analytics.admin.v1alpha.AccessBinding.Builder, com.google.analytics.admin.v1alpha.AccessBindingOrBuilder>( + accessBindingsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.analytics.admin.v1alpha.AccessBinding, + com.google.analytics.admin.v1alpha.AccessBinding.Builder, + com.google.analytics.admin.v1alpha.AccessBindingOrBuilder>( accessBindings_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -793,9 +895,9 @@ public com.google.analytics.admin.v1alpha.AccessBinding.Builder addAccessBinding } return accessBindingsBuilder_; } + @java.lang.Override - 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,41 +907,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.BatchCreateAccessBindingsResponse) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.BatchCreateAccessBindingsResponse) - private static final com.google.analytics.admin.v1alpha.BatchCreateAccessBindingsResponse DEFAULT_INSTANCE; + private static final com.google.analytics.admin.v1alpha.BatchCreateAccessBindingsResponse + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.BatchCreateAccessBindingsResponse(); } - public static com.google.analytics.admin.v1alpha.BatchCreateAccessBindingsResponse getDefaultInstance() { + public static com.google.analytics.admin.v1alpha.BatchCreateAccessBindingsResponse + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public BatchCreateAccessBindingsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public BatchCreateAccessBindingsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -851,9 +955,8 @@ public com.google.protobuf.Parser getParserFo } @java.lang.Override - public com.google.analytics.admin.v1alpha.BatchCreateAccessBindingsResponse getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.BatchCreateAccessBindingsResponse + 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/BatchCreateAccessBindingsResponseOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchCreateAccessBindingsResponseOrBuilder.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/BatchCreateAccessBindingsResponseOrBuilder.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchCreateAccessBindingsResponseOrBuilder.java index 5e12e2505d1a..fa1d388f82de 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchCreateAccessBindingsResponseOrBuilder.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchCreateAccessBindingsResponseOrBuilder.java @@ -1,22 +1,41 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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 BatchCreateAccessBindingsResponseOrBuilder extends +public interface BatchCreateAccessBindingsResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.BatchCreateAccessBindingsResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The access bindings created.
    * 
* * repeated .google.analytics.admin.v1alpha.AccessBinding access_bindings = 1; */ - java.util.List - getAccessBindingsList(); + java.util.List getAccessBindingsList(); /** + * + * *
    * The access bindings created.
    * 
@@ -25,6 +44,8 @@ public interface BatchCreateAccessBindingsResponseOrBuilder extends */ com.google.analytics.admin.v1alpha.AccessBinding getAccessBindings(int index); /** + * + * *
    * The access bindings created.
    * 
@@ -33,21 +54,24 @@ public interface BatchCreateAccessBindingsResponseOrBuilder extends */ int getAccessBindingsCount(); /** + * + * *
    * The access bindings created.
    * 
* * repeated .google.analytics.admin.v1alpha.AccessBinding access_bindings = 1; */ - java.util.List + java.util.List getAccessBindingsOrBuilderList(); /** + * + * *
    * The access bindings created.
    * 
* * repeated .google.analytics.admin.v1alpha.AccessBinding access_bindings = 1; */ - com.google.analytics.admin.v1alpha.AccessBindingOrBuilder getAccessBindingsOrBuilder( - int index); + com.google.analytics.admin.v1alpha.AccessBindingOrBuilder getAccessBindingsOrBuilder(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/BatchDeleteAccessBindingsRequest.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchDeleteAccessBindingsRequest.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/BatchDeleteAccessBindingsRequest.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchDeleteAccessBindingsRequest.java index 669fbd384b5a..72079084ba64 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchDeleteAccessBindingsRequest.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchDeleteAccessBindingsRequest.java @@ -1,24 +1,43 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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 BatchDeleteAccessBindings RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.BatchDeleteAccessBindingsRequest} */ -public final class BatchDeleteAccessBindingsRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class BatchDeleteAccessBindingsRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.BatchDeleteAccessBindingsRequest) BatchDeleteAccessBindingsRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use BatchDeleteAccessBindingsRequest.newBuilder() to construct. - private BatchDeleteAccessBindingsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private BatchDeleteAccessBindingsRequest( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private BatchDeleteAccessBindingsRequest() { parent_ = ""; requests_ = java.util.Collections.emptyList(); @@ -26,28 +45,32 @@ private BatchDeleteAccessBindingsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new BatchDeleteAccessBindingsRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_BatchDeleteAccessBindingsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_BatchDeleteAccessBindingsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_BatchDeleteAccessBindingsRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_BatchDeleteAccessBindingsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.BatchDeleteAccessBindingsRequest.class, com.google.analytics.admin.v1alpha.BatchDeleteAccessBindingsRequest.Builder.class); + com.google.analytics.admin.v1alpha.BatchDeleteAccessBindingsRequest.class, + com.google.analytics.admin.v1alpha.BatchDeleteAccessBindingsRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** + * + * *
    * Required. The account or property that owns the access bindings. The parent
    * of all provided values for the 'names' field in DeleteAccessBindingRequest
@@ -56,7 +79,10 @@ protected java.lang.Object newInstance(
    * - properties/{property}
    * 
* - * string parent = 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,14 +91,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 owns the access bindings. The parent
    * of all provided values for the 'names' field in DeleteAccessBindingRequest
@@ -81,17 +108,18 @@ public java.lang.String getParent() {
    * - properties/{property}
    * 
* - * string parent = 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,72 +128,96 @@ 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 access bindings to delete.
    * A maximum of 1000 access bindings can be deleted in a batch.
    * 
* - * repeated .google.analytics.admin.v1alpha.DeleteAccessBindingRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.DeleteAccessBindingRequest 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 access bindings to delete.
    * A maximum of 1000 access bindings can be deleted in a batch.
    * 
* - * repeated .google.analytics.admin.v1alpha.DeleteAccessBindingRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.DeleteAccessBindingRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public java.util.List + public java.util.List< + ? extends com.google.analytics.admin.v1alpha.DeleteAccessBindingRequestOrBuilder> getRequestsOrBuilderList() { return requests_; } /** + * + * *
    * Required. The requests specifying the access bindings to delete.
    * A maximum of 1000 access bindings can be deleted in a batch.
    * 
* - * repeated .google.analytics.admin.v1alpha.DeleteAccessBindingRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.DeleteAccessBindingRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public int getRequestsCount() { return requests_.size(); } /** + * + * *
    * Required. The requests specifying the access bindings to delete.
    * A maximum of 1000 access bindings can be deleted in a batch.
    * 
* - * repeated .google.analytics.admin.v1alpha.DeleteAccessBindingRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.DeleteAccessBindingRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.analytics.admin.v1alpha.DeleteAccessBindingRequest getRequests(int index) { return requests_.get(index); } /** + * + * *
    * Required. The requests specifying the access bindings to delete.
    * A maximum of 1000 access bindings can be deleted in a batch.
    * 
* - * repeated .google.analytics.admin.v1alpha.DeleteAccessBindingRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.DeleteAccessBindingRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public com.google.analytics.admin.v1alpha.DeleteAccessBindingRequestOrBuilder getRequestsOrBuilder( - int index) { + public com.google.analytics.admin.v1alpha.DeleteAccessBindingRequestOrBuilder + getRequestsOrBuilder(int index) { return requests_.get(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -177,8 +229,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -198,8 +249,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; @@ -209,17 +259,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.BatchDeleteAccessBindingsRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.BatchDeleteAccessBindingsRequest other = (com.google.analytics.admin.v1alpha.BatchDeleteAccessBindingsRequest) obj; + com.google.analytics.admin.v1alpha.BatchDeleteAccessBindingsRequest other = + (com.google.analytics.admin.v1alpha.BatchDeleteAccessBindingsRequest) 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; } @@ -243,131 +292,138 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.BatchDeleteAccessBindingsRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.BatchDeleteAccessBindingsRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.BatchDeleteAccessBindingsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.BatchDeleteAccessBindingsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.BatchDeleteAccessBindingsRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.analytics.admin.v1alpha.BatchDeleteAccessBindingsRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.BatchDeleteAccessBindingsRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.BatchDeleteAccessBindingsRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.BatchDeleteAccessBindingsRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.BatchDeleteAccessBindingsRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.BatchDeleteAccessBindingsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.BatchDeleteAccessBindingsRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.BatchDeleteAccessBindingsRequest parseDelimitedFrom( - java.io.InputStream input, - 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.BatchDeleteAccessBindingsRequest + parseDelimitedFrom( + java.io.InputStream input, 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.BatchDeleteAccessBindingsRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.BatchDeleteAccessBindingsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1alpha.BatchDeleteAccessBindingsRequest prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1alpha.BatchDeleteAccessBindingsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder 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 BatchDeleteAccessBindings RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.BatchDeleteAccessBindingsRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.BatchDeleteAccessBindingsRequest) com.google.analytics.admin.v1alpha.BatchDeleteAccessBindingsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_BatchDeleteAccessBindingsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_BatchDeleteAccessBindingsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_BatchDeleteAccessBindingsRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_BatchDeleteAccessBindingsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.BatchDeleteAccessBindingsRequest.class, com.google.analytics.admin.v1alpha.BatchDeleteAccessBindingsRequest.Builder.class); + com.google.analytics.admin.v1alpha.BatchDeleteAccessBindingsRequest.class, + com.google.analytics.admin.v1alpha.BatchDeleteAccessBindingsRequest.Builder.class); } - // Construct using com.google.analytics.admin.v1alpha.BatchDeleteAccessBindingsRequest.newBuilder() - private Builder() { - - } + // Construct using + // com.google.analytics.admin.v1alpha.BatchDeleteAccessBindingsRequest.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(); @@ -384,14 +440,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_BatchDeleteAccessBindingsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_BatchDeleteAccessBindingsRequest_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.BatchDeleteAccessBindingsRequest getDefaultInstanceForType() { - return com.google.analytics.admin.v1alpha.BatchDeleteAccessBindingsRequest.getDefaultInstance(); + public com.google.analytics.admin.v1alpha.BatchDeleteAccessBindingsRequest + getDefaultInstanceForType() { + return com.google.analytics.admin.v1alpha.BatchDeleteAccessBindingsRequest + .getDefaultInstance(); } @java.lang.Override @@ -405,14 +463,18 @@ public com.google.analytics.admin.v1alpha.BatchDeleteAccessBindingsRequest build @java.lang.Override public com.google.analytics.admin.v1alpha.BatchDeleteAccessBindingsRequest buildPartial() { - com.google.analytics.admin.v1alpha.BatchDeleteAccessBindingsRequest result = new com.google.analytics.admin.v1alpha.BatchDeleteAccessBindingsRequest(this); + com.google.analytics.admin.v1alpha.BatchDeleteAccessBindingsRequest result = + new com.google.analytics.admin.v1alpha.BatchDeleteAccessBindingsRequest(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartialRepeatedFields(com.google.analytics.admin.v1alpha.BatchDeleteAccessBindingsRequest result) { + private void buildPartialRepeatedFields( + com.google.analytics.admin.v1alpha.BatchDeleteAccessBindingsRequest result) { if (requestsBuilder_ == null) { if (((bitField0_ & 0x00000002) != 0)) { requests_ = java.util.Collections.unmodifiableList(requests_); @@ -424,7 +486,8 @@ private void buildPartialRepeatedFields(com.google.analytics.admin.v1alpha.Batch } } - private void buildPartial0(com.google.analytics.admin.v1alpha.BatchDeleteAccessBindingsRequest result) { + private void buildPartial0( + com.google.analytics.admin.v1alpha.BatchDeleteAccessBindingsRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.parent_ = parent_; @@ -435,46 +498,51 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.BatchDeleteAccessB public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.analytics.admin.v1alpha.BatchDeleteAccessBindingsRequest) { - return mergeFrom((com.google.analytics.admin.v1alpha.BatchDeleteAccessBindingsRequest)other); + return mergeFrom( + (com.google.analytics.admin.v1alpha.BatchDeleteAccessBindingsRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.analytics.admin.v1alpha.BatchDeleteAccessBindingsRequest other) { - if (other == com.google.analytics.admin.v1alpha.BatchDeleteAccessBindingsRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.analytics.admin.v1alpha.BatchDeleteAccessBindingsRequest other) { + if (other + == com.google.analytics.admin.v1alpha.BatchDeleteAccessBindingsRequest + .getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -498,9 +566,10 @@ public Builder mergeFrom(com.google.analytics.admin.v1alpha.BatchDeleteAccessBin 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_); } @@ -532,30 +601,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.DeleteAccessBindingRequest m = - input.readMessage( - com.google.analytics.admin.v1alpha.DeleteAccessBindingRequest.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.DeleteAccessBindingRequest m = + input.readMessage( + com.google.analytics.admin.v1alpha.DeleteAccessBindingRequest.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) { @@ -565,10 +637,13 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The account or property that owns the access bindings. The parent
      * of all provided values for the 'names' field in DeleteAccessBindingRequest
@@ -577,14 +652,16 @@ public Builder mergeFrom(
      * - properties/{property}
      * 
* - * string parent = 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 +670,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The account or property that owns the access bindings. The parent
      * of all provided values for the 'names' field in DeleteAccessBindingRequest
@@ -601,16 +680,17 @@ public java.lang.String getParent() {
      * - properties/{property}
      * 
* - * string parent = 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 { @@ -618,6 +698,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The account or property that owns the access bindings. The parent
      * of all provided values for the 'names' field in DeleteAccessBindingRequest
@@ -626,19 +708,25 @@ public java.lang.String getParent() {
      * - properties/{property}
      * 
* - * 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 owns the access bindings. The parent
      * of all provided values for the 'names' field in DeleteAccessBindingRequest
@@ -647,7 +735,10 @@ public Builder setParent(
      * - properties/{property}
      * 
* - * string 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() { @@ -657,6 +748,8 @@ public Builder clearParent() { return this; } /** + * + * *
      * Required. The account or property that owns the access bindings. The parent
      * of all provided values for the 'names' field in DeleteAccessBindingRequest
@@ -665,13 +758,17 @@ public Builder clearParent() {
      * - properties/{property}
      * 
* - * 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; @@ -679,27 +776,38 @@ public Builder setParentBytes( return this; } - private java.util.List requests_ = - java.util.Collections.emptyList(); + private java.util.List + requests_ = 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.DeleteAccessBindingRequest, com.google.analytics.admin.v1alpha.DeleteAccessBindingRequest.Builder, com.google.analytics.admin.v1alpha.DeleteAccessBindingRequestOrBuilder> requestsBuilder_; + com.google.analytics.admin.v1alpha.DeleteAccessBindingRequest, + com.google.analytics.admin.v1alpha.DeleteAccessBindingRequest.Builder, + com.google.analytics.admin.v1alpha.DeleteAccessBindingRequestOrBuilder> + requestsBuilder_; /** + * + * *
      * Required. The requests specifying the access bindings to delete.
      * A maximum of 1000 access bindings can be deleted in a batch.
      * 
* - * repeated .google.analytics.admin.v1alpha.DeleteAccessBindingRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.DeleteAccessBindingRequest 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 { @@ -707,12 +815,16 @@ public java.util.List * Required. The requests specifying the access bindings to delete. * A maximum of 1000 access bindings can be deleted in a batch. *
* - * repeated .google.analytics.admin.v1alpha.DeleteAccessBindingRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.DeleteAccessBindingRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public int getRequestsCount() { if (requestsBuilder_ == null) { @@ -722,12 +834,16 @@ public int getRequestsCount() { } } /** + * + * *
      * Required. The requests specifying the access bindings to delete.
      * A maximum of 1000 access bindings can be deleted in a batch.
      * 
* - * repeated .google.analytics.admin.v1alpha.DeleteAccessBindingRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.DeleteAccessBindingRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.analytics.admin.v1alpha.DeleteAccessBindingRequest getRequests(int index) { if (requestsBuilder_ == null) { @@ -737,12 +853,16 @@ public com.google.analytics.admin.v1alpha.DeleteAccessBindingRequest getRequests } } /** + * + * *
      * Required. The requests specifying the access bindings to delete.
      * A maximum of 1000 access bindings can be deleted in a batch.
      * 
* - * repeated .google.analytics.admin.v1alpha.DeleteAccessBindingRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.DeleteAccessBindingRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setRequests( int index, com.google.analytics.admin.v1alpha.DeleteAccessBindingRequest value) { @@ -759,15 +879,20 @@ public Builder setRequests( return this; } /** + * + * *
      * Required. The requests specifying the access bindings to delete.
      * A maximum of 1000 access bindings can be deleted in a batch.
      * 
* - * repeated .google.analytics.admin.v1alpha.DeleteAccessBindingRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.DeleteAccessBindingRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setRequests( - int index, com.google.analytics.admin.v1alpha.DeleteAccessBindingRequest.Builder builderForValue) { + int index, + com.google.analytics.admin.v1alpha.DeleteAccessBindingRequest.Builder builderForValue) { if (requestsBuilder_ == null) { ensureRequestsIsMutable(); requests_.set(index, builderForValue.build()); @@ -778,14 +903,19 @@ public Builder setRequests( return this; } /** + * + * *
      * Required. The requests specifying the access bindings to delete.
      * A maximum of 1000 access bindings can be deleted in a batch.
      * 
* - * repeated .google.analytics.admin.v1alpha.DeleteAccessBindingRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.DeleteAccessBindingRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder addRequests(com.google.analytics.admin.v1alpha.DeleteAccessBindingRequest value) { + public Builder addRequests( + com.google.analytics.admin.v1alpha.DeleteAccessBindingRequest value) { if (requestsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -799,12 +929,16 @@ public Builder addRequests(com.google.analytics.admin.v1alpha.DeleteAccessBindin return this; } /** + * + * *
      * Required. The requests specifying the access bindings to delete.
      * A maximum of 1000 access bindings can be deleted in a batch.
      * 
* - * repeated .google.analytics.admin.v1alpha.DeleteAccessBindingRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.DeleteAccessBindingRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder addRequests( int index, com.google.analytics.admin.v1alpha.DeleteAccessBindingRequest value) { @@ -821,12 +955,16 @@ public Builder addRequests( return this; } /** + * + * *
      * Required. The requests specifying the access bindings to delete.
      * A maximum of 1000 access bindings can be deleted in a batch.
      * 
* - * repeated .google.analytics.admin.v1alpha.DeleteAccessBindingRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.DeleteAccessBindingRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder addRequests( com.google.analytics.admin.v1alpha.DeleteAccessBindingRequest.Builder builderForValue) { @@ -840,15 +978,20 @@ public Builder addRequests( return this; } /** + * + * *
      * Required. The requests specifying the access bindings to delete.
      * A maximum of 1000 access bindings can be deleted in a batch.
      * 
* - * repeated .google.analytics.admin.v1alpha.DeleteAccessBindingRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.DeleteAccessBindingRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder addRequests( - int index, com.google.analytics.admin.v1alpha.DeleteAccessBindingRequest.Builder builderForValue) { + int index, + com.google.analytics.admin.v1alpha.DeleteAccessBindingRequest.Builder builderForValue) { if (requestsBuilder_ == null) { ensureRequestsIsMutable(); requests_.add(index, builderForValue.build()); @@ -859,19 +1002,23 @@ public Builder addRequests( return this; } /** + * + * *
      * Required. The requests specifying the access bindings to delete.
      * A maximum of 1000 access bindings can be deleted in a batch.
      * 
* - * repeated .google.analytics.admin.v1alpha.DeleteAccessBindingRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.DeleteAccessBindingRequest 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); @@ -879,12 +1026,16 @@ public Builder addAllRequests( return this; } /** + * + * *
      * Required. The requests specifying the access bindings to delete.
      * A maximum of 1000 access bindings can be deleted in a batch.
      * 
* - * repeated .google.analytics.admin.v1alpha.DeleteAccessBindingRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.DeleteAccessBindingRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearRequests() { if (requestsBuilder_ == null) { @@ -897,12 +1048,16 @@ public Builder clearRequests() { return this; } /** + * + * *
      * Required. The requests specifying the access bindings to delete.
      * A maximum of 1000 access bindings can be deleted in a batch.
      * 
* - * repeated .google.analytics.admin.v1alpha.DeleteAccessBindingRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.DeleteAccessBindingRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder removeRequests(int index) { if (requestsBuilder_ == null) { @@ -915,42 +1070,56 @@ public Builder removeRequests(int index) { return this; } /** + * + * *
      * Required. The requests specifying the access bindings to delete.
      * A maximum of 1000 access bindings can be deleted in a batch.
      * 
* - * repeated .google.analytics.admin.v1alpha.DeleteAccessBindingRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.DeleteAccessBindingRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.analytics.admin.v1alpha.DeleteAccessBindingRequest.Builder getRequestsBuilder( int index) { return getRequestsFieldBuilder().getBuilder(index); } /** + * + * *
      * Required. The requests specifying the access bindings to delete.
      * A maximum of 1000 access bindings can be deleted in a batch.
      * 
* - * repeated .google.analytics.admin.v1alpha.DeleteAccessBindingRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.DeleteAccessBindingRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.analytics.admin.v1alpha.DeleteAccessBindingRequestOrBuilder getRequestsOrBuilder( - int index) { + public com.google.analytics.admin.v1alpha.DeleteAccessBindingRequestOrBuilder + 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 access bindings to delete.
      * A maximum of 1000 access bindings can be deleted in a batch.
      * 
* - * repeated .google.analytics.admin.v1alpha.DeleteAccessBindingRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.DeleteAccessBindingRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public java.util.List - getRequestsOrBuilderList() { + public java.util.List< + ? extends com.google.analytics.admin.v1alpha.DeleteAccessBindingRequestOrBuilder> + getRequestsOrBuilderList() { if (requestsBuilder_ != null) { return requestsBuilder_.getMessageOrBuilderList(); } else { @@ -958,59 +1127,78 @@ public com.google.analytics.admin.v1alpha.DeleteAccessBindingRequestOrBuilder ge } } /** + * + * *
      * Required. The requests specifying the access bindings to delete.
      * A maximum of 1000 access bindings can be deleted in a batch.
      * 
* - * repeated .google.analytics.admin.v1alpha.DeleteAccessBindingRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.DeleteAccessBindingRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.analytics.admin.v1alpha.DeleteAccessBindingRequest.Builder addRequestsBuilder() { - return getRequestsFieldBuilder().addBuilder( - com.google.analytics.admin.v1alpha.DeleteAccessBindingRequest.getDefaultInstance()); + public com.google.analytics.admin.v1alpha.DeleteAccessBindingRequest.Builder + addRequestsBuilder() { + return getRequestsFieldBuilder() + .addBuilder( + com.google.analytics.admin.v1alpha.DeleteAccessBindingRequest.getDefaultInstance()); } /** + * + * *
      * Required. The requests specifying the access bindings to delete.
      * A maximum of 1000 access bindings can be deleted in a batch.
      * 
* - * repeated .google.analytics.admin.v1alpha.DeleteAccessBindingRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.DeleteAccessBindingRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.analytics.admin.v1alpha.DeleteAccessBindingRequest.Builder addRequestsBuilder( int index) { - return getRequestsFieldBuilder().addBuilder( - index, com.google.analytics.admin.v1alpha.DeleteAccessBindingRequest.getDefaultInstance()); + return getRequestsFieldBuilder() + .addBuilder( + index, + com.google.analytics.admin.v1alpha.DeleteAccessBindingRequest.getDefaultInstance()); } /** + * + * *
      * Required. The requests specifying the access bindings to delete.
      * A maximum of 1000 access bindings can be deleted in a batch.
      * 
* - * repeated .google.analytics.admin.v1alpha.DeleteAccessBindingRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.DeleteAccessBindingRequest 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.DeleteAccessBindingRequest, com.google.analytics.admin.v1alpha.DeleteAccessBindingRequest.Builder, com.google.analytics.admin.v1alpha.DeleteAccessBindingRequestOrBuilder> + com.google.analytics.admin.v1alpha.DeleteAccessBindingRequest, + com.google.analytics.admin.v1alpha.DeleteAccessBindingRequest.Builder, + com.google.analytics.admin.v1alpha.DeleteAccessBindingRequestOrBuilder> getRequestsFieldBuilder() { if (requestsBuilder_ == null) { - requestsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.DeleteAccessBindingRequest, com.google.analytics.admin.v1alpha.DeleteAccessBindingRequest.Builder, com.google.analytics.admin.v1alpha.DeleteAccessBindingRequestOrBuilder>( - requests_, - ((bitField0_ & 0x00000002) != 0), - getParentForChildren(), - isClean()); + requestsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.analytics.admin.v1alpha.DeleteAccessBindingRequest, + com.google.analytics.admin.v1alpha.DeleteAccessBindingRequest.Builder, + com.google.analytics.admin.v1alpha.DeleteAccessBindingRequestOrBuilder>( + 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); } @@ -1020,41 +1208,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.BatchDeleteAccessBindingsRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.BatchDeleteAccessBindingsRequest) - private static final com.google.analytics.admin.v1alpha.BatchDeleteAccessBindingsRequest DEFAULT_INSTANCE; + private static final com.google.analytics.admin.v1alpha.BatchDeleteAccessBindingsRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.BatchDeleteAccessBindingsRequest(); } - public static com.google.analytics.admin.v1alpha.BatchDeleteAccessBindingsRequest getDefaultInstance() { + public static com.google.analytics.admin.v1alpha.BatchDeleteAccessBindingsRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public BatchDeleteAccessBindingsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public BatchDeleteAccessBindingsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1066,9 +1256,8 @@ public com.google.protobuf.Parser getParserFor } @java.lang.Override - public com.google.analytics.admin.v1alpha.BatchDeleteAccessBindingsRequest getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.BatchDeleteAccessBindingsRequest + 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/BatchDeleteAccessBindingsRequestOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchDeleteAccessBindingsRequestOrBuilder.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/BatchDeleteAccessBindingsRequestOrBuilder.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchDeleteAccessBindingsRequestOrBuilder.java index f3e4108334de..18837254dafc 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchDeleteAccessBindingsRequestOrBuilder.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchDeleteAccessBindingsRequestOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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 BatchDeleteAccessBindingsRequestOrBuilder extends +public interface BatchDeleteAccessBindingsRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.BatchDeleteAccessBindingsRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The account or property that owns the access bindings. The parent
    * of all provided values for the 'names' field in DeleteAccessBindingRequest
@@ -16,11 +34,16 @@ public interface BatchDeleteAccessBindingsRequestOrBuilder extends
    * - properties/{property}
    * 
* - * string parent = 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 owns the access bindings. The parent
    * of all provided values for the 'names' field in DeleteAccessBindingRequest
@@ -29,57 +52,78 @@ public interface BatchDeleteAccessBindingsRequestOrBuilder extends
    * - properties/{property}
    * 
* - * string parent = 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 access bindings to delete.
    * A maximum of 1000 access bindings can be deleted in a batch.
    * 
* - * repeated .google.analytics.admin.v1alpha.DeleteAccessBindingRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.DeleteAccessBindingRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - java.util.List - getRequestsList(); + java.util.List getRequestsList(); /** + * + * *
    * Required. The requests specifying the access bindings to delete.
    * A maximum of 1000 access bindings can be deleted in a batch.
    * 
* - * repeated .google.analytics.admin.v1alpha.DeleteAccessBindingRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.DeleteAccessBindingRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.analytics.admin.v1alpha.DeleteAccessBindingRequest getRequests(int index); /** + * + * *
    * Required. The requests specifying the access bindings to delete.
    * A maximum of 1000 access bindings can be deleted in a batch.
    * 
* - * repeated .google.analytics.admin.v1alpha.DeleteAccessBindingRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.DeleteAccessBindingRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ int getRequestsCount(); /** + * + * *
    * Required. The requests specifying the access bindings to delete.
    * A maximum of 1000 access bindings can be deleted in a batch.
    * 
* - * repeated .google.analytics.admin.v1alpha.DeleteAccessBindingRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.DeleteAccessBindingRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - java.util.List + java.util.List getRequestsOrBuilderList(); /** + * + * *
    * Required. The requests specifying the access bindings to delete.
    * A maximum of 1000 access bindings can be deleted in a batch.
    * 
* - * repeated .google.analytics.admin.v1alpha.DeleteAccessBindingRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.DeleteAccessBindingRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.analytics.admin.v1alpha.DeleteAccessBindingRequestOrBuilder 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/BatchGetAccessBindingsRequest.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchGetAccessBindingsRequest.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/BatchGetAccessBindingsRequest.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchGetAccessBindingsRequest.java index 116737fa26bf..8f0eef071f51 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchGetAccessBindingsRequest.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchGetAccessBindingsRequest.java @@ -1,54 +1,75 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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 BatchGetAccessBindings RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.BatchGetAccessBindingsRequest} */ -public final class BatchGetAccessBindingsRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class BatchGetAccessBindingsRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.BatchGetAccessBindingsRequest) BatchGetAccessBindingsRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use BatchGetAccessBindingsRequest.newBuilder() to construct. private BatchGetAccessBindingsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private BatchGetAccessBindingsRequest() { parent_ = ""; - names_ = - com.google.protobuf.LazyStringArrayList.emptyList(); + names_ = com.google.protobuf.LazyStringArrayList.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new BatchGetAccessBindingsRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_BatchGetAccessBindingsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_BatchGetAccessBindingsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_BatchGetAccessBindingsRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_BatchGetAccessBindingsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.BatchGetAccessBindingsRequest.class, com.google.analytics.admin.v1alpha.BatchGetAccessBindingsRequest.Builder.class); + com.google.analytics.admin.v1alpha.BatchGetAccessBindingsRequest.class, + com.google.analytics.admin.v1alpha.BatchGetAccessBindingsRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** + * + * *
    * Required. The account or property that owns the access bindings. The parent
    * of all provided values for the 'names' field must match this field.
@@ -57,7 +78,10 @@ protected java.lang.Object newInstance(
    * - properties/{property}
    * 
* - * string parent = 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,14 +90,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 owns the access bindings. The parent
    * of all provided values for the 'names' field must match this field.
@@ -82,17 +107,18 @@ public java.lang.String getParent() {
    * - properties/{property}
    * 
* - * string parent = 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,10 +127,13 @@ public java.lang.String getParent() { } public static final int NAMES_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList names_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** + * + * *
    * Required. The names of the access bindings to retrieve.
    * A maximum of 1000 access bindings can be retrieved in a batch.
@@ -113,14 +142,18 @@ public java.lang.String getParent() {
    * - properties/{property}/accessBindings/{accessBinding}
    * 
* - * 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 access bindings to retrieve.
    * A maximum of 1000 access bindings can be retrieved in a batch.
@@ -129,13 +162,18 @@ public java.lang.String getParent() {
    * - properties/{property}/accessBindings/{accessBinding}
    * 
* - * 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 access bindings to retrieve.
    * A maximum of 1000 access bindings can be retrieved in a batch.
@@ -144,7 +182,10 @@ public int getNamesCount() {
    * - properties/{property}/accessBindings/{accessBinding}
    * 
* - * 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. */ @@ -152,6 +193,8 @@ public java.lang.String getNames(int index) { return names_.get(index); } /** + * + * *
    * Required. The names of the access bindings to retrieve.
    * A maximum of 1000 access bindings can be retrieved in a batch.
@@ -160,16 +203,19 @@ public java.lang.String getNames(int index) {
    * - properties/{property}/accessBindings/{accessBinding}
    * 
* - * 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; @@ -181,8 +227,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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,17 +262,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.BatchGetAccessBindingsRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.BatchGetAccessBindingsRequest other = (com.google.analytics.admin.v1alpha.BatchGetAccessBindingsRequest) obj; + com.google.analytics.admin.v1alpha.BatchGetAccessBindingsRequest other = + (com.google.analytics.admin.v1alpha.BatchGetAccessBindingsRequest) 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; } @@ -251,149 +295,154 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.BatchGetAccessBindingsRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.BatchGetAccessBindingsRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.BatchGetAccessBindingsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.BatchGetAccessBindingsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.BatchGetAccessBindingsRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.analytics.admin.v1alpha.BatchGetAccessBindingsRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.BatchGetAccessBindingsRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.BatchGetAccessBindingsRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.BatchGetAccessBindingsRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.BatchGetAccessBindingsRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.BatchGetAccessBindingsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.BatchGetAccessBindingsRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.analytics.admin.v1alpha.BatchGetAccessBindingsRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.BatchGetAccessBindingsRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.BatchGetAccessBindingsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1alpha.BatchGetAccessBindingsRequest prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1alpha.BatchGetAccessBindingsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder 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 BatchGetAccessBindings RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.BatchGetAccessBindingsRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.BatchGetAccessBindingsRequest) com.google.analytics.admin.v1alpha.BatchGetAccessBindingsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_BatchGetAccessBindingsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_BatchGetAccessBindingsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_BatchGetAccessBindingsRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_BatchGetAccessBindingsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.BatchGetAccessBindingsRequest.class, com.google.analytics.admin.v1alpha.BatchGetAccessBindingsRequest.Builder.class); + com.google.analytics.admin.v1alpha.BatchGetAccessBindingsRequest.class, + com.google.analytics.admin.v1alpha.BatchGetAccessBindingsRequest.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.BatchGetAccessBindingsRequest.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(); bitField0_ = 0; parent_ = ""; - names_ = - com.google.protobuf.LazyStringArrayList.emptyList(); + names_ = com.google.protobuf.LazyStringArrayList.emptyList(); 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_BatchGetAccessBindingsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_BatchGetAccessBindingsRequest_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.BatchGetAccessBindingsRequest getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.BatchGetAccessBindingsRequest + getDefaultInstanceForType() { return com.google.analytics.admin.v1alpha.BatchGetAccessBindingsRequest.getDefaultInstance(); } @@ -408,13 +457,17 @@ public com.google.analytics.admin.v1alpha.BatchGetAccessBindingsRequest build() @java.lang.Override public com.google.analytics.admin.v1alpha.BatchGetAccessBindingsRequest buildPartial() { - com.google.analytics.admin.v1alpha.BatchGetAccessBindingsRequest result = new com.google.analytics.admin.v1alpha.BatchGetAccessBindingsRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.analytics.admin.v1alpha.BatchGetAccessBindingsRequest result = + new com.google.analytics.admin.v1alpha.BatchGetAccessBindingsRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.analytics.admin.v1alpha.BatchGetAccessBindingsRequest result) { + private void buildPartial0( + com.google.analytics.admin.v1alpha.BatchGetAccessBindingsRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.parent_ = parent_; @@ -429,46 +482,50 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.BatchGetAccessBind public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.analytics.admin.v1alpha.BatchGetAccessBindingsRequest) { - return mergeFrom((com.google.analytics.admin.v1alpha.BatchGetAccessBindingsRequest)other); + return mergeFrom((com.google.analytics.admin.v1alpha.BatchGetAccessBindingsRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.analytics.admin.v1alpha.BatchGetAccessBindingsRequest other) { - if (other == com.google.analytics.admin.v1alpha.BatchGetAccessBindingsRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.analytics.admin.v1alpha.BatchGetAccessBindingsRequest other) { + if (other + == com.google.analytics.admin.v1alpha.BatchGetAccessBindingsRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -510,23 +567,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) { @@ -536,10 +596,13 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The account or property that owns the access bindings. The parent
      * of all provided values for the 'names' field must match this field.
@@ -548,14 +611,16 @@ public Builder mergeFrom(
      * - properties/{property}
      * 
* - * string parent = 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,6 +629,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The account or property that owns the access bindings. The parent
      * of all provided values for the 'names' field must match this field.
@@ -572,16 +639,17 @@ public java.lang.String getParent() {
      * - properties/{property}
      * 
* - * string parent = 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,6 +657,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The account or property that owns the access bindings. The parent
      * of all provided values for the 'names' field must match this field.
@@ -597,19 +667,25 @@ public java.lang.String getParent() {
      * - properties/{property}
      * 
* - * 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 owns the access bindings. The parent
      * of all provided values for the 'names' field must match this field.
@@ -618,7 +694,10 @@ public Builder setParent(
      * - properties/{property}
      * 
* - * string 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,6 +707,8 @@ public Builder clearParent() { return this; } /** + * + * *
      * Required. The account or property that owns the access bindings. The parent
      * of all provided values for the 'names' field must match this field.
@@ -636,13 +717,17 @@ public Builder clearParent() {
      * - properties/{property}
      * 
* - * 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; @@ -652,6 +737,7 @@ public Builder setParentBytes( private com.google.protobuf.LazyStringArrayList names_ = com.google.protobuf.LazyStringArrayList.emptyList(); + private void ensureNamesIsMutable() { if (!names_.isModifiable()) { names_ = new com.google.protobuf.LazyStringArrayList(names_); @@ -659,6 +745,8 @@ private void ensureNamesIsMutable() { bitField0_ |= 0x00000002; } /** + * + * *
      * Required. The names of the access bindings to retrieve.
      * A maximum of 1000 access bindings can be retrieved in a batch.
@@ -667,15 +755,19 @@ private void ensureNamesIsMutable() {
      * - properties/{property}/accessBindings/{accessBinding}
      * 
* - * 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() { names_.makeImmutable(); return names_; } /** + * + * *
      * Required. The names of the access bindings to retrieve.
      * A maximum of 1000 access bindings can be retrieved in a batch.
@@ -684,13 +776,18 @@ private void ensureNamesIsMutable() {
      * - properties/{property}/accessBindings/{accessBinding}
      * 
* - * 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 access bindings to retrieve.
      * A maximum of 1000 access bindings can be retrieved in a batch.
@@ -699,7 +796,10 @@ public int getNamesCount() {
      * - properties/{property}/accessBindings/{accessBinding}
      * 
* - * 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. */ @@ -707,6 +807,8 @@ public java.lang.String getNames(int index) { return names_.get(index); } /** + * + * *
      * Required. The names of the access bindings to retrieve.
      * A maximum of 1000 access bindings can be retrieved in a batch.
@@ -715,15 +817,19 @@ public java.lang.String getNames(int index) {
      * - properties/{property}/accessBindings/{accessBinding}
      * 
* - * 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 access bindings to retrieve.
      * A maximum of 1000 access bindings can be retrieved in a batch.
@@ -732,14 +838,18 @@ public java.lang.String getNames(int index) {
      * - properties/{property}/accessBindings/{accessBinding}
      * 
* - * 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); bitField0_ |= 0x00000002; @@ -747,6 +857,8 @@ public Builder setNames( return this; } /** + * + * *
      * Required. The names of the access bindings to retrieve.
      * A maximum of 1000 access bindings can be retrieved in a batch.
@@ -755,13 +867,17 @@ public Builder setNames(
      * - properties/{property}/accessBindings/{accessBinding}
      * 
* - * 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); bitField0_ |= 0x00000002; @@ -769,6 +885,8 @@ public Builder addNames( return this; } /** + * + * *
      * Required. The names of the access bindings to retrieve.
      * A maximum of 1000 access bindings can be retrieved in a batch.
@@ -777,20 +895,23 @@ public Builder addNames(
      * - properties/{property}/accessBindings/{accessBinding}
      * 
* - * 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_); bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Required. The names of the access bindings to retrieve.
      * A maximum of 1000 access bindings can be retrieved in a batch.
@@ -799,17 +920,22 @@ public Builder addAllNames(
      * - properties/{property}/accessBindings/{accessBinding}
      * 
* - * 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() { - names_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000002);; + names_ = com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000002); + ; onChanged(); return this; } /** + * + * *
      * Required. The names of the access bindings to retrieve.
      * A maximum of 1000 access bindings can be retrieved in a batch.
@@ -818,13 +944,17 @@ public Builder clearNames() {
      * - properties/{property}/accessBindings/{accessBinding}
      * 
* - * 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); @@ -832,9 +962,9 @@ public Builder addNamesBytes( onChanged(); return this; } + @java.lang.Override - 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 +974,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.BatchGetAccessBindingsRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.BatchGetAccessBindingsRequest) - private static final com.google.analytics.admin.v1alpha.BatchGetAccessBindingsRequest DEFAULT_INSTANCE; + private static final com.google.analytics.admin.v1alpha.BatchGetAccessBindingsRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.BatchGetAccessBindingsRequest(); } - public static com.google.analytics.admin.v1alpha.BatchGetAccessBindingsRequest getDefaultInstance() { + public static com.google.analytics.admin.v1alpha.BatchGetAccessBindingsRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public BatchGetAccessBindingsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public BatchGetAccessBindingsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.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 +1022,8 @@ public com.google.protobuf.Parser getParserForTyp } @java.lang.Override - public com.google.analytics.admin.v1alpha.BatchGetAccessBindingsRequest getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.BatchGetAccessBindingsRequest + 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/BatchGetAccessBindingsRequestOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchGetAccessBindingsRequestOrBuilder.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/BatchGetAccessBindingsRequestOrBuilder.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchGetAccessBindingsRequestOrBuilder.java index 73ecd4cfc1a7..84c17c4b707e 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchGetAccessBindingsRequestOrBuilder.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchGetAccessBindingsRequestOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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 BatchGetAccessBindingsRequestOrBuilder extends +public interface BatchGetAccessBindingsRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.BatchGetAccessBindingsRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The account or property that owns the access bindings. The parent
    * of all provided values for the 'names' field must match this field.
@@ -16,11 +34,16 @@ public interface BatchGetAccessBindingsRequestOrBuilder extends
    * - properties/{property}
    * 
* - * string parent = 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 owns the access bindings. The parent
    * of all provided values for the 'names' field must match this field.
@@ -29,13 +52,17 @@ public interface BatchGetAccessBindingsRequestOrBuilder extends
    * - properties/{property}
    * 
* - * string parent = 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 access bindings to retrieve.
    * A maximum of 1000 access bindings can be retrieved in a batch.
@@ -44,12 +71,16 @@ public interface BatchGetAccessBindingsRequestOrBuilder extends
    * - properties/{property}/accessBindings/{accessBinding}
    * 
* - * 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 access bindings to retrieve.
    * A maximum of 1000 access bindings can be retrieved in a batch.
@@ -58,11 +89,16 @@ public interface BatchGetAccessBindingsRequestOrBuilder extends
    * - properties/{property}/accessBindings/{accessBinding}
    * 
* - * 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 access bindings to retrieve.
    * A maximum of 1000 access bindings can be retrieved in a batch.
@@ -71,12 +107,17 @@ public interface BatchGetAccessBindingsRequestOrBuilder extends
    * - properties/{property}/accessBindings/{accessBinding}
    * 
* - * 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 access bindings to retrieve.
    * A maximum of 1000 access bindings can be retrieved in a batch.
@@ -85,10 +126,12 @@ public interface BatchGetAccessBindingsRequestOrBuilder extends
    * - properties/{property}/accessBindings/{accessBinding}
    * 
* - * 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/BatchGetAccessBindingsResponse.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchGetAccessBindingsResponse.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/BatchGetAccessBindingsResponse.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchGetAccessBindingsResponse.java index c176179bed34..7824342d98b9 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchGetAccessBindingsResponse.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchGetAccessBindingsResponse.java @@ -1,52 +1,75 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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 BatchGetAccessBindings RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.BatchGetAccessBindingsResponse} */ -public final class BatchGetAccessBindingsResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class BatchGetAccessBindingsResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.BatchGetAccessBindingsResponse) BatchGetAccessBindingsResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use BatchGetAccessBindingsResponse.newBuilder() to construct. - private BatchGetAccessBindingsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private BatchGetAccessBindingsResponse( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private BatchGetAccessBindingsResponse() { accessBindings_ = 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 BatchGetAccessBindingsResponse(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_BatchGetAccessBindingsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_BatchGetAccessBindingsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_BatchGetAccessBindingsResponse_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_BatchGetAccessBindingsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.BatchGetAccessBindingsResponse.class, com.google.analytics.admin.v1alpha.BatchGetAccessBindingsResponse.Builder.class); + com.google.analytics.admin.v1alpha.BatchGetAccessBindingsResponse.class, + com.google.analytics.admin.v1alpha.BatchGetAccessBindingsResponse.Builder.class); } public static final int ACCESS_BINDINGS_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private java.util.List accessBindings_; /** + * + * *
    * The requested access bindings.
    * 
@@ -58,6 +81,8 @@ public java.util.List getAcces return accessBindings_; } /** + * + * *
    * The requested access bindings.
    * 
@@ -65,11 +90,13 @@ public java.util.List getAcces * repeated .google.analytics.admin.v1alpha.AccessBinding access_bindings = 1; */ @java.lang.Override - public java.util.List + public java.util.List getAccessBindingsOrBuilderList() { return accessBindings_; } /** + * + * *
    * The requested access bindings.
    * 
@@ -81,6 +108,8 @@ public int getAccessBindingsCount() { return accessBindings_.size(); } /** + * + * *
    * The requested access bindings.
    * 
@@ -92,6 +121,8 @@ public com.google.analytics.admin.v1alpha.AccessBinding getAccessBindings(int in return accessBindings_.get(index); } /** + * + * *
    * The requested access bindings.
    * 
@@ -105,6 +136,7 @@ public com.google.analytics.admin.v1alpha.AccessBindingOrBuilder getAccessBindin } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -116,8 +148,7 @@ public final boolean isInitialized() { } @java.lang.Override - 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 < accessBindings_.size(); i++) { output.writeMessage(1, accessBindings_.get(i)); } @@ -131,8 +162,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < accessBindings_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, accessBindings_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, accessBindings_.get(i)); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -142,15 +172,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.BatchGetAccessBindingsResponse)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.BatchGetAccessBindingsResponse other = (com.google.analytics.admin.v1alpha.BatchGetAccessBindingsResponse) obj; + com.google.analytics.admin.v1alpha.BatchGetAccessBindingsResponse other = + (com.google.analytics.admin.v1alpha.BatchGetAccessBindingsResponse) obj; - if (!getAccessBindingsList() - .equals(other.getAccessBindingsList())) return false; + if (!getAccessBindingsList().equals(other.getAccessBindingsList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -172,131 +202,138 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.BatchGetAccessBindingsResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.BatchGetAccessBindingsResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.BatchGetAccessBindingsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.BatchGetAccessBindingsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.BatchGetAccessBindingsResponse parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.analytics.admin.v1alpha.BatchGetAccessBindingsResponse parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.BatchGetAccessBindingsResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.BatchGetAccessBindingsResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.BatchGetAccessBindingsResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.BatchGetAccessBindingsResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.BatchGetAccessBindingsResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.BatchGetAccessBindingsResponse + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.BatchGetAccessBindingsResponse parseDelimitedFrom( - java.io.InputStream input, - 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.BatchGetAccessBindingsResponse + parseDelimitedFrom( + java.io.InputStream input, 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.BatchGetAccessBindingsResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.BatchGetAccessBindingsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1alpha.BatchGetAccessBindingsResponse prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1alpha.BatchGetAccessBindingsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 BatchGetAccessBindings RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.BatchGetAccessBindingsResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.BatchGetAccessBindingsResponse) com.google.analytics.admin.v1alpha.BatchGetAccessBindingsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_BatchGetAccessBindingsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_BatchGetAccessBindingsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_BatchGetAccessBindingsResponse_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_BatchGetAccessBindingsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.BatchGetAccessBindingsResponse.class, com.google.analytics.admin.v1alpha.BatchGetAccessBindingsResponse.Builder.class); + com.google.analytics.admin.v1alpha.BatchGetAccessBindingsResponse.class, + com.google.analytics.admin.v1alpha.BatchGetAccessBindingsResponse.Builder.class); } - // Construct using com.google.analytics.admin.v1alpha.BatchGetAccessBindingsResponse.newBuilder() - private Builder() { - - } + // Construct using + // com.google.analytics.admin.v1alpha.BatchGetAccessBindingsResponse.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(); @@ -312,13 +349,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_BatchGetAccessBindingsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_BatchGetAccessBindingsResponse_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.BatchGetAccessBindingsResponse getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.BatchGetAccessBindingsResponse + getDefaultInstanceForType() { return com.google.analytics.admin.v1alpha.BatchGetAccessBindingsResponse.getDefaultInstance(); } @@ -333,14 +371,18 @@ public com.google.analytics.admin.v1alpha.BatchGetAccessBindingsResponse build() @java.lang.Override public com.google.analytics.admin.v1alpha.BatchGetAccessBindingsResponse buildPartial() { - com.google.analytics.admin.v1alpha.BatchGetAccessBindingsResponse result = new com.google.analytics.admin.v1alpha.BatchGetAccessBindingsResponse(this); + com.google.analytics.admin.v1alpha.BatchGetAccessBindingsResponse result = + new com.google.analytics.admin.v1alpha.BatchGetAccessBindingsResponse(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartialRepeatedFields(com.google.analytics.admin.v1alpha.BatchGetAccessBindingsResponse result) { + private void buildPartialRepeatedFields( + com.google.analytics.admin.v1alpha.BatchGetAccessBindingsResponse result) { if (accessBindingsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { accessBindings_ = java.util.Collections.unmodifiableList(accessBindings_); @@ -352,7 +394,8 @@ private void buildPartialRepeatedFields(com.google.analytics.admin.v1alpha.Batch } } - private void buildPartial0(com.google.analytics.admin.v1alpha.BatchGetAccessBindingsResponse result) { + private void buildPartial0( + com.google.analytics.admin.v1alpha.BatchGetAccessBindingsResponse result) { int from_bitField0_ = bitField0_; } @@ -360,46 +403,50 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.BatchGetAccessBind public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.analytics.admin.v1alpha.BatchGetAccessBindingsResponse) { - return mergeFrom((com.google.analytics.admin.v1alpha.BatchGetAccessBindingsResponse)other); + return mergeFrom((com.google.analytics.admin.v1alpha.BatchGetAccessBindingsResponse) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.analytics.admin.v1alpha.BatchGetAccessBindingsResponse other) { - if (other == com.google.analytics.admin.v1alpha.BatchGetAccessBindingsResponse.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.analytics.admin.v1alpha.BatchGetAccessBindingsResponse other) { + if (other + == com.google.analytics.admin.v1alpha.BatchGetAccessBindingsResponse.getDefaultInstance()) + return this; if (accessBindingsBuilder_ == null) { if (!other.accessBindings_.isEmpty()) { if (accessBindings_.isEmpty()) { @@ -418,9 +465,10 @@ public Builder mergeFrom(com.google.analytics.admin.v1alpha.BatchGetAccessBindin accessBindingsBuilder_ = null; accessBindings_ = other.accessBindings_; bitField0_ = (bitField0_ & ~0x00000001); - accessBindingsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getAccessBindingsFieldBuilder() : null; + accessBindingsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getAccessBindingsFieldBuilder() + : null; } else { accessBindingsBuilder_.addAllMessages(other.accessBindings_); } @@ -452,25 +500,27 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - com.google.analytics.admin.v1alpha.AccessBinding m = - input.readMessage( - com.google.analytics.admin.v1alpha.AccessBinding.parser(), - extensionRegistry); - if (accessBindingsBuilder_ == null) { - ensureAccessBindingsIsMutable(); - accessBindings_.add(m); - } else { - accessBindingsBuilder_.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.AccessBinding m = + input.readMessage( + com.google.analytics.admin.v1alpha.AccessBinding.parser(), + extensionRegistry); + if (accessBindingsBuilder_ == null) { + ensureAccessBindingsIsMutable(); + accessBindings_.add(m); + } else { + accessBindingsBuilder_.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) { @@ -480,28 +530,38 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.util.List accessBindings_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureAccessBindingsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - accessBindings_ = new java.util.ArrayList(accessBindings_); + accessBindings_ = + new java.util.ArrayList( + accessBindings_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.AccessBinding, com.google.analytics.admin.v1alpha.AccessBinding.Builder, com.google.analytics.admin.v1alpha.AccessBindingOrBuilder> accessBindingsBuilder_; + com.google.analytics.admin.v1alpha.AccessBinding, + com.google.analytics.admin.v1alpha.AccessBinding.Builder, + com.google.analytics.admin.v1alpha.AccessBindingOrBuilder> + accessBindingsBuilder_; /** + * + * *
      * The requested access bindings.
      * 
* * repeated .google.analytics.admin.v1alpha.AccessBinding access_bindings = 1; */ - public java.util.List getAccessBindingsList() { + public java.util.List + getAccessBindingsList() { if (accessBindingsBuilder_ == null) { return java.util.Collections.unmodifiableList(accessBindings_); } else { @@ -509,6 +569,8 @@ public java.util.List getAcces } } /** + * + * *
      * The requested access bindings.
      * 
@@ -523,6 +585,8 @@ public int getAccessBindingsCount() { } } /** + * + * *
      * The requested access bindings.
      * 
@@ -537,6 +601,8 @@ public com.google.analytics.admin.v1alpha.AccessBinding getAccessBindings(int in } } /** + * + * *
      * The requested access bindings.
      * 
@@ -558,6 +624,8 @@ public Builder setAccessBindings( return this; } /** + * + * *
      * The requested access bindings.
      * 
@@ -576,6 +644,8 @@ public Builder setAccessBindings( return this; } /** + * + * *
      * The requested access bindings.
      * 
@@ -596,6 +666,8 @@ public Builder addAccessBindings(com.google.analytics.admin.v1alpha.AccessBindin return this; } /** + * + * *
      * The requested access bindings.
      * 
@@ -617,6 +689,8 @@ public Builder addAccessBindings( return this; } /** + * + * *
      * The requested access bindings.
      * 
@@ -635,6 +709,8 @@ public Builder addAccessBindings( return this; } /** + * + * *
      * The requested access bindings.
      * 
@@ -653,6 +729,8 @@ public Builder addAccessBindings( return this; } /** + * + * *
      * The requested access bindings.
      * 
@@ -663,8 +741,7 @@ public Builder addAllAccessBindings( java.lang.Iterable values) { if (accessBindingsBuilder_ == null) { ensureAccessBindingsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, accessBindings_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, accessBindings_); onChanged(); } else { accessBindingsBuilder_.addAllMessages(values); @@ -672,6 +749,8 @@ public Builder addAllAccessBindings( return this; } /** + * + * *
      * The requested access bindings.
      * 
@@ -689,6 +768,8 @@ public Builder clearAccessBindings() { return this; } /** + * + * *
      * The requested access bindings.
      * 
@@ -706,6 +787,8 @@ public Builder removeAccessBindings(int index) { return this; } /** + * + * *
      * The requested access bindings.
      * 
@@ -717,6 +800,8 @@ public com.google.analytics.admin.v1alpha.AccessBinding.Builder getAccessBinding return getAccessBindingsFieldBuilder().getBuilder(index); } /** + * + * *
      * The requested access bindings.
      * 
@@ -726,19 +811,22 @@ public com.google.analytics.admin.v1alpha.AccessBinding.Builder getAccessBinding public com.google.analytics.admin.v1alpha.AccessBindingOrBuilder getAccessBindingsOrBuilder( int index) { if (accessBindingsBuilder_ == null) { - return accessBindings_.get(index); } else { + return accessBindings_.get(index); + } else { return accessBindingsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * The requested access bindings.
      * 
* * repeated .google.analytics.admin.v1alpha.AccessBinding access_bindings = 1; */ - public java.util.List - getAccessBindingsOrBuilderList() { + public java.util.List + getAccessBindingsOrBuilderList() { if (accessBindingsBuilder_ != null) { return accessBindingsBuilder_.getMessageOrBuilderList(); } else { @@ -746,6 +834,8 @@ public com.google.analytics.admin.v1alpha.AccessBindingOrBuilder getAccessBindin } } /** + * + * *
      * The requested access bindings.
      * 
@@ -753,10 +843,12 @@ public com.google.analytics.admin.v1alpha.AccessBindingOrBuilder getAccessBindin * repeated .google.analytics.admin.v1alpha.AccessBinding access_bindings = 1; */ public com.google.analytics.admin.v1alpha.AccessBinding.Builder addAccessBindingsBuilder() { - return getAccessBindingsFieldBuilder().addBuilder( - com.google.analytics.admin.v1alpha.AccessBinding.getDefaultInstance()); + return getAccessBindingsFieldBuilder() + .addBuilder(com.google.analytics.admin.v1alpha.AccessBinding.getDefaultInstance()); } /** + * + * *
      * The requested access bindings.
      * 
@@ -765,26 +857,34 @@ public com.google.analytics.admin.v1alpha.AccessBinding.Builder addAccessBinding */ public com.google.analytics.admin.v1alpha.AccessBinding.Builder addAccessBindingsBuilder( int index) { - return getAccessBindingsFieldBuilder().addBuilder( - index, com.google.analytics.admin.v1alpha.AccessBinding.getDefaultInstance()); + return getAccessBindingsFieldBuilder() + .addBuilder(index, com.google.analytics.admin.v1alpha.AccessBinding.getDefaultInstance()); } /** + * + * *
      * The requested access bindings.
      * 
* * repeated .google.analytics.admin.v1alpha.AccessBinding access_bindings = 1; */ - public java.util.List - getAccessBindingsBuilderList() { + public java.util.List + getAccessBindingsBuilderList() { return getAccessBindingsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.AccessBinding, com.google.analytics.admin.v1alpha.AccessBinding.Builder, com.google.analytics.admin.v1alpha.AccessBindingOrBuilder> + com.google.analytics.admin.v1alpha.AccessBinding, + com.google.analytics.admin.v1alpha.AccessBinding.Builder, + com.google.analytics.admin.v1alpha.AccessBindingOrBuilder> getAccessBindingsFieldBuilder() { if (accessBindingsBuilder_ == null) { - accessBindingsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.AccessBinding, com.google.analytics.admin.v1alpha.AccessBinding.Builder, com.google.analytics.admin.v1alpha.AccessBindingOrBuilder>( + accessBindingsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.analytics.admin.v1alpha.AccessBinding, + com.google.analytics.admin.v1alpha.AccessBinding.Builder, + com.google.analytics.admin.v1alpha.AccessBindingOrBuilder>( accessBindings_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -793,9 +893,9 @@ public com.google.analytics.admin.v1alpha.AccessBinding.Builder addAccessBinding } return accessBindingsBuilder_; } + @java.lang.Override - 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,41 +905,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.BatchGetAccessBindingsResponse) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.BatchGetAccessBindingsResponse) - private static final com.google.analytics.admin.v1alpha.BatchGetAccessBindingsResponse DEFAULT_INSTANCE; + private static final com.google.analytics.admin.v1alpha.BatchGetAccessBindingsResponse + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.BatchGetAccessBindingsResponse(); } - public static com.google.analytics.admin.v1alpha.BatchGetAccessBindingsResponse getDefaultInstance() { + public static com.google.analytics.admin.v1alpha.BatchGetAccessBindingsResponse + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public BatchGetAccessBindingsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public BatchGetAccessBindingsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -851,9 +953,8 @@ public com.google.protobuf.Parser getParserForTy } @java.lang.Override - public com.google.analytics.admin.v1alpha.BatchGetAccessBindingsResponse getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.BatchGetAccessBindingsResponse + 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/BatchGetAccessBindingsResponseOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchGetAccessBindingsResponseOrBuilder.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/BatchGetAccessBindingsResponseOrBuilder.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchGetAccessBindingsResponseOrBuilder.java index fa04044afddc..12cf33755798 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchGetAccessBindingsResponseOrBuilder.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchGetAccessBindingsResponseOrBuilder.java @@ -1,22 +1,41 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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 BatchGetAccessBindingsResponseOrBuilder extends +public interface BatchGetAccessBindingsResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.BatchGetAccessBindingsResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The requested access bindings.
    * 
* * repeated .google.analytics.admin.v1alpha.AccessBinding access_bindings = 1; */ - java.util.List - getAccessBindingsList(); + java.util.List getAccessBindingsList(); /** + * + * *
    * The requested access bindings.
    * 
@@ -25,6 +44,8 @@ public interface BatchGetAccessBindingsResponseOrBuilder extends */ com.google.analytics.admin.v1alpha.AccessBinding getAccessBindings(int index); /** + * + * *
    * The requested access bindings.
    * 
@@ -33,21 +54,24 @@ public interface BatchGetAccessBindingsResponseOrBuilder extends */ int getAccessBindingsCount(); /** + * + * *
    * The requested access bindings.
    * 
* * repeated .google.analytics.admin.v1alpha.AccessBinding access_bindings = 1; */ - java.util.List + java.util.List getAccessBindingsOrBuilderList(); /** + * + * *
    * The requested access bindings.
    * 
* * repeated .google.analytics.admin.v1alpha.AccessBinding access_bindings = 1; */ - com.google.analytics.admin.v1alpha.AccessBindingOrBuilder getAccessBindingsOrBuilder( - int index); + com.google.analytics.admin.v1alpha.AccessBindingOrBuilder getAccessBindingsOrBuilder(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/BatchUpdateAccessBindingsRequest.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchUpdateAccessBindingsRequest.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/BatchUpdateAccessBindingsRequest.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchUpdateAccessBindingsRequest.java index a4526650ab06..ea52762bb3ec 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchUpdateAccessBindingsRequest.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchUpdateAccessBindingsRequest.java @@ -1,24 +1,43 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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 BatchUpdateAccessBindings RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.BatchUpdateAccessBindingsRequest} */ -public final class BatchUpdateAccessBindingsRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class BatchUpdateAccessBindingsRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.BatchUpdateAccessBindingsRequest) BatchUpdateAccessBindingsRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use BatchUpdateAccessBindingsRequest.newBuilder() to construct. - private BatchUpdateAccessBindingsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private BatchUpdateAccessBindingsRequest( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private BatchUpdateAccessBindingsRequest() { parent_ = ""; requests_ = java.util.Collections.emptyList(); @@ -26,28 +45,32 @@ private BatchUpdateAccessBindingsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new BatchUpdateAccessBindingsRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_BatchUpdateAccessBindingsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_BatchUpdateAccessBindingsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_BatchUpdateAccessBindingsRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_BatchUpdateAccessBindingsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.BatchUpdateAccessBindingsRequest.class, com.google.analytics.admin.v1alpha.BatchUpdateAccessBindingsRequest.Builder.class); + com.google.analytics.admin.v1alpha.BatchUpdateAccessBindingsRequest.class, + com.google.analytics.admin.v1alpha.BatchUpdateAccessBindingsRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** + * + * *
    * Required. The account or property that owns the access bindings. The parent
    * of all provided AccessBinding in UpdateAccessBindingRequest messages must
@@ -57,7 +80,10 @@ protected java.lang.Object newInstance(
    * - properties/{property}
    * 
* - * string parent = 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,14 +92,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 owns the access bindings. The parent
    * of all provided AccessBinding in UpdateAccessBindingRequest messages must
@@ -83,17 +110,18 @@ public java.lang.String getParent() {
    * - properties/{property}
    * 
* - * string parent = 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 { @@ -102,72 +130,96 @@ 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 access bindings to update.
    * A maximum of 1000 access bindings can be updated in a batch.
    * 
* - * repeated .google.analytics.admin.v1alpha.UpdateAccessBindingRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.UpdateAccessBindingRequest 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 access bindings to update.
    * A maximum of 1000 access bindings can be updated in a batch.
    * 
* - * repeated .google.analytics.admin.v1alpha.UpdateAccessBindingRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.UpdateAccessBindingRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public java.util.List + public java.util.List< + ? extends com.google.analytics.admin.v1alpha.UpdateAccessBindingRequestOrBuilder> getRequestsOrBuilderList() { return requests_; } /** + * + * *
    * Required. The requests specifying the access bindings to update.
    * A maximum of 1000 access bindings can be updated in a batch.
    * 
* - * repeated .google.analytics.admin.v1alpha.UpdateAccessBindingRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.UpdateAccessBindingRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public int getRequestsCount() { return requests_.size(); } /** + * + * *
    * Required. The requests specifying the access bindings to update.
    * A maximum of 1000 access bindings can be updated in a batch.
    * 
* - * repeated .google.analytics.admin.v1alpha.UpdateAccessBindingRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.UpdateAccessBindingRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.analytics.admin.v1alpha.UpdateAccessBindingRequest getRequests(int index) { return requests_.get(index); } /** + * + * *
    * Required. The requests specifying the access bindings to update.
    * A maximum of 1000 access bindings can be updated in a batch.
    * 
* - * repeated .google.analytics.admin.v1alpha.UpdateAccessBindingRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.UpdateAccessBindingRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public com.google.analytics.admin.v1alpha.UpdateAccessBindingRequestOrBuilder getRequestsOrBuilder( - int index) { + public com.google.analytics.admin.v1alpha.UpdateAccessBindingRequestOrBuilder + getRequestsOrBuilder(int index) { return requests_.get(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -179,8 +231,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -200,8 +251,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; @@ -211,17 +261,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.BatchUpdateAccessBindingsRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.BatchUpdateAccessBindingsRequest other = (com.google.analytics.admin.v1alpha.BatchUpdateAccessBindingsRequest) obj; + com.google.analytics.admin.v1alpha.BatchUpdateAccessBindingsRequest other = + (com.google.analytics.admin.v1alpha.BatchUpdateAccessBindingsRequest) 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; } @@ -245,131 +294,138 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.BatchUpdateAccessBindingsRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.BatchUpdateAccessBindingsRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.BatchUpdateAccessBindingsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.BatchUpdateAccessBindingsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.BatchUpdateAccessBindingsRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.analytics.admin.v1alpha.BatchUpdateAccessBindingsRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.BatchUpdateAccessBindingsRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.BatchUpdateAccessBindingsRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.BatchUpdateAccessBindingsRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.BatchUpdateAccessBindingsRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.BatchUpdateAccessBindingsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.BatchUpdateAccessBindingsRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.BatchUpdateAccessBindingsRequest parseDelimitedFrom( - java.io.InputStream input, - 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.BatchUpdateAccessBindingsRequest + parseDelimitedFrom( + java.io.InputStream input, 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.BatchUpdateAccessBindingsRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.BatchUpdateAccessBindingsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1alpha.BatchUpdateAccessBindingsRequest prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1alpha.BatchUpdateAccessBindingsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder 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 BatchUpdateAccessBindings RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.BatchUpdateAccessBindingsRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.BatchUpdateAccessBindingsRequest) com.google.analytics.admin.v1alpha.BatchUpdateAccessBindingsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_BatchUpdateAccessBindingsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_BatchUpdateAccessBindingsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_BatchUpdateAccessBindingsRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_BatchUpdateAccessBindingsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.BatchUpdateAccessBindingsRequest.class, com.google.analytics.admin.v1alpha.BatchUpdateAccessBindingsRequest.Builder.class); + com.google.analytics.admin.v1alpha.BatchUpdateAccessBindingsRequest.class, + com.google.analytics.admin.v1alpha.BatchUpdateAccessBindingsRequest.Builder.class); } - // Construct using com.google.analytics.admin.v1alpha.BatchUpdateAccessBindingsRequest.newBuilder() - private Builder() { - - } + // Construct using + // com.google.analytics.admin.v1alpha.BatchUpdateAccessBindingsRequest.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(); @@ -386,14 +442,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_BatchUpdateAccessBindingsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_BatchUpdateAccessBindingsRequest_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.BatchUpdateAccessBindingsRequest getDefaultInstanceForType() { - return com.google.analytics.admin.v1alpha.BatchUpdateAccessBindingsRequest.getDefaultInstance(); + public com.google.analytics.admin.v1alpha.BatchUpdateAccessBindingsRequest + getDefaultInstanceForType() { + return com.google.analytics.admin.v1alpha.BatchUpdateAccessBindingsRequest + .getDefaultInstance(); } @java.lang.Override @@ -407,14 +465,18 @@ public com.google.analytics.admin.v1alpha.BatchUpdateAccessBindingsRequest build @java.lang.Override public com.google.analytics.admin.v1alpha.BatchUpdateAccessBindingsRequest buildPartial() { - com.google.analytics.admin.v1alpha.BatchUpdateAccessBindingsRequest result = new com.google.analytics.admin.v1alpha.BatchUpdateAccessBindingsRequest(this); + com.google.analytics.admin.v1alpha.BatchUpdateAccessBindingsRequest result = + new com.google.analytics.admin.v1alpha.BatchUpdateAccessBindingsRequest(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartialRepeatedFields(com.google.analytics.admin.v1alpha.BatchUpdateAccessBindingsRequest result) { + private void buildPartialRepeatedFields( + com.google.analytics.admin.v1alpha.BatchUpdateAccessBindingsRequest result) { if (requestsBuilder_ == null) { if (((bitField0_ & 0x00000002) != 0)) { requests_ = java.util.Collections.unmodifiableList(requests_); @@ -426,7 +488,8 @@ private void buildPartialRepeatedFields(com.google.analytics.admin.v1alpha.Batch } } - private void buildPartial0(com.google.analytics.admin.v1alpha.BatchUpdateAccessBindingsRequest result) { + private void buildPartial0( + com.google.analytics.admin.v1alpha.BatchUpdateAccessBindingsRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.parent_ = parent_; @@ -437,46 +500,51 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.BatchUpdateAccessB public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.analytics.admin.v1alpha.BatchUpdateAccessBindingsRequest) { - return mergeFrom((com.google.analytics.admin.v1alpha.BatchUpdateAccessBindingsRequest)other); + return mergeFrom( + (com.google.analytics.admin.v1alpha.BatchUpdateAccessBindingsRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.analytics.admin.v1alpha.BatchUpdateAccessBindingsRequest other) { - if (other == com.google.analytics.admin.v1alpha.BatchUpdateAccessBindingsRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.analytics.admin.v1alpha.BatchUpdateAccessBindingsRequest other) { + if (other + == com.google.analytics.admin.v1alpha.BatchUpdateAccessBindingsRequest + .getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -500,9 +568,10 @@ public Builder mergeFrom(com.google.analytics.admin.v1alpha.BatchUpdateAccessBin 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_); } @@ -534,30 +603,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.UpdateAccessBindingRequest m = - input.readMessage( - com.google.analytics.admin.v1alpha.UpdateAccessBindingRequest.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.UpdateAccessBindingRequest m = + input.readMessage( + com.google.analytics.admin.v1alpha.UpdateAccessBindingRequest.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) { @@ -567,10 +639,13 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The account or property that owns the access bindings. The parent
      * of all provided AccessBinding in UpdateAccessBindingRequest messages must
@@ -580,14 +655,16 @@ public Builder mergeFrom(
      * - properties/{property}
      * 
* - * string parent = 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; @@ -596,6 +673,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The account or property that owns the access bindings. The parent
      * of all provided AccessBinding in UpdateAccessBindingRequest messages must
@@ -605,16 +684,17 @@ public java.lang.String getParent() {
      * - properties/{property}
      * 
* - * string parent = 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 { @@ -622,6 +702,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The account or property that owns the access bindings. The parent
      * of all provided AccessBinding in UpdateAccessBindingRequest messages must
@@ -631,19 +713,25 @@ public java.lang.String getParent() {
      * - properties/{property}
      * 
* - * 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 owns the access bindings. The parent
      * of all provided AccessBinding in UpdateAccessBindingRequest messages must
@@ -653,7 +741,10 @@ public Builder setParent(
      * - properties/{property}
      * 
* - * string 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() { @@ -663,6 +754,8 @@ public Builder clearParent() { return this; } /** + * + * *
      * Required. The account or property that owns the access bindings. The parent
      * of all provided AccessBinding in UpdateAccessBindingRequest messages must
@@ -672,13 +765,17 @@ public Builder clearParent() {
      * - properties/{property}
      * 
* - * 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; @@ -686,27 +783,38 @@ public Builder setParentBytes( return this; } - private java.util.List requests_ = - java.util.Collections.emptyList(); + private java.util.List + requests_ = 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.UpdateAccessBindingRequest, com.google.analytics.admin.v1alpha.UpdateAccessBindingRequest.Builder, com.google.analytics.admin.v1alpha.UpdateAccessBindingRequestOrBuilder> requestsBuilder_; + com.google.analytics.admin.v1alpha.UpdateAccessBindingRequest, + com.google.analytics.admin.v1alpha.UpdateAccessBindingRequest.Builder, + com.google.analytics.admin.v1alpha.UpdateAccessBindingRequestOrBuilder> + requestsBuilder_; /** + * + * *
      * Required. The requests specifying the access bindings to update.
      * A maximum of 1000 access bindings can be updated in a batch.
      * 
* - * repeated .google.analytics.admin.v1alpha.UpdateAccessBindingRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.UpdateAccessBindingRequest 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 { @@ -714,12 +822,16 @@ public java.util.List * Required. The requests specifying the access bindings to update. * A maximum of 1000 access bindings can be updated in a batch. *
* - * repeated .google.analytics.admin.v1alpha.UpdateAccessBindingRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.UpdateAccessBindingRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public int getRequestsCount() { if (requestsBuilder_ == null) { @@ -729,12 +841,16 @@ public int getRequestsCount() { } } /** + * + * *
      * Required. The requests specifying the access bindings to update.
      * A maximum of 1000 access bindings can be updated in a batch.
      * 
* - * repeated .google.analytics.admin.v1alpha.UpdateAccessBindingRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.UpdateAccessBindingRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.analytics.admin.v1alpha.UpdateAccessBindingRequest getRequests(int index) { if (requestsBuilder_ == null) { @@ -744,12 +860,16 @@ public com.google.analytics.admin.v1alpha.UpdateAccessBindingRequest getRequests } } /** + * + * *
      * Required. The requests specifying the access bindings to update.
      * A maximum of 1000 access bindings can be updated in a batch.
      * 
* - * repeated .google.analytics.admin.v1alpha.UpdateAccessBindingRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.UpdateAccessBindingRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setRequests( int index, com.google.analytics.admin.v1alpha.UpdateAccessBindingRequest value) { @@ -766,15 +886,20 @@ public Builder setRequests( return this; } /** + * + * *
      * Required. The requests specifying the access bindings to update.
      * A maximum of 1000 access bindings can be updated in a batch.
      * 
* - * repeated .google.analytics.admin.v1alpha.UpdateAccessBindingRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.UpdateAccessBindingRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setRequests( - int index, com.google.analytics.admin.v1alpha.UpdateAccessBindingRequest.Builder builderForValue) { + int index, + com.google.analytics.admin.v1alpha.UpdateAccessBindingRequest.Builder builderForValue) { if (requestsBuilder_ == null) { ensureRequestsIsMutable(); requests_.set(index, builderForValue.build()); @@ -785,14 +910,19 @@ public Builder setRequests( return this; } /** + * + * *
      * Required. The requests specifying the access bindings to update.
      * A maximum of 1000 access bindings can be updated in a batch.
      * 
* - * repeated .google.analytics.admin.v1alpha.UpdateAccessBindingRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.UpdateAccessBindingRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder addRequests(com.google.analytics.admin.v1alpha.UpdateAccessBindingRequest value) { + public Builder addRequests( + com.google.analytics.admin.v1alpha.UpdateAccessBindingRequest value) { if (requestsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -806,12 +936,16 @@ public Builder addRequests(com.google.analytics.admin.v1alpha.UpdateAccessBindin return this; } /** + * + * *
      * Required. The requests specifying the access bindings to update.
      * A maximum of 1000 access bindings can be updated in a batch.
      * 
* - * repeated .google.analytics.admin.v1alpha.UpdateAccessBindingRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.UpdateAccessBindingRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder addRequests( int index, com.google.analytics.admin.v1alpha.UpdateAccessBindingRequest value) { @@ -828,12 +962,16 @@ public Builder addRequests( return this; } /** + * + * *
      * Required. The requests specifying the access bindings to update.
      * A maximum of 1000 access bindings can be updated in a batch.
      * 
* - * repeated .google.analytics.admin.v1alpha.UpdateAccessBindingRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.UpdateAccessBindingRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder addRequests( com.google.analytics.admin.v1alpha.UpdateAccessBindingRequest.Builder builderForValue) { @@ -847,15 +985,20 @@ public Builder addRequests( return this; } /** + * + * *
      * Required. The requests specifying the access bindings to update.
      * A maximum of 1000 access bindings can be updated in a batch.
      * 
* - * repeated .google.analytics.admin.v1alpha.UpdateAccessBindingRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.UpdateAccessBindingRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder addRequests( - int index, com.google.analytics.admin.v1alpha.UpdateAccessBindingRequest.Builder builderForValue) { + int index, + com.google.analytics.admin.v1alpha.UpdateAccessBindingRequest.Builder builderForValue) { if (requestsBuilder_ == null) { ensureRequestsIsMutable(); requests_.add(index, builderForValue.build()); @@ -866,19 +1009,23 @@ public Builder addRequests( return this; } /** + * + * *
      * Required. The requests specifying the access bindings to update.
      * A maximum of 1000 access bindings can be updated in a batch.
      * 
* - * repeated .google.analytics.admin.v1alpha.UpdateAccessBindingRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.UpdateAccessBindingRequest 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); @@ -886,12 +1033,16 @@ public Builder addAllRequests( return this; } /** + * + * *
      * Required. The requests specifying the access bindings to update.
      * A maximum of 1000 access bindings can be updated in a batch.
      * 
* - * repeated .google.analytics.admin.v1alpha.UpdateAccessBindingRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.UpdateAccessBindingRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearRequests() { if (requestsBuilder_ == null) { @@ -904,12 +1055,16 @@ public Builder clearRequests() { return this; } /** + * + * *
      * Required. The requests specifying the access bindings to update.
      * A maximum of 1000 access bindings can be updated in a batch.
      * 
* - * repeated .google.analytics.admin.v1alpha.UpdateAccessBindingRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.UpdateAccessBindingRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder removeRequests(int index) { if (requestsBuilder_ == null) { @@ -922,42 +1077,56 @@ public Builder removeRequests(int index) { return this; } /** + * + * *
      * Required. The requests specifying the access bindings to update.
      * A maximum of 1000 access bindings can be updated in a batch.
      * 
* - * repeated .google.analytics.admin.v1alpha.UpdateAccessBindingRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.UpdateAccessBindingRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.analytics.admin.v1alpha.UpdateAccessBindingRequest.Builder getRequestsBuilder( int index) { return getRequestsFieldBuilder().getBuilder(index); } /** + * + * *
      * Required. The requests specifying the access bindings to update.
      * A maximum of 1000 access bindings can be updated in a batch.
      * 
* - * repeated .google.analytics.admin.v1alpha.UpdateAccessBindingRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.UpdateAccessBindingRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.analytics.admin.v1alpha.UpdateAccessBindingRequestOrBuilder getRequestsOrBuilder( - int index) { + public com.google.analytics.admin.v1alpha.UpdateAccessBindingRequestOrBuilder + 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 access bindings to update.
      * A maximum of 1000 access bindings can be updated in a batch.
      * 
* - * repeated .google.analytics.admin.v1alpha.UpdateAccessBindingRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.UpdateAccessBindingRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public java.util.List - getRequestsOrBuilderList() { + public java.util.List< + ? extends com.google.analytics.admin.v1alpha.UpdateAccessBindingRequestOrBuilder> + getRequestsOrBuilderList() { if (requestsBuilder_ != null) { return requestsBuilder_.getMessageOrBuilderList(); } else { @@ -965,59 +1134,78 @@ public com.google.analytics.admin.v1alpha.UpdateAccessBindingRequestOrBuilder ge } } /** + * + * *
      * Required. The requests specifying the access bindings to update.
      * A maximum of 1000 access bindings can be updated in a batch.
      * 
* - * repeated .google.analytics.admin.v1alpha.UpdateAccessBindingRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.UpdateAccessBindingRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.analytics.admin.v1alpha.UpdateAccessBindingRequest.Builder addRequestsBuilder() { - return getRequestsFieldBuilder().addBuilder( - com.google.analytics.admin.v1alpha.UpdateAccessBindingRequest.getDefaultInstance()); + public com.google.analytics.admin.v1alpha.UpdateAccessBindingRequest.Builder + addRequestsBuilder() { + return getRequestsFieldBuilder() + .addBuilder( + com.google.analytics.admin.v1alpha.UpdateAccessBindingRequest.getDefaultInstance()); } /** + * + * *
      * Required. The requests specifying the access bindings to update.
      * A maximum of 1000 access bindings can be updated in a batch.
      * 
* - * repeated .google.analytics.admin.v1alpha.UpdateAccessBindingRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.UpdateAccessBindingRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.analytics.admin.v1alpha.UpdateAccessBindingRequest.Builder addRequestsBuilder( int index) { - return getRequestsFieldBuilder().addBuilder( - index, com.google.analytics.admin.v1alpha.UpdateAccessBindingRequest.getDefaultInstance()); + return getRequestsFieldBuilder() + .addBuilder( + index, + com.google.analytics.admin.v1alpha.UpdateAccessBindingRequest.getDefaultInstance()); } /** + * + * *
      * Required. The requests specifying the access bindings to update.
      * A maximum of 1000 access bindings can be updated in a batch.
      * 
* - * repeated .google.analytics.admin.v1alpha.UpdateAccessBindingRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.UpdateAccessBindingRequest 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.UpdateAccessBindingRequest, com.google.analytics.admin.v1alpha.UpdateAccessBindingRequest.Builder, com.google.analytics.admin.v1alpha.UpdateAccessBindingRequestOrBuilder> + com.google.analytics.admin.v1alpha.UpdateAccessBindingRequest, + com.google.analytics.admin.v1alpha.UpdateAccessBindingRequest.Builder, + com.google.analytics.admin.v1alpha.UpdateAccessBindingRequestOrBuilder> getRequestsFieldBuilder() { if (requestsBuilder_ == null) { - requestsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.UpdateAccessBindingRequest, com.google.analytics.admin.v1alpha.UpdateAccessBindingRequest.Builder, com.google.analytics.admin.v1alpha.UpdateAccessBindingRequestOrBuilder>( - requests_, - ((bitField0_ & 0x00000002) != 0), - getParentForChildren(), - isClean()); + requestsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.analytics.admin.v1alpha.UpdateAccessBindingRequest, + com.google.analytics.admin.v1alpha.UpdateAccessBindingRequest.Builder, + com.google.analytics.admin.v1alpha.UpdateAccessBindingRequestOrBuilder>( + 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); } @@ -1027,41 +1215,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.BatchUpdateAccessBindingsRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.BatchUpdateAccessBindingsRequest) - private static final com.google.analytics.admin.v1alpha.BatchUpdateAccessBindingsRequest DEFAULT_INSTANCE; + private static final com.google.analytics.admin.v1alpha.BatchUpdateAccessBindingsRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.BatchUpdateAccessBindingsRequest(); } - public static com.google.analytics.admin.v1alpha.BatchUpdateAccessBindingsRequest getDefaultInstance() { + public static com.google.analytics.admin.v1alpha.BatchUpdateAccessBindingsRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public BatchUpdateAccessBindingsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public BatchUpdateAccessBindingsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1073,9 +1263,8 @@ public com.google.protobuf.Parser getParserFor } @java.lang.Override - public com.google.analytics.admin.v1alpha.BatchUpdateAccessBindingsRequest getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.BatchUpdateAccessBindingsRequest + 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/BatchUpdateAccessBindingsRequestOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchUpdateAccessBindingsRequestOrBuilder.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/BatchUpdateAccessBindingsRequestOrBuilder.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchUpdateAccessBindingsRequestOrBuilder.java index 132c65f27ec0..6d8f33629a3a 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchUpdateAccessBindingsRequestOrBuilder.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchUpdateAccessBindingsRequestOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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 BatchUpdateAccessBindingsRequestOrBuilder extends +public interface BatchUpdateAccessBindingsRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.BatchUpdateAccessBindingsRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The account or property that owns the access bindings. The parent
    * of all provided AccessBinding in UpdateAccessBindingRequest messages must
@@ -17,11 +35,16 @@ public interface BatchUpdateAccessBindingsRequestOrBuilder extends
    * - properties/{property}
    * 
* - * string parent = 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 owns the access bindings. The parent
    * of all provided AccessBinding in UpdateAccessBindingRequest messages must
@@ -31,57 +54,78 @@ public interface BatchUpdateAccessBindingsRequestOrBuilder extends
    * - properties/{property}
    * 
* - * string parent = 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 access bindings to update.
    * A maximum of 1000 access bindings can be updated in a batch.
    * 
* - * repeated .google.analytics.admin.v1alpha.UpdateAccessBindingRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.UpdateAccessBindingRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - java.util.List - getRequestsList(); + java.util.List getRequestsList(); /** + * + * *
    * Required. The requests specifying the access bindings to update.
    * A maximum of 1000 access bindings can be updated in a batch.
    * 
* - * repeated .google.analytics.admin.v1alpha.UpdateAccessBindingRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.UpdateAccessBindingRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.analytics.admin.v1alpha.UpdateAccessBindingRequest getRequests(int index); /** + * + * *
    * Required. The requests specifying the access bindings to update.
    * A maximum of 1000 access bindings can be updated in a batch.
    * 
* - * repeated .google.analytics.admin.v1alpha.UpdateAccessBindingRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.UpdateAccessBindingRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ int getRequestsCount(); /** + * + * *
    * Required. The requests specifying the access bindings to update.
    * A maximum of 1000 access bindings can be updated in a batch.
    * 
* - * repeated .google.analytics.admin.v1alpha.UpdateAccessBindingRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.UpdateAccessBindingRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - java.util.List + java.util.List getRequestsOrBuilderList(); /** + * + * *
    * Required. The requests specifying the access bindings to update.
    * A maximum of 1000 access bindings can be updated in a batch.
    * 
* - * repeated .google.analytics.admin.v1alpha.UpdateAccessBindingRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.UpdateAccessBindingRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.analytics.admin.v1alpha.UpdateAccessBindingRequestOrBuilder 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/BatchUpdateAccessBindingsResponse.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchUpdateAccessBindingsResponse.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/BatchUpdateAccessBindingsResponse.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchUpdateAccessBindingsResponse.java index 7ade3334e588..d693c0d81bc8 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchUpdateAccessBindingsResponse.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchUpdateAccessBindingsResponse.java @@ -1,52 +1,75 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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 BatchUpdateAccessBindings RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.BatchUpdateAccessBindingsResponse} */ -public final class BatchUpdateAccessBindingsResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class BatchUpdateAccessBindingsResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.BatchUpdateAccessBindingsResponse) BatchUpdateAccessBindingsResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use BatchUpdateAccessBindingsResponse.newBuilder() to construct. - private BatchUpdateAccessBindingsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private BatchUpdateAccessBindingsResponse( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private BatchUpdateAccessBindingsResponse() { accessBindings_ = 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 BatchUpdateAccessBindingsResponse(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_BatchUpdateAccessBindingsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_BatchUpdateAccessBindingsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_BatchUpdateAccessBindingsResponse_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_BatchUpdateAccessBindingsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.BatchUpdateAccessBindingsResponse.class, com.google.analytics.admin.v1alpha.BatchUpdateAccessBindingsResponse.Builder.class); + com.google.analytics.admin.v1alpha.BatchUpdateAccessBindingsResponse.class, + com.google.analytics.admin.v1alpha.BatchUpdateAccessBindingsResponse.Builder.class); } public static final int ACCESS_BINDINGS_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private java.util.List accessBindings_; /** + * + * *
    * The access bindings updated.
    * 
@@ -58,6 +81,8 @@ public java.util.List getAcces return accessBindings_; } /** + * + * *
    * The access bindings updated.
    * 
@@ -65,11 +90,13 @@ public java.util.List getAcces * repeated .google.analytics.admin.v1alpha.AccessBinding access_bindings = 1; */ @java.lang.Override - public java.util.List + public java.util.List getAccessBindingsOrBuilderList() { return accessBindings_; } /** + * + * *
    * The access bindings updated.
    * 
@@ -81,6 +108,8 @@ public int getAccessBindingsCount() { return accessBindings_.size(); } /** + * + * *
    * The access bindings updated.
    * 
@@ -92,6 +121,8 @@ public com.google.analytics.admin.v1alpha.AccessBinding getAccessBindings(int in return accessBindings_.get(index); } /** + * + * *
    * The access bindings updated.
    * 
@@ -105,6 +136,7 @@ public com.google.analytics.admin.v1alpha.AccessBindingOrBuilder getAccessBindin } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -116,8 +148,7 @@ public final boolean isInitialized() { } @java.lang.Override - 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 < accessBindings_.size(); i++) { output.writeMessage(1, accessBindings_.get(i)); } @@ -131,8 +162,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < accessBindings_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, accessBindings_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, accessBindings_.get(i)); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -142,15 +172,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.BatchUpdateAccessBindingsResponse)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.BatchUpdateAccessBindingsResponse other = (com.google.analytics.admin.v1alpha.BatchUpdateAccessBindingsResponse) obj; + com.google.analytics.admin.v1alpha.BatchUpdateAccessBindingsResponse other = + (com.google.analytics.admin.v1alpha.BatchUpdateAccessBindingsResponse) obj; - if (!getAccessBindingsList() - .equals(other.getAccessBindingsList())) return false; + if (!getAccessBindingsList().equals(other.getAccessBindingsList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -172,131 +202,138 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.BatchUpdateAccessBindingsResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.BatchUpdateAccessBindingsResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.BatchUpdateAccessBindingsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.BatchUpdateAccessBindingsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.BatchUpdateAccessBindingsResponse parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.analytics.admin.v1alpha.BatchUpdateAccessBindingsResponse parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.BatchUpdateAccessBindingsResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.BatchUpdateAccessBindingsResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.BatchUpdateAccessBindingsResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.BatchUpdateAccessBindingsResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.BatchUpdateAccessBindingsResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.BatchUpdateAccessBindingsResponse + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.BatchUpdateAccessBindingsResponse parseDelimitedFrom( - java.io.InputStream input, - 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.BatchUpdateAccessBindingsResponse + parseDelimitedFrom( + java.io.InputStream input, 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.BatchUpdateAccessBindingsResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.BatchUpdateAccessBindingsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1alpha.BatchUpdateAccessBindingsResponse prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1alpha.BatchUpdateAccessBindingsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 BatchUpdateAccessBindings RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.BatchUpdateAccessBindingsResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.BatchUpdateAccessBindingsResponse) com.google.analytics.admin.v1alpha.BatchUpdateAccessBindingsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_BatchUpdateAccessBindingsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_BatchUpdateAccessBindingsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_BatchUpdateAccessBindingsResponse_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_BatchUpdateAccessBindingsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.BatchUpdateAccessBindingsResponse.class, com.google.analytics.admin.v1alpha.BatchUpdateAccessBindingsResponse.Builder.class); + com.google.analytics.admin.v1alpha.BatchUpdateAccessBindingsResponse.class, + com.google.analytics.admin.v1alpha.BatchUpdateAccessBindingsResponse.Builder.class); } - // Construct using com.google.analytics.admin.v1alpha.BatchUpdateAccessBindingsResponse.newBuilder() - private Builder() { - - } + // Construct using + // com.google.analytics.admin.v1alpha.BatchUpdateAccessBindingsResponse.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(); @@ -312,14 +349,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_BatchUpdateAccessBindingsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_BatchUpdateAccessBindingsResponse_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.BatchUpdateAccessBindingsResponse getDefaultInstanceForType() { - return com.google.analytics.admin.v1alpha.BatchUpdateAccessBindingsResponse.getDefaultInstance(); + public com.google.analytics.admin.v1alpha.BatchUpdateAccessBindingsResponse + getDefaultInstanceForType() { + return com.google.analytics.admin.v1alpha.BatchUpdateAccessBindingsResponse + .getDefaultInstance(); } @java.lang.Override @@ -333,14 +372,18 @@ public com.google.analytics.admin.v1alpha.BatchUpdateAccessBindingsResponse buil @java.lang.Override public com.google.analytics.admin.v1alpha.BatchUpdateAccessBindingsResponse buildPartial() { - com.google.analytics.admin.v1alpha.BatchUpdateAccessBindingsResponse result = new com.google.analytics.admin.v1alpha.BatchUpdateAccessBindingsResponse(this); + com.google.analytics.admin.v1alpha.BatchUpdateAccessBindingsResponse result = + new com.google.analytics.admin.v1alpha.BatchUpdateAccessBindingsResponse(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartialRepeatedFields(com.google.analytics.admin.v1alpha.BatchUpdateAccessBindingsResponse result) { + private void buildPartialRepeatedFields( + com.google.analytics.admin.v1alpha.BatchUpdateAccessBindingsResponse result) { if (accessBindingsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { accessBindings_ = java.util.Collections.unmodifiableList(accessBindings_); @@ -352,7 +395,8 @@ private void buildPartialRepeatedFields(com.google.analytics.admin.v1alpha.Batch } } - private void buildPartial0(com.google.analytics.admin.v1alpha.BatchUpdateAccessBindingsResponse result) { + private void buildPartial0( + com.google.analytics.admin.v1alpha.BatchUpdateAccessBindingsResponse result) { int from_bitField0_ = bitField0_; } @@ -360,46 +404,51 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.BatchUpdateAccessB public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.analytics.admin.v1alpha.BatchUpdateAccessBindingsResponse) { - return mergeFrom((com.google.analytics.admin.v1alpha.BatchUpdateAccessBindingsResponse)other); + return mergeFrom( + (com.google.analytics.admin.v1alpha.BatchUpdateAccessBindingsResponse) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.analytics.admin.v1alpha.BatchUpdateAccessBindingsResponse other) { - if (other == com.google.analytics.admin.v1alpha.BatchUpdateAccessBindingsResponse.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.analytics.admin.v1alpha.BatchUpdateAccessBindingsResponse other) { + if (other + == com.google.analytics.admin.v1alpha.BatchUpdateAccessBindingsResponse + .getDefaultInstance()) return this; if (accessBindingsBuilder_ == null) { if (!other.accessBindings_.isEmpty()) { if (accessBindings_.isEmpty()) { @@ -418,9 +467,10 @@ public Builder mergeFrom(com.google.analytics.admin.v1alpha.BatchUpdateAccessBin accessBindingsBuilder_ = null; accessBindings_ = other.accessBindings_; bitField0_ = (bitField0_ & ~0x00000001); - accessBindingsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getAccessBindingsFieldBuilder() : null; + accessBindingsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getAccessBindingsFieldBuilder() + : null; } else { accessBindingsBuilder_.addAllMessages(other.accessBindings_); } @@ -452,25 +502,27 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - com.google.analytics.admin.v1alpha.AccessBinding m = - input.readMessage( - com.google.analytics.admin.v1alpha.AccessBinding.parser(), - extensionRegistry); - if (accessBindingsBuilder_ == null) { - ensureAccessBindingsIsMutable(); - accessBindings_.add(m); - } else { - accessBindingsBuilder_.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.AccessBinding m = + input.readMessage( + com.google.analytics.admin.v1alpha.AccessBinding.parser(), + extensionRegistry); + if (accessBindingsBuilder_ == null) { + ensureAccessBindingsIsMutable(); + accessBindings_.add(m); + } else { + accessBindingsBuilder_.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) { @@ -480,28 +532,38 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.util.List accessBindings_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureAccessBindingsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - accessBindings_ = new java.util.ArrayList(accessBindings_); + accessBindings_ = + new java.util.ArrayList( + accessBindings_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.AccessBinding, com.google.analytics.admin.v1alpha.AccessBinding.Builder, com.google.analytics.admin.v1alpha.AccessBindingOrBuilder> accessBindingsBuilder_; + com.google.analytics.admin.v1alpha.AccessBinding, + com.google.analytics.admin.v1alpha.AccessBinding.Builder, + com.google.analytics.admin.v1alpha.AccessBindingOrBuilder> + accessBindingsBuilder_; /** + * + * *
      * The access bindings updated.
      * 
* * repeated .google.analytics.admin.v1alpha.AccessBinding access_bindings = 1; */ - public java.util.List getAccessBindingsList() { + public java.util.List + getAccessBindingsList() { if (accessBindingsBuilder_ == null) { return java.util.Collections.unmodifiableList(accessBindings_); } else { @@ -509,6 +571,8 @@ public java.util.List getAcces } } /** + * + * *
      * The access bindings updated.
      * 
@@ -523,6 +587,8 @@ public int getAccessBindingsCount() { } } /** + * + * *
      * The access bindings updated.
      * 
@@ -537,6 +603,8 @@ public com.google.analytics.admin.v1alpha.AccessBinding getAccessBindings(int in } } /** + * + * *
      * The access bindings updated.
      * 
@@ -558,6 +626,8 @@ public Builder setAccessBindings( return this; } /** + * + * *
      * The access bindings updated.
      * 
@@ -576,6 +646,8 @@ public Builder setAccessBindings( return this; } /** + * + * *
      * The access bindings updated.
      * 
@@ -596,6 +668,8 @@ public Builder addAccessBindings(com.google.analytics.admin.v1alpha.AccessBindin return this; } /** + * + * *
      * The access bindings updated.
      * 
@@ -617,6 +691,8 @@ public Builder addAccessBindings( return this; } /** + * + * *
      * The access bindings updated.
      * 
@@ -635,6 +711,8 @@ public Builder addAccessBindings( return this; } /** + * + * *
      * The access bindings updated.
      * 
@@ -653,6 +731,8 @@ public Builder addAccessBindings( return this; } /** + * + * *
      * The access bindings updated.
      * 
@@ -663,8 +743,7 @@ public Builder addAllAccessBindings( java.lang.Iterable values) { if (accessBindingsBuilder_ == null) { ensureAccessBindingsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, accessBindings_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, accessBindings_); onChanged(); } else { accessBindingsBuilder_.addAllMessages(values); @@ -672,6 +751,8 @@ public Builder addAllAccessBindings( return this; } /** + * + * *
      * The access bindings updated.
      * 
@@ -689,6 +770,8 @@ public Builder clearAccessBindings() { return this; } /** + * + * *
      * The access bindings updated.
      * 
@@ -706,6 +789,8 @@ public Builder removeAccessBindings(int index) { return this; } /** + * + * *
      * The access bindings updated.
      * 
@@ -717,6 +802,8 @@ public com.google.analytics.admin.v1alpha.AccessBinding.Builder getAccessBinding return getAccessBindingsFieldBuilder().getBuilder(index); } /** + * + * *
      * The access bindings updated.
      * 
@@ -726,19 +813,22 @@ public com.google.analytics.admin.v1alpha.AccessBinding.Builder getAccessBinding public com.google.analytics.admin.v1alpha.AccessBindingOrBuilder getAccessBindingsOrBuilder( int index) { if (accessBindingsBuilder_ == null) { - return accessBindings_.get(index); } else { + return accessBindings_.get(index); + } else { return accessBindingsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * The access bindings updated.
      * 
* * repeated .google.analytics.admin.v1alpha.AccessBinding access_bindings = 1; */ - public java.util.List - getAccessBindingsOrBuilderList() { + public java.util.List + getAccessBindingsOrBuilderList() { if (accessBindingsBuilder_ != null) { return accessBindingsBuilder_.getMessageOrBuilderList(); } else { @@ -746,6 +836,8 @@ public com.google.analytics.admin.v1alpha.AccessBindingOrBuilder getAccessBindin } } /** + * + * *
      * The access bindings updated.
      * 
@@ -753,10 +845,12 @@ public com.google.analytics.admin.v1alpha.AccessBindingOrBuilder getAccessBindin * repeated .google.analytics.admin.v1alpha.AccessBinding access_bindings = 1; */ public com.google.analytics.admin.v1alpha.AccessBinding.Builder addAccessBindingsBuilder() { - return getAccessBindingsFieldBuilder().addBuilder( - com.google.analytics.admin.v1alpha.AccessBinding.getDefaultInstance()); + return getAccessBindingsFieldBuilder() + .addBuilder(com.google.analytics.admin.v1alpha.AccessBinding.getDefaultInstance()); } /** + * + * *
      * The access bindings updated.
      * 
@@ -765,26 +859,34 @@ public com.google.analytics.admin.v1alpha.AccessBinding.Builder addAccessBinding */ public com.google.analytics.admin.v1alpha.AccessBinding.Builder addAccessBindingsBuilder( int index) { - return getAccessBindingsFieldBuilder().addBuilder( - index, com.google.analytics.admin.v1alpha.AccessBinding.getDefaultInstance()); + return getAccessBindingsFieldBuilder() + .addBuilder(index, com.google.analytics.admin.v1alpha.AccessBinding.getDefaultInstance()); } /** + * + * *
      * The access bindings updated.
      * 
* * repeated .google.analytics.admin.v1alpha.AccessBinding access_bindings = 1; */ - public java.util.List - getAccessBindingsBuilderList() { + public java.util.List + getAccessBindingsBuilderList() { return getAccessBindingsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.AccessBinding, com.google.analytics.admin.v1alpha.AccessBinding.Builder, com.google.analytics.admin.v1alpha.AccessBindingOrBuilder> + com.google.analytics.admin.v1alpha.AccessBinding, + com.google.analytics.admin.v1alpha.AccessBinding.Builder, + com.google.analytics.admin.v1alpha.AccessBindingOrBuilder> getAccessBindingsFieldBuilder() { if (accessBindingsBuilder_ == null) { - accessBindingsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.AccessBinding, com.google.analytics.admin.v1alpha.AccessBinding.Builder, com.google.analytics.admin.v1alpha.AccessBindingOrBuilder>( + accessBindingsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.analytics.admin.v1alpha.AccessBinding, + com.google.analytics.admin.v1alpha.AccessBinding.Builder, + com.google.analytics.admin.v1alpha.AccessBindingOrBuilder>( accessBindings_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -793,9 +895,9 @@ public com.google.analytics.admin.v1alpha.AccessBinding.Builder addAccessBinding } return accessBindingsBuilder_; } + @java.lang.Override - 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,41 +907,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.BatchUpdateAccessBindingsResponse) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.BatchUpdateAccessBindingsResponse) - private static final com.google.analytics.admin.v1alpha.BatchUpdateAccessBindingsResponse DEFAULT_INSTANCE; + private static final com.google.analytics.admin.v1alpha.BatchUpdateAccessBindingsResponse + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.BatchUpdateAccessBindingsResponse(); } - public static com.google.analytics.admin.v1alpha.BatchUpdateAccessBindingsResponse getDefaultInstance() { + public static com.google.analytics.admin.v1alpha.BatchUpdateAccessBindingsResponse + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public BatchUpdateAccessBindingsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public BatchUpdateAccessBindingsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -851,9 +955,8 @@ public com.google.protobuf.Parser getParserFo } @java.lang.Override - public com.google.analytics.admin.v1alpha.BatchUpdateAccessBindingsResponse getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.BatchUpdateAccessBindingsResponse + 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/BatchUpdateAccessBindingsResponseOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchUpdateAccessBindingsResponseOrBuilder.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/BatchUpdateAccessBindingsResponseOrBuilder.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchUpdateAccessBindingsResponseOrBuilder.java index 4ccd80eb3ddd..0de63923b99c 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchUpdateAccessBindingsResponseOrBuilder.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/BatchUpdateAccessBindingsResponseOrBuilder.java @@ -1,22 +1,41 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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 BatchUpdateAccessBindingsResponseOrBuilder extends +public interface BatchUpdateAccessBindingsResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.BatchUpdateAccessBindingsResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The access bindings updated.
    * 
* * repeated .google.analytics.admin.v1alpha.AccessBinding access_bindings = 1; */ - java.util.List - getAccessBindingsList(); + java.util.List getAccessBindingsList(); /** + * + * *
    * The access bindings updated.
    * 
@@ -25,6 +44,8 @@ public interface BatchUpdateAccessBindingsResponseOrBuilder extends */ com.google.analytics.admin.v1alpha.AccessBinding getAccessBindings(int index); /** + * + * *
    * The access bindings updated.
    * 
@@ -33,21 +54,24 @@ public interface BatchUpdateAccessBindingsResponseOrBuilder extends */ int getAccessBindingsCount(); /** + * + * *
    * The access bindings updated.
    * 
* * repeated .google.analytics.admin.v1alpha.AccessBinding access_bindings = 1; */ - java.util.List + java.util.List getAccessBindingsOrBuilderList(); /** + * + * *
    * The access bindings updated.
    * 
* * repeated .google.analytics.admin.v1alpha.AccessBinding access_bindings = 1; */ - com.google.analytics.admin.v1alpha.AccessBindingOrBuilder getAccessBindingsOrBuilder( - int index); + com.google.analytics.admin.v1alpha.AccessBindingOrBuilder getAccessBindingsOrBuilder(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 299d9cf7ab13..eeab08c0045d 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,57 +1,77 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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_ = ""; - exportStreams_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - excludedEvents_ = - com.google.protobuf.LazyStringArrayList.emptyList(); + exportStreams_ = com.google.protobuf.LazyStringArrayList.emptyList(); + excludedEvents_ = com.google.protobuf.LazyStringArrayList.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new BigQueryLink(); } - 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}'
@@ -59,6 +79,7 @@ protected java.lang.Object newInstance(
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ @java.lang.Override @@ -67,14 +88,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}'
@@ -82,16 +104,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 { @@ -100,9 +121,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
@@ -113,6 +137,7 @@ public java.lang.String getName() {
    * 
* * string project = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return The project. */ @java.lang.Override @@ -121,14 +146,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
@@ -139,16 +165,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 { @@ -159,11 +184,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 @@ -171,11 +200,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 @@ -183,11 +216,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() { @@ -197,11 +233,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 @@ -212,11 +251,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 @@ -227,11 +269,14 @@ public boolean getStreamingExportEnabled() { public static final int FRESH_DAILY_EXPORT_ENABLED_FIELD_NUMBER = 9; private boolean freshDailyExportEnabled_ = false; /** + * + * *
    * If set true, enables fresh daily export to the linked Google Cloud project.
    * 
* * bool fresh_daily_export_enabled = 9; + * * @return The freshDailyExportEnabled. */ @java.lang.Override @@ -242,12 +287,15 @@ public boolean getFreshDailyExportEnabled() { 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 @@ -256,10 +304,13 @@ public boolean getIncludeAdvertisingId() { } public static final int EXPORT_STREAMS_FIELD_NUMBER = 7; + @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList exportStreams_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** + * + * *
    * The list of streams under the parent property for which data will be
    * exported.
@@ -268,13 +319,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.
@@ -283,12 +336,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.
@@ -297,6 +353,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. */ @@ -304,6 +361,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.
@@ -312,47 +371,56 @@ 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.LazyStringArrayList excludedEvents_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** + * + * *
    * 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. */ @@ -360,20 +428,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; @@ -385,8 +456,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -430,20 +500,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; @@ -462,8 +528,7 @@ public int getSerializedSize() { size += 1 * getExcludedEventsList().size(); } if (freshDailyExportEnabled_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(9, freshDailyExportEnabled_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(9, freshDailyExportEnabled_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -473,34 +538,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.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 (getFreshDailyExportEnabled() - != other.getFreshDailyExportEnabled()) 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 (getFreshDailyExportEnabled() != other.getFreshDailyExportEnabled()) 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; } @@ -521,17 +578,13 @@ 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) + FRESH_DAILY_EXPORT_ENABLED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getFreshDailyExportEnabled()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getFreshDailyExportEnabled()); 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(); @@ -545,132 +598,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(); @@ -686,17 +743,15 @@ public Builder clear() { streamingExportEnabled_ = false; freshDailyExportEnabled_ = false; includeAdvertisingId_ = false; - exportStreams_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - excludedEvents_ = - com.google.protobuf.LazyStringArrayList.emptyList(); + exportStreams_ = com.google.protobuf.LazyStringArrayList.emptyList(); + excludedEvents_ = com.google.protobuf.LazyStringArrayList.emptyList(); 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; + 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 @@ -715,8 +770,11 @@ 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); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.analytics.admin.v1alpha.BigQueryLink result = + new com.google.analytics.admin.v1alpha.BigQueryLink(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -730,9 +788,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_; @@ -760,38 +816,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; @@ -799,7 +856,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; @@ -871,61 +929,69 @@ 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_ |= 0x00000040; - 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 - case 72: { - freshDailyExportEnabled_ = input.readBool(); - bitField0_ |= 0x00000020; - break; - } // case 72 - 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_ |= 0x00000040; + 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 + case 72: + { + freshDailyExportEnabled_ = input.readBool(); + bitField0_ |= 0x00000020; + break; + } // case 72 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -935,10 +1001,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}'
@@ -946,13 +1015,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; @@ -961,6 +1030,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. Resource name of this BigQuery link.
      * Format: 'properties/{property_id}/bigQueryLinks/{bigquery_link_id}'
@@ -968,15 +1039,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 { @@ -984,6 +1054,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. Resource name of this BigQuery link.
      * Format: 'properties/{property_id}/bigQueryLinks/{bigquery_link_id}'
@@ -991,18 +1063,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}'
@@ -1010,6 +1086,7 @@ public Builder setName(
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearName() { @@ -1019,6 +1096,8 @@ public Builder clearName() { return this; } /** + * + * *
      * Output only. Resource name of this BigQuery link.
      * Format: 'properties/{property_id}/bigQueryLinks/{bigquery_link_id}'
@@ -1026,12 +1105,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; @@ -1041,6 +1122,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
@@ -1051,13 +1134,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; @@ -1066,6 +1149,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
@@ -1076,15 +1161,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 { @@ -1092,6 +1176,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
@@ -1102,18 +1188,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
@@ -1124,6 +1214,7 @@ public Builder setProject(
      * 
* * string project = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return This builder for chaining. */ public Builder clearProject() { @@ -1133,6 +1224,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
@@ -1143,12 +1236,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; @@ -1158,39 +1253,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) { @@ -1206,14 +1320,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 { @@ -1224,17 +1341,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; @@ -1247,11 +1368,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); @@ -1264,11 +1389,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; @@ -1276,48 +1405,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 @@ -1325,11 +1469,14 @@ 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. */ @@ -1341,11 +1488,14 @@ public Builder setDailyExportEnabled(boolean value) { 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() { @@ -1355,13 +1505,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 @@ -1369,11 +1522,14 @@ 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. */ @@ -1385,11 +1541,14 @@ public Builder setStreamingExportEnabled(boolean value) { 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() { @@ -1399,13 +1558,16 @@ public Builder clearStreamingExportEnabled() { return this; } - private boolean freshDailyExportEnabled_ ; + private boolean freshDailyExportEnabled_; /** + * + * *
      * If set true, enables fresh daily export to the linked Google Cloud project.
      * 
* * bool fresh_daily_export_enabled = 9; + * * @return The freshDailyExportEnabled. */ @java.lang.Override @@ -1413,11 +1575,14 @@ public boolean getFreshDailyExportEnabled() { return freshDailyExportEnabled_; } /** + * + * *
      * If set true, enables fresh daily export to the linked Google Cloud project.
      * 
* * bool fresh_daily_export_enabled = 9; + * * @param value The freshDailyExportEnabled to set. * @return This builder for chaining. */ @@ -1429,11 +1594,14 @@ public Builder setFreshDailyExportEnabled(boolean value) { return this; } /** + * + * *
      * If set true, enables fresh daily export to the linked Google Cloud project.
      * 
* * bool fresh_daily_export_enabled = 9; + * * @return This builder for chaining. */ public Builder clearFreshDailyExportEnabled() { @@ -1443,14 +1611,17 @@ public Builder clearFreshDailyExportEnabled() { 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 @@ -1458,12 +1629,15 @@ 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. */ @@ -1475,12 +1649,15 @@ public Builder setIncludeAdvertisingId(boolean value) { 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() { @@ -1492,6 +1669,7 @@ public Builder clearIncludeAdvertisingId() { private com.google.protobuf.LazyStringArrayList exportStreams_ = com.google.protobuf.LazyStringArrayList.emptyList(); + private void ensureExportStreamsIsMutable() { if (!exportStreams_.isModifiable()) { exportStreams_ = new com.google.protobuf.LazyStringArrayList(exportStreams_); @@ -1499,6 +1677,8 @@ private void ensureExportStreamsIsMutable() { bitField0_ |= 0x00000080; } /** + * + * *
      * The list of streams under the parent property for which data will be
      * exported.
@@ -1507,14 +1687,16 @@ 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() { exportStreams_.makeImmutable(); return exportStreams_; } /** + * + * *
      * The list of streams under the parent property for which data will be
      * exported.
@@ -1523,12 +1705,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.
@@ -1537,6 +1722,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. */ @@ -1544,6 +1730,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.
@@ -1552,14 +1740,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.
@@ -1568,13 +1758,15 @@ 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); bitField0_ |= 0x00000080; @@ -1582,6 +1774,8 @@ public Builder setExportStreams( return this; } /** + * + * *
      * The list of streams under the parent property for which data will be
      * exported.
@@ -1590,12 +1784,14 @@ 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); bitField0_ |= 0x00000080; @@ -1603,6 +1799,8 @@ public Builder addExportStreams( return this; } /** + * + * *
      * The list of streams under the parent property for which data will be
      * exported.
@@ -1611,19 +1809,20 @@ 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_); bitField0_ |= 0x00000080; onChanged(); return this; } /** + * + * *
      * The list of streams under the parent property for which data will be
      * exported.
@@ -1632,16 +1831,19 @@ public Builder addAllExportStreams(
      * 
* * repeated string export_streams = 7; + * * @return This builder for chaining. */ public Builder clearExportStreams() { - exportStreams_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000080);; + exportStreams_ = com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000080); + ; onChanged(); return this; } /** + * + * *
      * The list of streams under the parent property for which data will be
      * exported.
@@ -1650,12 +1852,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); @@ -1666,6 +1870,7 @@ public Builder addExportStreamsBytes( private com.google.protobuf.LazyStringArrayList excludedEvents_ = com.google.protobuf.LazyStringArrayList.emptyList(); + private void ensureExcludedEventsIsMutable() { if (!excludedEvents_.isModifiable()) { excludedEvents_ = new com.google.protobuf.LazyStringArrayList(excludedEvents_); @@ -1673,35 +1878,43 @@ private void ensureExcludedEventsIsMutable() { bitField0_ |= 0x00000100; } /** + * + * *
      * 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() { excludedEvents_.makeImmutable(); 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. */ @@ -1709,31 +1922,37 @@ 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); bitField0_ |= 0x00000100; @@ -1741,17 +1960,21 @@ public Builder setExcludedEvents( 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); bitField0_ |= 0x00000100; @@ -1759,50 +1982,58 @@ public Builder addExcludedEvents( 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_); bitField0_ |= 0x00000100; 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.emptyList(); - bitField0_ = (bitField0_ & ~0x00000100);; + excludedEvents_ = com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000100); + ; 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(); } + public Builder addExcludedEventsBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); ensureExcludedEventsIsMutable(); excludedEvents_.add(value); @@ -1810,9 +2041,9 @@ public Builder addExcludedEventsBytes( onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1822,12 +2053,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(); } @@ -1836,27 +2067,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; @@ -1871,6 +2102,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 ef02a678a32c..93ef19f30e9e 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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,80 +82,105 @@ 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, enables fresh daily export to the linked Google Cloud project.
    * 
* * bool fresh_daily_export_enabled = 9; + * * @return The freshDailyExportEnabled. */ boolean getFreshDailyExportEnabled(); /** + * + * *
    * 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.
@@ -138,11 +189,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.
@@ -151,10 +204,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.
@@ -163,11 +219,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.
@@ -176,50 +235,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..efd9727d85da --- /dev/null +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CancelDisplayVideo360AdvertiserLinkProposalRequest.java @@ -0,0 +1,704 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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(); + } + + 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..603e31c19e9b --- /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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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 69% 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 56a3b864d7c8..043a73f36c4d 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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,47 +44,57 @@ private ChangeHistoryChange() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ChangeHistoryChange(); } - 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.
      * 
@@ -76,24 +104,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.
      * 
@@ -103,24 +139,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.
      * 
@@ -130,24 +174,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.
      * 
@@ -157,111 +209,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.
      * 
@@ -271,51 +375,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.
      * 
@@ -325,24 +452,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.
      * 
@@ -352,51 +487,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.
      * 
@@ -406,24 +561,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.
      * 
@@ -433,51 +596,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.
      * 
@@ -487,24 +667,32 @@ public interface ChangeHistoryResourceOrBuilder extends com.google.analytics.admin.v1alpha.ExpandedDataSetOrBuilder getExpandedDataSetOrBuilder(); /** + * + * *
      * A snapshot of a ChannelGroup resource in change history.
      * 
* * .google.analytics.admin.v1alpha.ChannelGroup channel_group = 22; + * * @return Whether the channelGroup field is set. */ boolean hasChannelGroup(); /** + * + * *
      * A snapshot of a ChannelGroup resource in change history.
      * 
* * .google.analytics.admin.v1alpha.ChannelGroup channel_group = 22; + * * @return The channelGroup. */ com.google.analytics.admin.v1alpha.ChannelGroup getChannelGroup(); /** + * + * *
      * A snapshot of a ChannelGroup resource in change history.
      * 
@@ -514,24 +702,32 @@ public interface ChangeHistoryResourceOrBuilder extends com.google.analytics.admin.v1alpha.ChannelGroupOrBuilder getChannelGroupOrBuilder(); /** + * + * *
      * 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.
      * 
@@ -541,108 +737,159 @@ public interface ChangeHistoryResourceOrBuilder extends com.google.analytics.admin.v1alpha.BigQueryLinkOrBuilder getBigqueryLinkOrBuilder(); /** + * + * *
      * A snapshot of EnhancedMeasurementSettings resource in change history.
      * 
* - * .google.analytics.admin.v1alpha.EnhancedMeasurementSettings enhanced_measurement_settings = 24; + * + * .google.analytics.admin.v1alpha.EnhancedMeasurementSettings enhanced_measurement_settings = 24; + * + * * @return Whether the enhancedMeasurementSettings field is set. */ boolean hasEnhancedMeasurementSettings(); /** + * + * *
      * A snapshot of EnhancedMeasurementSettings resource in change history.
      * 
* - * .google.analytics.admin.v1alpha.EnhancedMeasurementSettings enhanced_measurement_settings = 24; + * + * .google.analytics.admin.v1alpha.EnhancedMeasurementSettings enhanced_measurement_settings = 24; + * + * * @return The enhancedMeasurementSettings. */ com.google.analytics.admin.v1alpha.EnhancedMeasurementSettings getEnhancedMeasurementSettings(); /** + * + * *
      * A snapshot of EnhancedMeasurementSettings resource in change history.
      * 
* - * .google.analytics.admin.v1alpha.EnhancedMeasurementSettings enhanced_measurement_settings = 24; + * + * .google.analytics.admin.v1alpha.EnhancedMeasurementSettings enhanced_measurement_settings = 24; + * */ - com.google.analytics.admin.v1alpha.EnhancedMeasurementSettingsOrBuilder getEnhancedMeasurementSettingsOrBuilder(); + com.google.analytics.admin.v1alpha.EnhancedMeasurementSettingsOrBuilder + getEnhancedMeasurementSettingsOrBuilder(); /** + * + * *
      * A snapshot of DataRedactionSettings resource in change history.
      * 
* - * .google.analytics.admin.v1alpha.DataRedactionSettings data_redaction_settings = 25; + * .google.analytics.admin.v1alpha.DataRedactionSettings data_redaction_settings = 25; + * + * * @return Whether the dataRedactionSettings field is set. */ boolean hasDataRedactionSettings(); /** + * + * *
      * A snapshot of DataRedactionSettings resource in change history.
      * 
* - * .google.analytics.admin.v1alpha.DataRedactionSettings data_redaction_settings = 25; + * .google.analytics.admin.v1alpha.DataRedactionSettings data_redaction_settings = 25; + * + * * @return The dataRedactionSettings. */ com.google.analytics.admin.v1alpha.DataRedactionSettings getDataRedactionSettings(); /** + * + * *
      * A snapshot of DataRedactionSettings resource in change history.
      * 
* - * .google.analytics.admin.v1alpha.DataRedactionSettings data_redaction_settings = 25; + * .google.analytics.admin.v1alpha.DataRedactionSettings data_redaction_settings = 25; + * */ - com.google.analytics.admin.v1alpha.DataRedactionSettingsOrBuilder getDataRedactionSettingsOrBuilder(); + com.google.analytics.admin.v1alpha.DataRedactionSettingsOrBuilder + getDataRedactionSettingsOrBuilder(); /** + * + * *
      * A snapshot of SKAdNetworkConversionValueSchema resource in change
      * history.
      * 
* - * .google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema skadnetwork_conversion_value_schema = 26; + * + * .google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema skadnetwork_conversion_value_schema = 26; + * + * * @return Whether the skadnetworkConversionValueSchema field is set. */ boolean hasSkadnetworkConversionValueSchema(); /** + * + * *
      * A snapshot of SKAdNetworkConversionValueSchema resource in change
      * history.
      * 
* - * .google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema skadnetwork_conversion_value_schema = 26; + * + * .google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema skadnetwork_conversion_value_schema = 26; + * + * * @return The skadnetworkConversionValueSchema. */ - com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema getSkadnetworkConversionValueSchema(); + com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema + getSkadnetworkConversionValueSchema(); /** + * + * *
      * A snapshot of SKAdNetworkConversionValueSchema resource in change
      * history.
      * 
* - * .google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema skadnetwork_conversion_value_schema = 26; + * + * .google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema skadnetwork_conversion_value_schema = 26; + * */ - com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchemaOrBuilder getSkadnetworkConversionValueSchemaOrBuilder(); + com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchemaOrBuilder + getSkadnetworkConversionValueSchemaOrBuilder(); /** + * + * *
      * A snapshot of an AdSenseLink resource in change history.
      * 
* * .google.analytics.admin.v1alpha.AdSenseLink adsense_link = 27; + * * @return Whether the adsenseLink field is set. */ boolean hasAdsenseLink(); /** + * + * *
      * A snapshot of an AdSenseLink resource in change history.
      * 
* * .google.analytics.admin.v1alpha.AdSenseLink adsense_link = 27; + * * @return The adsenseLink. */ com.google.analytics.admin.v1alpha.AdSenseLink getAdsenseLink(); /** + * + * *
      * A snapshot of an AdSenseLink resource in change history.
      * 
@@ -652,24 +899,32 @@ public interface ChangeHistoryResourceOrBuilder extends com.google.analytics.admin.v1alpha.AdSenseLinkOrBuilder getAdsenseLinkOrBuilder(); /** + * + * *
      * A snapshot of an Audience resource in change history.
      * 
* * .google.analytics.admin.v1alpha.Audience audience = 28; + * * @return Whether the audience field is set. */ boolean hasAudience(); /** + * + * *
      * A snapshot of an Audience resource in change history.
      * 
* * .google.analytics.admin.v1alpha.Audience audience = 28; + * * @return The audience. */ com.google.analytics.admin.v1alpha.Audience getAudience(); /** + * + * *
      * A snapshot of an Audience resource in change history.
      * 
@@ -679,24 +934,32 @@ public interface ChangeHistoryResourceOrBuilder extends com.google.analytics.admin.v1alpha.AudienceOrBuilder getAudienceOrBuilder(); /** + * + * *
      * A snapshot of an EventCreateRule resource in change history.
      * 
* * .google.analytics.admin.v1alpha.EventCreateRule event_create_rule = 29; + * * @return Whether the eventCreateRule field is set. */ boolean hasEventCreateRule(); /** + * + * *
      * A snapshot of an EventCreateRule resource in change history.
      * 
* * .google.analytics.admin.v1alpha.EventCreateRule event_create_rule = 29; + * * @return The eventCreateRule. */ com.google.analytics.admin.v1alpha.EventCreateRule getEventCreateRule(); /** + * + * *
      * A snapshot of an EventCreateRule resource in change history.
      * 
@@ -705,9 +968,12 @@ public interface ChangeHistoryResourceOrBuilder extends */ com.google.analytics.admin.v1alpha.EventCreateRuleOrBuilder getEventCreateRuleOrBuilder(); - com.google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource.ResourceCase getResourceCase(); + 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.
@@ -715,43 +981,48 @@ 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();
     }
 
-    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;
+
     @SuppressWarnings("serial")
     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),
@@ -779,6 +1050,7 @@ public enum ResourceCase
       EVENT_CREATE_RULE(29),
       RESOURCE_NOT_SET(0);
       private final int value;
+
       private ResourceCase(int value) {
         this.value = value;
       }
@@ -794,52 +1066,80 @@ 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 22: return CHANNEL_GROUP;
-          case 23: return BIGQUERY_LINK;
-          case 24: return ENHANCED_MEASUREMENT_SETTINGS;
-          case 25: return DATA_REDACTION_SETTINGS;
-          case 26: return SKADNETWORK_CONVERSION_VALUE_SCHEMA;
-          case 27: return ADSENSE_LINK;
-          case 28: return AUDIENCE;
-          case 29: return EVENT_CREATE_RULE;
-          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 22:
+            return CHANNEL_GROUP;
+          case 23:
+            return BIGQUERY_LINK;
+          case 24:
+            return ENHANCED_MEASUREMENT_SETTINGS;
+          case 25:
+            return DATA_REDACTION_SETTINGS;
+          case 26:
+            return SKADNETWORK_CONVERSION_VALUE_SCHEMA;
+          case 27:
+            return ADSENSE_LINK;
+          case 28:
+            return AUDIENCE;
+          case 29:
+            return EVENT_CREATE_RULE;
+          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 @@ -847,21 +1147,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.
      * 
@@ -871,18 +1176,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 @@ -890,21 +1198,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.
      * 
@@ -914,18 +1227,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 @@ -933,21 +1249,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.
      * 
@@ -957,18 +1278,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 @@ -976,21 +1300,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.
      * 
@@ -1000,18 +1329,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 @@ -1019,43 +1352,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 @@ -1063,45 +1409,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 @@ -1109,44 +1471,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 @@ -1154,21 +1532,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.
      * 
@@ -1176,20 +1559,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 @@ -1197,42 +1586,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 @@ -1240,21 +1643,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.
      * 
@@ -1262,20 +1670,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 @@ -1283,21 +1695,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.
      * 
@@ -1307,18 +1724,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 @@ -1326,42 +1747,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 @@ -1369,21 +1801,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.
      * 
@@ -1391,20 +1828,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 @@ -1412,21 +1853,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.
      * 
@@ -1436,18 +1882,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 @@ -1455,21 +1904,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.
      * 
@@ -1477,20 +1931,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 @@ -1498,21 +1956,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.
      * 
@@ -1520,20 +1983,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 CHANNEL_GROUP_FIELD_NUMBER = 22; /** + * + * *
      * A snapshot of a ChannelGroup resource in change history.
      * 
* * .google.analytics.admin.v1alpha.ChannelGroup channel_group = 22; + * * @return Whether the channelGroup field is set. */ @java.lang.Override @@ -1541,21 +2008,26 @@ public boolean hasChannelGroup() { return resourceCase_ == 22; } /** + * + * *
      * A snapshot of a ChannelGroup resource in change history.
      * 
* * .google.analytics.admin.v1alpha.ChannelGroup channel_group = 22; + * * @return The channelGroup. */ @java.lang.Override public com.google.analytics.admin.v1alpha.ChannelGroup getChannelGroup() { if (resourceCase_ == 22) { - return (com.google.analytics.admin.v1alpha.ChannelGroup) resource_; + return (com.google.analytics.admin.v1alpha.ChannelGroup) resource_; } return com.google.analytics.admin.v1alpha.ChannelGroup.getDefaultInstance(); } /** + * + * *
      * A snapshot of a ChannelGroup resource in change history.
      * 
@@ -1565,18 +2037,21 @@ public com.google.analytics.admin.v1alpha.ChannelGroup getChannelGroup() { @java.lang.Override public com.google.analytics.admin.v1alpha.ChannelGroupOrBuilder getChannelGroupOrBuilder() { if (resourceCase_ == 22) { - return (com.google.analytics.admin.v1alpha.ChannelGroup) resource_; + return (com.google.analytics.admin.v1alpha.ChannelGroup) resource_; } return com.google.analytics.admin.v1alpha.ChannelGroup.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 @@ -1584,21 +2059,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.
      * 
@@ -1608,18 +2088,23 @@ 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(); } public static final int ENHANCED_MEASUREMENT_SETTINGS_FIELD_NUMBER = 24; /** + * + * *
      * A snapshot of EnhancedMeasurementSettings resource in change history.
      * 
* - * .google.analytics.admin.v1alpha.EnhancedMeasurementSettings enhanced_measurement_settings = 24; + * + * .google.analytics.admin.v1alpha.EnhancedMeasurementSettings enhanced_measurement_settings = 24; + * + * * @return Whether the enhancedMeasurementSettings field is set. */ @java.lang.Override @@ -1627,42 +2112,57 @@ public boolean hasEnhancedMeasurementSettings() { return resourceCase_ == 24; } /** + * + * *
      * A snapshot of EnhancedMeasurementSettings resource in change history.
      * 
* - * .google.analytics.admin.v1alpha.EnhancedMeasurementSettings enhanced_measurement_settings = 24; + * + * .google.analytics.admin.v1alpha.EnhancedMeasurementSettings enhanced_measurement_settings = 24; + * + * * @return The enhancedMeasurementSettings. */ @java.lang.Override - public com.google.analytics.admin.v1alpha.EnhancedMeasurementSettings getEnhancedMeasurementSettings() { + public com.google.analytics.admin.v1alpha.EnhancedMeasurementSettings + getEnhancedMeasurementSettings() { if (resourceCase_ == 24) { - return (com.google.analytics.admin.v1alpha.EnhancedMeasurementSettings) resource_; + return (com.google.analytics.admin.v1alpha.EnhancedMeasurementSettings) resource_; } return com.google.analytics.admin.v1alpha.EnhancedMeasurementSettings.getDefaultInstance(); } /** + * + * *
      * A snapshot of EnhancedMeasurementSettings resource in change history.
      * 
* - * .google.analytics.admin.v1alpha.EnhancedMeasurementSettings enhanced_measurement_settings = 24; + * + * .google.analytics.admin.v1alpha.EnhancedMeasurementSettings enhanced_measurement_settings = 24; + * */ @java.lang.Override - public com.google.analytics.admin.v1alpha.EnhancedMeasurementSettingsOrBuilder getEnhancedMeasurementSettingsOrBuilder() { + public com.google.analytics.admin.v1alpha.EnhancedMeasurementSettingsOrBuilder + getEnhancedMeasurementSettingsOrBuilder() { if (resourceCase_ == 24) { - return (com.google.analytics.admin.v1alpha.EnhancedMeasurementSettings) resource_; + return (com.google.analytics.admin.v1alpha.EnhancedMeasurementSettings) resource_; } return com.google.analytics.admin.v1alpha.EnhancedMeasurementSettings.getDefaultInstance(); } public static final int DATA_REDACTION_SETTINGS_FIELD_NUMBER = 25; /** + * + * *
      * A snapshot of DataRedactionSettings resource in change history.
      * 
* - * .google.analytics.admin.v1alpha.DataRedactionSettings data_redaction_settings = 25; + * .google.analytics.admin.v1alpha.DataRedactionSettings data_redaction_settings = 25; + * + * * @return Whether the dataRedactionSettings field is set. */ @java.lang.Override @@ -1670,43 +2170,56 @@ public boolean hasDataRedactionSettings() { return resourceCase_ == 25; } /** + * + * *
      * A snapshot of DataRedactionSettings resource in change history.
      * 
* - * .google.analytics.admin.v1alpha.DataRedactionSettings data_redaction_settings = 25; + * .google.analytics.admin.v1alpha.DataRedactionSettings data_redaction_settings = 25; + * + * * @return The dataRedactionSettings. */ @java.lang.Override public com.google.analytics.admin.v1alpha.DataRedactionSettings getDataRedactionSettings() { if (resourceCase_ == 25) { - return (com.google.analytics.admin.v1alpha.DataRedactionSettings) resource_; + return (com.google.analytics.admin.v1alpha.DataRedactionSettings) resource_; } return com.google.analytics.admin.v1alpha.DataRedactionSettings.getDefaultInstance(); } /** + * + * *
      * A snapshot of DataRedactionSettings resource in change history.
      * 
* - * .google.analytics.admin.v1alpha.DataRedactionSettings data_redaction_settings = 25; + * .google.analytics.admin.v1alpha.DataRedactionSettings data_redaction_settings = 25; + * */ @java.lang.Override - public com.google.analytics.admin.v1alpha.DataRedactionSettingsOrBuilder getDataRedactionSettingsOrBuilder() { + public com.google.analytics.admin.v1alpha.DataRedactionSettingsOrBuilder + getDataRedactionSettingsOrBuilder() { if (resourceCase_ == 25) { - return (com.google.analytics.admin.v1alpha.DataRedactionSettings) resource_; + return (com.google.analytics.admin.v1alpha.DataRedactionSettings) resource_; } return com.google.analytics.admin.v1alpha.DataRedactionSettings.getDefaultInstance(); } public static final int SKADNETWORK_CONVERSION_VALUE_SCHEMA_FIELD_NUMBER = 26; /** + * + * *
      * A snapshot of SKAdNetworkConversionValueSchema resource in change
      * history.
      * 
* - * .google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema skadnetwork_conversion_value_schema = 26; + * + * .google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema skadnetwork_conversion_value_schema = 26; + * + * * @return Whether the skadnetworkConversionValueSchema field is set. */ @java.lang.Override @@ -1714,44 +2227,60 @@ public boolean hasSkadnetworkConversionValueSchema() { return resourceCase_ == 26; } /** + * + * *
      * A snapshot of SKAdNetworkConversionValueSchema resource in change
      * history.
      * 
* - * .google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema skadnetwork_conversion_value_schema = 26; + * + * .google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema skadnetwork_conversion_value_schema = 26; + * + * * @return The skadnetworkConversionValueSchema. */ @java.lang.Override - public com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema getSkadnetworkConversionValueSchema() { + public com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema + getSkadnetworkConversionValueSchema() { if (resourceCase_ == 26) { - return (com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema) resource_; + return (com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema) resource_; } - return com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema.getDefaultInstance(); + return com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema + .getDefaultInstance(); } /** + * + * *
      * A snapshot of SKAdNetworkConversionValueSchema resource in change
      * history.
      * 
* - * .google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema skadnetwork_conversion_value_schema = 26; + * + * .google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema skadnetwork_conversion_value_schema = 26; + * */ @java.lang.Override - public com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchemaOrBuilder getSkadnetworkConversionValueSchemaOrBuilder() { + public com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchemaOrBuilder + getSkadnetworkConversionValueSchemaOrBuilder() { if (resourceCase_ == 26) { - return (com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema) resource_; + return (com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema) resource_; } - return com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema.getDefaultInstance(); + return com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema + .getDefaultInstance(); } public static final int ADSENSE_LINK_FIELD_NUMBER = 27; /** + * + * *
      * A snapshot of an AdSenseLink resource in change history.
      * 
* * .google.analytics.admin.v1alpha.AdSenseLink adsense_link = 27; + * * @return Whether the adsenseLink field is set. */ @java.lang.Override @@ -1759,21 +2288,26 @@ public boolean hasAdsenseLink() { return resourceCase_ == 27; } /** + * + * *
      * A snapshot of an AdSenseLink resource in change history.
      * 
* * .google.analytics.admin.v1alpha.AdSenseLink adsense_link = 27; + * * @return The adsenseLink. */ @java.lang.Override public com.google.analytics.admin.v1alpha.AdSenseLink getAdsenseLink() { if (resourceCase_ == 27) { - return (com.google.analytics.admin.v1alpha.AdSenseLink) resource_; + return (com.google.analytics.admin.v1alpha.AdSenseLink) resource_; } return com.google.analytics.admin.v1alpha.AdSenseLink.getDefaultInstance(); } /** + * + * *
      * A snapshot of an AdSenseLink resource in change history.
      * 
@@ -1783,18 +2317,21 @@ public com.google.analytics.admin.v1alpha.AdSenseLink getAdsenseLink() { @java.lang.Override public com.google.analytics.admin.v1alpha.AdSenseLinkOrBuilder getAdsenseLinkOrBuilder() { if (resourceCase_ == 27) { - return (com.google.analytics.admin.v1alpha.AdSenseLink) resource_; + return (com.google.analytics.admin.v1alpha.AdSenseLink) resource_; } return com.google.analytics.admin.v1alpha.AdSenseLink.getDefaultInstance(); } public static final int AUDIENCE_FIELD_NUMBER = 28; /** + * + * *
      * A snapshot of an Audience resource in change history.
      * 
* * .google.analytics.admin.v1alpha.Audience audience = 28; + * * @return Whether the audience field is set. */ @java.lang.Override @@ -1802,21 +2339,26 @@ public boolean hasAudience() { return resourceCase_ == 28; } /** + * + * *
      * A snapshot of an Audience resource in change history.
      * 
* * .google.analytics.admin.v1alpha.Audience audience = 28; + * * @return The audience. */ @java.lang.Override public com.google.analytics.admin.v1alpha.Audience getAudience() { if (resourceCase_ == 28) { - return (com.google.analytics.admin.v1alpha.Audience) resource_; + return (com.google.analytics.admin.v1alpha.Audience) resource_; } return com.google.analytics.admin.v1alpha.Audience.getDefaultInstance(); } /** + * + * *
      * A snapshot of an Audience resource in change history.
      * 
@@ -1826,18 +2368,21 @@ public com.google.analytics.admin.v1alpha.Audience getAudience() { @java.lang.Override public com.google.analytics.admin.v1alpha.AudienceOrBuilder getAudienceOrBuilder() { if (resourceCase_ == 28) { - return (com.google.analytics.admin.v1alpha.Audience) resource_; + return (com.google.analytics.admin.v1alpha.Audience) resource_; } return com.google.analytics.admin.v1alpha.Audience.getDefaultInstance(); } public static final int EVENT_CREATE_RULE_FIELD_NUMBER = 29; /** + * + * *
      * A snapshot of an EventCreateRule resource in change history.
      * 
* * .google.analytics.admin.v1alpha.EventCreateRule event_create_rule = 29; + * * @return Whether the eventCreateRule field is set. */ @java.lang.Override @@ -1845,21 +2390,26 @@ public boolean hasEventCreateRule() { return resourceCase_ == 29; } /** + * + * *
      * A snapshot of an EventCreateRule resource in change history.
      * 
* * .google.analytics.admin.v1alpha.EventCreateRule event_create_rule = 29; + * * @return The eventCreateRule. */ @java.lang.Override public com.google.analytics.admin.v1alpha.EventCreateRule getEventCreateRule() { if (resourceCase_ == 29) { - return (com.google.analytics.admin.v1alpha.EventCreateRule) resource_; + return (com.google.analytics.admin.v1alpha.EventCreateRule) resource_; } return com.google.analytics.admin.v1alpha.EventCreateRule.getDefaultInstance(); } /** + * + * *
      * A snapshot of an EventCreateRule resource in change history.
      * 
@@ -1867,14 +2417,16 @@ public com.google.analytics.admin.v1alpha.EventCreateRule getEventCreateRule() { * .google.analytics.admin.v1alpha.EventCreateRule event_create_rule = 29; */ @java.lang.Override - public com.google.analytics.admin.v1alpha.EventCreateRuleOrBuilder getEventCreateRuleOrBuilder() { + public com.google.analytics.admin.v1alpha.EventCreateRuleOrBuilder + getEventCreateRuleOrBuilder() { if (resourceCase_ == 29) { - return (com.google.analytics.admin.v1alpha.EventCreateRule) resource_; + return (com.google.analytics.admin.v1alpha.EventCreateRule) resource_; } return com.google.analytics.admin.v1alpha.EventCreateRule.getDefaultInstance(); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1886,8 +2438,7 @@ public final boolean isInitialized() { } @java.lang.Override - public 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_); } @@ -1901,19 +2452,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_); @@ -1922,7 +2478,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_); @@ -1943,13 +2500,16 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) output.writeMessage(23, (com.google.analytics.admin.v1alpha.BigQueryLink) resource_); } if (resourceCase_ == 24) { - output.writeMessage(24, (com.google.analytics.admin.v1alpha.EnhancedMeasurementSettings) resource_); + output.writeMessage( + 24, (com.google.analytics.admin.v1alpha.EnhancedMeasurementSettings) resource_); } if (resourceCase_ == 25) { - output.writeMessage(25, (com.google.analytics.admin.v1alpha.DataRedactionSettings) resource_); + output.writeMessage( + 25, (com.google.analytics.admin.v1alpha.DataRedactionSettings) resource_); } if (resourceCase_ == 26) { - output.writeMessage(26, (com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema) resource_); + output.writeMessage( + 26, (com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema) resource_); } if (resourceCase_ == 27) { output.writeMessage(27, (com.google.analytics.admin.v1alpha.AdSenseLink) resource_); @@ -1970,100 +2530,127 @@ 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_ == 22) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(22, (com.google.analytics.admin.v1alpha.ChannelGroup) resource_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 22, (com.google.analytics.admin.v1alpha.ChannelGroup) 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_); } if (resourceCase_ == 24) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(24, (com.google.analytics.admin.v1alpha.EnhancedMeasurementSettings) resource_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 24, (com.google.analytics.admin.v1alpha.EnhancedMeasurementSettings) resource_); } if (resourceCase_ == 25) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(25, (com.google.analytics.admin.v1alpha.DataRedactionSettings) resource_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 25, (com.google.analytics.admin.v1alpha.DataRedactionSettings) resource_); } if (resourceCase_ == 26) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(26, (com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema) resource_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 26, + (com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema) resource_); } if (resourceCase_ == 27) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(27, (com.google.analytics.admin.v1alpha.AdSenseLink) resource_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 27, (com.google.analytics.admin.v1alpha.AdSenseLink) resource_); } if (resourceCase_ == 28) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(28, (com.google.analytics.admin.v1alpha.Audience) resource_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 28, (com.google.analytics.admin.v1alpha.Audience) resource_); } if (resourceCase_ == 29) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(29, (com.google.analytics.admin.v1alpha.EventCreateRule) resource_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 29, (com.google.analytics.admin.v1alpha.EventCreateRule) resource_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -2073,110 +2660,94 @@ public int getSerializedSize() { @java.lang.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 22: - if (!getChannelGroup() - .equals(other.getChannelGroup())) return false; + if (!getChannelGroup().equals(other.getChannelGroup())) return false; break; case 23: - if (!getBigqueryLink() - .equals(other.getBigqueryLink())) return false; + if (!getBigqueryLink().equals(other.getBigqueryLink())) return false; break; case 24: - if (!getEnhancedMeasurementSettings() - .equals(other.getEnhancedMeasurementSettings())) return false; + if (!getEnhancedMeasurementSettings().equals(other.getEnhancedMeasurementSettings())) + return false; break; case 25: - if (!getDataRedactionSettings() - .equals(other.getDataRedactionSettings())) return false; + if (!getDataRedactionSettings().equals(other.getDataRedactionSettings())) return false; break; case 26: if (!getSkadnetworkConversionValueSchema() .equals(other.getSkadnetworkConversionValueSchema())) return false; break; case 27: - if (!getAdsenseLink() - .equals(other.getAdsenseLink())) return false; + if (!getAdsenseLink().equals(other.getAdsenseLink())) return false; break; case 28: - if (!getAudience() - .equals(other.getAudience())) return false; + if (!getAudience().equals(other.getAudience())) return false; break; case 29: - if (!getEventCreateRule() - .equals(other.getEventCreateRule())) return false; + if (!getEventCreateRule().equals(other.getEventCreateRule())) return false; break; case 0: default: @@ -2297,90 +2868,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 @@ -2390,40 +2972,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(); @@ -2506,19 +3093,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); } @@ -2526,115 +3116,97 @@ 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_ == 22 && - channelGroupBuilder_ != null) { + if (resourceCase_ == 22 && channelGroupBuilder_ != null) { result.resource_ = channelGroupBuilder_.build(); } - if (resourceCase_ == 23 && - bigqueryLinkBuilder_ != null) { + if (resourceCase_ == 23 && bigqueryLinkBuilder_ != null) { result.resource_ = bigqueryLinkBuilder_.build(); } - if (resourceCase_ == 24 && - enhancedMeasurementSettingsBuilder_ != null) { + if (resourceCase_ == 24 && enhancedMeasurementSettingsBuilder_ != null) { result.resource_ = enhancedMeasurementSettingsBuilder_.build(); } - if (resourceCase_ == 25 && - dataRedactionSettingsBuilder_ != null) { + if (resourceCase_ == 25 && dataRedactionSettingsBuilder_ != null) { result.resource_ = dataRedactionSettingsBuilder_.build(); } - if (resourceCase_ == 26 && - skadnetworkConversionValueSchemaBuilder_ != null) { + if (resourceCase_ == 26 && skadnetworkConversionValueSchemaBuilder_ != null) { result.resource_ = skadnetworkConversionValueSchemaBuilder_.build(); } - if (resourceCase_ == 27 && - adsenseLinkBuilder_ != null) { + if (resourceCase_ == 27 && adsenseLinkBuilder_ != null) { result.resource_ = adsenseLinkBuilder_.build(); } - if (resourceCase_ == 28 && - audienceBuilder_ != null) { + if (resourceCase_ == 28 && audienceBuilder_ != null) { result.resource_ = audienceBuilder_.build(); } - if (resourceCase_ == 29 && - eventCreateRuleBuilder_ != null) { + if (resourceCase_ == 29 && eventCreateRuleBuilder_ != null) { result.resource_ = eventCreateRuleBuilder_.build(); } } @@ -2643,146 +3215,181 @@ 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 CHANNEL_GROUP: { - mergeChannelGroup(other.getChannelGroup()); - break; - } - case BIGQUERY_LINK: { - mergeBigqueryLink(other.getBigqueryLink()); - break; - } - case ENHANCED_MEASUREMENT_SETTINGS: { - mergeEnhancedMeasurementSettings(other.getEnhancedMeasurementSettings()); - break; - } - case DATA_REDACTION_SETTINGS: { - mergeDataRedactionSettings(other.getDataRedactionSettings()); - break; - } - case SKADNETWORK_CONVERSION_VALUE_SCHEMA: { - mergeSkadnetworkConversionValueSchema(other.getSkadnetworkConversionValueSchema()); - break; - } - case ADSENSE_LINK: { - mergeAdsenseLink(other.getAdsenseLink()); - break; - } - case AUDIENCE: { - mergeAudience(other.getAudience()); - break; - } - case EVENT_CREATE_RULE: { - mergeEventCreateRule(other.getEventCreateRule()); - 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 CHANNEL_GROUP: + { + mergeChannelGroup(other.getChannelGroup()); + break; + } + case BIGQUERY_LINK: + { + mergeBigqueryLink(other.getBigqueryLink()); + break; + } + case ENHANCED_MEASUREMENT_SETTINGS: + { + mergeEnhancedMeasurementSettings(other.getEnhancedMeasurementSettings()); + break; + } + case DATA_REDACTION_SETTINGS: + { + mergeDataRedactionSettings(other.getDataRedactionSettings()); + break; + } + case SKADNETWORK_CONVERSION_VALUE_SCHEMA: + { + mergeSkadnetworkConversionValueSchema(other.getSkadnetworkConversionValueSchema()); + break; + } + case ADSENSE_LINK: + { + mergeAdsenseLink(other.getAdsenseLink()); + break; + } + case AUDIENCE: + { + mergeAudience(other.getAudience()); + break; + } + case EVENT_CREATE_RULE: + { + mergeEventCreateRule(other.getEventCreateRule()); + break; + } + case RESOURCE_NOT_SET: + { + break; + } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -2810,180 +3417,174 @@ 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 178: { - input.readMessage( - getChannelGroupFieldBuilder().getBuilder(), - extensionRegistry); - resourceCase_ = 22; - break; - } // case 178 - case 186: { - input.readMessage( - getBigqueryLinkFieldBuilder().getBuilder(), - extensionRegistry); - resourceCase_ = 23; - break; - } // case 186 - case 194: { - input.readMessage( - getEnhancedMeasurementSettingsFieldBuilder().getBuilder(), - extensionRegistry); - resourceCase_ = 24; - break; - } // case 194 - case 202: { - input.readMessage( - getDataRedactionSettingsFieldBuilder().getBuilder(), - extensionRegistry); - resourceCase_ = 25; - break; - } // case 202 - case 210: { - input.readMessage( - getSkadnetworkConversionValueSchemaFieldBuilder().getBuilder(), - extensionRegistry); - resourceCase_ = 26; - break; - } // case 210 - case 218: { - input.readMessage( - getAdsenseLinkFieldBuilder().getBuilder(), - extensionRegistry); - resourceCase_ = 27; - break; - } // case 218 - case 226: { - input.readMessage( - getAudienceFieldBuilder().getBuilder(), - extensionRegistry); - resourceCase_ = 28; - break; - } // case 226 - case 234: { - input.readMessage( - getEventCreateRuleFieldBuilder().getBuilder(), - extensionRegistry); - resourceCase_ = 29; - break; - } // case 234 - 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 178: + { + input.readMessage(getChannelGroupFieldBuilder().getBuilder(), extensionRegistry); + resourceCase_ = 22; + break; + } // case 178 + case 186: + { + input.readMessage(getBigqueryLinkFieldBuilder().getBuilder(), extensionRegistry); + resourceCase_ = 23; + break; + } // case 186 + case 194: + { + input.readMessage( + getEnhancedMeasurementSettingsFieldBuilder().getBuilder(), extensionRegistry); + resourceCase_ = 24; + break; + } // case 194 + case 202: + { + input.readMessage( + getDataRedactionSettingsFieldBuilder().getBuilder(), extensionRegistry); + resourceCase_ = 25; + break; + } // case 202 + case 210: + { + input.readMessage( + getSkadnetworkConversionValueSchemaFieldBuilder().getBuilder(), + extensionRegistry); + resourceCase_ = 26; + break; + } // case 210 + case 218: + { + input.readMessage(getAdsenseLinkFieldBuilder().getBuilder(), extensionRegistry); + resourceCase_ = 27; + break; + } // case 218 + case 226: + { + input.readMessage(getAudienceFieldBuilder().getBuilder(), extensionRegistry); + resourceCase_ = 28; + break; + } // case 226 + case 234: + { + input.readMessage( + getEventCreateRuleFieldBuilder().getBuilder(), extensionRegistry); + resourceCase_ = 29; + break; + } // case 234 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -2993,12 +3594,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() { @@ -3011,13 +3612,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 @@ -3025,11 +3632,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 @@ -3047,6 +3657,8 @@ public com.google.analytics.admin.v1alpha.Account getAccount() { } } /** + * + * *
        * A snapshot of an Account resource in change history.
        * 
@@ -3067,6 +3679,8 @@ public Builder setAccount(com.google.analytics.admin.v1alpha.Account value) { return this; } /** + * + * *
        * A snapshot of an Account resource in change history.
        * 
@@ -3085,6 +3699,8 @@ public Builder setAccount( return this; } /** + * + * *
        * A snapshot of an Account resource in change history.
        * 
@@ -3093,10 +3709,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; } @@ -3112,6 +3731,8 @@ public Builder mergeAccount(com.google.analytics.admin.v1alpha.Account value) { return this; } /** + * + * *
        * A snapshot of an Account resource in change history.
        * 
@@ -3135,6 +3756,8 @@ public Builder clearAccount() { return this; } /** + * + * *
        * A snapshot of an Account resource in change history.
        * 
@@ -3145,6 +3768,8 @@ public com.google.analytics.admin.v1alpha.Account.Builder getAccountBuilder() { return getAccountFieldBuilder().getBuilder(); } /** + * + * *
        * A snapshot of an Account resource in change history.
        * 
@@ -3163,6 +3788,8 @@ public com.google.analytics.admin.v1alpha.AccountOrBuilder getAccountOrBuilder() } } /** + * + * *
        * A snapshot of an Account resource in change history.
        * 
@@ -3170,14 +3797,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()); @@ -3189,13 +3821,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 @@ -3203,11 +3841,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 @@ -3225,6 +3866,8 @@ public com.google.analytics.admin.v1alpha.Property getProperty() { } } /** + * + * *
        * A snapshot of a Property resource in change history.
        * 
@@ -3245,6 +3888,8 @@ public Builder setProperty(com.google.analytics.admin.v1alpha.Property value) { return this; } /** + * + * *
        * A snapshot of a Property resource in change history.
        * 
@@ -3263,6 +3908,8 @@ public Builder setProperty( return this; } /** + * + * *
        * A snapshot of a Property resource in change history.
        * 
@@ -3271,10 +3918,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; } @@ -3290,6 +3940,8 @@ public Builder mergeProperty(com.google.analytics.admin.v1alpha.Property value) return this; } /** + * + * *
        * A snapshot of a Property resource in change history.
        * 
@@ -3313,6 +3965,8 @@ public Builder clearProperty() { return this; } /** + * + * *
        * A snapshot of a Property resource in change history.
        * 
@@ -3323,6 +3977,8 @@ public com.google.analytics.admin.v1alpha.Property.Builder getPropertyBuilder() return getPropertyFieldBuilder().getBuilder(); } /** + * + * *
        * A snapshot of a Property resource in change history.
        * 
@@ -3341,6 +3997,8 @@ public com.google.analytics.admin.v1alpha.PropertyOrBuilder getPropertyOrBuilder } } /** + * + * *
        * A snapshot of a Property resource in change history.
        * 
@@ -3348,14 +4006,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()); @@ -3367,13 +4030,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 @@ -3381,11 +4050,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 @@ -3403,6 +4075,8 @@ public com.google.analytics.admin.v1alpha.FirebaseLink getFirebaseLink() { } } /** + * + * *
        * A snapshot of a FirebaseLink resource in change history.
        * 
@@ -3423,6 +4097,8 @@ public Builder setFirebaseLink(com.google.analytics.admin.v1alpha.FirebaseLink v return this; } /** + * + * *
        * A snapshot of a FirebaseLink resource in change history.
        * 
@@ -3441,6 +4117,8 @@ public Builder setFirebaseLink( return this; } /** + * + * *
        * A snapshot of a FirebaseLink resource in change history.
        * 
@@ -3449,10 +4127,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; } @@ -3468,6 +4150,8 @@ public Builder mergeFirebaseLink(com.google.analytics.admin.v1alpha.FirebaseLink return this; } /** + * + * *
        * A snapshot of a FirebaseLink resource in change history.
        * 
@@ -3491,6 +4175,8 @@ public Builder clearFirebaseLink() { return this; } /** + * + * *
        * A snapshot of a FirebaseLink resource in change history.
        * 
@@ -3501,6 +4187,8 @@ public com.google.analytics.admin.v1alpha.FirebaseLink.Builder getFirebaseLinkBu return getFirebaseLinkFieldBuilder().getBuilder(); } /** + * + * *
        * A snapshot of a FirebaseLink resource in change history.
        * 
@@ -3519,6 +4207,8 @@ public com.google.analytics.admin.v1alpha.FirebaseLinkOrBuilder getFirebaseLinkO } } /** + * + * *
        * A snapshot of a FirebaseLink resource in change history.
        * 
@@ -3526,14 +4216,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()); @@ -3545,13 +4240,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 @@ -3559,11 +4260,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 @@ -3581,6 +4285,8 @@ public com.google.analytics.admin.v1alpha.GoogleAdsLink getGoogleAdsLink() { } } /** + * + * *
        * A snapshot of a GoogleAdsLink resource in change history.
        * 
@@ -3601,6 +4307,8 @@ public Builder setGoogleAdsLink(com.google.analytics.admin.v1alpha.GoogleAdsLink return this; } /** + * + * *
        * A snapshot of a GoogleAdsLink resource in change history.
        * 
@@ -3619,6 +4327,8 @@ public Builder setGoogleAdsLink( return this; } /** + * + * *
        * A snapshot of a GoogleAdsLink resource in change history.
        * 
@@ -3627,10 +4337,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; } @@ -3646,6 +4360,8 @@ public Builder mergeGoogleAdsLink(com.google.analytics.admin.v1alpha.GoogleAdsLi return this; } /** + * + * *
        * A snapshot of a GoogleAdsLink resource in change history.
        * 
@@ -3669,6 +4385,8 @@ public Builder clearGoogleAdsLink() { return this; } /** + * + * *
        * A snapshot of a GoogleAdsLink resource in change history.
        * 
@@ -3679,6 +4397,8 @@ public com.google.analytics.admin.v1alpha.GoogleAdsLink.Builder getGoogleAdsLink return getGoogleAdsLinkFieldBuilder().getBuilder(); } /** + * + * *
        * A snapshot of a GoogleAdsLink resource in change history.
        * 
@@ -3697,6 +4417,8 @@ public com.google.analytics.admin.v1alpha.GoogleAdsLinkOrBuilder getGoogleAdsLin } } /** + * + * *
        * A snapshot of a GoogleAdsLink resource in change history.
        * 
@@ -3704,14 +4426,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()); @@ -3723,13 +4450,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 @@ -3737,11 +4471,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 @@ -3759,13 +4497,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(); @@ -3779,11 +4521,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) { @@ -3797,18 +4542,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; } @@ -3824,11 +4578,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) { @@ -3847,24 +4604,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 { @@ -3875,21 +4640,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()); @@ -3901,14 +4675,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 @@ -3916,37 +4698,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(); @@ -3960,15 +4755,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(); @@ -3979,19 +4779,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; } @@ -4007,12 +4818,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) { @@ -4031,52 +4846,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()); @@ -4088,14 +4925,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 @@ -4103,37 +4948,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(); @@ -4147,15 +5006,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(); @@ -4166,19 +5030,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; } @@ -4194,12 +5069,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) { @@ -4218,53 +5097,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; @@ -4275,13 +5179,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 @@ -4289,11 +5199,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 @@ -4311,6 +5224,8 @@ public com.google.analytics.admin.v1alpha.ConversionEvent getConversionEvent() { } } /** + * + * *
        * A snapshot of a ConversionEvent resource in change history.
        * 
@@ -4331,6 +5246,8 @@ public Builder setConversionEvent(com.google.analytics.admin.v1alpha.ConversionE return this; } /** + * + * *
        * A snapshot of a ConversionEvent resource in change history.
        * 
@@ -4349,18 +5266,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; } @@ -4376,6 +5300,8 @@ public Builder mergeConversionEvent(com.google.analytics.admin.v1alpha.Conversio return this; } /** + * + * *
        * A snapshot of a ConversionEvent resource in change history.
        * 
@@ -4399,16 +5325,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.
        * 
@@ -4416,7 +5347,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 { @@ -4427,6 +5359,8 @@ public com.google.analytics.admin.v1alpha.ConversionEventOrBuilder getConversion } } /** + * + * *
        * A snapshot of a ConversionEvent resource in change history.
        * 
@@ -4434,14 +5368,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()); @@ -4453,13 +5392,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 @@ -4467,15 +5414,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_; @@ -4489,13 +5442,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(); @@ -4509,11 +5467,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) { @@ -4527,18 +5489,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; } @@ -4554,11 +5526,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) { @@ -4577,24 +5553,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 { @@ -4605,21 +5591,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()); @@ -4631,13 +5627,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 @@ -4645,11 +5647,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 @@ -4667,6 +5672,8 @@ public com.google.analytics.admin.v1alpha.CustomDimension getCustomDimension() { } } /** + * + * *
        * A snapshot of a CustomDimension resource in change history.
        * 
@@ -4687,6 +5694,8 @@ public Builder setCustomDimension(com.google.analytics.admin.v1alpha.CustomDimen return this; } /** + * + * *
        * A snapshot of a CustomDimension resource in change history.
        * 
@@ -4705,18 +5714,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; } @@ -4732,6 +5748,8 @@ public Builder mergeCustomDimension(com.google.analytics.admin.v1alpha.CustomDim return this; } /** + * + * *
        * A snapshot of a CustomDimension resource in change history.
        * 
@@ -4755,16 +5773,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.
        * 
@@ -4772,7 +5795,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 { @@ -4783,6 +5807,8 @@ public com.google.analytics.admin.v1alpha.CustomDimensionOrBuilder getCustomDime } } /** + * + * *
        * A snapshot of a CustomDimension resource in change history.
        * 
@@ -4790,14 +5816,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()); @@ -4809,13 +5840,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 @@ -4823,11 +5860,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 @@ -4845,6 +5885,8 @@ public com.google.analytics.admin.v1alpha.CustomMetric getCustomMetric() { } } /** + * + * *
        * A snapshot of a CustomMetric resource in change history.
        * 
@@ -4865,6 +5907,8 @@ public Builder setCustomMetric(com.google.analytics.admin.v1alpha.CustomMetric v return this; } /** + * + * *
        * A snapshot of a CustomMetric resource in change history.
        * 
@@ -4883,6 +5927,8 @@ public Builder setCustomMetric( return this; } /** + * + * *
        * A snapshot of a CustomMetric resource in change history.
        * 
@@ -4891,10 +5937,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; } @@ -4910,6 +5960,8 @@ public Builder mergeCustomMetric(com.google.analytics.admin.v1alpha.CustomMetric return this; } /** + * + * *
        * A snapshot of a CustomMetric resource in change history.
        * 
@@ -4933,6 +5985,8 @@ public Builder clearCustomMetric() { return this; } /** + * + * *
        * A snapshot of a CustomMetric resource in change history.
        * 
@@ -4943,6 +5997,8 @@ public com.google.analytics.admin.v1alpha.CustomMetric.Builder getCustomMetricBu return getCustomMetricFieldBuilder().getBuilder(); } /** + * + * *
        * A snapshot of a CustomMetric resource in change history.
        * 
@@ -4961,6 +6017,8 @@ public com.google.analytics.admin.v1alpha.CustomMetricOrBuilder getCustomMetricO } } /** + * + * *
        * A snapshot of a CustomMetric resource in change history.
        * 
@@ -4968,14 +6026,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()); @@ -4987,13 +6050,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 @@ -5001,11 +6071,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 @@ -5023,13 +6097,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(); @@ -5043,11 +6121,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) { @@ -5061,18 +6142,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; } @@ -5088,11 +6178,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) { @@ -5111,24 +6204,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 { @@ -5139,21 +6240,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()); @@ -5165,13 +6275,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 @@ -5179,11 +6295,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 @@ -5201,13 +6320,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(); @@ -5221,6 +6343,8 @@ public Builder setSearchAds360Link(com.google.analytics.admin.v1alpha.SearchAds3 return this; } /** + * + * *
        * A snapshot of a SearchAds360Link resource in change history.
        * 
@@ -5239,18 +6363,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; } @@ -5266,6 +6397,8 @@ public Builder mergeSearchAds360Link(com.google.analytics.admin.v1alpha.SearchAd return this; } /** + * + * *
        * A snapshot of a SearchAds360Link resource in change history.
        * 
@@ -5289,16 +6422,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.
        * 
@@ -5306,7 +6444,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 { @@ -5317,6 +6456,8 @@ public com.google.analytics.admin.v1alpha.SearchAds360LinkOrBuilder getSearchAds } } /** + * + * *
        * A snapshot of a SearchAds360Link resource in change history.
        * 
@@ -5324,14 +6465,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()); @@ -5343,13 +6489,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 @@ -5357,11 +6509,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 @@ -5379,6 +6534,8 @@ public com.google.analytics.admin.v1alpha.DataStream getDataStream() { } } /** + * + * *
        * A snapshot of a DataStream resource in change history.
        * 
@@ -5399,6 +6556,8 @@ public Builder setDataStream(com.google.analytics.admin.v1alpha.DataStream value return this; } /** + * + * *
        * A snapshot of a DataStream resource in change history.
        * 
@@ -5417,6 +6576,8 @@ public Builder setDataStream( return this; } /** + * + * *
        * A snapshot of a DataStream resource in change history.
        * 
@@ -5425,10 +6586,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; } @@ -5444,6 +6608,8 @@ public Builder mergeDataStream(com.google.analytics.admin.v1alpha.DataStream val return this; } /** + * + * *
        * A snapshot of a DataStream resource in change history.
        * 
@@ -5467,6 +6633,8 @@ public Builder clearDataStream() { return this; } /** + * + * *
        * A snapshot of a DataStream resource in change history.
        * 
@@ -5477,6 +6645,8 @@ public com.google.analytics.admin.v1alpha.DataStream.Builder getDataStreamBuilde return getDataStreamFieldBuilder().getBuilder(); } /** + * + * *
        * A snapshot of a DataStream resource in change history.
        * 
@@ -5495,6 +6665,8 @@ public com.google.analytics.admin.v1alpha.DataStreamOrBuilder getDataStreamOrBui } } /** + * + * *
        * A snapshot of a DataStream resource in change history.
        * 
@@ -5502,14 +6674,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()); @@ -5521,13 +6698,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 @@ -5535,11 +6718,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 @@ -5557,13 +6743,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(); @@ -5577,6 +6766,8 @@ public Builder setAttributionSettings(com.google.analytics.admin.v1alpha.Attribu return this; } /** + * + * *
        * A snapshot of AttributionSettings resource in change history.
        * 
@@ -5595,18 +6786,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; } @@ -5622,6 +6820,8 @@ public Builder mergeAttributionSettings(com.google.analytics.admin.v1alpha.Attri return this; } /** + * + * *
        * A snapshot of AttributionSettings resource in change history.
        * 
@@ -5645,16 +6845,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.
        * 
@@ -5662,7 +6867,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 { @@ -5673,6 +6879,8 @@ public com.google.analytics.admin.v1alpha.AttributionSettingsOrBuilder getAttrib } } /** + * + * *
        * A snapshot of AttributionSettings resource in change history.
        * 
@@ -5680,14 +6888,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()); @@ -5699,13 +6912,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 @@ -5713,11 +6932,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 @@ -5735,6 +6957,8 @@ public com.google.analytics.admin.v1alpha.ExpandedDataSet getExpandedDataSet() { } } /** + * + * *
        * A snapshot of an ExpandedDataSet resource in change history.
        * 
@@ -5755,6 +6979,8 @@ public Builder setExpandedDataSet(com.google.analytics.admin.v1alpha.ExpandedDat return this; } /** + * + * *
        * A snapshot of an ExpandedDataSet resource in change history.
        * 
@@ -5773,18 +6999,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; } @@ -5800,6 +7033,8 @@ public Builder mergeExpandedDataSet(com.google.analytics.admin.v1alpha.ExpandedD return this; } /** + * + * *
        * A snapshot of an ExpandedDataSet resource in change history.
        * 
@@ -5823,16 +7058,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.
        * 
@@ -5840,7 +7080,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 { @@ -5851,6 +7092,8 @@ public com.google.analytics.admin.v1alpha.ExpandedDataSetOrBuilder getExpandedDa } } /** + * + * *
        * A snapshot of an ExpandedDataSet resource in change history.
        * 
@@ -5858,14 +7101,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()); @@ -5877,13 +7125,19 @@ public com.google.analytics.admin.v1alpha.ExpandedDataSetOrBuilder getExpandedDa } private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.ChannelGroup, com.google.analytics.admin.v1alpha.ChannelGroup.Builder, com.google.analytics.admin.v1alpha.ChannelGroupOrBuilder> channelGroupBuilder_; + com.google.analytics.admin.v1alpha.ChannelGroup, + com.google.analytics.admin.v1alpha.ChannelGroup.Builder, + com.google.analytics.admin.v1alpha.ChannelGroupOrBuilder> + channelGroupBuilder_; /** + * + * *
        * A snapshot of a ChannelGroup resource in change history.
        * 
* * .google.analytics.admin.v1alpha.ChannelGroup channel_group = 22; + * * @return Whether the channelGroup field is set. */ @java.lang.Override @@ -5891,11 +7145,14 @@ public boolean hasChannelGroup() { return resourceCase_ == 22; } /** + * + * *
        * A snapshot of a ChannelGroup resource in change history.
        * 
* * .google.analytics.admin.v1alpha.ChannelGroup channel_group = 22; + * * @return The channelGroup. */ @java.lang.Override @@ -5913,6 +7170,8 @@ public com.google.analytics.admin.v1alpha.ChannelGroup getChannelGroup() { } } /** + * + * *
        * A snapshot of a ChannelGroup resource in change history.
        * 
@@ -5933,6 +7192,8 @@ public Builder setChannelGroup(com.google.analytics.admin.v1alpha.ChannelGroup v return this; } /** + * + * *
        * A snapshot of a ChannelGroup resource in change history.
        * 
@@ -5951,6 +7212,8 @@ public Builder setChannelGroup( return this; } /** + * + * *
        * A snapshot of a ChannelGroup resource in change history.
        * 
@@ -5959,10 +7222,14 @@ public Builder setChannelGroup( */ public Builder mergeChannelGroup(com.google.analytics.admin.v1alpha.ChannelGroup value) { if (channelGroupBuilder_ == null) { - if (resourceCase_ == 22 && - resource_ != com.google.analytics.admin.v1alpha.ChannelGroup.getDefaultInstance()) { - resource_ = com.google.analytics.admin.v1alpha.ChannelGroup.newBuilder((com.google.analytics.admin.v1alpha.ChannelGroup) resource_) - .mergeFrom(value).buildPartial(); + if (resourceCase_ == 22 + && resource_ + != com.google.analytics.admin.v1alpha.ChannelGroup.getDefaultInstance()) { + resource_ = + com.google.analytics.admin.v1alpha.ChannelGroup.newBuilder( + (com.google.analytics.admin.v1alpha.ChannelGroup) resource_) + .mergeFrom(value) + .buildPartial(); } else { resource_ = value; } @@ -5978,6 +7245,8 @@ public Builder mergeChannelGroup(com.google.analytics.admin.v1alpha.ChannelGroup return this; } /** + * + * *
        * A snapshot of a ChannelGroup resource in change history.
        * 
@@ -6001,6 +7270,8 @@ public Builder clearChannelGroup() { return this; } /** + * + * *
        * A snapshot of a ChannelGroup resource in change history.
        * 
@@ -6011,6 +7282,8 @@ public com.google.analytics.admin.v1alpha.ChannelGroup.Builder getChannelGroupBu return getChannelGroupFieldBuilder().getBuilder(); } /** + * + * *
        * A snapshot of a ChannelGroup resource in change history.
        * 
@@ -6029,6 +7302,8 @@ public com.google.analytics.admin.v1alpha.ChannelGroupOrBuilder getChannelGroupO } } /** + * + * *
        * A snapshot of a ChannelGroup resource in change history.
        * 
@@ -6036,14 +7311,19 @@ public com.google.analytics.admin.v1alpha.ChannelGroupOrBuilder getChannelGroupO * .google.analytics.admin.v1alpha.ChannelGroup channel_group = 22; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.ChannelGroup, com.google.analytics.admin.v1alpha.ChannelGroup.Builder, com.google.analytics.admin.v1alpha.ChannelGroupOrBuilder> + com.google.analytics.admin.v1alpha.ChannelGroup, + com.google.analytics.admin.v1alpha.ChannelGroup.Builder, + com.google.analytics.admin.v1alpha.ChannelGroupOrBuilder> getChannelGroupFieldBuilder() { if (channelGroupBuilder_ == null) { if (!(resourceCase_ == 22)) { resource_ = com.google.analytics.admin.v1alpha.ChannelGroup.getDefaultInstance(); } - channelGroupBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.ChannelGroup, com.google.analytics.admin.v1alpha.ChannelGroup.Builder, com.google.analytics.admin.v1alpha.ChannelGroupOrBuilder>( + channelGroupBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1alpha.ChannelGroup, + com.google.analytics.admin.v1alpha.ChannelGroup.Builder, + com.google.analytics.admin.v1alpha.ChannelGroupOrBuilder>( (com.google.analytics.admin.v1alpha.ChannelGroup) resource_, getParentForChildren(), isClean()); @@ -6055,13 +7335,19 @@ public com.google.analytics.admin.v1alpha.ChannelGroupOrBuilder getChannelGroupO } 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 @@ -6069,11 +7355,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 @@ -6091,6 +7380,8 @@ public com.google.analytics.admin.v1alpha.BigQueryLink getBigqueryLink() { } } /** + * + * *
        * A snapshot of a BigQuery link resource in change history.
        * 
@@ -6111,6 +7402,8 @@ public Builder setBigqueryLink(com.google.analytics.admin.v1alpha.BigQueryLink v return this; } /** + * + * *
        * A snapshot of a BigQuery link resource in change history.
        * 
@@ -6129,6 +7422,8 @@ public Builder setBigqueryLink( return this; } /** + * + * *
        * A snapshot of a BigQuery link resource in change history.
        * 
@@ -6137,10 +7432,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; } @@ -6156,6 +7455,8 @@ public Builder mergeBigqueryLink(com.google.analytics.admin.v1alpha.BigQueryLink return this; } /** + * + * *
        * A snapshot of a BigQuery link resource in change history.
        * 
@@ -6179,6 +7480,8 @@ public Builder clearBigqueryLink() { return this; } /** + * + * *
        * A snapshot of a BigQuery link resource in change history.
        * 
@@ -6189,6 +7492,8 @@ public com.google.analytics.admin.v1alpha.BigQueryLink.Builder getBigqueryLinkBu return getBigqueryLinkFieldBuilder().getBuilder(); } /** + * + * *
        * A snapshot of a BigQuery link resource in change history.
        * 
@@ -6207,6 +7512,8 @@ public com.google.analytics.admin.v1alpha.BigQueryLinkOrBuilder getBigqueryLinkO } } /** + * + * *
        * A snapshot of a BigQuery link resource in change history.
        * 
@@ -6214,14 +7521,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()); @@ -6233,13 +7545,21 @@ public com.google.analytics.admin.v1alpha.BigQueryLinkOrBuilder getBigqueryLinkO } private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.EnhancedMeasurementSettings, com.google.analytics.admin.v1alpha.EnhancedMeasurementSettings.Builder, com.google.analytics.admin.v1alpha.EnhancedMeasurementSettingsOrBuilder> enhancedMeasurementSettingsBuilder_; + com.google.analytics.admin.v1alpha.EnhancedMeasurementSettings, + com.google.analytics.admin.v1alpha.EnhancedMeasurementSettings.Builder, + com.google.analytics.admin.v1alpha.EnhancedMeasurementSettingsOrBuilder> + enhancedMeasurementSettingsBuilder_; /** + * + * *
        * A snapshot of EnhancedMeasurementSettings resource in change history.
        * 
* - * .google.analytics.admin.v1alpha.EnhancedMeasurementSettings enhanced_measurement_settings = 24; + * + * .google.analytics.admin.v1alpha.EnhancedMeasurementSettings enhanced_measurement_settings = 24; + * + * * @return Whether the enhancedMeasurementSettings field is set. */ @java.lang.Override @@ -6247,35 +7567,48 @@ public boolean hasEnhancedMeasurementSettings() { return resourceCase_ == 24; } /** + * + * *
        * A snapshot of EnhancedMeasurementSettings resource in change history.
        * 
* - * .google.analytics.admin.v1alpha.EnhancedMeasurementSettings enhanced_measurement_settings = 24; + * + * .google.analytics.admin.v1alpha.EnhancedMeasurementSettings enhanced_measurement_settings = 24; + * + * * @return The enhancedMeasurementSettings. */ @java.lang.Override - public com.google.analytics.admin.v1alpha.EnhancedMeasurementSettings getEnhancedMeasurementSettings() { + public com.google.analytics.admin.v1alpha.EnhancedMeasurementSettings + getEnhancedMeasurementSettings() { if (enhancedMeasurementSettingsBuilder_ == null) { if (resourceCase_ == 24) { return (com.google.analytics.admin.v1alpha.EnhancedMeasurementSettings) resource_; } - return com.google.analytics.admin.v1alpha.EnhancedMeasurementSettings.getDefaultInstance(); + return com.google.analytics.admin.v1alpha.EnhancedMeasurementSettings + .getDefaultInstance(); } else { if (resourceCase_ == 24) { return enhancedMeasurementSettingsBuilder_.getMessage(); } - return com.google.analytics.admin.v1alpha.EnhancedMeasurementSettings.getDefaultInstance(); + return com.google.analytics.admin.v1alpha.EnhancedMeasurementSettings + .getDefaultInstance(); } } /** + * + * *
        * A snapshot of EnhancedMeasurementSettings resource in change history.
        * 
* - * .google.analytics.admin.v1alpha.EnhancedMeasurementSettings enhanced_measurement_settings = 24; + * + * .google.analytics.admin.v1alpha.EnhancedMeasurementSettings enhanced_measurement_settings = 24; + * */ - public Builder setEnhancedMeasurementSettings(com.google.analytics.admin.v1alpha.EnhancedMeasurementSettings value) { + public Builder setEnhancedMeasurementSettings( + com.google.analytics.admin.v1alpha.EnhancedMeasurementSettings value) { if (enhancedMeasurementSettingsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -6289,11 +7622,15 @@ public Builder setEnhancedMeasurementSettings(com.google.analytics.admin.v1alpha return this; } /** + * + * *
        * A snapshot of EnhancedMeasurementSettings resource in change history.
        * 
* - * .google.analytics.admin.v1alpha.EnhancedMeasurementSettings enhanced_measurement_settings = 24; + * + * .google.analytics.admin.v1alpha.EnhancedMeasurementSettings enhanced_measurement_settings = 24; + * */ public Builder setEnhancedMeasurementSettings( com.google.analytics.admin.v1alpha.EnhancedMeasurementSettings.Builder builderForValue) { @@ -6307,18 +7644,28 @@ public Builder setEnhancedMeasurementSettings( return this; } /** + * + * *
        * A snapshot of EnhancedMeasurementSettings resource in change history.
        * 
* - * .google.analytics.admin.v1alpha.EnhancedMeasurementSettings enhanced_measurement_settings = 24; + * + * .google.analytics.admin.v1alpha.EnhancedMeasurementSettings enhanced_measurement_settings = 24; + * */ - public Builder mergeEnhancedMeasurementSettings(com.google.analytics.admin.v1alpha.EnhancedMeasurementSettings value) { + public Builder mergeEnhancedMeasurementSettings( + com.google.analytics.admin.v1alpha.EnhancedMeasurementSettings value) { if (enhancedMeasurementSettingsBuilder_ == null) { - if (resourceCase_ == 24 && - resource_ != com.google.analytics.admin.v1alpha.EnhancedMeasurementSettings.getDefaultInstance()) { - resource_ = com.google.analytics.admin.v1alpha.EnhancedMeasurementSettings.newBuilder((com.google.analytics.admin.v1alpha.EnhancedMeasurementSettings) resource_) - .mergeFrom(value).buildPartial(); + if (resourceCase_ == 24 + && resource_ + != com.google.analytics.admin.v1alpha.EnhancedMeasurementSettings + .getDefaultInstance()) { + resource_ = + com.google.analytics.admin.v1alpha.EnhancedMeasurementSettings.newBuilder( + (com.google.analytics.admin.v1alpha.EnhancedMeasurementSettings) resource_) + .mergeFrom(value) + .buildPartial(); } else { resource_ = value; } @@ -6334,11 +7681,15 @@ public Builder mergeEnhancedMeasurementSettings(com.google.analytics.admin.v1alp return this; } /** + * + * *
        * A snapshot of EnhancedMeasurementSettings resource in change history.
        * 
* - * .google.analytics.admin.v1alpha.EnhancedMeasurementSettings enhanced_measurement_settings = 24; + * + * .google.analytics.admin.v1alpha.EnhancedMeasurementSettings enhanced_measurement_settings = 24; + * */ public Builder clearEnhancedMeasurementSettings() { if (enhancedMeasurementSettingsBuilder_ == null) { @@ -6357,49 +7708,70 @@ public Builder clearEnhancedMeasurementSettings() { return this; } /** + * + * *
        * A snapshot of EnhancedMeasurementSettings resource in change history.
        * 
* - * .google.analytics.admin.v1alpha.EnhancedMeasurementSettings enhanced_measurement_settings = 24; + * + * .google.analytics.admin.v1alpha.EnhancedMeasurementSettings enhanced_measurement_settings = 24; + * */ - public com.google.analytics.admin.v1alpha.EnhancedMeasurementSettings.Builder getEnhancedMeasurementSettingsBuilder() { + public com.google.analytics.admin.v1alpha.EnhancedMeasurementSettings.Builder + getEnhancedMeasurementSettingsBuilder() { return getEnhancedMeasurementSettingsFieldBuilder().getBuilder(); } /** + * + * *
        * A snapshot of EnhancedMeasurementSettings resource in change history.
        * 
* - * .google.analytics.admin.v1alpha.EnhancedMeasurementSettings enhanced_measurement_settings = 24; + * + * .google.analytics.admin.v1alpha.EnhancedMeasurementSettings enhanced_measurement_settings = 24; + * */ @java.lang.Override - public com.google.analytics.admin.v1alpha.EnhancedMeasurementSettingsOrBuilder getEnhancedMeasurementSettingsOrBuilder() { + public com.google.analytics.admin.v1alpha.EnhancedMeasurementSettingsOrBuilder + getEnhancedMeasurementSettingsOrBuilder() { if ((resourceCase_ == 24) && (enhancedMeasurementSettingsBuilder_ != null)) { return enhancedMeasurementSettingsBuilder_.getMessageOrBuilder(); } else { if (resourceCase_ == 24) { return (com.google.analytics.admin.v1alpha.EnhancedMeasurementSettings) resource_; } - return com.google.analytics.admin.v1alpha.EnhancedMeasurementSettings.getDefaultInstance(); + return com.google.analytics.admin.v1alpha.EnhancedMeasurementSettings + .getDefaultInstance(); } } /** + * + * *
        * A snapshot of EnhancedMeasurementSettings resource in change history.
        * 
* - * .google.analytics.admin.v1alpha.EnhancedMeasurementSettings enhanced_measurement_settings = 24; + * + * .google.analytics.admin.v1alpha.EnhancedMeasurementSettings enhanced_measurement_settings = 24; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.EnhancedMeasurementSettings, com.google.analytics.admin.v1alpha.EnhancedMeasurementSettings.Builder, com.google.analytics.admin.v1alpha.EnhancedMeasurementSettingsOrBuilder> + com.google.analytics.admin.v1alpha.EnhancedMeasurementSettings, + com.google.analytics.admin.v1alpha.EnhancedMeasurementSettings.Builder, + com.google.analytics.admin.v1alpha.EnhancedMeasurementSettingsOrBuilder> getEnhancedMeasurementSettingsFieldBuilder() { if (enhancedMeasurementSettingsBuilder_ == null) { if (!(resourceCase_ == 24)) { - resource_ = com.google.analytics.admin.v1alpha.EnhancedMeasurementSettings.getDefaultInstance(); - } - enhancedMeasurementSettingsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.EnhancedMeasurementSettings, com.google.analytics.admin.v1alpha.EnhancedMeasurementSettings.Builder, com.google.analytics.admin.v1alpha.EnhancedMeasurementSettingsOrBuilder>( + resource_ = + com.google.analytics.admin.v1alpha.EnhancedMeasurementSettings.getDefaultInstance(); + } + enhancedMeasurementSettingsBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1alpha.EnhancedMeasurementSettings, + com.google.analytics.admin.v1alpha.EnhancedMeasurementSettings.Builder, + com.google.analytics.admin.v1alpha.EnhancedMeasurementSettingsOrBuilder>( (com.google.analytics.admin.v1alpha.EnhancedMeasurementSettings) resource_, getParentForChildren(), isClean()); @@ -6411,13 +7783,20 @@ public com.google.analytics.admin.v1alpha.EnhancedMeasurementSettingsOrBuilder g } private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.DataRedactionSettings, com.google.analytics.admin.v1alpha.DataRedactionSettings.Builder, com.google.analytics.admin.v1alpha.DataRedactionSettingsOrBuilder> dataRedactionSettingsBuilder_; + com.google.analytics.admin.v1alpha.DataRedactionSettings, + com.google.analytics.admin.v1alpha.DataRedactionSettings.Builder, + com.google.analytics.admin.v1alpha.DataRedactionSettingsOrBuilder> + dataRedactionSettingsBuilder_; /** + * + * *
        * A snapshot of DataRedactionSettings resource in change history.
        * 
* - * .google.analytics.admin.v1alpha.DataRedactionSettings data_redaction_settings = 25; + * .google.analytics.admin.v1alpha.DataRedactionSettings data_redaction_settings = 25; + * + * * @return Whether the dataRedactionSettings field is set. */ @java.lang.Override @@ -6425,11 +7804,15 @@ public boolean hasDataRedactionSettings() { return resourceCase_ == 25; } /** + * + * *
        * A snapshot of DataRedactionSettings resource in change history.
        * 
* - * .google.analytics.admin.v1alpha.DataRedactionSettings data_redaction_settings = 25; + * .google.analytics.admin.v1alpha.DataRedactionSettings data_redaction_settings = 25; + * + * * @return The dataRedactionSettings. */ @java.lang.Override @@ -6447,13 +7830,17 @@ public com.google.analytics.admin.v1alpha.DataRedactionSettings getDataRedaction } } /** + * + * *
        * A snapshot of DataRedactionSettings resource in change history.
        * 
* - * .google.analytics.admin.v1alpha.DataRedactionSettings data_redaction_settings = 25; + * .google.analytics.admin.v1alpha.DataRedactionSettings data_redaction_settings = 25; + * */ - public Builder setDataRedactionSettings(com.google.analytics.admin.v1alpha.DataRedactionSettings value) { + public Builder setDataRedactionSettings( + com.google.analytics.admin.v1alpha.DataRedactionSettings value) { if (dataRedactionSettingsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -6467,11 +7854,14 @@ public Builder setDataRedactionSettings(com.google.analytics.admin.v1alpha.DataR return this; } /** + * + * *
        * A snapshot of DataRedactionSettings resource in change history.
        * 
* - * .google.analytics.admin.v1alpha.DataRedactionSettings data_redaction_settings = 25; + * .google.analytics.admin.v1alpha.DataRedactionSettings data_redaction_settings = 25; + * */ public Builder setDataRedactionSettings( com.google.analytics.admin.v1alpha.DataRedactionSettings.Builder builderForValue) { @@ -6485,18 +7875,27 @@ public Builder setDataRedactionSettings( return this; } /** + * + * *
        * A snapshot of DataRedactionSettings resource in change history.
        * 
* - * .google.analytics.admin.v1alpha.DataRedactionSettings data_redaction_settings = 25; + * .google.analytics.admin.v1alpha.DataRedactionSettings data_redaction_settings = 25; + * */ - public Builder mergeDataRedactionSettings(com.google.analytics.admin.v1alpha.DataRedactionSettings value) { + public Builder mergeDataRedactionSettings( + com.google.analytics.admin.v1alpha.DataRedactionSettings value) { if (dataRedactionSettingsBuilder_ == null) { - if (resourceCase_ == 25 && - resource_ != com.google.analytics.admin.v1alpha.DataRedactionSettings.getDefaultInstance()) { - resource_ = com.google.analytics.admin.v1alpha.DataRedactionSettings.newBuilder((com.google.analytics.admin.v1alpha.DataRedactionSettings) resource_) - .mergeFrom(value).buildPartial(); + if (resourceCase_ == 25 + && resource_ + != com.google.analytics.admin.v1alpha.DataRedactionSettings + .getDefaultInstance()) { + resource_ = + com.google.analytics.admin.v1alpha.DataRedactionSettings.newBuilder( + (com.google.analytics.admin.v1alpha.DataRedactionSettings) resource_) + .mergeFrom(value) + .buildPartial(); } else { resource_ = value; } @@ -6512,11 +7911,14 @@ public Builder mergeDataRedactionSettings(com.google.analytics.admin.v1alpha.Dat return this; } /** + * + * *
        * A snapshot of DataRedactionSettings resource in change history.
        * 
* - * .google.analytics.admin.v1alpha.DataRedactionSettings data_redaction_settings = 25; + * .google.analytics.admin.v1alpha.DataRedactionSettings data_redaction_settings = 25; + * */ public Builder clearDataRedactionSettings() { if (dataRedactionSettingsBuilder_ == null) { @@ -6535,24 +7937,32 @@ public Builder clearDataRedactionSettings() { return this; } /** + * + * *
        * A snapshot of DataRedactionSettings resource in change history.
        * 
* - * .google.analytics.admin.v1alpha.DataRedactionSettings data_redaction_settings = 25; + * .google.analytics.admin.v1alpha.DataRedactionSettings data_redaction_settings = 25; + * */ - public com.google.analytics.admin.v1alpha.DataRedactionSettings.Builder getDataRedactionSettingsBuilder() { + public com.google.analytics.admin.v1alpha.DataRedactionSettings.Builder + getDataRedactionSettingsBuilder() { return getDataRedactionSettingsFieldBuilder().getBuilder(); } /** + * + * *
        * A snapshot of DataRedactionSettings resource in change history.
        * 
* - * .google.analytics.admin.v1alpha.DataRedactionSettings data_redaction_settings = 25; + * .google.analytics.admin.v1alpha.DataRedactionSettings data_redaction_settings = 25; + * */ @java.lang.Override - public com.google.analytics.admin.v1alpha.DataRedactionSettingsOrBuilder getDataRedactionSettingsOrBuilder() { + public com.google.analytics.admin.v1alpha.DataRedactionSettingsOrBuilder + getDataRedactionSettingsOrBuilder() { if ((resourceCase_ == 25) && (dataRedactionSettingsBuilder_ != null)) { return dataRedactionSettingsBuilder_.getMessageOrBuilder(); } else { @@ -6563,21 +7973,30 @@ public com.google.analytics.admin.v1alpha.DataRedactionSettingsOrBuilder getData } } /** + * + * *
        * A snapshot of DataRedactionSettings resource in change history.
        * 
* - * .google.analytics.admin.v1alpha.DataRedactionSettings data_redaction_settings = 25; + * .google.analytics.admin.v1alpha.DataRedactionSettings data_redaction_settings = 25; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.DataRedactionSettings, com.google.analytics.admin.v1alpha.DataRedactionSettings.Builder, com.google.analytics.admin.v1alpha.DataRedactionSettingsOrBuilder> + com.google.analytics.admin.v1alpha.DataRedactionSettings, + com.google.analytics.admin.v1alpha.DataRedactionSettings.Builder, + com.google.analytics.admin.v1alpha.DataRedactionSettingsOrBuilder> getDataRedactionSettingsFieldBuilder() { if (dataRedactionSettingsBuilder_ == null) { if (!(resourceCase_ == 25)) { - resource_ = com.google.analytics.admin.v1alpha.DataRedactionSettings.getDefaultInstance(); - } - dataRedactionSettingsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.DataRedactionSettings, com.google.analytics.admin.v1alpha.DataRedactionSettings.Builder, com.google.analytics.admin.v1alpha.DataRedactionSettingsOrBuilder>( + resource_ = + com.google.analytics.admin.v1alpha.DataRedactionSettings.getDefaultInstance(); + } + dataRedactionSettingsBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1alpha.DataRedactionSettings, + com.google.analytics.admin.v1alpha.DataRedactionSettings.Builder, + com.google.analytics.admin.v1alpha.DataRedactionSettingsOrBuilder>( (com.google.analytics.admin.v1alpha.DataRedactionSettings) resource_, getParentForChildren(), isClean()); @@ -6589,14 +8008,22 @@ public com.google.analytics.admin.v1alpha.DataRedactionSettingsOrBuilder getData } private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema, com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema.Builder, com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchemaOrBuilder> skadnetworkConversionValueSchemaBuilder_; + com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema, + com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema.Builder, + com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchemaOrBuilder> + skadnetworkConversionValueSchemaBuilder_; /** + * + * *
        * A snapshot of SKAdNetworkConversionValueSchema resource in change
        * history.
        * 
* - * .google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema skadnetwork_conversion_value_schema = 26; + * + * .google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema skadnetwork_conversion_value_schema = 26; + * + * * @return Whether the skadnetworkConversionValueSchema field is set. */ @java.lang.Override @@ -6604,37 +8031,50 @@ public boolean hasSkadnetworkConversionValueSchema() { return resourceCase_ == 26; } /** + * + * *
        * A snapshot of SKAdNetworkConversionValueSchema resource in change
        * history.
        * 
* - * .google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema skadnetwork_conversion_value_schema = 26; + * + * .google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema skadnetwork_conversion_value_schema = 26; + * + * * @return The skadnetworkConversionValueSchema. */ @java.lang.Override - public com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema getSkadnetworkConversionValueSchema() { + public com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema + getSkadnetworkConversionValueSchema() { if (skadnetworkConversionValueSchemaBuilder_ == null) { if (resourceCase_ == 26) { return (com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema) resource_; } - return com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema.getDefaultInstance(); + return com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema + .getDefaultInstance(); } else { if (resourceCase_ == 26) { return skadnetworkConversionValueSchemaBuilder_.getMessage(); } - return com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema.getDefaultInstance(); + return com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema + .getDefaultInstance(); } } /** + * + * *
        * A snapshot of SKAdNetworkConversionValueSchema resource in change
        * history.
        * 
* - * .google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema skadnetwork_conversion_value_schema = 26; + * + * .google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema skadnetwork_conversion_value_schema = 26; + * */ - public Builder setSkadnetworkConversionValueSchema(com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema value) { + public Builder setSkadnetworkConversionValueSchema( + com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema value) { if (skadnetworkConversionValueSchemaBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -6648,15 +8088,20 @@ public Builder setSkadnetworkConversionValueSchema(com.google.analytics.admin.v1 return this; } /** + * + * *
        * A snapshot of SKAdNetworkConversionValueSchema resource in change
        * history.
        * 
* - * .google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema skadnetwork_conversion_value_schema = 26; + * + * .google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema skadnetwork_conversion_value_schema = 26; + * */ public Builder setSkadnetworkConversionValueSchema( - com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema.Builder builderForValue) { + com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema.Builder + builderForValue) { if (skadnetworkConversionValueSchemaBuilder_ == null) { resource_ = builderForValue.build(); onChanged(); @@ -6667,19 +8112,30 @@ public Builder setSkadnetworkConversionValueSchema( return this; } /** + * + * *
        * A snapshot of SKAdNetworkConversionValueSchema resource in change
        * history.
        * 
* - * .google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema skadnetwork_conversion_value_schema = 26; + * + * .google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema skadnetwork_conversion_value_schema = 26; + * */ - public Builder mergeSkadnetworkConversionValueSchema(com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema value) { + public Builder mergeSkadnetworkConversionValueSchema( + com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema value) { if (skadnetworkConversionValueSchemaBuilder_ == null) { - if (resourceCase_ == 26 && - resource_ != com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema.getDefaultInstance()) { - resource_ = com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema.newBuilder((com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema) resource_) - .mergeFrom(value).buildPartial(); + if (resourceCase_ == 26 + && resource_ + != com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema + .getDefaultInstance()) { + resource_ = + com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema.newBuilder( + (com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema) + resource_) + .mergeFrom(value) + .buildPartial(); } else { resource_ = value; } @@ -6695,12 +8151,16 @@ public Builder mergeSkadnetworkConversionValueSchema(com.google.analytics.admin. return this; } /** + * + * *
        * A snapshot of SKAdNetworkConversionValueSchema resource in change
        * history.
        * 
* - * .google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema skadnetwork_conversion_value_schema = 26; + * + * .google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema skadnetwork_conversion_value_schema = 26; + * */ public Builder clearSkadnetworkConversionValueSchema() { if (skadnetworkConversionValueSchemaBuilder_ == null) { @@ -6719,52 +8179,74 @@ public Builder clearSkadnetworkConversionValueSchema() { return this; } /** + * + * *
        * A snapshot of SKAdNetworkConversionValueSchema resource in change
        * history.
        * 
* - * .google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema skadnetwork_conversion_value_schema = 26; + * + * .google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema skadnetwork_conversion_value_schema = 26; + * */ - public com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema.Builder getSkadnetworkConversionValueSchemaBuilder() { + public com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema.Builder + getSkadnetworkConversionValueSchemaBuilder() { return getSkadnetworkConversionValueSchemaFieldBuilder().getBuilder(); } /** + * + * *
        * A snapshot of SKAdNetworkConversionValueSchema resource in change
        * history.
        * 
* - * .google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema skadnetwork_conversion_value_schema = 26; + * + * .google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema skadnetwork_conversion_value_schema = 26; + * */ @java.lang.Override - public com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchemaOrBuilder getSkadnetworkConversionValueSchemaOrBuilder() { + public com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchemaOrBuilder + getSkadnetworkConversionValueSchemaOrBuilder() { if ((resourceCase_ == 26) && (skadnetworkConversionValueSchemaBuilder_ != null)) { return skadnetworkConversionValueSchemaBuilder_.getMessageOrBuilder(); } else { if (resourceCase_ == 26) { return (com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema) resource_; } - return com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema.getDefaultInstance(); + return com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema + .getDefaultInstance(); } } /** + * + * *
        * A snapshot of SKAdNetworkConversionValueSchema resource in change
        * history.
        * 
* - * .google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema skadnetwork_conversion_value_schema = 26; + * + * .google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema skadnetwork_conversion_value_schema = 26; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema, com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema.Builder, com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchemaOrBuilder> + com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema, + com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema.Builder, + com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchemaOrBuilder> getSkadnetworkConversionValueSchemaFieldBuilder() { if (skadnetworkConversionValueSchemaBuilder_ == null) { if (!(resourceCase_ == 26)) { - resource_ = com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema.getDefaultInstance(); - } - skadnetworkConversionValueSchemaBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema, com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema.Builder, com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchemaOrBuilder>( + resource_ = + com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema + .getDefaultInstance(); + } + skadnetworkConversionValueSchemaBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema, + com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema.Builder, + com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchemaOrBuilder>( (com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema) resource_, getParentForChildren(), isClean()); @@ -6776,13 +8258,19 @@ public com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchemaOrBuil } private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.AdSenseLink, com.google.analytics.admin.v1alpha.AdSenseLink.Builder, com.google.analytics.admin.v1alpha.AdSenseLinkOrBuilder> adsenseLinkBuilder_; + com.google.analytics.admin.v1alpha.AdSenseLink, + com.google.analytics.admin.v1alpha.AdSenseLink.Builder, + com.google.analytics.admin.v1alpha.AdSenseLinkOrBuilder> + adsenseLinkBuilder_; /** + * + * *
        * A snapshot of an AdSenseLink resource in change history.
        * 
* * .google.analytics.admin.v1alpha.AdSenseLink adsense_link = 27; + * * @return Whether the adsenseLink field is set. */ @java.lang.Override @@ -6790,11 +8278,14 @@ public boolean hasAdsenseLink() { return resourceCase_ == 27; } /** + * + * *
        * A snapshot of an AdSenseLink resource in change history.
        * 
* * .google.analytics.admin.v1alpha.AdSenseLink adsense_link = 27; + * * @return The adsenseLink. */ @java.lang.Override @@ -6812,6 +8303,8 @@ public com.google.analytics.admin.v1alpha.AdSenseLink getAdsenseLink() { } } /** + * + * *
        * A snapshot of an AdSenseLink resource in change history.
        * 
@@ -6832,6 +8325,8 @@ public Builder setAdsenseLink(com.google.analytics.admin.v1alpha.AdSenseLink val return this; } /** + * + * *
        * A snapshot of an AdSenseLink resource in change history.
        * 
@@ -6850,6 +8345,8 @@ public Builder setAdsenseLink( return this; } /** + * + * *
        * A snapshot of an AdSenseLink resource in change history.
        * 
@@ -6858,10 +8355,13 @@ public Builder setAdsenseLink( */ public Builder mergeAdsenseLink(com.google.analytics.admin.v1alpha.AdSenseLink value) { if (adsenseLinkBuilder_ == null) { - if (resourceCase_ == 27 && - resource_ != com.google.analytics.admin.v1alpha.AdSenseLink.getDefaultInstance()) { - resource_ = com.google.analytics.admin.v1alpha.AdSenseLink.newBuilder((com.google.analytics.admin.v1alpha.AdSenseLink) resource_) - .mergeFrom(value).buildPartial(); + if (resourceCase_ == 27 + && resource_ != com.google.analytics.admin.v1alpha.AdSenseLink.getDefaultInstance()) { + resource_ = + com.google.analytics.admin.v1alpha.AdSenseLink.newBuilder( + (com.google.analytics.admin.v1alpha.AdSenseLink) resource_) + .mergeFrom(value) + .buildPartial(); } else { resource_ = value; } @@ -6877,6 +8377,8 @@ public Builder mergeAdsenseLink(com.google.analytics.admin.v1alpha.AdSenseLink v return this; } /** + * + * *
        * A snapshot of an AdSenseLink resource in change history.
        * 
@@ -6900,6 +8402,8 @@ public Builder clearAdsenseLink() { return this; } /** + * + * *
        * A snapshot of an AdSenseLink resource in change history.
        * 
@@ -6910,6 +8414,8 @@ public com.google.analytics.admin.v1alpha.AdSenseLink.Builder getAdsenseLinkBuil return getAdsenseLinkFieldBuilder().getBuilder(); } /** + * + * *
        * A snapshot of an AdSenseLink resource in change history.
        * 
@@ -6928,6 +8434,8 @@ public com.google.analytics.admin.v1alpha.AdSenseLinkOrBuilder getAdsenseLinkOrB } } /** + * + * *
        * A snapshot of an AdSenseLink resource in change history.
        * 
@@ -6935,14 +8443,19 @@ public com.google.analytics.admin.v1alpha.AdSenseLinkOrBuilder getAdsenseLinkOrB * .google.analytics.admin.v1alpha.AdSenseLink adsense_link = 27; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.AdSenseLink, com.google.analytics.admin.v1alpha.AdSenseLink.Builder, com.google.analytics.admin.v1alpha.AdSenseLinkOrBuilder> + com.google.analytics.admin.v1alpha.AdSenseLink, + com.google.analytics.admin.v1alpha.AdSenseLink.Builder, + com.google.analytics.admin.v1alpha.AdSenseLinkOrBuilder> getAdsenseLinkFieldBuilder() { if (adsenseLinkBuilder_ == null) { if (!(resourceCase_ == 27)) { resource_ = com.google.analytics.admin.v1alpha.AdSenseLink.getDefaultInstance(); } - adsenseLinkBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.AdSenseLink, com.google.analytics.admin.v1alpha.AdSenseLink.Builder, com.google.analytics.admin.v1alpha.AdSenseLinkOrBuilder>( + adsenseLinkBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1alpha.AdSenseLink, + com.google.analytics.admin.v1alpha.AdSenseLink.Builder, + com.google.analytics.admin.v1alpha.AdSenseLinkOrBuilder>( (com.google.analytics.admin.v1alpha.AdSenseLink) resource_, getParentForChildren(), isClean()); @@ -6954,13 +8467,19 @@ public com.google.analytics.admin.v1alpha.AdSenseLinkOrBuilder getAdsenseLinkOrB } 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_; /** + * + * *
        * A snapshot of an Audience resource in change history.
        * 
* * .google.analytics.admin.v1alpha.Audience audience = 28; + * * @return Whether the audience field is set. */ @java.lang.Override @@ -6968,11 +8487,14 @@ public boolean hasAudience() { return resourceCase_ == 28; } /** + * + * *
        * A snapshot of an Audience resource in change history.
        * 
* * .google.analytics.admin.v1alpha.Audience audience = 28; + * * @return The audience. */ @java.lang.Override @@ -6990,6 +8512,8 @@ public com.google.analytics.admin.v1alpha.Audience getAudience() { } } /** + * + * *
        * A snapshot of an Audience resource in change history.
        * 
@@ -7010,6 +8534,8 @@ public Builder setAudience(com.google.analytics.admin.v1alpha.Audience value) { return this; } /** + * + * *
        * A snapshot of an Audience resource in change history.
        * 
@@ -7028,6 +8554,8 @@ public Builder setAudience( return this; } /** + * + * *
        * A snapshot of an Audience resource in change history.
        * 
@@ -7036,10 +8564,13 @@ public Builder setAudience( */ public Builder mergeAudience(com.google.analytics.admin.v1alpha.Audience value) { if (audienceBuilder_ == null) { - if (resourceCase_ == 28 && - resource_ != com.google.analytics.admin.v1alpha.Audience.getDefaultInstance()) { - resource_ = com.google.analytics.admin.v1alpha.Audience.newBuilder((com.google.analytics.admin.v1alpha.Audience) resource_) - .mergeFrom(value).buildPartial(); + if (resourceCase_ == 28 + && resource_ != com.google.analytics.admin.v1alpha.Audience.getDefaultInstance()) { + resource_ = + com.google.analytics.admin.v1alpha.Audience.newBuilder( + (com.google.analytics.admin.v1alpha.Audience) resource_) + .mergeFrom(value) + .buildPartial(); } else { resource_ = value; } @@ -7055,6 +8586,8 @@ public Builder mergeAudience(com.google.analytics.admin.v1alpha.Audience value) return this; } /** + * + * *
        * A snapshot of an Audience resource in change history.
        * 
@@ -7078,6 +8611,8 @@ public Builder clearAudience() { return this; } /** + * + * *
        * A snapshot of an Audience resource in change history.
        * 
@@ -7088,6 +8623,8 @@ public com.google.analytics.admin.v1alpha.Audience.Builder getAudienceBuilder() return getAudienceFieldBuilder().getBuilder(); } /** + * + * *
        * A snapshot of an Audience resource in change history.
        * 
@@ -7106,6 +8643,8 @@ public com.google.analytics.admin.v1alpha.AudienceOrBuilder getAudienceOrBuilder } } /** + * + * *
        * A snapshot of an Audience resource in change history.
        * 
@@ -7113,14 +8652,19 @@ public com.google.analytics.admin.v1alpha.AudienceOrBuilder getAudienceOrBuilder * .google.analytics.admin.v1alpha.Audience audience = 28; */ 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) { if (!(resourceCase_ == 28)) { resource_ = com.google.analytics.admin.v1alpha.Audience.getDefaultInstance(); } - 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>( + 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>( (com.google.analytics.admin.v1alpha.Audience) resource_, getParentForChildren(), isClean()); @@ -7132,13 +8676,19 @@ public com.google.analytics.admin.v1alpha.AudienceOrBuilder getAudienceOrBuilder } private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.EventCreateRule, com.google.analytics.admin.v1alpha.EventCreateRule.Builder, com.google.analytics.admin.v1alpha.EventCreateRuleOrBuilder> eventCreateRuleBuilder_; + com.google.analytics.admin.v1alpha.EventCreateRule, + com.google.analytics.admin.v1alpha.EventCreateRule.Builder, + com.google.analytics.admin.v1alpha.EventCreateRuleOrBuilder> + eventCreateRuleBuilder_; /** + * + * *
        * A snapshot of an EventCreateRule resource in change history.
        * 
* * .google.analytics.admin.v1alpha.EventCreateRule event_create_rule = 29; + * * @return Whether the eventCreateRule field is set. */ @java.lang.Override @@ -7146,11 +8696,14 @@ public boolean hasEventCreateRule() { return resourceCase_ == 29; } /** + * + * *
        * A snapshot of an EventCreateRule resource in change history.
        * 
* * .google.analytics.admin.v1alpha.EventCreateRule event_create_rule = 29; + * * @return The eventCreateRule. */ @java.lang.Override @@ -7168,6 +8721,8 @@ public com.google.analytics.admin.v1alpha.EventCreateRule getEventCreateRule() { } } /** + * + * *
        * A snapshot of an EventCreateRule resource in change history.
        * 
@@ -7188,6 +8743,8 @@ public Builder setEventCreateRule(com.google.analytics.admin.v1alpha.EventCreate return this; } /** + * + * *
        * A snapshot of an EventCreateRule resource in change history.
        * 
@@ -7206,18 +8763,25 @@ public Builder setEventCreateRule( return this; } /** + * + * *
        * A snapshot of an EventCreateRule resource in change history.
        * 
* * .google.analytics.admin.v1alpha.EventCreateRule event_create_rule = 29; */ - public Builder mergeEventCreateRule(com.google.analytics.admin.v1alpha.EventCreateRule value) { + public Builder mergeEventCreateRule( + com.google.analytics.admin.v1alpha.EventCreateRule value) { if (eventCreateRuleBuilder_ == null) { - if (resourceCase_ == 29 && - resource_ != com.google.analytics.admin.v1alpha.EventCreateRule.getDefaultInstance()) { - resource_ = com.google.analytics.admin.v1alpha.EventCreateRule.newBuilder((com.google.analytics.admin.v1alpha.EventCreateRule) resource_) - .mergeFrom(value).buildPartial(); + if (resourceCase_ == 29 + && resource_ + != com.google.analytics.admin.v1alpha.EventCreateRule.getDefaultInstance()) { + resource_ = + com.google.analytics.admin.v1alpha.EventCreateRule.newBuilder( + (com.google.analytics.admin.v1alpha.EventCreateRule) resource_) + .mergeFrom(value) + .buildPartial(); } else { resource_ = value; } @@ -7233,6 +8797,8 @@ public Builder mergeEventCreateRule(com.google.analytics.admin.v1alpha.EventCrea return this; } /** + * + * *
        * A snapshot of an EventCreateRule resource in change history.
        * 
@@ -7256,16 +8822,21 @@ public Builder clearEventCreateRule() { return this; } /** + * + * *
        * A snapshot of an EventCreateRule resource in change history.
        * 
* * .google.analytics.admin.v1alpha.EventCreateRule event_create_rule = 29; */ - public com.google.analytics.admin.v1alpha.EventCreateRule.Builder getEventCreateRuleBuilder() { + public com.google.analytics.admin.v1alpha.EventCreateRule.Builder + getEventCreateRuleBuilder() { return getEventCreateRuleFieldBuilder().getBuilder(); } /** + * + * *
        * A snapshot of an EventCreateRule resource in change history.
        * 
@@ -7273,7 +8844,8 @@ public com.google.analytics.admin.v1alpha.EventCreateRule.Builder getEventCreate * .google.analytics.admin.v1alpha.EventCreateRule event_create_rule = 29; */ @java.lang.Override - public com.google.analytics.admin.v1alpha.EventCreateRuleOrBuilder getEventCreateRuleOrBuilder() { + public com.google.analytics.admin.v1alpha.EventCreateRuleOrBuilder + getEventCreateRuleOrBuilder() { if ((resourceCase_ == 29) && (eventCreateRuleBuilder_ != null)) { return eventCreateRuleBuilder_.getMessageOrBuilder(); } else { @@ -7284,6 +8856,8 @@ public com.google.analytics.admin.v1alpha.EventCreateRuleOrBuilder getEventCreat } } /** + * + * *
        * A snapshot of an EventCreateRule resource in change history.
        * 
@@ -7291,14 +8865,19 @@ public com.google.analytics.admin.v1alpha.EventCreateRuleOrBuilder getEventCreat * .google.analytics.admin.v1alpha.EventCreateRule event_create_rule = 29; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.EventCreateRule, com.google.analytics.admin.v1alpha.EventCreateRule.Builder, com.google.analytics.admin.v1alpha.EventCreateRuleOrBuilder> + com.google.analytics.admin.v1alpha.EventCreateRule, + com.google.analytics.admin.v1alpha.EventCreateRule.Builder, + com.google.analytics.admin.v1alpha.EventCreateRuleOrBuilder> getEventCreateRuleFieldBuilder() { if (eventCreateRuleBuilder_ == null) { if (!(resourceCase_ == 29)) { resource_ = com.google.analytics.admin.v1alpha.EventCreateRule.getDefaultInstance(); } - eventCreateRuleBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.EventCreateRule, com.google.analytics.admin.v1alpha.EventCreateRule.Builder, com.google.analytics.admin.v1alpha.EventCreateRuleOrBuilder>( + eventCreateRuleBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1alpha.EventCreateRule, + com.google.analytics.admin.v1alpha.EventCreateRule.Builder, + com.google.analytics.admin.v1alpha.EventCreateRuleOrBuilder>( (com.google.analytics.admin.v1alpha.EventCreateRule) resource_, getParentForChildren(), isClean()); @@ -7308,6 +8887,7 @@ public com.google.analytics.admin.v1alpha.EventCreateRuleOrBuilder getEventCreat onChanged(); return eventCreateRuleBuilder_; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -7320,41 +8900,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; @@ -7366,21 +8951,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 @@ -7389,29 +8978,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 { @@ -7422,38 +9011,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 @@ -7461,40 +9065,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 @@ -7502,32 +9129,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; @@ -7539,12 +9184,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) { @@ -7565,17 +9210,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; @@ -7585,25 +9229,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; @@ -7634,131 +9276,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(); @@ -7779,9 +9426,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 @@ -7800,8 +9447,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; } @@ -7815,14 +9465,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(); } } @@ -7830,38 +9482,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; @@ -7869,7 +9522,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; @@ -7910,36 +9564,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) { @@ -7949,22 +9606,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; @@ -7973,20 +9633,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 { @@ -7994,28 +9655,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() { @@ -8025,17 +9693,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; @@ -8045,22 +9717,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. */ @@ -8071,24 +9750,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. */ @@ -8102,11 +9788,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() { @@ -8116,46 +9805,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(); @@ -8169,15 +9881,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 { @@ -8188,18 +9905,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; @@ -8212,12 +9936,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); @@ -8230,96 +9958,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(); @@ -8333,15 +10105,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 { @@ -8352,18 +10129,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; @@ -8376,12 +10160,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); @@ -8394,58 +10182,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); } @@ -8455,12 +10264,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(); } @@ -8469,27 +10278,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; @@ -8504,6 +10313,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..7a204e1cc614 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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 44b2d93af6ad..0c2f29003646 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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,33 +49,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();
   }
 
-  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 @@ -66,29 +89,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 { @@ -99,11 +122,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 @@ -111,11 +137,14 @@ public boolean hasChangeTime() { return changeTime_ != null; } /** + * + * *
    * Time when change was made.
    * 
* * .google.protobuf.Timestamp change_time = 2; + * * @return The changeTime. */ @java.lang.Override @@ -123,6 +152,8 @@ public com.google.protobuf.Timestamp getChangeTime() { return changeTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : changeTime_; } /** + * + * *
    * Time when change was made.
    * 
@@ -137,33 +168,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.
@@ -171,6 +214,7 @@ public com.google.protobuf.TimestampOrBuilder getChangeTimeOrBuilder() {
    * 
* * string user_actor_email = 4; + * * @return The userActorEmail. */ @java.lang.Override @@ -179,14 +223,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.
@@ -194,16 +239,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 { @@ -214,12 +258,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 @@ -228,9 +275,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.
@@ -243,6 +293,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.
@@ -251,11 +303,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.
@@ -268,6 +322,8 @@ public int getChangesCount() {
     return changes_.size();
   }
   /**
+   *
+   *
    * 
    * A list of changes made in this change history event that fit the filters
    * specified in SearchChangeHistoryEventsRequest.
@@ -280,6 +336,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.
@@ -294,6 +352,7 @@ public com.google.analytics.admin.v1alpha.ChangeHistoryChangeOrBuilder getChange
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -305,15 +364,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_)) {
@@ -338,23 +397,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;
@@ -364,27 +420,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;
   }
@@ -407,8 +459,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();
@@ -419,98 +470,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
@@ -520,33 +577,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();
@@ -571,9 +627,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
@@ -592,14 +648,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_);
@@ -617,9 +677,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_;
@@ -636,38 +694,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;
@@ -675,7 +734,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;
@@ -713,9 +773,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_);
           }
@@ -747,52 +808,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) {
@@ -802,22 +868,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; @@ -826,20 +895,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 { @@ -847,28 +917,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() { @@ -878,17 +955,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; @@ -898,34 +979,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.
      * 
@@ -946,14 +1040,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 { @@ -964,6 +1059,8 @@ public Builder setChangeTime( return this; } /** + * + * *
      * Time when change was made.
      * 
@@ -972,9 +1069,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; @@ -987,6 +1084,8 @@ public Builder mergeChangeTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Time when change was made.
      * 
@@ -1004,6 +1103,8 @@ public Builder clearChangeTime() { return this; } /** + * + * *
      * Time when change was made.
      * 
@@ -1016,6 +1117,8 @@ public com.google.protobuf.Timestamp.Builder getChangeTimeBuilder() { return getChangeTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Time when change was made.
      * 
@@ -1026,11 +1129,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.
      * 
@@ -1038,14 +1144,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_; @@ -1053,22 +1162,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. */ @@ -1079,24 +1195,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. */ @@ -1110,11 +1233,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() { @@ -1126,6 +1252,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.
@@ -1133,13 +1261,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; @@ -1148,6 +1276,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.
@@ -1155,15 +1285,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 { @@ -1171,6 +1300,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.
@@ -1178,18 +1309,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.
@@ -1197,6 +1332,7 @@ public Builder setUserActorEmail(
      * 
* * string user_actor_email = 4; + * * @return This builder for chaining. */ public Builder clearUserActorEmail() { @@ -1206,6 +1342,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.
@@ -1213,12 +1351,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; @@ -1226,14 +1366,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 @@ -1241,12 +1384,15 @@ 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. */ @@ -1258,12 +1404,15 @@ public Builder setChangesFiltered(boolean value) { 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() { @@ -1274,18 +1423,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.
@@ -1301,6 +1458,8 @@ public java.util.List ge
       }
     }
     /**
+     *
+     *
      * 
      * A list of changes made in this change history event that fit the filters
      * specified in SearchChangeHistoryEventsRequest.
@@ -1316,6 +1475,8 @@ public int getChangesCount() {
       }
     }
     /**
+     *
+     *
      * 
      * A list of changes made in this change history event that fit the filters
      * specified in SearchChangeHistoryEventsRequest.
@@ -1331,6 +1492,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.
@@ -1353,6 +1516,8 @@ public Builder setChanges(
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of changes made in this change history event that fit the filters
      * specified in SearchChangeHistoryEventsRequest.
@@ -1372,6 +1537,8 @@ public Builder setChanges(
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of changes made in this change history event that fit the filters
      * specified in SearchChangeHistoryEventsRequest.
@@ -1393,6 +1560,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.
@@ -1415,6 +1584,8 @@ public Builder addChanges(
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of changes made in this change history event that fit the filters
      * specified in SearchChangeHistoryEventsRequest.
@@ -1434,6 +1605,8 @@ public Builder addChanges(
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of changes made in this change history event that fit the filters
      * specified in SearchChangeHistoryEventsRequest.
@@ -1453,6 +1626,8 @@ public Builder addChanges(
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of changes made in this change history event that fit the filters
      * specified in SearchChangeHistoryEventsRequest.
@@ -1461,11 +1636,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);
@@ -1473,6 +1648,8 @@ public Builder addAllChanges(
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of changes made in this change history event that fit the filters
      * specified in SearchChangeHistoryEventsRequest.
@@ -1491,6 +1668,8 @@ public Builder clearChanges() {
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of changes made in this change history event that fit the filters
      * specified in SearchChangeHistoryEventsRequest.
@@ -1509,6 +1688,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.
@@ -1521,6 +1702,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.
@@ -1531,11 +1714,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.
@@ -1543,8 +1729,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 {
@@ -1552,6 +1738,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.
@@ -1560,10 +1748,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.
@@ -1573,10 +1763,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.
@@ -1584,27 +1777,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);
     }
 
@@ -1614,12 +1810,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();
   }
@@ -1628,27 +1824,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;
@@ -1663,6 +1859,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..a8970642e46a 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 2023 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for 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 77%
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 767600822003..b801d532aca2 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 2023 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for 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
    * 
@@ -157,6 +209,8 @@ public enum ChangeHistoryResourceType */ CHANNEL_GROUP(22), /** + * + * *
    * EnhancedMeasurementSettings resource
    * 
@@ -165,6 +219,8 @@ public enum ChangeHistoryResourceType */ ENHANCED_MEASUREMENT_SETTINGS(24), /** + * + * *
    * DataRedactionSettings resource
    * 
@@ -173,6 +229,8 @@ public enum ChangeHistoryResourceType */ DATA_REDACTION_SETTINGS(25), /** + * + * *
    * SKAdNetworkConversionValueSchema resource
    * 
@@ -181,6 +239,8 @@ public enum ChangeHistoryResourceType */ SKADNETWORK_CONVERSION_VALUE_SCHEMA(26), /** + * + * *
    * AdSenseLink resource
    * 
@@ -189,6 +249,8 @@ public enum ChangeHistoryResourceType */ ADSENSE_LINK(27), /** + * + * *
    * Audience resource
    * 
@@ -197,6 +259,8 @@ public enum ChangeHistoryResourceType */ AUDIENCE(28), /** + * + * *
    * EventCreateRule resource
    * 
@@ -208,6 +272,8 @@ public enum ChangeHistoryResourceType ; /** + * + * *
    * Resource type unknown or not specified.
    * 
@@ -216,6 +282,8 @@ public enum ChangeHistoryResourceType */ public static final int CHANGE_HISTORY_RESOURCE_TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
    * Account resource
    * 
@@ -224,6 +292,8 @@ public enum ChangeHistoryResourceType */ public static final int ACCOUNT_VALUE = 1; /** + * + * *
    * Property resource
    * 
@@ -232,6 +302,8 @@ public enum ChangeHistoryResourceType */ public static final int PROPERTY_VALUE = 2; /** + * + * *
    * FirebaseLink resource
    * 
@@ -240,6 +312,8 @@ public enum ChangeHistoryResourceType */ public static final int FIREBASE_LINK_VALUE = 6; /** + * + * *
    * GoogleAdsLink resource
    * 
@@ -248,6 +322,8 @@ public enum ChangeHistoryResourceType */ public static final int GOOGLE_ADS_LINK_VALUE = 7; /** + * + * *
    * GoogleSignalsSettings resource
    * 
@@ -256,6 +332,8 @@ public enum ChangeHistoryResourceType */ public static final int GOOGLE_SIGNALS_SETTINGS_VALUE = 8; /** + * + * *
    * ConversionEvent resource
    * 
@@ -264,6 +342,8 @@ public enum ChangeHistoryResourceType */ public static final int CONVERSION_EVENT_VALUE = 9; /** + * + * *
    * MeasurementProtocolSecret resource
    * 
@@ -272,6 +352,8 @@ public enum ChangeHistoryResourceType */ public static final int MEASUREMENT_PROTOCOL_SECRET_VALUE = 10; /** + * + * *
    * CustomDimension resource
    * 
@@ -280,6 +362,8 @@ public enum ChangeHistoryResourceType */ public static final int CUSTOM_DIMENSION_VALUE = 11; /** + * + * *
    * CustomMetric resource
    * 
@@ -288,6 +372,8 @@ public enum ChangeHistoryResourceType */ public static final int CUSTOM_METRIC_VALUE = 12; /** + * + * *
    * DataRetentionSettings resource
    * 
@@ -296,6 +382,8 @@ public enum ChangeHistoryResourceType */ public static final int DATA_RETENTION_SETTINGS_VALUE = 13; /** + * + * *
    * DisplayVideo360AdvertiserLink resource
    * 
@@ -304,6 +392,8 @@ public enum ChangeHistoryResourceType */ public static final int DISPLAY_VIDEO_360_ADVERTISER_LINK_VALUE = 14; /** + * + * *
    * DisplayVideo360AdvertiserLinkProposal resource
    * 
@@ -312,6 +402,8 @@ public enum ChangeHistoryResourceType */ public static final int DISPLAY_VIDEO_360_ADVERTISER_LINK_PROPOSAL_VALUE = 15; /** + * + * *
    * SearchAds360Link resource
    * 
@@ -320,6 +412,8 @@ public enum ChangeHistoryResourceType */ public static final int SEARCH_ADS_360_LINK_VALUE = 16; /** + * + * *
    * DataStream resource
    * 
@@ -328,6 +422,8 @@ public enum ChangeHistoryResourceType */ public static final int DATA_STREAM_VALUE = 18; /** + * + * *
    * AttributionSettings resource
    * 
@@ -336,6 +432,8 @@ public enum ChangeHistoryResourceType */ public static final int ATTRIBUTION_SETTINGS_VALUE = 20; /** + * + * *
    * ExpandedDataSet resource
    * 
@@ -344,6 +442,8 @@ public enum ChangeHistoryResourceType */ public static final int EXPANDED_DATA_SET_VALUE = 21; /** + * + * *
    * ChannelGroup resource
    * 
@@ -352,6 +452,8 @@ public enum ChangeHistoryResourceType */ public static final int CHANNEL_GROUP_VALUE = 22; /** + * + * *
    * EnhancedMeasurementSettings resource
    * 
@@ -360,6 +462,8 @@ public enum ChangeHistoryResourceType */ public static final int ENHANCED_MEASUREMENT_SETTINGS_VALUE = 24; /** + * + * *
    * DataRedactionSettings resource
    * 
@@ -368,6 +472,8 @@ public enum ChangeHistoryResourceType */ public static final int DATA_REDACTION_SETTINGS_VALUE = 25; /** + * + * *
    * SKAdNetworkConversionValueSchema resource
    * 
@@ -376,6 +482,8 @@ public enum ChangeHistoryResourceType */ public static final int SKADNETWORK_CONVERSION_VALUE_SCHEMA_VALUE = 26; /** + * + * *
    * AdSenseLink resource
    * 
@@ -384,6 +492,8 @@ public enum ChangeHistoryResourceType */ public static final int ADSENSE_LINK_VALUE = 27; /** + * + * *
    * Audience resource
    * 
@@ -392,6 +502,8 @@ public enum ChangeHistoryResourceType */ public static final int AUDIENCE_VALUE = 28; /** + * + * *
    * EventCreateRule resource
    * 
@@ -400,7 +512,6 @@ public enum ChangeHistoryResourceType */ public static final int EVENT_CREATE_RULE_VALUE = 29; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -425,31 +536,56 @@ 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; - case 24: return ENHANCED_MEASUREMENT_SETTINGS; - case 25: return DATA_REDACTION_SETTINGS; - case 26: return SKADNETWORK_CONVERSION_VALUE_SCHEMA; - case 27: return ADSENSE_LINK; - case 28: return AUDIENCE; - case 29: return EVENT_CREATE_RULE; - 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; + case 24: + return ENHANCED_MEASUREMENT_SETTINGS; + case 25: + return DATA_REDACTION_SETTINGS; + case 26: + return SKADNETWORK_CONVERSION_VALUE_SCHEMA; + case 27: + return ADSENSE_LINK; + case 28: + return AUDIENCE; + case 29: + return EVENT_CREATE_RULE; + default: + return null; } } @@ -457,28 +593,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); } @@ -487,8 +623,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; @@ -504,4 +639,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/ChannelGroup.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ChannelGroup.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/ChannelGroup.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ChannelGroup.java index 3a14d4f809d6..057ff143f2f4 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ChannelGroup.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ChannelGroup.java @@ -1,24 +1,42 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/channel_group.proto package com.google.analytics.admin.v1alpha; /** + * + * *
  * A resource message representing a Channel Group.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.ChannelGroup} */ -public final class ChannelGroup extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ChannelGroup extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.ChannelGroup) ChannelGroupOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ChannelGroup.newBuilder() to construct. private ChannelGroup(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ChannelGroup() { name_ = ""; displayName_ = ""; @@ -28,34 +46,39 @@ private ChannelGroup() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ChannelGroup(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.ChannelGroupProto.internal_static_google_analytics_admin_v1alpha_ChannelGroup_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.ChannelGroupProto + .internal_static_google_analytics_admin_v1alpha_ChannelGroup_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.ChannelGroupProto.internal_static_google_analytics_admin_v1alpha_ChannelGroup_fieldAccessorTable + return com.google.analytics.admin.v1alpha.ChannelGroupProto + .internal_static_google_analytics_admin_v1alpha_ChannelGroup_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.ChannelGroup.class, com.google.analytics.admin.v1alpha.ChannelGroup.Builder.class); + com.google.analytics.admin.v1alpha.ChannelGroup.class, + com.google.analytics.admin.v1alpha.ChannelGroup.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 Channel Group resource.
    * Format: properties/{property}/channelGroups/{channel_group}
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ @java.lang.Override @@ -64,30 +87,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 Channel Group resource.
    * Format: properties/{property}/channelGroups/{channel_group}
    * 
* * 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 { @@ -96,15 +119,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 Channel Group. Max length of 80
    * characters.
    * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The displayName. */ @java.lang.Override @@ -113,30 +140,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 Channel Group. Max length of 80
    * characters.
    * 
* * 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 { @@ -145,14 +172,18 @@ public java.lang.String getDisplayName() { } public static final int DESCRIPTION_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object description_ = ""; /** + * + * *
    * The description of the Channel Group. Max length of 256 characters.
    * 
* * string description = 3; + * * @return The description. */ @java.lang.Override @@ -161,29 +192,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; } } /** + * + * *
    * The description of the Channel Group. Max length of 256 characters.
    * 
* * string description = 3; + * * @return The bytes for description. */ @java.lang.Override - public com.google.protobuf.ByteString - getDescriptionBytes() { + public com.google.protobuf.ByteString getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); description_ = b; return b; } else { @@ -192,59 +223,80 @@ public java.lang.String getDescription() { } public static final int GROUPING_RULE_FIELD_NUMBER = 4; + @SuppressWarnings("serial") private java.util.List groupingRule_; /** + * + * *
    * Required. The grouping rules of channels. Maximum number of rules is 25.
    * 
* - * repeated .google.analytics.admin.v1alpha.GroupingRule grouping_rule = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.GroupingRule grouping_rule = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public java.util.List getGroupingRuleList() { return groupingRule_; } /** + * + * *
    * Required. The grouping rules of channels. Maximum number of rules is 25.
    * 
* - * repeated .google.analytics.admin.v1alpha.GroupingRule grouping_rule = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.GroupingRule grouping_rule = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public java.util.List + public java.util.List getGroupingRuleOrBuilderList() { return groupingRule_; } /** + * + * *
    * Required. The grouping rules of channels. Maximum number of rules is 25.
    * 
* - * repeated .google.analytics.admin.v1alpha.GroupingRule grouping_rule = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.GroupingRule grouping_rule = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public int getGroupingRuleCount() { return groupingRule_.size(); } /** + * + * *
    * Required. The grouping rules of channels. Maximum number of rules is 25.
    * 
* - * repeated .google.analytics.admin.v1alpha.GroupingRule grouping_rule = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.GroupingRule grouping_rule = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.analytics.admin.v1alpha.GroupingRule getGroupingRule(int index) { return groupingRule_.get(index); } /** + * + * *
    * Required. The grouping rules of channels. Maximum number of rules is 25.
    * 
* - * repeated .google.analytics.admin.v1alpha.GroupingRule grouping_rule = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.GroupingRule grouping_rule = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.analytics.admin.v1alpha.GroupingRuleOrBuilder getGroupingRuleOrBuilder( @@ -255,12 +307,15 @@ public com.google.analytics.admin.v1alpha.GroupingRuleOrBuilder getGroupingRuleO public static final int SYSTEM_DEFINED_FIELD_NUMBER = 5; private boolean systemDefined_ = false; /** + * + * *
    * Output only. Default Channel Group defined by Google, which cannot be
    * updated.
    * 
* * bool system_defined = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The systemDefined. */ @java.lang.Override @@ -269,6 +324,7 @@ public boolean getSystemDefined() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -280,8 +336,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -316,12 +371,10 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, description_); } for (int i = 0; i < groupingRule_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, groupingRule_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, groupingRule_.get(i)); } if (systemDefined_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(5, systemDefined_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(5, systemDefined_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -331,23 +384,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.ChannelGroup)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.ChannelGroup other = (com.google.analytics.admin.v1alpha.ChannelGroup) obj; - - if (!getName() - .equals(other.getName())) return false; - if (!getDisplayName() - .equals(other.getDisplayName())) return false; - if (!getDescription() - .equals(other.getDescription())) return false; - if (!getGroupingRuleList() - .equals(other.getGroupingRuleList())) return false; - if (getSystemDefined() - != other.getSystemDefined()) return false; + com.google.analytics.admin.v1alpha.ChannelGroup other = + (com.google.analytics.admin.v1alpha.ChannelGroup) obj; + + if (!getName().equals(other.getName())) return false; + if (!getDisplayName().equals(other.getDisplayName())) return false; + if (!getDescription().equals(other.getDescription())) return false; + if (!getGroupingRuleList().equals(other.getGroupingRuleList())) return false; + if (getSystemDefined() != other.getSystemDefined()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -370,139 +419,142 @@ public int hashCode() { hash = (53 * hash) + getGroupingRuleList().hashCode(); } hash = (37 * hash) + SYSTEM_DEFINED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getSystemDefined()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getSystemDefined()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.analytics.admin.v1alpha.ChannelGroup parseFrom( - java.nio.ByteBuffer data) + public static com.google.analytics.admin.v1alpha.ChannelGroup parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.ChannelGroup parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.ChannelGroup parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.ChannelGroup parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.ChannelGroup parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.ChannelGroup parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.ChannelGroup 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.ChannelGroup parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.ChannelGroup parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.ChannelGroup parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.analytics.admin.v1alpha.ChannelGroup parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.ChannelGroup parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.ChannelGroup parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.analytics.admin.v1alpha.ChannelGroup prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 Channel Group.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.ChannelGroup} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.ChannelGroup) com.google.analytics.admin.v1alpha.ChannelGroupOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.ChannelGroupProto.internal_static_google_analytics_admin_v1alpha_ChannelGroup_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.ChannelGroupProto + .internal_static_google_analytics_admin_v1alpha_ChannelGroup_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.ChannelGroupProto.internal_static_google_analytics_admin_v1alpha_ChannelGroup_fieldAccessorTable + return com.google.analytics.admin.v1alpha.ChannelGroupProto + .internal_static_google_analytics_admin_v1alpha_ChannelGroup_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.ChannelGroup.class, com.google.analytics.admin.v1alpha.ChannelGroup.Builder.class); + com.google.analytics.admin.v1alpha.ChannelGroup.class, + com.google.analytics.admin.v1alpha.ChannelGroup.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.ChannelGroup.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(); @@ -522,9 +574,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.analytics.admin.v1alpha.ChannelGroupProto.internal_static_google_analytics_admin_v1alpha_ChannelGroup_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1alpha.ChannelGroupProto + .internal_static_google_analytics_admin_v1alpha_ChannelGroup_descriptor; } @java.lang.Override @@ -543,14 +595,18 @@ public com.google.analytics.admin.v1alpha.ChannelGroup build() { @java.lang.Override public com.google.analytics.admin.v1alpha.ChannelGroup buildPartial() { - com.google.analytics.admin.v1alpha.ChannelGroup result = new com.google.analytics.admin.v1alpha.ChannelGroup(this); + com.google.analytics.admin.v1alpha.ChannelGroup result = + new com.google.analytics.admin.v1alpha.ChannelGroup(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartialRepeatedFields(com.google.analytics.admin.v1alpha.ChannelGroup result) { + private void buildPartialRepeatedFields( + com.google.analytics.admin.v1alpha.ChannelGroup result) { if (groupingRuleBuilder_ == null) { if (((bitField0_ & 0x00000008) != 0)) { groupingRule_ = java.util.Collections.unmodifiableList(groupingRule_); @@ -582,38 +638,39 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.ChannelGroup 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.ChannelGroup) { - return mergeFrom((com.google.analytics.admin.v1alpha.ChannelGroup)other); + return mergeFrom((com.google.analytics.admin.v1alpha.ChannelGroup) other); } else { super.mergeFrom(other); return this; @@ -621,7 +678,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1alpha.ChannelGroup other) { - if (other == com.google.analytics.admin.v1alpha.ChannelGroup.getDefaultInstance()) return this; + if (other == com.google.analytics.admin.v1alpha.ChannelGroup.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -655,9 +713,10 @@ public Builder mergeFrom(com.google.analytics.admin.v1alpha.ChannelGroup other) groupingRuleBuilder_ = null; groupingRule_ = other.groupingRule_; bitField0_ = (bitField0_ & ~0x00000008); - groupingRuleBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getGroupingRuleFieldBuilder() : null; + groupingRuleBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getGroupingRuleFieldBuilder() + : null; } else { groupingRuleBuilder_.addAllMessages(other.groupingRule_); } @@ -692,45 +751,51 @@ 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: { - com.google.analytics.admin.v1alpha.GroupingRule m = - input.readMessage( - com.google.analytics.admin.v1alpha.GroupingRule.parser(), - extensionRegistry); - if (groupingRuleBuilder_ == null) { - ensureGroupingRuleIsMutable(); - groupingRule_.add(m); - } else { - groupingRuleBuilder_.addMessage(m); - } - break; - } // case 34 - case 40: { - systemDefined_ = 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: + { + displayName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + description_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: + { + com.google.analytics.admin.v1alpha.GroupingRule m = + input.readMessage( + com.google.analytics.admin.v1alpha.GroupingRule.parser(), + extensionRegistry); + if (groupingRuleBuilder_ == null) { + ensureGroupingRuleIsMutable(); + groupingRule_.add(m); + } else { + groupingRuleBuilder_.addMessage(m); + } + break; + } // case 34 + case 40: + { + systemDefined_ = 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) { @@ -740,23 +805,26 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Output only. The resource name for this Channel Group resource.
      * Format: properties/{property}/channelGroups/{channel_group}
      * 
* * 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; @@ -765,21 +833,22 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. The resource name for this Channel Group resource.
      * Format: properties/{property}/channelGroups/{channel_group}
      * 
* * 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 { @@ -787,30 +856,37 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. The resource name for this Channel Group resource.
      * Format: properties/{property}/channelGroups/{channel_group}
      * 
* * 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 Channel Group resource.
      * Format: properties/{property}/channelGroups/{channel_group}
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearName() { @@ -820,18 +896,22 @@ public Builder clearName() { return this; } /** + * + * *
      * Output only. The resource name for this Channel Group resource.
      * Format: properties/{property}/channelGroups/{channel_group}
      * 
* * 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; @@ -841,19 +921,21 @@ public Builder setNameBytes( private java.lang.Object displayName_ = ""; /** + * + * *
      * Required. The display name of the Channel Group. Max length of 80
      * characters.
      * 
* * 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; @@ -862,21 +944,22 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * Required. The display name of the Channel Group. Max length of 80
      * characters.
      * 
* * 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 { @@ -884,30 +967,37 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * Required. The display name of the Channel Group. Max length of 80
      * characters.
      * 
* * 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 Channel Group. Max length of 80
      * characters.
      * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearDisplayName() { @@ -917,18 +1007,22 @@ public Builder clearDisplayName() { return this; } /** + * + * *
      * Required. The display name of the Channel Group. Max length of 80
      * characters.
      * 
* * 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; @@ -938,18 +1032,20 @@ public Builder setDisplayNameBytes( private java.lang.Object description_ = ""; /** + * + * *
      * The description of the Channel Group. Max length of 256 characters.
      * 
* * string description = 3; + * * @return The description. */ public java.lang.String getDescription() { java.lang.Object ref = description_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; @@ -958,20 +1054,21 @@ public java.lang.String getDescription() { } } /** + * + * *
      * The description of the Channel Group. Max length of 256 characters.
      * 
* * string description = 3; + * * @return The bytes for description. */ - public com.google.protobuf.ByteString - getDescriptionBytes() { + public com.google.protobuf.ByteString getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); description_ = b; return b; } else { @@ -979,28 +1076,35 @@ public java.lang.String getDescription() { } } /** + * + * *
      * The description of the Channel Group. Max length of 256 characters.
      * 
* * string description = 3; + * * @param value The description to set. * @return This builder for chaining. */ - public Builder setDescription( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDescription(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } description_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * The description of the Channel Group. Max length of 256 characters.
      * 
* * string description = 3; + * * @return This builder for chaining. */ public Builder clearDescription() { @@ -1010,17 +1114,21 @@ public Builder clearDescription() { return this; } /** + * + * *
      * The description of the Channel Group. Max length of 256 characters.
      * 
* * string description = 3; + * * @param value The bytes for description to set. * @return This builder for chaining. */ - public Builder setDescriptionBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); description_ = value; bitField0_ |= 0x00000004; @@ -1029,23 +1137,32 @@ public Builder setDescriptionBytes( } private java.util.List groupingRule_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureGroupingRuleIsMutable() { if (!((bitField0_ & 0x00000008) != 0)) { - groupingRule_ = new java.util.ArrayList(groupingRule_); + groupingRule_ = + new java.util.ArrayList(groupingRule_); bitField0_ |= 0x00000008; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.GroupingRule, com.google.analytics.admin.v1alpha.GroupingRule.Builder, com.google.analytics.admin.v1alpha.GroupingRuleOrBuilder> groupingRuleBuilder_; + com.google.analytics.admin.v1alpha.GroupingRule, + com.google.analytics.admin.v1alpha.GroupingRule.Builder, + com.google.analytics.admin.v1alpha.GroupingRuleOrBuilder> + groupingRuleBuilder_; /** + * + * *
      * Required. The grouping rules of channels. Maximum number of rules is 25.
      * 
* - * repeated .google.analytics.admin.v1alpha.GroupingRule grouping_rule = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.GroupingRule grouping_rule = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ public java.util.List getGroupingRuleList() { if (groupingRuleBuilder_ == null) { @@ -1055,11 +1172,15 @@ public java.util.List getGroupi } } /** + * + * *
      * Required. The grouping rules of channels. Maximum number of rules is 25.
      * 
* - * repeated .google.analytics.admin.v1alpha.GroupingRule grouping_rule = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.GroupingRule grouping_rule = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ public int getGroupingRuleCount() { if (groupingRuleBuilder_ == null) { @@ -1069,11 +1190,15 @@ public int getGroupingRuleCount() { } } /** + * + * *
      * Required. The grouping rules of channels. Maximum number of rules is 25.
      * 
* - * repeated .google.analytics.admin.v1alpha.GroupingRule grouping_rule = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.GroupingRule grouping_rule = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.analytics.admin.v1alpha.GroupingRule getGroupingRule(int index) { if (groupingRuleBuilder_ == null) { @@ -1083,11 +1208,15 @@ public com.google.analytics.admin.v1alpha.GroupingRule getGroupingRule(int index } } /** + * + * *
      * Required. The grouping rules of channels. Maximum number of rules is 25.
      * 
* - * repeated .google.analytics.admin.v1alpha.GroupingRule grouping_rule = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.GroupingRule grouping_rule = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setGroupingRule( int index, com.google.analytics.admin.v1alpha.GroupingRule value) { @@ -1104,11 +1233,15 @@ public Builder setGroupingRule( return this; } /** + * + * *
      * Required. The grouping rules of channels. Maximum number of rules is 25.
      * 
* - * repeated .google.analytics.admin.v1alpha.GroupingRule grouping_rule = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.GroupingRule grouping_rule = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setGroupingRule( int index, com.google.analytics.admin.v1alpha.GroupingRule.Builder builderForValue) { @@ -1122,11 +1255,15 @@ public Builder setGroupingRule( return this; } /** + * + * *
      * Required. The grouping rules of channels. Maximum number of rules is 25.
      * 
* - * repeated .google.analytics.admin.v1alpha.GroupingRule grouping_rule = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.GroupingRule grouping_rule = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder addGroupingRule(com.google.analytics.admin.v1alpha.GroupingRule value) { if (groupingRuleBuilder_ == null) { @@ -1142,11 +1279,15 @@ public Builder addGroupingRule(com.google.analytics.admin.v1alpha.GroupingRule v return this; } /** + * + * *
      * Required. The grouping rules of channels. Maximum number of rules is 25.
      * 
* - * repeated .google.analytics.admin.v1alpha.GroupingRule grouping_rule = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.GroupingRule grouping_rule = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder addGroupingRule( int index, com.google.analytics.admin.v1alpha.GroupingRule value) { @@ -1163,11 +1304,15 @@ public Builder addGroupingRule( return this; } /** + * + * *
      * Required. The grouping rules of channels. Maximum number of rules is 25.
      * 
* - * repeated .google.analytics.admin.v1alpha.GroupingRule grouping_rule = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.GroupingRule grouping_rule = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder addGroupingRule( com.google.analytics.admin.v1alpha.GroupingRule.Builder builderForValue) { @@ -1181,11 +1326,15 @@ public Builder addGroupingRule( return this; } /** + * + * *
      * Required. The grouping rules of channels. Maximum number of rules is 25.
      * 
* - * repeated .google.analytics.admin.v1alpha.GroupingRule grouping_rule = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.GroupingRule grouping_rule = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder addGroupingRule( int index, com.google.analytics.admin.v1alpha.GroupingRule.Builder builderForValue) { @@ -1199,18 +1348,21 @@ public Builder addGroupingRule( return this; } /** + * + * *
      * Required. The grouping rules of channels. Maximum number of rules is 25.
      * 
* - * repeated .google.analytics.admin.v1alpha.GroupingRule grouping_rule = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.GroupingRule grouping_rule = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder addAllGroupingRule( java.lang.Iterable values) { if (groupingRuleBuilder_ == null) { ensureGroupingRuleIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, groupingRule_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, groupingRule_); onChanged(); } else { groupingRuleBuilder_.addAllMessages(values); @@ -1218,11 +1370,15 @@ public Builder addAllGroupingRule( return this; } /** + * + * *
      * Required. The grouping rules of channels. Maximum number of rules is 25.
      * 
* - * repeated .google.analytics.admin.v1alpha.GroupingRule grouping_rule = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.GroupingRule grouping_rule = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearGroupingRule() { if (groupingRuleBuilder_ == null) { @@ -1235,11 +1391,15 @@ public Builder clearGroupingRule() { return this; } /** + * + * *
      * Required. The grouping rules of channels. Maximum number of rules is 25.
      * 
* - * repeated .google.analytics.admin.v1alpha.GroupingRule grouping_rule = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.GroupingRule grouping_rule = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder removeGroupingRule(int index) { if (groupingRuleBuilder_ == null) { @@ -1252,39 +1412,52 @@ public Builder removeGroupingRule(int index) { return this; } /** + * + * *
      * Required. The grouping rules of channels. Maximum number of rules is 25.
      * 
* - * repeated .google.analytics.admin.v1alpha.GroupingRule grouping_rule = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.GroupingRule grouping_rule = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.analytics.admin.v1alpha.GroupingRule.Builder getGroupingRuleBuilder( int index) { return getGroupingRuleFieldBuilder().getBuilder(index); } /** + * + * *
      * Required. The grouping rules of channels. Maximum number of rules is 25.
      * 
* - * repeated .google.analytics.admin.v1alpha.GroupingRule grouping_rule = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.GroupingRule grouping_rule = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.analytics.admin.v1alpha.GroupingRuleOrBuilder getGroupingRuleOrBuilder( int index) { if (groupingRuleBuilder_ == null) { - return groupingRule_.get(index); } else { + return groupingRule_.get(index); + } else { return groupingRuleBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Required. The grouping rules of channels. Maximum number of rules is 25.
      * 
* - * repeated .google.analytics.admin.v1alpha.GroupingRule grouping_rule = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.GroupingRule grouping_rule = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ - public java.util.List - getGroupingRuleOrBuilderList() { + public java.util.List + getGroupingRuleOrBuilderList() { if (groupingRuleBuilder_ != null) { return groupingRuleBuilder_.getMessageOrBuilderList(); } else { @@ -1292,62 +1465,80 @@ public com.google.analytics.admin.v1alpha.GroupingRuleOrBuilder getGroupingRuleO } } /** + * + * *
      * Required. The grouping rules of channels. Maximum number of rules is 25.
      * 
* - * repeated .google.analytics.admin.v1alpha.GroupingRule grouping_rule = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.GroupingRule grouping_rule = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.analytics.admin.v1alpha.GroupingRule.Builder addGroupingRuleBuilder() { - return getGroupingRuleFieldBuilder().addBuilder( - com.google.analytics.admin.v1alpha.GroupingRule.getDefaultInstance()); + return getGroupingRuleFieldBuilder() + .addBuilder(com.google.analytics.admin.v1alpha.GroupingRule.getDefaultInstance()); } /** + * + * *
      * Required. The grouping rules of channels. Maximum number of rules is 25.
      * 
* - * repeated .google.analytics.admin.v1alpha.GroupingRule grouping_rule = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.GroupingRule grouping_rule = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.analytics.admin.v1alpha.GroupingRule.Builder addGroupingRuleBuilder( int index) { - return getGroupingRuleFieldBuilder().addBuilder( - index, com.google.analytics.admin.v1alpha.GroupingRule.getDefaultInstance()); + return getGroupingRuleFieldBuilder() + .addBuilder(index, com.google.analytics.admin.v1alpha.GroupingRule.getDefaultInstance()); } /** + * + * *
      * Required. The grouping rules of channels. Maximum number of rules is 25.
      * 
* - * repeated .google.analytics.admin.v1alpha.GroupingRule grouping_rule = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.GroupingRule grouping_rule = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ - public java.util.List - getGroupingRuleBuilderList() { + public java.util.List + getGroupingRuleBuilderList() { return getGroupingRuleFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.GroupingRule, com.google.analytics.admin.v1alpha.GroupingRule.Builder, com.google.analytics.admin.v1alpha.GroupingRuleOrBuilder> + com.google.analytics.admin.v1alpha.GroupingRule, + com.google.analytics.admin.v1alpha.GroupingRule.Builder, + com.google.analytics.admin.v1alpha.GroupingRuleOrBuilder> getGroupingRuleFieldBuilder() { if (groupingRuleBuilder_ == null) { - groupingRuleBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.GroupingRule, com.google.analytics.admin.v1alpha.GroupingRule.Builder, com.google.analytics.admin.v1alpha.GroupingRuleOrBuilder>( - groupingRule_, - ((bitField0_ & 0x00000008) != 0), - getParentForChildren(), - isClean()); + groupingRuleBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.analytics.admin.v1alpha.GroupingRule, + com.google.analytics.admin.v1alpha.GroupingRule.Builder, + com.google.analytics.admin.v1alpha.GroupingRuleOrBuilder>( + groupingRule_, ((bitField0_ & 0x00000008) != 0), getParentForChildren(), isClean()); groupingRule_ = null; } return groupingRuleBuilder_; } - private boolean systemDefined_ ; + private boolean systemDefined_; /** + * + * *
      * Output only. Default Channel Group defined by Google, which cannot be
      * updated.
      * 
* * bool system_defined = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The systemDefined. */ @java.lang.Override @@ -1355,12 +1546,15 @@ public boolean getSystemDefined() { return systemDefined_; } /** + * + * *
      * Output only. Default Channel Group defined by Google, which cannot be
      * updated.
      * 
* * bool system_defined = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The systemDefined to set. * @return This builder for chaining. */ @@ -1372,12 +1566,15 @@ public Builder setSystemDefined(boolean value) { return this; } /** + * + * *
      * Output only. Default Channel Group defined by Google, which cannot be
      * updated.
      * 
* * bool system_defined = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearSystemDefined() { @@ -1386,9 +1583,9 @@ public Builder clearSystemDefined() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1398,12 +1595,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.ChannelGroup) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.ChannelGroup) private static final com.google.analytics.admin.v1alpha.ChannelGroup DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.ChannelGroup(); } @@ -1412,27 +1609,27 @@ public static com.google.analytics.admin.v1alpha.ChannelGroup getDefaultInstance return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ChannelGroup parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ChannelGroup parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1447,6 +1644,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1alpha.ChannelGroup 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/ChannelGroupFilter.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ChannelGroupFilter.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/ChannelGroupFilter.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ChannelGroupFilter.java index 4feb2487d6ae..487bb520a5f0 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ChannelGroupFilter.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ChannelGroupFilter.java @@ -1,107 +1,145 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/channel_group.proto package com.google.analytics.admin.v1alpha; /** + * + * *
  * A specific filter for a single dimension.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.ChannelGroupFilter} */ -public final class ChannelGroupFilter extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ChannelGroupFilter extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.ChannelGroupFilter) ChannelGroupFilterOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ChannelGroupFilter.newBuilder() to construct. private ChannelGroupFilter(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ChannelGroupFilter() { fieldName_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ChannelGroupFilter(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.ChannelGroupProto.internal_static_google_analytics_admin_v1alpha_ChannelGroupFilter_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.ChannelGroupProto + .internal_static_google_analytics_admin_v1alpha_ChannelGroupFilter_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.ChannelGroupProto.internal_static_google_analytics_admin_v1alpha_ChannelGroupFilter_fieldAccessorTable + return com.google.analytics.admin.v1alpha.ChannelGroupProto + .internal_static_google_analytics_admin_v1alpha_ChannelGroupFilter_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.ChannelGroupFilter.class, com.google.analytics.admin.v1alpha.ChannelGroupFilter.Builder.class); + com.google.analytics.admin.v1alpha.ChannelGroupFilter.class, + com.google.analytics.admin.v1alpha.ChannelGroupFilter.Builder.class); } - public interface StringFilterOrBuilder extends + public interface StringFilterOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.ChannelGroupFilter.StringFilter) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Required. The match type for the string filter.
      * 
* - * .google.analytics.admin.v1alpha.ChannelGroupFilter.StringFilter.MatchType match_type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.ChannelGroupFilter.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.ChannelGroupFilter.StringFilter.MatchType match_type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.ChannelGroupFilter.StringFilter.MatchType match_type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The matchType. */ com.google.analytics.admin.v1alpha.ChannelGroupFilter.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(); } /** + * + * *
    * Filter where the field value is a String. The match is case insensitive.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.ChannelGroupFilter.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.ChannelGroupFilter.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_ = ""; @@ -109,34 +147,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(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.ChannelGroupProto.internal_static_google_analytics_admin_v1alpha_ChannelGroupFilter_StringFilter_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.ChannelGroupProto + .internal_static_google_analytics_admin_v1alpha_ChannelGroupFilter_StringFilter_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.ChannelGroupProto.internal_static_google_analytics_admin_v1alpha_ChannelGroupFilter_StringFilter_fieldAccessorTable + return com.google.analytics.admin.v1alpha.ChannelGroupProto + .internal_static_google_analytics_admin_v1alpha_ChannelGroupFilter_StringFilter_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.ChannelGroupFilter.StringFilter.class, com.google.analytics.admin.v1alpha.ChannelGroupFilter.StringFilter.Builder.class); + com.google.analytics.admin.v1alpha.ChannelGroupFilter.StringFilter.class, + com.google.analytics.admin.v1alpha.ChannelGroupFilter.StringFilter.Builder.class); } /** + * + * *
      * How the filter will be used to determine a match.
      * 
* - * Protobuf enum {@code google.analytics.admin.v1alpha.ChannelGroupFilter.StringFilter.MatchType} + * Protobuf enum {@code + * google.analytics.admin.v1alpha.ChannelGroupFilter.StringFilter.MatchType} */ - public enum MatchType - implements com.google.protobuf.ProtocolMessageEnum { + public enum MatchType implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
        * Default match type.
        * 
@@ -145,6 +188,8 @@ public enum MatchType */ MATCH_TYPE_UNSPECIFIED(0), /** + * + * *
        * Exact match of the string value.
        * 
@@ -153,6 +198,8 @@ public enum MatchType */ EXACT(1), /** + * + * *
        * Begins with the string value.
        * 
@@ -161,6 +208,8 @@ public enum MatchType */ BEGINS_WITH(2), /** + * + * *
        * Ends with the string value.
        * 
@@ -169,6 +218,8 @@ public enum MatchType */ ENDS_WITH(3), /** + * + * *
        * Contains the string value.
        * 
@@ -177,6 +228,8 @@ public enum MatchType */ CONTAINS(4), /** + * + * *
        * Full regular expression match with the string value.
        * 
@@ -185,6 +238,8 @@ public enum MatchType */ FULL_REGEXP(5), /** + * + * *
        * Partial regular expression match with the string value.
        * 
@@ -196,6 +251,8 @@ public enum MatchType ; /** + * + * *
        * Default match type.
        * 
@@ -204,6 +261,8 @@ public enum MatchType */ public static final int MATCH_TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
        * Exact match of the string value.
        * 
@@ -212,6 +271,8 @@ public enum MatchType */ public static final int EXACT_VALUE = 1; /** + * + * *
        * Begins with the string value.
        * 
@@ -220,6 +281,8 @@ public enum MatchType */ public static final int BEGINS_WITH_VALUE = 2; /** + * + * *
        * Ends with the string value.
        * 
@@ -228,6 +291,8 @@ public enum MatchType */ public static final int ENDS_WITH_VALUE = 3; /** + * + * *
        * Contains the string value.
        * 
@@ -236,6 +301,8 @@ public enum MatchType */ public static final int CONTAINS_VALUE = 4; /** + * + * *
        * Full regular expression match with the string value.
        * 
@@ -244,6 +311,8 @@ public enum MatchType */ public static final int FULL_REGEXP_VALUE = 5; /** + * + * *
        * Partial regular expression match with the string value.
        * 
@@ -252,7 +321,6 @@ public enum MatchType */ public static final int PARTIAL_REGEXP_VALUE = 6; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -277,53 +345,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.ChannelGroupFilter.StringFilter.getDescriptor().getEnumTypes().get(0); + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.ChannelGroupFilter.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; @@ -343,38 +417,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.ChannelGroupFilter.StringFilter.MatchType match_type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.ChannelGroupFilter.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.ChannelGroupFilter.StringFilter.MatchType match_type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.ChannelGroupFilter.StringFilter.MatchType match_type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The matchType. */ - @java.lang.Override public com.google.analytics.admin.v1alpha.ChannelGroupFilter.StringFilter.MatchType getMatchType() { - com.google.analytics.admin.v1alpha.ChannelGroupFilter.StringFilter.MatchType result = com.google.analytics.admin.v1alpha.ChannelGroupFilter.StringFilter.MatchType.forNumber(matchType_); - return result == null ? com.google.analytics.admin.v1alpha.ChannelGroupFilter.StringFilter.MatchType.UNRECOGNIZED : result; + @java.lang.Override + public com.google.analytics.admin.v1alpha.ChannelGroupFilter.StringFilter.MatchType + getMatchType() { + com.google.analytics.admin.v1alpha.ChannelGroupFilter.StringFilter.MatchType result = + com.google.analytics.admin.v1alpha.ChannelGroupFilter.StringFilter.MatchType.forNumber( + matchType_); + return result == null + ? com.google.analytics.admin.v1alpha.ChannelGroupFilter.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 @@ -383,29 +479,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 { @@ -414,6 +510,7 @@ public java.lang.String getValue() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -425,9 +522,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.ChannelGroupFilter.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.ChannelGroupFilter.StringFilter.MatchType + .MATCH_TYPE_UNSPECIFIED + .getNumber()) { output.writeEnum(1, matchType_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(value_)) { @@ -442,9 +541,11 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (matchType_ != com.google.analytics.admin.v1alpha.ChannelGroupFilter.StringFilter.MatchType.MATCH_TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(1, matchType_); + if (matchType_ + != com.google.analytics.admin.v1alpha.ChannelGroupFilter.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_); @@ -457,16 +558,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.ChannelGroupFilter.StringFilter)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.ChannelGroupFilter.StringFilter other = (com.google.analytics.admin.v1alpha.ChannelGroupFilter.StringFilter) obj; + com.google.analytics.admin.v1alpha.ChannelGroupFilter.StringFilter other = + (com.google.analytics.admin.v1alpha.ChannelGroupFilter.StringFilter) obj; if (matchType_ != other.matchType_) return false; - if (!getValue() - .equals(other.getValue())) return false; + if (!getValue().equals(other.getValue())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -488,89 +589,95 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.ChannelGroupFilter.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.ChannelGroupFilter.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.ChannelGroupFilter.StringFilter parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.ChannelGroupFilter.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.ChannelGroupFilter.StringFilter parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.analytics.admin.v1alpha.ChannelGroupFilter.StringFilter parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.ChannelGroupFilter.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.ChannelGroupFilter.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.ChannelGroupFilter.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.ChannelGroupFilter.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.ChannelGroupFilter.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.ChannelGroupFilter.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.ChannelGroupFilter.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.ChannelGroupFilter.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.ChannelGroupFilter.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.ChannelGroupFilter.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.ChannelGroupFilter.StringFilter prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1alpha.ChannelGroupFilter.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 @@ -580,39 +687,42 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Filter where the field value is a String. The match is case insensitive.
      * 
* * Protobuf type {@code google.analytics.admin.v1alpha.ChannelGroupFilter.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.ChannelGroupFilter.StringFilter) com.google.analytics.admin.v1alpha.ChannelGroupFilter.StringFilterOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.ChannelGroupProto.internal_static_google_analytics_admin_v1alpha_ChannelGroupFilter_StringFilter_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.ChannelGroupProto + .internal_static_google_analytics_admin_v1alpha_ChannelGroupFilter_StringFilter_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.ChannelGroupProto.internal_static_google_analytics_admin_v1alpha_ChannelGroupFilter_StringFilter_fieldAccessorTable + return com.google.analytics.admin.v1alpha.ChannelGroupProto + .internal_static_google_analytics_admin_v1alpha_ChannelGroupFilter_StringFilter_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.ChannelGroupFilter.StringFilter.class, com.google.analytics.admin.v1alpha.ChannelGroupFilter.StringFilter.Builder.class); + com.google.analytics.admin.v1alpha.ChannelGroupFilter.StringFilter.class, + com.google.analytics.admin.v1alpha.ChannelGroupFilter.StringFilter.Builder.class); } - // Construct using com.google.analytics.admin.v1alpha.ChannelGroupFilter.StringFilter.newBuilder() - private Builder() { - - } + // Construct using + // com.google.analytics.admin.v1alpha.ChannelGroupFilter.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(); @@ -623,14 +733,16 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.analytics.admin.v1alpha.ChannelGroupProto.internal_static_google_analytics_admin_v1alpha_ChannelGroupFilter_StringFilter_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1alpha.ChannelGroupProto + .internal_static_google_analytics_admin_v1alpha_ChannelGroupFilter_StringFilter_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.ChannelGroupFilter.StringFilter getDefaultInstanceForType() { - return com.google.analytics.admin.v1alpha.ChannelGroupFilter.StringFilter.getDefaultInstance(); + public com.google.analytics.admin.v1alpha.ChannelGroupFilter.StringFilter + getDefaultInstanceForType() { + return com.google.analytics.admin.v1alpha.ChannelGroupFilter.StringFilter + .getDefaultInstance(); } @java.lang.Override @@ -644,13 +756,17 @@ public com.google.analytics.admin.v1alpha.ChannelGroupFilter.StringFilter build( @java.lang.Override public com.google.analytics.admin.v1alpha.ChannelGroupFilter.StringFilter buildPartial() { - com.google.analytics.admin.v1alpha.ChannelGroupFilter.StringFilter result = new com.google.analytics.admin.v1alpha.ChannelGroupFilter.StringFilter(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.analytics.admin.v1alpha.ChannelGroupFilter.StringFilter result = + new com.google.analytics.admin.v1alpha.ChannelGroupFilter.StringFilter(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.analytics.admin.v1alpha.ChannelGroupFilter.StringFilter result) { + private void buildPartial0( + com.google.analytics.admin.v1alpha.ChannelGroupFilter.StringFilter result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.matchType_ = matchType_; @@ -664,46 +780,53 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.ChannelGroupFilter public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.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.ChannelGroupFilter.StringFilter) { - return mergeFrom((com.google.analytics.admin.v1alpha.ChannelGroupFilter.StringFilter)other); + return mergeFrom( + (com.google.analytics.admin.v1alpha.ChannelGroupFilter.StringFilter) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.analytics.admin.v1alpha.ChannelGroupFilter.StringFilter other) { - if (other == com.google.analytics.admin.v1alpha.ChannelGroupFilter.StringFilter.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.analytics.admin.v1alpha.ChannelGroupFilter.StringFilter other) { + if (other + == com.google.analytics.admin.v1alpha.ChannelGroupFilter.StringFilter + .getDefaultInstance()) return this; if (other.matchType_ != 0) { setMatchTypeValue(other.getMatchTypeValue()); } @@ -738,22 +861,25 @@ 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 - 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 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -763,26 +889,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.ChannelGroupFilter.StringFilter.MatchType match_type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.ChannelGroupFilter.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.ChannelGroupFilter.StringFilter.MatchType match_type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.ChannelGroupFilter.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. */ @@ -793,28 +931,45 @@ public Builder setMatchTypeValue(int value) { return this; } /** + * + * *
        * Required. The match type for the string filter.
        * 
* - * .google.analytics.admin.v1alpha.ChannelGroupFilter.StringFilter.MatchType match_type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.ChannelGroupFilter.StringFilter.MatchType match_type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The matchType. */ @java.lang.Override - public com.google.analytics.admin.v1alpha.ChannelGroupFilter.StringFilter.MatchType getMatchType() { - com.google.analytics.admin.v1alpha.ChannelGroupFilter.StringFilter.MatchType result = com.google.analytics.admin.v1alpha.ChannelGroupFilter.StringFilter.MatchType.forNumber(matchType_); - return result == null ? com.google.analytics.admin.v1alpha.ChannelGroupFilter.StringFilter.MatchType.UNRECOGNIZED : result; + public com.google.analytics.admin.v1alpha.ChannelGroupFilter.StringFilter.MatchType + getMatchType() { + com.google.analytics.admin.v1alpha.ChannelGroupFilter.StringFilter.MatchType result = + com.google.analytics.admin.v1alpha.ChannelGroupFilter.StringFilter.MatchType.forNumber( + matchType_); + return result == null + ? com.google.analytics.admin.v1alpha.ChannelGroupFilter.StringFilter.MatchType + .UNRECOGNIZED + : result; } /** + * + * *
        * Required. The match type for the string filter.
        * 
* - * .google.analytics.admin.v1alpha.ChannelGroupFilter.StringFilter.MatchType match_type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.ChannelGroupFilter.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.ChannelGroupFilter.StringFilter.MatchType value) { + public Builder setMatchType( + com.google.analytics.admin.v1alpha.ChannelGroupFilter.StringFilter.MatchType value) { if (value == null) { throw new NullPointerException(); } @@ -824,11 +979,16 @@ public Builder setMatchType(com.google.analytics.admin.v1alpha.ChannelGroupFilte return this; } /** + * + * *
        * Required. The match type for the string filter.
        * 
* - * .google.analytics.admin.v1alpha.ChannelGroupFilter.StringFilter.MatchType match_type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.ChannelGroupFilter.StringFilter.MatchType match_type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return This builder for chaining. */ public Builder clearMatchType() { @@ -840,18 +1000,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; @@ -860,20 +1022,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 { @@ -881,28 +1044,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() { @@ -912,23 +1082,28 @@ 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; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -941,41 +1116,44 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.ChannelGroupFilter.StringFilter) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.ChannelGroupFilter.StringFilter) - private static final com.google.analytics.admin.v1alpha.ChannelGroupFilter.StringFilter DEFAULT_INSTANCE; + private static final com.google.analytics.admin.v1alpha.ChannelGroupFilter.StringFilter + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.ChannelGroupFilter.StringFilter(); } - public static com.google.analytics.admin.v1alpha.ChannelGroupFilter.StringFilter getDefaultInstance() { + public static com.google.analytics.admin.v1alpha.ChannelGroupFilter.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; @@ -987,62 +1165,75 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.analytics.admin.v1alpha.ChannelGroupFilter.StringFilter getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.ChannelGroupFilter.StringFilter + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface InListFilterOrBuilder extends + public interface InListFilterOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.ChannelGroupFilter.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); } /** + * + * *
    * A filter for a string dimension that matches a particular list of options.
    * The match is case insensitive.
@@ -1050,76 +1241,86 @@ public interface InListFilterOrBuilder extends
    *
    * Protobuf type {@code google.analytics.admin.v1alpha.ChannelGroupFilter.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.ChannelGroupFilter.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.emptyList();
+      values_ = com.google.protobuf.LazyStringArrayList.emptyList();
     }
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(
-        UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
       return new InListFilter();
     }
 
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.analytics.admin.v1alpha.ChannelGroupProto.internal_static_google_analytics_admin_v1alpha_ChannelGroupFilter_InListFilter_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.analytics.admin.v1alpha.ChannelGroupProto
+          .internal_static_google_analytics_admin_v1alpha_ChannelGroupFilter_InListFilter_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.analytics.admin.v1alpha.ChannelGroupProto.internal_static_google_analytics_admin_v1alpha_ChannelGroupFilter_InListFilter_fieldAccessorTable
+      return com.google.analytics.admin.v1alpha.ChannelGroupProto
+          .internal_static_google_analytics_admin_v1alpha_ChannelGroupFilter_InListFilter_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.analytics.admin.v1alpha.ChannelGroupFilter.InListFilter.class, com.google.analytics.admin.v1alpha.ChannelGroupFilter.InListFilter.Builder.class);
+              com.google.analytics.admin.v1alpha.ChannelGroupFilter.InListFilter.class,
+              com.google.analytics.admin.v1alpha.ChannelGroupFilter.InListFilter.Builder.class);
     }
 
     public static final int VALUES_FIELD_NUMBER = 1;
+
     @SuppressWarnings("serial")
     private com.google.protobuf.LazyStringArrayList values_ =
         com.google.protobuf.LazyStringArrayList.emptyList();
     /**
+     *
+     *
      * 
      * 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. */ @@ -1127,21 +1328,24 @@ 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); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1153,8 +1357,7 @@ public final boolean isInitialized() { } @java.lang.Override - 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)); } @@ -1183,15 +1386,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.ChannelGroupFilter.InListFilter)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.ChannelGroupFilter.InListFilter other = (com.google.analytics.admin.v1alpha.ChannelGroupFilter.InListFilter) obj; + com.google.analytics.admin.v1alpha.ChannelGroupFilter.InListFilter other = + (com.google.analytics.admin.v1alpha.ChannelGroupFilter.InListFilter) obj; - if (!getValuesList() - .equals(other.getValuesList())) return false; + if (!getValuesList().equals(other.getValuesList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -1213,89 +1416,95 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.ChannelGroupFilter.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.ChannelGroupFilter.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.ChannelGroupFilter.InListFilter parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.ChannelGroupFilter.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.ChannelGroupFilter.InListFilter parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.analytics.admin.v1alpha.ChannelGroupFilter.InListFilter parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.ChannelGroupFilter.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.ChannelGroupFilter.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.ChannelGroupFilter.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.ChannelGroupFilter.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.ChannelGroupFilter.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.ChannelGroupFilter.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.ChannelGroupFilter.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.ChannelGroupFilter.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.ChannelGroupFilter.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.ChannelGroupFilter.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.ChannelGroupFilter.InListFilter prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1alpha.ChannelGroupFilter.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 @@ -1305,6 +1514,8 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * A filter for a string dimension that matches a particular list of options.
      * The match is case insensitive.
@@ -1312,51 +1523,53 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.analytics.admin.v1alpha.ChannelGroupFilter.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.ChannelGroupFilter.InListFilter)
         com.google.analytics.admin.v1alpha.ChannelGroupFilter.InListFilterOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor
-          getDescriptor() {
-        return com.google.analytics.admin.v1alpha.ChannelGroupProto.internal_static_google_analytics_admin_v1alpha_ChannelGroupFilter_InListFilter_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+        return com.google.analytics.admin.v1alpha.ChannelGroupProto
+            .internal_static_google_analytics_admin_v1alpha_ChannelGroupFilter_InListFilter_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.analytics.admin.v1alpha.ChannelGroupProto.internal_static_google_analytics_admin_v1alpha_ChannelGroupFilter_InListFilter_fieldAccessorTable
+        return com.google.analytics.admin.v1alpha.ChannelGroupProto
+            .internal_static_google_analytics_admin_v1alpha_ChannelGroupFilter_InListFilter_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.analytics.admin.v1alpha.ChannelGroupFilter.InListFilter.class, com.google.analytics.admin.v1alpha.ChannelGroupFilter.InListFilter.Builder.class);
+                com.google.analytics.admin.v1alpha.ChannelGroupFilter.InListFilter.class,
+                com.google.analytics.admin.v1alpha.ChannelGroupFilter.InListFilter.Builder.class);
       }
 
-      // Construct using com.google.analytics.admin.v1alpha.ChannelGroupFilter.InListFilter.newBuilder()
-      private Builder() {
-
-      }
+      // Construct using
+      // com.google.analytics.admin.v1alpha.ChannelGroupFilter.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();
         bitField0_ = 0;
-        values_ =
-            com.google.protobuf.LazyStringArrayList.emptyList();
+        values_ = com.google.protobuf.LazyStringArrayList.emptyList();
         return this;
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor
-          getDescriptorForType() {
-        return com.google.analytics.admin.v1alpha.ChannelGroupProto.internal_static_google_analytics_admin_v1alpha_ChannelGroupFilter_InListFilter_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+        return com.google.analytics.admin.v1alpha.ChannelGroupProto
+            .internal_static_google_analytics_admin_v1alpha_ChannelGroupFilter_InListFilter_descriptor;
       }
 
       @java.lang.Override
-      public com.google.analytics.admin.v1alpha.ChannelGroupFilter.InListFilter getDefaultInstanceForType() {
-        return com.google.analytics.admin.v1alpha.ChannelGroupFilter.InListFilter.getDefaultInstance();
+      public com.google.analytics.admin.v1alpha.ChannelGroupFilter.InListFilter
+          getDefaultInstanceForType() {
+        return com.google.analytics.admin.v1alpha.ChannelGroupFilter.InListFilter
+            .getDefaultInstance();
       }
 
       @java.lang.Override
@@ -1370,13 +1583,17 @@ public com.google.analytics.admin.v1alpha.ChannelGroupFilter.InListFilter build(
 
       @java.lang.Override
       public com.google.analytics.admin.v1alpha.ChannelGroupFilter.InListFilter buildPartial() {
-        com.google.analytics.admin.v1alpha.ChannelGroupFilter.InListFilter result = new com.google.analytics.admin.v1alpha.ChannelGroupFilter.InListFilter(this);
-        if (bitField0_ != 0) { buildPartial0(result); }
+        com.google.analytics.admin.v1alpha.ChannelGroupFilter.InListFilter result =
+            new com.google.analytics.admin.v1alpha.ChannelGroupFilter.InListFilter(this);
+        if (bitField0_ != 0) {
+          buildPartial0(result);
+        }
         onBuilt();
         return result;
       }
 
-      private void buildPartial0(com.google.analytics.admin.v1alpha.ChannelGroupFilter.InListFilter result) {
+      private void buildPartial0(
+          com.google.analytics.admin.v1alpha.ChannelGroupFilter.InListFilter result) {
         int from_bitField0_ = bitField0_;
         if (((from_bitField0_ & 0x00000001) != 0)) {
           values_.makeImmutable();
@@ -1388,46 +1605,53 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.ChannelGroupFilter
       public Builder clone() {
         return super.clone();
       }
+
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field,
-          java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
         return super.setField(field, value);
       }
+
       @java.lang.Override
-      public Builder clearField(
-          com.google.protobuf.Descriptors.FieldDescriptor field) {
+      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
         return super.clearField(field);
       }
+
       @java.lang.Override
-      public Builder clearOneof(
-          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      public Builder clearOneof(com.google.protobuf.Descriptors.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.ChannelGroupFilter.InListFilter) {
-          return mergeFrom((com.google.analytics.admin.v1alpha.ChannelGroupFilter.InListFilter)other);
+          return mergeFrom(
+              (com.google.analytics.admin.v1alpha.ChannelGroupFilter.InListFilter) other);
         } else {
           super.mergeFrom(other);
           return this;
         }
       }
 
-      public Builder mergeFrom(com.google.analytics.admin.v1alpha.ChannelGroupFilter.InListFilter other) {
-        if (other == com.google.analytics.admin.v1alpha.ChannelGroupFilter.InListFilter.getDefaultInstance()) return this;
+      public Builder mergeFrom(
+          com.google.analytics.admin.v1alpha.ChannelGroupFilter.InListFilter other) {
+        if (other
+            == com.google.analytics.admin.v1alpha.ChannelGroupFilter.InListFilter
+                .getDefaultInstance()) return this;
         if (!other.values_.isEmpty()) {
           if (values_.isEmpty()) {
             values_ = other.values_;
@@ -1464,18 +1688,20 @@ public Builder mergeFrom(
               case 0:
                 done = true;
                 break;
-              case 10: {
-                java.lang.String s = input.readStringRequireUtf8();
-                ensureValuesIsMutable();
-                values_.add(s);
-                break;
-              } // case 10
-              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
+              default:
+                {
+                  if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                    done = true; // was an endgroup tag
+                  }
+                  break;
+                } // default:
             } // switch (tag)
           } // while (!done)
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -1485,10 +1711,12 @@ public Builder mergeFrom(
         } // finally
         return this;
       }
+
       private int bitField0_;
 
       private com.google.protobuf.LazyStringArrayList values_ =
           com.google.protobuf.LazyStringArrayList.emptyList();
+
       private void ensureValuesIsMutable() {
         if (!values_.isModifiable()) {
           values_ = new com.google.protobuf.LazyStringArrayList(values_);
@@ -1496,38 +1724,46 @@ private void ensureValuesIsMutable() {
         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() { values_.makeImmutable(); 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. */ @@ -1535,33 +1771,39 @@ 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); bitField0_ |= 0x00000001; @@ -1569,18 +1811,22 @@ public Builder setValues( 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); bitField0_ |= 0x00000001; @@ -1588,53 +1834,61 @@ public Builder addValues( 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_); 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]; + * * @return This builder for chaining. */ public Builder clearValues() { - values_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000001);; + values_ = com.google.protobuf.LazyStringArrayList.emptyList(); + 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(); } + public Builder addValuesBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); ensureValuesIsMutable(); values_.add(value); @@ -1642,6 +1896,7 @@ public Builder addValuesBytes( onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1654,41 +1909,44 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.ChannelGroupFilter.InListFilter) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.ChannelGroupFilter.InListFilter) - private static final com.google.analytics.admin.v1alpha.ChannelGroupFilter.InListFilter DEFAULT_INSTANCE; + private static final com.google.analytics.admin.v1alpha.ChannelGroupFilter.InListFilter + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.ChannelGroupFilter.InListFilter(); } - public static com.google.analytics.admin.v1alpha.ChannelGroupFilter.InListFilter getDefaultInstance() { + public static com.google.analytics.admin.v1alpha.ChannelGroupFilter.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; @@ -1700,22 +1958,26 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.analytics.admin.v1alpha.ChannelGroupFilter.InListFilter getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.ChannelGroupFilter.InListFilter + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } private int valueFilterCase_ = 0; + @SuppressWarnings("serial") private java.lang.Object valueFilter_; + public enum ValueFilterCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { STRING_FILTER(2), IN_LIST_FILTER(3), VALUEFILTER_NOT_SET(0); private final int value; + private ValueFilterCase(int value) { this.value = value; } @@ -1731,30 +1993,36 @@ public static ValueFilterCase valueOf(int value) { public static ValueFilterCase forNumber(int value) { switch (value) { - case 2: return STRING_FILTER; - case 3: return IN_LIST_FILTER; - case 0: return VALUEFILTER_NOT_SET; - default: return null; + case 2: + return STRING_FILTER; + case 3: + return IN_LIST_FILTER; + case 0: + return VALUEFILTER_NOT_SET; + default: + return null; } } + public int getNumber() { return this.value; } }; - public ValueFilterCase - getValueFilterCase() { - return ValueFilterCase.forNumber( - valueFilterCase_); + public ValueFilterCase getValueFilterCase() { + return ValueFilterCase.forNumber(valueFilterCase_); } 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.ChannelGroupFilter.StringFilter string_filter = 2; + * * @return Whether the stringFilter field is set. */ @java.lang.Override @@ -1762,21 +2030,26 @@ public boolean hasStringFilter() { return valueFilterCase_ == 2; } /** + * + * *
    * A filter for a string-type dimension that matches a particular pattern.
    * 
* * .google.analytics.admin.v1alpha.ChannelGroupFilter.StringFilter string_filter = 2; + * * @return The stringFilter. */ @java.lang.Override public com.google.analytics.admin.v1alpha.ChannelGroupFilter.StringFilter getStringFilter() { if (valueFilterCase_ == 2) { - return (com.google.analytics.admin.v1alpha.ChannelGroupFilter.StringFilter) valueFilter_; + return (com.google.analytics.admin.v1alpha.ChannelGroupFilter.StringFilter) valueFilter_; } return com.google.analytics.admin.v1alpha.ChannelGroupFilter.StringFilter.getDefaultInstance(); } /** + * + * *
    * A filter for a string-type dimension that matches a particular pattern.
    * 
@@ -1784,21 +2057,26 @@ public com.google.analytics.admin.v1alpha.ChannelGroupFilter.StringFilter getStr * .google.analytics.admin.v1alpha.ChannelGroupFilter.StringFilter string_filter = 2; */ @java.lang.Override - public com.google.analytics.admin.v1alpha.ChannelGroupFilter.StringFilterOrBuilder getStringFilterOrBuilder() { + public com.google.analytics.admin.v1alpha.ChannelGroupFilter.StringFilterOrBuilder + getStringFilterOrBuilder() { if (valueFilterCase_ == 2) { - return (com.google.analytics.admin.v1alpha.ChannelGroupFilter.StringFilter) valueFilter_; + return (com.google.analytics.admin.v1alpha.ChannelGroupFilter.StringFilter) valueFilter_; } return com.google.analytics.admin.v1alpha.ChannelGroupFilter.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.ChannelGroupFilter.InListFilter in_list_filter = 3; + * .google.analytics.admin.v1alpha.ChannelGroupFilter.InListFilter in_list_filter = 3; + * + * * @return Whether the inListFilter field is set. */ @java.lang.Override @@ -1806,46 +2084,60 @@ public boolean hasInListFilter() { return valueFilterCase_ == 3; } /** + * + * *
    * A filter for a string dimension that matches a particular list of
    * options.
    * 
* - * .google.analytics.admin.v1alpha.ChannelGroupFilter.InListFilter in_list_filter = 3; + * .google.analytics.admin.v1alpha.ChannelGroupFilter.InListFilter in_list_filter = 3; + * + * * @return The inListFilter. */ @java.lang.Override public com.google.analytics.admin.v1alpha.ChannelGroupFilter.InListFilter getInListFilter() { if (valueFilterCase_ == 3) { - return (com.google.analytics.admin.v1alpha.ChannelGroupFilter.InListFilter) valueFilter_; + return (com.google.analytics.admin.v1alpha.ChannelGroupFilter.InListFilter) valueFilter_; } return com.google.analytics.admin.v1alpha.ChannelGroupFilter.InListFilter.getDefaultInstance(); } /** + * + * *
    * A filter for a string dimension that matches a particular list of
    * options.
    * 
* - * .google.analytics.admin.v1alpha.ChannelGroupFilter.InListFilter in_list_filter = 3; + * .google.analytics.admin.v1alpha.ChannelGroupFilter.InListFilter in_list_filter = 3; + * */ @java.lang.Override - public com.google.analytics.admin.v1alpha.ChannelGroupFilter.InListFilterOrBuilder getInListFilterOrBuilder() { + public com.google.analytics.admin.v1alpha.ChannelGroupFilter.InListFilterOrBuilder + getInListFilterOrBuilder() { if (valueFilterCase_ == 3) { - return (com.google.analytics.admin.v1alpha.ChannelGroupFilter.InListFilter) valueFilter_; + return (com.google.analytics.admin.v1alpha.ChannelGroupFilter.InListFilter) valueFilter_; } return com.google.analytics.admin.v1alpha.ChannelGroupFilter.InListFilter.getDefaultInstance(); } public static final int FIELD_NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object fieldName_ = ""; /** + * + * *
    * Required. Immutable. The dimension 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 @@ -1854,29 +2146,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 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 { @@ -1885,6 +2179,7 @@ public java.lang.String getFieldName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1896,16 +2191,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 (valueFilterCase_ == 2) { - output.writeMessage(2, (com.google.analytics.admin.v1alpha.ChannelGroupFilter.StringFilter) valueFilter_); + output.writeMessage( + 2, (com.google.analytics.admin.v1alpha.ChannelGroupFilter.StringFilter) valueFilter_); } if (valueFilterCase_ == 3) { - output.writeMessage(3, (com.google.analytics.admin.v1alpha.ChannelGroupFilter.InListFilter) valueFilter_); + output.writeMessage( + 3, (com.google.analytics.admin.v1alpha.ChannelGroupFilter.InListFilter) valueFilter_); } getUnknownFields().writeTo(output); } @@ -1920,12 +2216,14 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, fieldName_); } if (valueFilterCase_ == 2) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, (com.google.analytics.admin.v1alpha.ChannelGroupFilter.StringFilter) valueFilter_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 2, (com.google.analytics.admin.v1alpha.ChannelGroupFilter.StringFilter) valueFilter_); } if (valueFilterCase_ == 3) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, (com.google.analytics.admin.v1alpha.ChannelGroupFilter.InListFilter) valueFilter_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 3, (com.google.analytics.admin.v1alpha.ChannelGroupFilter.InListFilter) valueFilter_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1935,24 +2233,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.ChannelGroupFilter)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.ChannelGroupFilter other = (com.google.analytics.admin.v1alpha.ChannelGroupFilter) obj; + com.google.analytics.admin.v1alpha.ChannelGroupFilter other = + (com.google.analytics.admin.v1alpha.ChannelGroupFilter) obj; - if (!getFieldName() - .equals(other.getFieldName())) return false; + if (!getFieldName().equals(other.getFieldName())) return false; if (!getValueFilterCase().equals(other.getValueFilterCase())) return false; switch (valueFilterCase_) { 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: @@ -1988,131 +2284,136 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.ChannelGroupFilter parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.ChannelGroupFilter parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.ChannelGroupFilter parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.ChannelGroupFilter parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.ChannelGroupFilter parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.ChannelGroupFilter parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.ChannelGroupFilter parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.ChannelGroupFilter parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.ChannelGroupFilter parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.ChannelGroupFilter parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.ChannelGroupFilter parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.analytics.admin.v1alpha.ChannelGroupFilter parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.ChannelGroupFilter parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.ChannelGroupFilter parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1alpha.ChannelGroupFilter prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1alpha.ChannelGroupFilter prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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.ChannelGroupFilter} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.ChannelGroupFilter) com.google.analytics.admin.v1alpha.ChannelGroupFilterOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.ChannelGroupProto.internal_static_google_analytics_admin_v1alpha_ChannelGroupFilter_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.ChannelGroupProto + .internal_static_google_analytics_admin_v1alpha_ChannelGroupFilter_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.ChannelGroupProto.internal_static_google_analytics_admin_v1alpha_ChannelGroupFilter_fieldAccessorTable + return com.google.analytics.admin.v1alpha.ChannelGroupProto + .internal_static_google_analytics_admin_v1alpha_ChannelGroupFilter_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.ChannelGroupFilter.class, com.google.analytics.admin.v1alpha.ChannelGroupFilter.Builder.class); + com.google.analytics.admin.v1alpha.ChannelGroupFilter.class, + com.google.analytics.admin.v1alpha.ChannelGroupFilter.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.ChannelGroupFilter.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(); @@ -2130,9 +2431,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.analytics.admin.v1alpha.ChannelGroupProto.internal_static_google_analytics_admin_v1alpha_ChannelGroupFilter_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1alpha.ChannelGroupProto + .internal_static_google_analytics_admin_v1alpha_ChannelGroupFilter_descriptor; } @java.lang.Override @@ -2151,8 +2452,11 @@ public com.google.analytics.admin.v1alpha.ChannelGroupFilter build() { @java.lang.Override public com.google.analytics.admin.v1alpha.ChannelGroupFilter buildPartial() { - com.google.analytics.admin.v1alpha.ChannelGroupFilter result = new com.google.analytics.admin.v1alpha.ChannelGroupFilter(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.analytics.admin.v1alpha.ChannelGroupFilter result = + new com.google.analytics.admin.v1alpha.ChannelGroupFilter(this); + if (bitField0_ != 0) { + buildPartial0(result); + } buildPartialOneofs(result); onBuilt(); return result; @@ -2168,12 +2472,10 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.ChannelGroupFilter private void buildPartialOneofs(com.google.analytics.admin.v1alpha.ChannelGroupFilter result) { result.valueFilterCase_ = valueFilterCase_; result.valueFilter_ = this.valueFilter_; - if (valueFilterCase_ == 2 && - stringFilterBuilder_ != null) { + if (valueFilterCase_ == 2 && stringFilterBuilder_ != null) { result.valueFilter_ = stringFilterBuilder_.build(); } - if (valueFilterCase_ == 3 && - inListFilterBuilder_ != null) { + if (valueFilterCase_ == 3 && inListFilterBuilder_ != null) { result.valueFilter_ = inListFilterBuilder_.build(); } } @@ -2182,38 +2484,39 @@ private void buildPartialOneofs(com.google.analytics.admin.v1alpha.ChannelGroupF public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.analytics.admin.v1alpha.ChannelGroupFilter) { - return mergeFrom((com.google.analytics.admin.v1alpha.ChannelGroupFilter)other); + return mergeFrom((com.google.analytics.admin.v1alpha.ChannelGroupFilter) other); } else { super.mergeFrom(other); return this; @@ -2221,24 +2524,28 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1alpha.ChannelGroupFilter other) { - if (other == com.google.analytics.admin.v1alpha.ChannelGroupFilter.getDefaultInstance()) return this; + if (other == com.google.analytics.admin.v1alpha.ChannelGroupFilter.getDefaultInstance()) + return this; if (!other.getFieldName().isEmpty()) { fieldName_ = other.fieldName_; bitField0_ |= 0x00000004; onChanged(); } switch (other.getValueFilterCase()) { - case STRING_FILTER: { - mergeStringFilter(other.getStringFilter()); - break; - } - case IN_LIST_FILTER: { - mergeInListFilter(other.getInListFilter()); - break; - } - case VALUEFILTER_NOT_SET: { - break; - } + case STRING_FILTER: + { + mergeStringFilter(other.getStringFilter()); + break; + } + case IN_LIST_FILTER: + { + mergeInListFilter(other.getInListFilter()); + break; + } + case VALUEFILTER_NOT_SET: + { + break; + } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -2266,31 +2573,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); - valueFilterCase_ = 2; - break; - } // case 18 - case 26: { - input.readMessage( - getInListFilterFieldBuilder().getBuilder(), - extensionRegistry); - valueFilterCase_ = 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); + valueFilterCase_ = 2; + break; + } // case 18 + case 26: + { + input.readMessage(getInListFilterFieldBuilder().getBuilder(), extensionRegistry); + valueFilterCase_ = 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) { @@ -2300,12 +2607,12 @@ public Builder mergeFrom( } // finally return this; } + private int valueFilterCase_ = 0; private java.lang.Object valueFilter_; - public ValueFilterCase - getValueFilterCase() { - return ValueFilterCase.forNumber( - valueFilterCase_); + + public ValueFilterCase getValueFilterCase() { + return ValueFilterCase.forNumber(valueFilterCase_); } public Builder clearValueFilter() { @@ -2318,13 +2625,20 @@ public Builder clearValueFilter() { private int bitField0_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.ChannelGroupFilter.StringFilter, com.google.analytics.admin.v1alpha.ChannelGroupFilter.StringFilter.Builder, com.google.analytics.admin.v1alpha.ChannelGroupFilter.StringFilterOrBuilder> stringFilterBuilder_; + com.google.analytics.admin.v1alpha.ChannelGroupFilter.StringFilter, + com.google.analytics.admin.v1alpha.ChannelGroupFilter.StringFilter.Builder, + com.google.analytics.admin.v1alpha.ChannelGroupFilter.StringFilterOrBuilder> + stringFilterBuilder_; /** + * + * *
      * A filter for a string-type dimension that matches a particular pattern.
      * 
* - * .google.analytics.admin.v1alpha.ChannelGroupFilter.StringFilter string_filter = 2; + * .google.analytics.admin.v1alpha.ChannelGroupFilter.StringFilter string_filter = 2; + * + * * @return Whether the stringFilter field is set. */ @java.lang.Override @@ -2332,11 +2646,15 @@ public boolean hasStringFilter() { return valueFilterCase_ == 2; } /** + * + * *
      * A filter for a string-type dimension that matches a particular pattern.
      * 
* - * .google.analytics.admin.v1alpha.ChannelGroupFilter.StringFilter string_filter = 2; + * .google.analytics.admin.v1alpha.ChannelGroupFilter.StringFilter string_filter = 2; + * + * * @return The stringFilter. */ @java.lang.Override @@ -2345,22 +2663,28 @@ public com.google.analytics.admin.v1alpha.ChannelGroupFilter.StringFilter getStr if (valueFilterCase_ == 2) { return (com.google.analytics.admin.v1alpha.ChannelGroupFilter.StringFilter) valueFilter_; } - return com.google.analytics.admin.v1alpha.ChannelGroupFilter.StringFilter.getDefaultInstance(); + return com.google.analytics.admin.v1alpha.ChannelGroupFilter.StringFilter + .getDefaultInstance(); } else { if (valueFilterCase_ == 2) { return stringFilterBuilder_.getMessage(); } - return com.google.analytics.admin.v1alpha.ChannelGroupFilter.StringFilter.getDefaultInstance(); + return com.google.analytics.admin.v1alpha.ChannelGroupFilter.StringFilter + .getDefaultInstance(); } } /** + * + * *
      * A filter for a string-type dimension that matches a particular pattern.
      * 
* - * .google.analytics.admin.v1alpha.ChannelGroupFilter.StringFilter string_filter = 2; + * .google.analytics.admin.v1alpha.ChannelGroupFilter.StringFilter string_filter = 2; + * */ - public Builder setStringFilter(com.google.analytics.admin.v1alpha.ChannelGroupFilter.StringFilter value) { + public Builder setStringFilter( + com.google.analytics.admin.v1alpha.ChannelGroupFilter.StringFilter value) { if (stringFilterBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2374,14 +2698,18 @@ public Builder setStringFilter(com.google.analytics.admin.v1alpha.ChannelGroupFi return this; } /** + * + * *
      * A filter for a string-type dimension that matches a particular pattern.
      * 
* - * .google.analytics.admin.v1alpha.ChannelGroupFilter.StringFilter string_filter = 2; + * .google.analytics.admin.v1alpha.ChannelGroupFilter.StringFilter string_filter = 2; + * */ public Builder setStringFilter( - com.google.analytics.admin.v1alpha.ChannelGroupFilter.StringFilter.Builder builderForValue) { + com.google.analytics.admin.v1alpha.ChannelGroupFilter.StringFilter.Builder + builderForValue) { if (stringFilterBuilder_ == null) { valueFilter_ = builderForValue.build(); onChanged(); @@ -2392,18 +2720,28 @@ public Builder setStringFilter( return this; } /** + * + * *
      * A filter for a string-type dimension that matches a particular pattern.
      * 
* - * .google.analytics.admin.v1alpha.ChannelGroupFilter.StringFilter string_filter = 2; + * .google.analytics.admin.v1alpha.ChannelGroupFilter.StringFilter string_filter = 2; + * */ - public Builder mergeStringFilter(com.google.analytics.admin.v1alpha.ChannelGroupFilter.StringFilter value) { + public Builder mergeStringFilter( + com.google.analytics.admin.v1alpha.ChannelGroupFilter.StringFilter value) { if (stringFilterBuilder_ == null) { - if (valueFilterCase_ == 2 && - valueFilter_ != com.google.analytics.admin.v1alpha.ChannelGroupFilter.StringFilter.getDefaultInstance()) { - valueFilter_ = com.google.analytics.admin.v1alpha.ChannelGroupFilter.StringFilter.newBuilder((com.google.analytics.admin.v1alpha.ChannelGroupFilter.StringFilter) valueFilter_) - .mergeFrom(value).buildPartial(); + if (valueFilterCase_ == 2 + && valueFilter_ + != com.google.analytics.admin.v1alpha.ChannelGroupFilter.StringFilter + .getDefaultInstance()) { + valueFilter_ = + com.google.analytics.admin.v1alpha.ChannelGroupFilter.StringFilter.newBuilder( + (com.google.analytics.admin.v1alpha.ChannelGroupFilter.StringFilter) + valueFilter_) + .mergeFrom(value) + .buildPartial(); } else { valueFilter_ = value; } @@ -2419,11 +2757,14 @@ public Builder mergeStringFilter(com.google.analytics.admin.v1alpha.ChannelGroup return this; } /** + * + * *
      * A filter for a string-type dimension that matches a particular pattern.
      * 
* - * .google.analytics.admin.v1alpha.ChannelGroupFilter.StringFilter string_filter = 2; + * .google.analytics.admin.v1alpha.ChannelGroupFilter.StringFilter string_filter = 2; + * */ public Builder clearStringFilter() { if (stringFilterBuilder_ == null) { @@ -2442,49 +2783,68 @@ public Builder clearStringFilter() { return this; } /** + * + * *
      * A filter for a string-type dimension that matches a particular pattern.
      * 
* - * .google.analytics.admin.v1alpha.ChannelGroupFilter.StringFilter string_filter = 2; + * .google.analytics.admin.v1alpha.ChannelGroupFilter.StringFilter string_filter = 2; + * */ - public com.google.analytics.admin.v1alpha.ChannelGroupFilter.StringFilter.Builder getStringFilterBuilder() { + public com.google.analytics.admin.v1alpha.ChannelGroupFilter.StringFilter.Builder + getStringFilterBuilder() { return getStringFilterFieldBuilder().getBuilder(); } /** + * + * *
      * A filter for a string-type dimension that matches a particular pattern.
      * 
* - * .google.analytics.admin.v1alpha.ChannelGroupFilter.StringFilter string_filter = 2; + * .google.analytics.admin.v1alpha.ChannelGroupFilter.StringFilter string_filter = 2; + * */ @java.lang.Override - public com.google.analytics.admin.v1alpha.ChannelGroupFilter.StringFilterOrBuilder getStringFilterOrBuilder() { + public com.google.analytics.admin.v1alpha.ChannelGroupFilter.StringFilterOrBuilder + getStringFilterOrBuilder() { if ((valueFilterCase_ == 2) && (stringFilterBuilder_ != null)) { return stringFilterBuilder_.getMessageOrBuilder(); } else { if (valueFilterCase_ == 2) { return (com.google.analytics.admin.v1alpha.ChannelGroupFilter.StringFilter) valueFilter_; } - return com.google.analytics.admin.v1alpha.ChannelGroupFilter.StringFilter.getDefaultInstance(); + return com.google.analytics.admin.v1alpha.ChannelGroupFilter.StringFilter + .getDefaultInstance(); } } /** + * + * *
      * A filter for a string-type dimension that matches a particular pattern.
      * 
* - * .google.analytics.admin.v1alpha.ChannelGroupFilter.StringFilter string_filter = 2; + * .google.analytics.admin.v1alpha.ChannelGroupFilter.StringFilter string_filter = 2; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.ChannelGroupFilter.StringFilter, com.google.analytics.admin.v1alpha.ChannelGroupFilter.StringFilter.Builder, com.google.analytics.admin.v1alpha.ChannelGroupFilter.StringFilterOrBuilder> + com.google.analytics.admin.v1alpha.ChannelGroupFilter.StringFilter, + com.google.analytics.admin.v1alpha.ChannelGroupFilter.StringFilter.Builder, + com.google.analytics.admin.v1alpha.ChannelGroupFilter.StringFilterOrBuilder> getStringFilterFieldBuilder() { if (stringFilterBuilder_ == null) { if (!(valueFilterCase_ == 2)) { - valueFilter_ = com.google.analytics.admin.v1alpha.ChannelGroupFilter.StringFilter.getDefaultInstance(); + valueFilter_ = + com.google.analytics.admin.v1alpha.ChannelGroupFilter.StringFilter + .getDefaultInstance(); } - stringFilterBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.ChannelGroupFilter.StringFilter, com.google.analytics.admin.v1alpha.ChannelGroupFilter.StringFilter.Builder, com.google.analytics.admin.v1alpha.ChannelGroupFilter.StringFilterOrBuilder>( + stringFilterBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1alpha.ChannelGroupFilter.StringFilter, + com.google.analytics.admin.v1alpha.ChannelGroupFilter.StringFilter.Builder, + com.google.analytics.admin.v1alpha.ChannelGroupFilter.StringFilterOrBuilder>( (com.google.analytics.admin.v1alpha.ChannelGroupFilter.StringFilter) valueFilter_, getParentForChildren(), isClean()); @@ -2496,14 +2856,21 @@ public com.google.analytics.admin.v1alpha.ChannelGroupFilter.StringFilterOrBuild } private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.ChannelGroupFilter.InListFilter, com.google.analytics.admin.v1alpha.ChannelGroupFilter.InListFilter.Builder, com.google.analytics.admin.v1alpha.ChannelGroupFilter.InListFilterOrBuilder> inListFilterBuilder_; + com.google.analytics.admin.v1alpha.ChannelGroupFilter.InListFilter, + com.google.analytics.admin.v1alpha.ChannelGroupFilter.InListFilter.Builder, + com.google.analytics.admin.v1alpha.ChannelGroupFilter.InListFilterOrBuilder> + inListFilterBuilder_; /** + * + * *
      * A filter for a string dimension that matches a particular list of
      * options.
      * 
* - * .google.analytics.admin.v1alpha.ChannelGroupFilter.InListFilter in_list_filter = 3; + * .google.analytics.admin.v1alpha.ChannelGroupFilter.InListFilter in_list_filter = 3; + * + * * @return Whether the inListFilter field is set. */ @java.lang.Override @@ -2511,12 +2878,16 @@ public boolean hasInListFilter() { return valueFilterCase_ == 3; } /** + * + * *
      * A filter for a string dimension that matches a particular list of
      * options.
      * 
* - * .google.analytics.admin.v1alpha.ChannelGroupFilter.InListFilter in_list_filter = 3; + * .google.analytics.admin.v1alpha.ChannelGroupFilter.InListFilter in_list_filter = 3; + * + * * @return The inListFilter. */ @java.lang.Override @@ -2525,23 +2896,29 @@ public com.google.analytics.admin.v1alpha.ChannelGroupFilter.InListFilter getInL if (valueFilterCase_ == 3) { return (com.google.analytics.admin.v1alpha.ChannelGroupFilter.InListFilter) valueFilter_; } - return com.google.analytics.admin.v1alpha.ChannelGroupFilter.InListFilter.getDefaultInstance(); + return com.google.analytics.admin.v1alpha.ChannelGroupFilter.InListFilter + .getDefaultInstance(); } else { if (valueFilterCase_ == 3) { return inListFilterBuilder_.getMessage(); } - return com.google.analytics.admin.v1alpha.ChannelGroupFilter.InListFilter.getDefaultInstance(); + return com.google.analytics.admin.v1alpha.ChannelGroupFilter.InListFilter + .getDefaultInstance(); } } /** + * + * *
      * A filter for a string dimension that matches a particular list of
      * options.
      * 
* - * .google.analytics.admin.v1alpha.ChannelGroupFilter.InListFilter in_list_filter = 3; + * .google.analytics.admin.v1alpha.ChannelGroupFilter.InListFilter in_list_filter = 3; + * */ - public Builder setInListFilter(com.google.analytics.admin.v1alpha.ChannelGroupFilter.InListFilter value) { + public Builder setInListFilter( + com.google.analytics.admin.v1alpha.ChannelGroupFilter.InListFilter value) { if (inListFilterBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2555,15 +2932,19 @@ public Builder setInListFilter(com.google.analytics.admin.v1alpha.ChannelGroupFi return this; } /** + * + * *
      * A filter for a string dimension that matches a particular list of
      * options.
      * 
* - * .google.analytics.admin.v1alpha.ChannelGroupFilter.InListFilter in_list_filter = 3; + * .google.analytics.admin.v1alpha.ChannelGroupFilter.InListFilter in_list_filter = 3; + * */ public Builder setInListFilter( - com.google.analytics.admin.v1alpha.ChannelGroupFilter.InListFilter.Builder builderForValue) { + com.google.analytics.admin.v1alpha.ChannelGroupFilter.InListFilter.Builder + builderForValue) { if (inListFilterBuilder_ == null) { valueFilter_ = builderForValue.build(); onChanged(); @@ -2574,19 +2955,29 @@ public Builder setInListFilter( return this; } /** + * + * *
      * A filter for a string dimension that matches a particular list of
      * options.
      * 
* - * .google.analytics.admin.v1alpha.ChannelGroupFilter.InListFilter in_list_filter = 3; + * .google.analytics.admin.v1alpha.ChannelGroupFilter.InListFilter in_list_filter = 3; + * */ - public Builder mergeInListFilter(com.google.analytics.admin.v1alpha.ChannelGroupFilter.InListFilter value) { + public Builder mergeInListFilter( + com.google.analytics.admin.v1alpha.ChannelGroupFilter.InListFilter value) { if (inListFilterBuilder_ == null) { - if (valueFilterCase_ == 3 && - valueFilter_ != com.google.analytics.admin.v1alpha.ChannelGroupFilter.InListFilter.getDefaultInstance()) { - valueFilter_ = com.google.analytics.admin.v1alpha.ChannelGroupFilter.InListFilter.newBuilder((com.google.analytics.admin.v1alpha.ChannelGroupFilter.InListFilter) valueFilter_) - .mergeFrom(value).buildPartial(); + if (valueFilterCase_ == 3 + && valueFilter_ + != com.google.analytics.admin.v1alpha.ChannelGroupFilter.InListFilter + .getDefaultInstance()) { + valueFilter_ = + com.google.analytics.admin.v1alpha.ChannelGroupFilter.InListFilter.newBuilder( + (com.google.analytics.admin.v1alpha.ChannelGroupFilter.InListFilter) + valueFilter_) + .mergeFrom(value) + .buildPartial(); } else { valueFilter_ = value; } @@ -2602,12 +2993,15 @@ public Builder mergeInListFilter(com.google.analytics.admin.v1alpha.ChannelGroup return this; } /** + * + * *
      * A filter for a string dimension that matches a particular list of
      * options.
      * 
* - * .google.analytics.admin.v1alpha.ChannelGroupFilter.InListFilter in_list_filter = 3; + * .google.analytics.admin.v1alpha.ChannelGroupFilter.InListFilter in_list_filter = 3; + * */ public Builder clearInListFilter() { if (inListFilterBuilder_ == null) { @@ -2626,52 +3020,71 @@ public Builder clearInListFilter() { return this; } /** + * + * *
      * A filter for a string dimension that matches a particular list of
      * options.
      * 
* - * .google.analytics.admin.v1alpha.ChannelGroupFilter.InListFilter in_list_filter = 3; + * .google.analytics.admin.v1alpha.ChannelGroupFilter.InListFilter in_list_filter = 3; + * */ - public com.google.analytics.admin.v1alpha.ChannelGroupFilter.InListFilter.Builder getInListFilterBuilder() { + public com.google.analytics.admin.v1alpha.ChannelGroupFilter.InListFilter.Builder + getInListFilterBuilder() { return getInListFilterFieldBuilder().getBuilder(); } /** + * + * *
      * A filter for a string dimension that matches a particular list of
      * options.
      * 
* - * .google.analytics.admin.v1alpha.ChannelGroupFilter.InListFilter in_list_filter = 3; + * .google.analytics.admin.v1alpha.ChannelGroupFilter.InListFilter in_list_filter = 3; + * */ @java.lang.Override - public com.google.analytics.admin.v1alpha.ChannelGroupFilter.InListFilterOrBuilder getInListFilterOrBuilder() { + public com.google.analytics.admin.v1alpha.ChannelGroupFilter.InListFilterOrBuilder + getInListFilterOrBuilder() { if ((valueFilterCase_ == 3) && (inListFilterBuilder_ != null)) { return inListFilterBuilder_.getMessageOrBuilder(); } else { if (valueFilterCase_ == 3) { return (com.google.analytics.admin.v1alpha.ChannelGroupFilter.InListFilter) valueFilter_; } - return com.google.analytics.admin.v1alpha.ChannelGroupFilter.InListFilter.getDefaultInstance(); + return com.google.analytics.admin.v1alpha.ChannelGroupFilter.InListFilter + .getDefaultInstance(); } } /** + * + * *
      * A filter for a string dimension that matches a particular list of
      * options.
      * 
* - * .google.analytics.admin.v1alpha.ChannelGroupFilter.InListFilter in_list_filter = 3; + * .google.analytics.admin.v1alpha.ChannelGroupFilter.InListFilter in_list_filter = 3; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.ChannelGroupFilter.InListFilter, com.google.analytics.admin.v1alpha.ChannelGroupFilter.InListFilter.Builder, com.google.analytics.admin.v1alpha.ChannelGroupFilter.InListFilterOrBuilder> + com.google.analytics.admin.v1alpha.ChannelGroupFilter.InListFilter, + com.google.analytics.admin.v1alpha.ChannelGroupFilter.InListFilter.Builder, + com.google.analytics.admin.v1alpha.ChannelGroupFilter.InListFilterOrBuilder> getInListFilterFieldBuilder() { if (inListFilterBuilder_ == null) { if (!(valueFilterCase_ == 3)) { - valueFilter_ = com.google.analytics.admin.v1alpha.ChannelGroupFilter.InListFilter.getDefaultInstance(); + valueFilter_ = + com.google.analytics.admin.v1alpha.ChannelGroupFilter.InListFilter + .getDefaultInstance(); } - inListFilterBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.ChannelGroupFilter.InListFilter, com.google.analytics.admin.v1alpha.ChannelGroupFilter.InListFilter.Builder, com.google.analytics.admin.v1alpha.ChannelGroupFilter.InListFilterOrBuilder>( + inListFilterBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1alpha.ChannelGroupFilter.InListFilter, + com.google.analytics.admin.v1alpha.ChannelGroupFilter.InListFilter.Builder, + com.google.analytics.admin.v1alpha.ChannelGroupFilter.InListFilterOrBuilder>( (com.google.analytics.admin.v1alpha.ChannelGroupFilter.InListFilter) valueFilter_, getParentForChildren(), isClean()); @@ -2684,18 +3097,22 @@ public com.google.analytics.admin.v1alpha.ChannelGroupFilter.InListFilterOrBuild private java.lang.Object fieldName_ = ""; /** + * + * *
      * Required. Immutable. The dimension 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; @@ -2704,20 +3121,23 @@ public java.lang.String getFieldName() { } } /** + * + * *
      * Required. Immutable. The dimension 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 { @@ -2725,28 +3145,39 @@ public java.lang.String getFieldName() { } } /** + * + * *
      * Required. Immutable. The dimension 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_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * Required. Immutable. The dimension 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() { @@ -2756,26 +3187,32 @@ public Builder clearFieldName() { return this; } /** + * + * *
      * Required. Immutable. The dimension 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_ |= 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); } @@ -2785,12 +3222,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.ChannelGroupFilter) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.ChannelGroupFilter) private static final com.google.analytics.admin.v1alpha.ChannelGroupFilter DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.ChannelGroupFilter(); } @@ -2799,27 +3236,27 @@ public static com.google.analytics.admin.v1alpha.ChannelGroupFilter getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ChannelGroupFilter parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ChannelGroupFilter parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2834,6 +3271,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1alpha.ChannelGroupFilter 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/ChannelGroupFilterExpression.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ChannelGroupFilterExpression.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/ChannelGroupFilterExpression.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ChannelGroupFilterExpression.java index 459b09d44539..b59403413b09 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ChannelGroupFilterExpression.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ChannelGroupFilterExpression.java @@ -1,52 +1,73 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/channel_group.proto package com.google.analytics.admin.v1alpha; /** + * + * *
  * A logical expression of Channel Group dimension filters.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.ChannelGroupFilterExpression} */ -public final class ChannelGroupFilterExpression extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ChannelGroupFilterExpression extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.ChannelGroupFilterExpression) ChannelGroupFilterExpressionOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ChannelGroupFilterExpression.newBuilder() to construct. private ChannelGroupFilterExpression(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ChannelGroupFilterExpression() { - } + + private ChannelGroupFilterExpression() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ChannelGroupFilterExpression(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.ChannelGroupProto.internal_static_google_analytics_admin_v1alpha_ChannelGroupFilterExpression_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.ChannelGroupProto + .internal_static_google_analytics_admin_v1alpha_ChannelGroupFilterExpression_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.ChannelGroupProto.internal_static_google_analytics_admin_v1alpha_ChannelGroupFilterExpression_fieldAccessorTable + return com.google.analytics.admin.v1alpha.ChannelGroupProto + .internal_static_google_analytics_admin_v1alpha_ChannelGroupFilterExpression_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.ChannelGroupFilterExpression.class, com.google.analytics.admin.v1alpha.ChannelGroupFilterExpression.Builder.class); + com.google.analytics.admin.v1alpha.ChannelGroupFilterExpression.class, + com.google.analytics.admin.v1alpha.ChannelGroupFilterExpression.Builder.class); } private int exprCase_ = 0; + @SuppressWarnings("serial") 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), @@ -54,6 +75,7 @@ public enum ExprCase FILTER(4), EXPR_NOT_SET(0); private final int value; + private ExprCase(int value) { this.value = value; } @@ -69,27 +91,34 @@ public static ExprCase valueOf(int value) { public static ExprCase forNumber(int value) { switch (value) { - case 1: return AND_GROUP; - case 2: return OR_GROUP; - case 3: return NOT_EXPRESSION; - case 4: return FILTER; - case 0: return EXPR_NOT_SET; - default: return null; + case 1: + return AND_GROUP; + case 2: + return OR_GROUP; + case 3: + return NOT_EXPRESSION; + case 4: + return FILTER; + case 0: + return EXPR_NOT_SET; + default: + return null; } } + public int getNumber() { return this.value; } }; - public ExprCase - getExprCase() { - return ExprCase.forNumber( - exprCase_); + public ExprCase getExprCase() { + return ExprCase.forNumber(exprCase_); } public static final int AND_GROUP_FIELD_NUMBER = 1; /** + * + * *
    * A list of expressions to be AND’ed together. It can only contain
    * ChannelGroupFilterExpressions with or_group. This must be set for the
@@ -97,6 +126,7 @@ public int getNumber() {
    * 
* * .google.analytics.admin.v1alpha.ChannelGroupFilterExpressionList and_group = 1; + * * @return Whether the andGroup field is set. */ @java.lang.Override @@ -104,6 +134,8 @@ public boolean hasAndGroup() { return exprCase_ == 1; } /** + * + * *
    * A list of expressions to be AND’ed together. It can only contain
    * ChannelGroupFilterExpressions with or_group. This must be set for the
@@ -111,16 +143,19 @@ public boolean hasAndGroup() {
    * 
* * .google.analytics.admin.v1alpha.ChannelGroupFilterExpressionList and_group = 1; + * * @return The andGroup. */ @java.lang.Override public com.google.analytics.admin.v1alpha.ChannelGroupFilterExpressionList getAndGroup() { if (exprCase_ == 1) { - return (com.google.analytics.admin.v1alpha.ChannelGroupFilterExpressionList) expr_; + return (com.google.analytics.admin.v1alpha.ChannelGroupFilterExpressionList) expr_; } return com.google.analytics.admin.v1alpha.ChannelGroupFilterExpressionList.getDefaultInstance(); } /** + * + * *
    * A list of expressions to be AND’ed together. It can only contain
    * ChannelGroupFilterExpressions with or_group. This must be set for the
@@ -130,21 +165,25 @@ public com.google.analytics.admin.v1alpha.ChannelGroupFilterExpressionList getAn
    * .google.analytics.admin.v1alpha.ChannelGroupFilterExpressionList and_group = 1;
    */
   @java.lang.Override
-  public com.google.analytics.admin.v1alpha.ChannelGroupFilterExpressionListOrBuilder getAndGroupOrBuilder() {
+  public com.google.analytics.admin.v1alpha.ChannelGroupFilterExpressionListOrBuilder
+      getAndGroupOrBuilder() {
     if (exprCase_ == 1) {
-       return (com.google.analytics.admin.v1alpha.ChannelGroupFilterExpressionList) expr_;
+      return (com.google.analytics.admin.v1alpha.ChannelGroupFilterExpressionList) expr_;
     }
     return com.google.analytics.admin.v1alpha.ChannelGroupFilterExpressionList.getDefaultInstance();
   }
 
   public static final int OR_GROUP_FIELD_NUMBER = 2;
   /**
+   *
+   *
    * 
    * A list of expressions to OR’ed together. It cannot contain
    * ChannelGroupFilterExpressions with and_group or or_group.
    * 
* * .google.analytics.admin.v1alpha.ChannelGroupFilterExpressionList or_group = 2; + * * @return Whether the orGroup field is set. */ @java.lang.Override @@ -152,22 +191,27 @@ public boolean hasOrGroup() { return exprCase_ == 2; } /** + * + * *
    * A list of expressions to OR’ed together. It cannot contain
    * ChannelGroupFilterExpressions with and_group or or_group.
    * 
* * .google.analytics.admin.v1alpha.ChannelGroupFilterExpressionList or_group = 2; + * * @return The orGroup. */ @java.lang.Override public com.google.analytics.admin.v1alpha.ChannelGroupFilterExpressionList getOrGroup() { if (exprCase_ == 2) { - return (com.google.analytics.admin.v1alpha.ChannelGroupFilterExpressionList) expr_; + return (com.google.analytics.admin.v1alpha.ChannelGroupFilterExpressionList) expr_; } return com.google.analytics.admin.v1alpha.ChannelGroupFilterExpressionList.getDefaultInstance(); } /** + * + * *
    * A list of expressions to OR’ed together. It cannot contain
    * ChannelGroupFilterExpressions with and_group or or_group.
@@ -176,15 +220,18 @@ public com.google.analytics.admin.v1alpha.ChannelGroupFilterExpressionList getOr
    * .google.analytics.admin.v1alpha.ChannelGroupFilterExpressionList or_group = 2;
    */
   @java.lang.Override
-  public com.google.analytics.admin.v1alpha.ChannelGroupFilterExpressionListOrBuilder getOrGroupOrBuilder() {
+  public com.google.analytics.admin.v1alpha.ChannelGroupFilterExpressionListOrBuilder
+      getOrGroupOrBuilder() {
     if (exprCase_ == 2) {
-       return (com.google.analytics.admin.v1alpha.ChannelGroupFilterExpressionList) expr_;
+      return (com.google.analytics.admin.v1alpha.ChannelGroupFilterExpressionList) expr_;
     }
     return com.google.analytics.admin.v1alpha.ChannelGroupFilterExpressionList.getDefaultInstance();
   }
 
   public static final int NOT_EXPRESSION_FIELD_NUMBER = 3;
   /**
+   *
+   *
    * 
    * A filter expression to be NOT'ed (that is inverted, complemented). It
    * can only include a dimension_or_metric_filter. This cannot be set on the
@@ -192,6 +239,7 @@ public com.google.analytics.admin.v1alpha.ChannelGroupFilterExpressionListOrBuil
    * 
* * .google.analytics.admin.v1alpha.ChannelGroupFilterExpression not_expression = 3; + * * @return Whether the notExpression field is set. */ @java.lang.Override @@ -199,6 +247,8 @@ public boolean hasNotExpression() { return exprCase_ == 3; } /** + * + * *
    * A filter expression to be NOT'ed (that is inverted, complemented). It
    * can only include a dimension_or_metric_filter. This cannot be set on the
@@ -206,16 +256,19 @@ public boolean hasNotExpression() {
    * 
* * .google.analytics.admin.v1alpha.ChannelGroupFilterExpression not_expression = 3; + * * @return The notExpression. */ @java.lang.Override public com.google.analytics.admin.v1alpha.ChannelGroupFilterExpression getNotExpression() { if (exprCase_ == 3) { - return (com.google.analytics.admin.v1alpha.ChannelGroupFilterExpression) expr_; + return (com.google.analytics.admin.v1alpha.ChannelGroupFilterExpression) expr_; } return com.google.analytics.admin.v1alpha.ChannelGroupFilterExpression.getDefaultInstance(); } /** + * + * *
    * A filter expression to be NOT'ed (that is inverted, complemented). It
    * can only include a dimension_or_metric_filter. This cannot be set on the
@@ -225,21 +278,25 @@ public com.google.analytics.admin.v1alpha.ChannelGroupFilterExpression getNotExp
    * .google.analytics.admin.v1alpha.ChannelGroupFilterExpression not_expression = 3;
    */
   @java.lang.Override
-  public com.google.analytics.admin.v1alpha.ChannelGroupFilterExpressionOrBuilder getNotExpressionOrBuilder() {
+  public com.google.analytics.admin.v1alpha.ChannelGroupFilterExpressionOrBuilder
+      getNotExpressionOrBuilder() {
     if (exprCase_ == 3) {
-       return (com.google.analytics.admin.v1alpha.ChannelGroupFilterExpression) expr_;
+      return (com.google.analytics.admin.v1alpha.ChannelGroupFilterExpression) expr_;
     }
     return com.google.analytics.admin.v1alpha.ChannelGroupFilterExpression.getDefaultInstance();
   }
 
   public static final int FILTER_FIELD_NUMBER = 4;
   /**
+   *
+   *
    * 
    * A filter on a single dimension. This cannot be set on the top
    * level ChannelGroupFilterExpression.
    * 
* * .google.analytics.admin.v1alpha.ChannelGroupFilter filter = 4; + * * @return Whether the filter field is set. */ @java.lang.Override @@ -247,22 +304,27 @@ public boolean hasFilter() { return exprCase_ == 4; } /** + * + * *
    * A filter on a single dimension. This cannot be set on the top
    * level ChannelGroupFilterExpression.
    * 
* * .google.analytics.admin.v1alpha.ChannelGroupFilter filter = 4; + * * @return The filter. */ @java.lang.Override public com.google.analytics.admin.v1alpha.ChannelGroupFilter getFilter() { if (exprCase_ == 4) { - return (com.google.analytics.admin.v1alpha.ChannelGroupFilter) expr_; + return (com.google.analytics.admin.v1alpha.ChannelGroupFilter) expr_; } return com.google.analytics.admin.v1alpha.ChannelGroupFilter.getDefaultInstance(); } /** + * + * *
    * A filter on a single dimension. This cannot be set on the top
    * level ChannelGroupFilterExpression.
@@ -273,12 +335,13 @@ public com.google.analytics.admin.v1alpha.ChannelGroupFilter getFilter() {
   @java.lang.Override
   public com.google.analytics.admin.v1alpha.ChannelGroupFilterOrBuilder getFilterOrBuilder() {
     if (exprCase_ == 4) {
-       return (com.google.analytics.admin.v1alpha.ChannelGroupFilter) expr_;
+      return (com.google.analytics.admin.v1alpha.ChannelGroupFilter) expr_;
     }
     return com.google.analytics.admin.v1alpha.ChannelGroupFilter.getDefaultInstance();
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -290,16 +353,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 (exprCase_ == 1) {
-      output.writeMessage(1, (com.google.analytics.admin.v1alpha.ChannelGroupFilterExpressionList) expr_);
+      output.writeMessage(
+          1, (com.google.analytics.admin.v1alpha.ChannelGroupFilterExpressionList) expr_);
     }
     if (exprCase_ == 2) {
-      output.writeMessage(2, (com.google.analytics.admin.v1alpha.ChannelGroupFilterExpressionList) expr_);
+      output.writeMessage(
+          2, (com.google.analytics.admin.v1alpha.ChannelGroupFilterExpressionList) expr_);
     }
     if (exprCase_ == 3) {
-      output.writeMessage(3, (com.google.analytics.admin.v1alpha.ChannelGroupFilterExpression) expr_);
+      output.writeMessage(
+          3, (com.google.analytics.admin.v1alpha.ChannelGroupFilterExpression) expr_);
     }
     if (exprCase_ == 4) {
       output.writeMessage(4, (com.google.analytics.admin.v1alpha.ChannelGroupFilter) expr_);
@@ -314,20 +379,24 @@ public int getSerializedSize() {
 
     size = 0;
     if (exprCase_ == 1) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(1, (com.google.analytics.admin.v1alpha.ChannelGroupFilterExpressionList) expr_);
+      size +=
+          com.google.protobuf.CodedOutputStream.computeMessageSize(
+              1, (com.google.analytics.admin.v1alpha.ChannelGroupFilterExpressionList) expr_);
     }
     if (exprCase_ == 2) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(2, (com.google.analytics.admin.v1alpha.ChannelGroupFilterExpressionList) expr_);
+      size +=
+          com.google.protobuf.CodedOutputStream.computeMessageSize(
+              2, (com.google.analytics.admin.v1alpha.ChannelGroupFilterExpressionList) expr_);
     }
     if (exprCase_ == 3) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(3, (com.google.analytics.admin.v1alpha.ChannelGroupFilterExpression) expr_);
+      size +=
+          com.google.protobuf.CodedOutputStream.computeMessageSize(
+              3, (com.google.analytics.admin.v1alpha.ChannelGroupFilterExpression) expr_);
     }
     if (exprCase_ == 4) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(4, (com.google.analytics.admin.v1alpha.ChannelGroupFilter) expr_);
+      size +=
+          com.google.protobuf.CodedOutputStream.computeMessageSize(
+              4, (com.google.analytics.admin.v1alpha.ChannelGroupFilter) expr_);
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -337,30 +406,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.ChannelGroupFilterExpression)) {
       return super.equals(obj);
     }
-    com.google.analytics.admin.v1alpha.ChannelGroupFilterExpression other = (com.google.analytics.admin.v1alpha.ChannelGroupFilterExpression) obj;
+    com.google.analytics.admin.v1alpha.ChannelGroupFilterExpression other =
+        (com.google.analytics.admin.v1alpha.ChannelGroupFilterExpression) obj;
 
     if (!getExprCase().equals(other.getExprCase())) return false;
     switch (exprCase_) {
       case 1:
-        if (!getAndGroup()
-            .equals(other.getAndGroup())) return false;
+        if (!getAndGroup().equals(other.getAndGroup())) return false;
         break;
       case 2:
-        if (!getOrGroup()
-            .equals(other.getOrGroup())) return false;
+        if (!getOrGroup().equals(other.getOrGroup())) return false;
         break;
       case 3:
-        if (!getNotExpression()
-            .equals(other.getNotExpression())) return false;
+        if (!getNotExpression().equals(other.getNotExpression())) return false;
         break;
       case 4:
-        if (!getFilter()
-            .equals(other.getFilter())) return false;
+        if (!getFilter().equals(other.getFilter())) return false;
         break;
       case 0:
       default:
@@ -402,131 +468,136 @@ public int hashCode() {
   }
 
   public static com.google.analytics.admin.v1alpha.ChannelGroupFilterExpression parseFrom(
-      java.nio.ByteBuffer data)
-      throws com.google.protobuf.InvalidProtocolBufferException {
+      java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.analytics.admin.v1alpha.ChannelGroupFilterExpression parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.analytics.admin.v1alpha.ChannelGroupFilterExpression parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.analytics.admin.v1alpha.ChannelGroupFilterExpression parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-  public static com.google.analytics.admin.v1alpha.ChannelGroupFilterExpression parseFrom(byte[] data)
-      throws com.google.protobuf.InvalidProtocolBufferException {
+
+  public static com.google.analytics.admin.v1alpha.ChannelGroupFilterExpression parseFrom(
+      byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.analytics.admin.v1alpha.ChannelGroupFilterExpression parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-  public static com.google.analytics.admin.v1alpha.ChannelGroupFilterExpression parseFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+
+  public static com.google.analytics.admin.v1alpha.ChannelGroupFilterExpression parseFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.analytics.admin.v1alpha.ChannelGroupFilterExpression parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
-  public static com.google.analytics.admin.v1alpha.ChannelGroupFilterExpression parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+  public static com.google.analytics.admin.v1alpha.ChannelGroupFilterExpression parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
 
   public static com.google.analytics.admin.v1alpha.ChannelGroupFilterExpression parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.analytics.admin.v1alpha.ChannelGroupFilterExpression parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.analytics.admin.v1alpha.ChannelGroupFilterExpression parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-  public static Builder newBuilder(com.google.analytics.admin.v1alpha.ChannelGroupFilterExpression prototype) {
+
+  public static Builder newBuilder(
+      com.google.analytics.admin.v1alpha.ChannelGroupFilterExpression prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected 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 Channel Group dimension filters.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.ChannelGroupFilterExpression} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.ChannelGroupFilterExpression) com.google.analytics.admin.v1alpha.ChannelGroupFilterExpressionOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.ChannelGroupProto.internal_static_google_analytics_admin_v1alpha_ChannelGroupFilterExpression_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.ChannelGroupProto + .internal_static_google_analytics_admin_v1alpha_ChannelGroupFilterExpression_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.ChannelGroupProto.internal_static_google_analytics_admin_v1alpha_ChannelGroupFilterExpression_fieldAccessorTable + return com.google.analytics.admin.v1alpha.ChannelGroupProto + .internal_static_google_analytics_admin_v1alpha_ChannelGroupFilterExpression_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.ChannelGroupFilterExpression.class, com.google.analytics.admin.v1alpha.ChannelGroupFilterExpression.Builder.class); + com.google.analytics.admin.v1alpha.ChannelGroupFilterExpression.class, + com.google.analytics.admin.v1alpha.ChannelGroupFilterExpression.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.ChannelGroupFilterExpression.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(); @@ -549,13 +620,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.analytics.admin.v1alpha.ChannelGroupProto.internal_static_google_analytics_admin_v1alpha_ChannelGroupFilterExpression_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1alpha.ChannelGroupProto + .internal_static_google_analytics_admin_v1alpha_ChannelGroupFilterExpression_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.ChannelGroupFilterExpression getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.ChannelGroupFilterExpression + getDefaultInstanceForType() { return com.google.analytics.admin.v1alpha.ChannelGroupFilterExpression.getDefaultInstance(); } @@ -570,34 +642,35 @@ public com.google.analytics.admin.v1alpha.ChannelGroupFilterExpression build() { @java.lang.Override public com.google.analytics.admin.v1alpha.ChannelGroupFilterExpression buildPartial() { - com.google.analytics.admin.v1alpha.ChannelGroupFilterExpression result = new com.google.analytics.admin.v1alpha.ChannelGroupFilterExpression(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.analytics.admin.v1alpha.ChannelGroupFilterExpression result = + new com.google.analytics.admin.v1alpha.ChannelGroupFilterExpression(this); + if (bitField0_ != 0) { + buildPartial0(result); + } buildPartialOneofs(result); onBuilt(); return result; } - private void buildPartial0(com.google.analytics.admin.v1alpha.ChannelGroupFilterExpression result) { + private void buildPartial0( + com.google.analytics.admin.v1alpha.ChannelGroupFilterExpression result) { int from_bitField0_ = bitField0_; } - private void buildPartialOneofs(com.google.analytics.admin.v1alpha.ChannelGroupFilterExpression result) { + private void buildPartialOneofs( + com.google.analytics.admin.v1alpha.ChannelGroupFilterExpression 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 && - filterBuilder_ != null) { + if (exprCase_ == 4 && filterBuilder_ != null) { result.expr_ = filterBuilder_.build(); } } @@ -606,66 +679,75 @@ private void buildPartialOneofs(com.google.analytics.admin.v1alpha.ChannelGroupF public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.analytics.admin.v1alpha.ChannelGroupFilterExpression) { - return mergeFrom((com.google.analytics.admin.v1alpha.ChannelGroupFilterExpression)other); + return mergeFrom((com.google.analytics.admin.v1alpha.ChannelGroupFilterExpression) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.analytics.admin.v1alpha.ChannelGroupFilterExpression other) { - if (other == com.google.analytics.admin.v1alpha.ChannelGroupFilterExpression.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.analytics.admin.v1alpha.ChannelGroupFilterExpression other) { + if (other + == com.google.analytics.admin.v1alpha.ChannelGroupFilterExpression.getDefaultInstance()) + return this; switch (other.getExprCase()) { - case AND_GROUP: { - mergeAndGroup(other.getAndGroup()); - break; - } - case OR_GROUP: { - mergeOrGroup(other.getOrGroup()); - break; - } - case NOT_EXPRESSION: { - mergeNotExpression(other.getNotExpression()); - break; - } - case FILTER: { - mergeFilter(other.getFilter()); - break; - } - case EXPR_NOT_SET: { - break; - } + case AND_GROUP: + { + mergeAndGroup(other.getAndGroup()); + break; + } + case OR_GROUP: + { + mergeOrGroup(other.getOrGroup()); + break; + } + case NOT_EXPRESSION: + { + mergeNotExpression(other.getNotExpression()); + break; + } + case FILTER: + { + mergeFilter(other.getFilter()); + break; + } + case EXPR_NOT_SET: + { + break; + } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -693,40 +775,37 @@ 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( - getFilterFieldBuilder().getBuilder(), - extensionRegistry); - exprCase_ = 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); + 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(getFilterFieldBuilder().getBuilder(), extensionRegistry); + exprCase_ = 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) { @@ -736,12 +815,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() { @@ -754,8 +833,13 @@ public Builder clearExpr() { private int bitField0_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.ChannelGroupFilterExpressionList, com.google.analytics.admin.v1alpha.ChannelGroupFilterExpressionList.Builder, com.google.analytics.admin.v1alpha.ChannelGroupFilterExpressionListOrBuilder> andGroupBuilder_; + com.google.analytics.admin.v1alpha.ChannelGroupFilterExpressionList, + com.google.analytics.admin.v1alpha.ChannelGroupFilterExpressionList.Builder, + com.google.analytics.admin.v1alpha.ChannelGroupFilterExpressionListOrBuilder> + andGroupBuilder_; /** + * + * *
      * A list of expressions to be AND’ed together. It can only contain
      * ChannelGroupFilterExpressions with or_group. This must be set for the
@@ -763,6 +847,7 @@ public Builder clearExpr() {
      * 
* * .google.analytics.admin.v1alpha.ChannelGroupFilterExpressionList and_group = 1; + * * @return Whether the andGroup field is set. */ @java.lang.Override @@ -770,6 +855,8 @@ public boolean hasAndGroup() { return exprCase_ == 1; } /** + * + * *
      * A list of expressions to be AND’ed together. It can only contain
      * ChannelGroupFilterExpressions with or_group. This must be set for the
@@ -777,6 +864,7 @@ public boolean hasAndGroup() {
      * 
* * .google.analytics.admin.v1alpha.ChannelGroupFilterExpressionList and_group = 1; + * * @return The andGroup. */ @java.lang.Override @@ -785,15 +873,19 @@ public com.google.analytics.admin.v1alpha.ChannelGroupFilterExpressionList getAn if (exprCase_ == 1) { return (com.google.analytics.admin.v1alpha.ChannelGroupFilterExpressionList) expr_; } - return com.google.analytics.admin.v1alpha.ChannelGroupFilterExpressionList.getDefaultInstance(); + return com.google.analytics.admin.v1alpha.ChannelGroupFilterExpressionList + .getDefaultInstance(); } else { if (exprCase_ == 1) { return andGroupBuilder_.getMessage(); } - return com.google.analytics.admin.v1alpha.ChannelGroupFilterExpressionList.getDefaultInstance(); + return com.google.analytics.admin.v1alpha.ChannelGroupFilterExpressionList + .getDefaultInstance(); } } /** + * + * *
      * A list of expressions to be AND’ed together. It can only contain
      * ChannelGroupFilterExpressions with or_group. This must be set for the
@@ -802,7 +894,8 @@ public com.google.analytics.admin.v1alpha.ChannelGroupFilterExpressionList getAn
      *
      * .google.analytics.admin.v1alpha.ChannelGroupFilterExpressionList and_group = 1;
      */
-    public Builder setAndGroup(com.google.analytics.admin.v1alpha.ChannelGroupFilterExpressionList value) {
+    public Builder setAndGroup(
+        com.google.analytics.admin.v1alpha.ChannelGroupFilterExpressionList value) {
       if (andGroupBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -816,6 +909,8 @@ public Builder setAndGroup(com.google.analytics.admin.v1alpha.ChannelGroupFilter
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of expressions to be AND’ed together. It can only contain
      * ChannelGroupFilterExpressions with or_group. This must be set for the
@@ -825,7 +920,8 @@ public Builder setAndGroup(com.google.analytics.admin.v1alpha.ChannelGroupFilter
      * .google.analytics.admin.v1alpha.ChannelGroupFilterExpressionList and_group = 1;
      */
     public Builder setAndGroup(
-        com.google.analytics.admin.v1alpha.ChannelGroupFilterExpressionList.Builder builderForValue) {
+        com.google.analytics.admin.v1alpha.ChannelGroupFilterExpressionList.Builder
+            builderForValue) {
       if (andGroupBuilder_ == null) {
         expr_ = builderForValue.build();
         onChanged();
@@ -836,6 +932,8 @@ public Builder setAndGroup(
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of expressions to be AND’ed together. It can only contain
      * ChannelGroupFilterExpressions with or_group. This must be set for the
@@ -844,12 +942,18 @@ public Builder setAndGroup(
      *
      * .google.analytics.admin.v1alpha.ChannelGroupFilterExpressionList and_group = 1;
      */
-    public Builder mergeAndGroup(com.google.analytics.admin.v1alpha.ChannelGroupFilterExpressionList value) {
+    public Builder mergeAndGroup(
+        com.google.analytics.admin.v1alpha.ChannelGroupFilterExpressionList value) {
       if (andGroupBuilder_ == null) {
-        if (exprCase_ == 1 &&
-            expr_ != com.google.analytics.admin.v1alpha.ChannelGroupFilterExpressionList.getDefaultInstance()) {
-          expr_ = com.google.analytics.admin.v1alpha.ChannelGroupFilterExpressionList.newBuilder((com.google.analytics.admin.v1alpha.ChannelGroupFilterExpressionList) expr_)
-              .mergeFrom(value).buildPartial();
+        if (exprCase_ == 1
+            && expr_
+                != com.google.analytics.admin.v1alpha.ChannelGroupFilterExpressionList
+                    .getDefaultInstance()) {
+          expr_ =
+              com.google.analytics.admin.v1alpha.ChannelGroupFilterExpressionList.newBuilder(
+                      (com.google.analytics.admin.v1alpha.ChannelGroupFilterExpressionList) expr_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           expr_ = value;
         }
@@ -865,6 +969,8 @@ public Builder mergeAndGroup(com.google.analytics.admin.v1alpha.ChannelGroupFilt
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of expressions to be AND’ed together. It can only contain
      * ChannelGroupFilterExpressions with or_group. This must be set for the
@@ -890,6 +996,8 @@ public Builder clearAndGroup() {
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of expressions to be AND’ed together. It can only contain
      * ChannelGroupFilterExpressions with or_group. This must be set for the
@@ -898,10 +1006,13 @@ public Builder clearAndGroup() {
      *
      * .google.analytics.admin.v1alpha.ChannelGroupFilterExpressionList and_group = 1;
      */
-    public com.google.analytics.admin.v1alpha.ChannelGroupFilterExpressionList.Builder getAndGroupBuilder() {
+    public com.google.analytics.admin.v1alpha.ChannelGroupFilterExpressionList.Builder
+        getAndGroupBuilder() {
       return getAndGroupFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * A list of expressions to be AND’ed together. It can only contain
      * ChannelGroupFilterExpressions with or_group. This must be set for the
@@ -911,17 +1022,21 @@ public com.google.analytics.admin.v1alpha.ChannelGroupFilterExpressionList.Build
      * .google.analytics.admin.v1alpha.ChannelGroupFilterExpressionList and_group = 1;
      */
     @java.lang.Override
-    public com.google.analytics.admin.v1alpha.ChannelGroupFilterExpressionListOrBuilder getAndGroupOrBuilder() {
+    public com.google.analytics.admin.v1alpha.ChannelGroupFilterExpressionListOrBuilder
+        getAndGroupOrBuilder() {
       if ((exprCase_ == 1) && (andGroupBuilder_ != null)) {
         return andGroupBuilder_.getMessageOrBuilder();
       } else {
         if (exprCase_ == 1) {
           return (com.google.analytics.admin.v1alpha.ChannelGroupFilterExpressionList) expr_;
         }
-        return com.google.analytics.admin.v1alpha.ChannelGroupFilterExpressionList.getDefaultInstance();
+        return com.google.analytics.admin.v1alpha.ChannelGroupFilterExpressionList
+            .getDefaultInstance();
       }
     }
     /**
+     *
+     *
      * 
      * A list of expressions to be AND’ed together. It can only contain
      * ChannelGroupFilterExpressions with or_group. This must be set for the
@@ -931,14 +1046,21 @@ public com.google.analytics.admin.v1alpha.ChannelGroupFilterExpressionListOrBuil
      * .google.analytics.admin.v1alpha.ChannelGroupFilterExpressionList and_group = 1;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.analytics.admin.v1alpha.ChannelGroupFilterExpressionList, com.google.analytics.admin.v1alpha.ChannelGroupFilterExpressionList.Builder, com.google.analytics.admin.v1alpha.ChannelGroupFilterExpressionListOrBuilder> 
+            com.google.analytics.admin.v1alpha.ChannelGroupFilterExpressionList,
+            com.google.analytics.admin.v1alpha.ChannelGroupFilterExpressionList.Builder,
+            com.google.analytics.admin.v1alpha.ChannelGroupFilterExpressionListOrBuilder>
         getAndGroupFieldBuilder() {
       if (andGroupBuilder_ == null) {
         if (!(exprCase_ == 1)) {
-          expr_ = com.google.analytics.admin.v1alpha.ChannelGroupFilterExpressionList.getDefaultInstance();
+          expr_ =
+              com.google.analytics.admin.v1alpha.ChannelGroupFilterExpressionList
+                  .getDefaultInstance();
         }
-        andGroupBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.analytics.admin.v1alpha.ChannelGroupFilterExpressionList, com.google.analytics.admin.v1alpha.ChannelGroupFilterExpressionList.Builder, com.google.analytics.admin.v1alpha.ChannelGroupFilterExpressionListOrBuilder>(
+        andGroupBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.analytics.admin.v1alpha.ChannelGroupFilterExpressionList,
+                com.google.analytics.admin.v1alpha.ChannelGroupFilterExpressionList.Builder,
+                com.google.analytics.admin.v1alpha.ChannelGroupFilterExpressionListOrBuilder>(
                 (com.google.analytics.admin.v1alpha.ChannelGroupFilterExpressionList) expr_,
                 getParentForChildren(),
                 isClean());
@@ -950,14 +1072,20 @@ public com.google.analytics.admin.v1alpha.ChannelGroupFilterExpressionListOrBuil
     }
 
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.analytics.admin.v1alpha.ChannelGroupFilterExpressionList, com.google.analytics.admin.v1alpha.ChannelGroupFilterExpressionList.Builder, com.google.analytics.admin.v1alpha.ChannelGroupFilterExpressionListOrBuilder> orGroupBuilder_;
+            com.google.analytics.admin.v1alpha.ChannelGroupFilterExpressionList,
+            com.google.analytics.admin.v1alpha.ChannelGroupFilterExpressionList.Builder,
+            com.google.analytics.admin.v1alpha.ChannelGroupFilterExpressionListOrBuilder>
+        orGroupBuilder_;
     /**
+     *
+     *
      * 
      * A list of expressions to OR’ed together. It cannot contain
      * ChannelGroupFilterExpressions with and_group or or_group.
      * 
* * .google.analytics.admin.v1alpha.ChannelGroupFilterExpressionList or_group = 2; + * * @return Whether the orGroup field is set. */ @java.lang.Override @@ -965,12 +1093,15 @@ public boolean hasOrGroup() { return exprCase_ == 2; } /** + * + * *
      * A list of expressions to OR’ed together. It cannot contain
      * ChannelGroupFilterExpressions with and_group or or_group.
      * 
* * .google.analytics.admin.v1alpha.ChannelGroupFilterExpressionList or_group = 2; + * * @return The orGroup. */ @java.lang.Override @@ -979,15 +1110,19 @@ public com.google.analytics.admin.v1alpha.ChannelGroupFilterExpressionList getOr if (exprCase_ == 2) { return (com.google.analytics.admin.v1alpha.ChannelGroupFilterExpressionList) expr_; } - return com.google.analytics.admin.v1alpha.ChannelGroupFilterExpressionList.getDefaultInstance(); + return com.google.analytics.admin.v1alpha.ChannelGroupFilterExpressionList + .getDefaultInstance(); } else { if (exprCase_ == 2) { return orGroupBuilder_.getMessage(); } - return com.google.analytics.admin.v1alpha.ChannelGroupFilterExpressionList.getDefaultInstance(); + return com.google.analytics.admin.v1alpha.ChannelGroupFilterExpressionList + .getDefaultInstance(); } } /** + * + * *
      * A list of expressions to OR’ed together. It cannot contain
      * ChannelGroupFilterExpressions with and_group or or_group.
@@ -995,7 +1130,8 @@ public com.google.analytics.admin.v1alpha.ChannelGroupFilterExpressionList getOr
      *
      * .google.analytics.admin.v1alpha.ChannelGroupFilterExpressionList or_group = 2;
      */
-    public Builder setOrGroup(com.google.analytics.admin.v1alpha.ChannelGroupFilterExpressionList value) {
+    public Builder setOrGroup(
+        com.google.analytics.admin.v1alpha.ChannelGroupFilterExpressionList value) {
       if (orGroupBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -1009,6 +1145,8 @@ public Builder setOrGroup(com.google.analytics.admin.v1alpha.ChannelGroupFilterE
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of expressions to OR’ed together. It cannot contain
      * ChannelGroupFilterExpressions with and_group or or_group.
@@ -1017,7 +1155,8 @@ public Builder setOrGroup(com.google.analytics.admin.v1alpha.ChannelGroupFilterE
      * .google.analytics.admin.v1alpha.ChannelGroupFilterExpressionList or_group = 2;
      */
     public Builder setOrGroup(
-        com.google.analytics.admin.v1alpha.ChannelGroupFilterExpressionList.Builder builderForValue) {
+        com.google.analytics.admin.v1alpha.ChannelGroupFilterExpressionList.Builder
+            builderForValue) {
       if (orGroupBuilder_ == null) {
         expr_ = builderForValue.build();
         onChanged();
@@ -1028,6 +1167,8 @@ public Builder setOrGroup(
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of expressions to OR’ed together. It cannot contain
      * ChannelGroupFilterExpressions with and_group or or_group.
@@ -1035,12 +1176,18 @@ public Builder setOrGroup(
      *
      * .google.analytics.admin.v1alpha.ChannelGroupFilterExpressionList or_group = 2;
      */
-    public Builder mergeOrGroup(com.google.analytics.admin.v1alpha.ChannelGroupFilterExpressionList value) {
+    public Builder mergeOrGroup(
+        com.google.analytics.admin.v1alpha.ChannelGroupFilterExpressionList value) {
       if (orGroupBuilder_ == null) {
-        if (exprCase_ == 2 &&
-            expr_ != com.google.analytics.admin.v1alpha.ChannelGroupFilterExpressionList.getDefaultInstance()) {
-          expr_ = com.google.analytics.admin.v1alpha.ChannelGroupFilterExpressionList.newBuilder((com.google.analytics.admin.v1alpha.ChannelGroupFilterExpressionList) expr_)
-              .mergeFrom(value).buildPartial();
+        if (exprCase_ == 2
+            && expr_
+                != com.google.analytics.admin.v1alpha.ChannelGroupFilterExpressionList
+                    .getDefaultInstance()) {
+          expr_ =
+              com.google.analytics.admin.v1alpha.ChannelGroupFilterExpressionList.newBuilder(
+                      (com.google.analytics.admin.v1alpha.ChannelGroupFilterExpressionList) expr_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           expr_ = value;
         }
@@ -1056,6 +1203,8 @@ public Builder mergeOrGroup(com.google.analytics.admin.v1alpha.ChannelGroupFilte
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of expressions to OR’ed together. It cannot contain
      * ChannelGroupFilterExpressions with and_group or or_group.
@@ -1080,6 +1229,8 @@ public Builder clearOrGroup() {
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of expressions to OR’ed together. It cannot contain
      * ChannelGroupFilterExpressions with and_group or or_group.
@@ -1087,10 +1238,13 @@ public Builder clearOrGroup() {
      *
      * .google.analytics.admin.v1alpha.ChannelGroupFilterExpressionList or_group = 2;
      */
-    public com.google.analytics.admin.v1alpha.ChannelGroupFilterExpressionList.Builder getOrGroupBuilder() {
+    public com.google.analytics.admin.v1alpha.ChannelGroupFilterExpressionList.Builder
+        getOrGroupBuilder() {
       return getOrGroupFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * A list of expressions to OR’ed together. It cannot contain
      * ChannelGroupFilterExpressions with and_group or or_group.
@@ -1099,17 +1253,21 @@ public com.google.analytics.admin.v1alpha.ChannelGroupFilterExpressionList.Build
      * .google.analytics.admin.v1alpha.ChannelGroupFilterExpressionList or_group = 2;
      */
     @java.lang.Override
-    public com.google.analytics.admin.v1alpha.ChannelGroupFilterExpressionListOrBuilder getOrGroupOrBuilder() {
+    public com.google.analytics.admin.v1alpha.ChannelGroupFilterExpressionListOrBuilder
+        getOrGroupOrBuilder() {
       if ((exprCase_ == 2) && (orGroupBuilder_ != null)) {
         return orGroupBuilder_.getMessageOrBuilder();
       } else {
         if (exprCase_ == 2) {
           return (com.google.analytics.admin.v1alpha.ChannelGroupFilterExpressionList) expr_;
         }
-        return com.google.analytics.admin.v1alpha.ChannelGroupFilterExpressionList.getDefaultInstance();
+        return com.google.analytics.admin.v1alpha.ChannelGroupFilterExpressionList
+            .getDefaultInstance();
       }
     }
     /**
+     *
+     *
      * 
      * A list of expressions to OR’ed together. It cannot contain
      * ChannelGroupFilterExpressions with and_group or or_group.
@@ -1118,14 +1276,21 @@ public com.google.analytics.admin.v1alpha.ChannelGroupFilterExpressionListOrBuil
      * .google.analytics.admin.v1alpha.ChannelGroupFilterExpressionList or_group = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.analytics.admin.v1alpha.ChannelGroupFilterExpressionList, com.google.analytics.admin.v1alpha.ChannelGroupFilterExpressionList.Builder, com.google.analytics.admin.v1alpha.ChannelGroupFilterExpressionListOrBuilder> 
+            com.google.analytics.admin.v1alpha.ChannelGroupFilterExpressionList,
+            com.google.analytics.admin.v1alpha.ChannelGroupFilterExpressionList.Builder,
+            com.google.analytics.admin.v1alpha.ChannelGroupFilterExpressionListOrBuilder>
         getOrGroupFieldBuilder() {
       if (orGroupBuilder_ == null) {
         if (!(exprCase_ == 2)) {
-          expr_ = com.google.analytics.admin.v1alpha.ChannelGroupFilterExpressionList.getDefaultInstance();
+          expr_ =
+              com.google.analytics.admin.v1alpha.ChannelGroupFilterExpressionList
+                  .getDefaultInstance();
         }
-        orGroupBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.analytics.admin.v1alpha.ChannelGroupFilterExpressionList, com.google.analytics.admin.v1alpha.ChannelGroupFilterExpressionList.Builder, com.google.analytics.admin.v1alpha.ChannelGroupFilterExpressionListOrBuilder>(
+        orGroupBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.analytics.admin.v1alpha.ChannelGroupFilterExpressionList,
+                com.google.analytics.admin.v1alpha.ChannelGroupFilterExpressionList.Builder,
+                com.google.analytics.admin.v1alpha.ChannelGroupFilterExpressionListOrBuilder>(
                 (com.google.analytics.admin.v1alpha.ChannelGroupFilterExpressionList) expr_,
                 getParentForChildren(),
                 isClean());
@@ -1137,8 +1302,13 @@ public com.google.analytics.admin.v1alpha.ChannelGroupFilterExpressionListOrBuil
     }
 
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.analytics.admin.v1alpha.ChannelGroupFilterExpression, com.google.analytics.admin.v1alpha.ChannelGroupFilterExpression.Builder, com.google.analytics.admin.v1alpha.ChannelGroupFilterExpressionOrBuilder> notExpressionBuilder_;
+            com.google.analytics.admin.v1alpha.ChannelGroupFilterExpression,
+            com.google.analytics.admin.v1alpha.ChannelGroupFilterExpression.Builder,
+            com.google.analytics.admin.v1alpha.ChannelGroupFilterExpressionOrBuilder>
+        notExpressionBuilder_;
     /**
+     *
+     *
      * 
      * A filter expression to be NOT'ed (that is inverted, complemented). It
      * can only include a dimension_or_metric_filter. This cannot be set on the
@@ -1146,6 +1316,7 @@ public com.google.analytics.admin.v1alpha.ChannelGroupFilterExpressionListOrBuil
      * 
* * .google.analytics.admin.v1alpha.ChannelGroupFilterExpression not_expression = 3; + * * @return Whether the notExpression field is set. */ @java.lang.Override @@ -1153,6 +1324,8 @@ public boolean hasNotExpression() { return exprCase_ == 3; } /** + * + * *
      * A filter expression to be NOT'ed (that is inverted, complemented). It
      * can only include a dimension_or_metric_filter. This cannot be set on the
@@ -1160,6 +1333,7 @@ public boolean hasNotExpression() {
      * 
* * .google.analytics.admin.v1alpha.ChannelGroupFilterExpression not_expression = 3; + * * @return The notExpression. */ @java.lang.Override @@ -1177,6 +1351,8 @@ public com.google.analytics.admin.v1alpha.ChannelGroupFilterExpression getNotExp } } /** + * + * *
      * A filter expression to be NOT'ed (that is inverted, complemented). It
      * can only include a dimension_or_metric_filter. This cannot be set on the
@@ -1185,7 +1361,8 @@ public com.google.analytics.admin.v1alpha.ChannelGroupFilterExpression getNotExp
      *
      * .google.analytics.admin.v1alpha.ChannelGroupFilterExpression not_expression = 3;
      */
-    public Builder setNotExpression(com.google.analytics.admin.v1alpha.ChannelGroupFilterExpression value) {
+    public Builder setNotExpression(
+        com.google.analytics.admin.v1alpha.ChannelGroupFilterExpression value) {
       if (notExpressionBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -1199,6 +1376,8 @@ public Builder setNotExpression(com.google.analytics.admin.v1alpha.ChannelGroupF
       return this;
     }
     /**
+     *
+     *
      * 
      * A filter expression to be NOT'ed (that is inverted, complemented). It
      * can only include a dimension_or_metric_filter. This cannot be set on the
@@ -1219,6 +1398,8 @@ public Builder setNotExpression(
       return this;
     }
     /**
+     *
+     *
      * 
      * A filter expression to be NOT'ed (that is inverted, complemented). It
      * can only include a dimension_or_metric_filter. This cannot be set on the
@@ -1227,12 +1408,18 @@ public Builder setNotExpression(
      *
      * .google.analytics.admin.v1alpha.ChannelGroupFilterExpression not_expression = 3;
      */
-    public Builder mergeNotExpression(com.google.analytics.admin.v1alpha.ChannelGroupFilterExpression value) {
+    public Builder mergeNotExpression(
+        com.google.analytics.admin.v1alpha.ChannelGroupFilterExpression value) {
       if (notExpressionBuilder_ == null) {
-        if (exprCase_ == 3 &&
-            expr_ != com.google.analytics.admin.v1alpha.ChannelGroupFilterExpression.getDefaultInstance()) {
-          expr_ = com.google.analytics.admin.v1alpha.ChannelGroupFilterExpression.newBuilder((com.google.analytics.admin.v1alpha.ChannelGroupFilterExpression) expr_)
-              .mergeFrom(value).buildPartial();
+        if (exprCase_ == 3
+            && expr_
+                != com.google.analytics.admin.v1alpha.ChannelGroupFilterExpression
+                    .getDefaultInstance()) {
+          expr_ =
+              com.google.analytics.admin.v1alpha.ChannelGroupFilterExpression.newBuilder(
+                      (com.google.analytics.admin.v1alpha.ChannelGroupFilterExpression) expr_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           expr_ = value;
         }
@@ -1248,6 +1435,8 @@ public Builder mergeNotExpression(com.google.analytics.admin.v1alpha.ChannelGrou
       return this;
     }
     /**
+     *
+     *
      * 
      * A filter expression to be NOT'ed (that is inverted, complemented). It
      * can only include a dimension_or_metric_filter. This cannot be set on the
@@ -1273,6 +1462,8 @@ public Builder clearNotExpression() {
       return this;
     }
     /**
+     *
+     *
      * 
      * A filter expression to be NOT'ed (that is inverted, complemented). It
      * can only include a dimension_or_metric_filter. This cannot be set on the
@@ -1281,10 +1472,13 @@ public Builder clearNotExpression() {
      *
      * .google.analytics.admin.v1alpha.ChannelGroupFilterExpression not_expression = 3;
      */
-    public com.google.analytics.admin.v1alpha.ChannelGroupFilterExpression.Builder getNotExpressionBuilder() {
+    public com.google.analytics.admin.v1alpha.ChannelGroupFilterExpression.Builder
+        getNotExpressionBuilder() {
       return getNotExpressionFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * A filter expression to be NOT'ed (that is inverted, complemented). It
      * can only include a dimension_or_metric_filter. This cannot be set on the
@@ -1294,7 +1488,8 @@ public com.google.analytics.admin.v1alpha.ChannelGroupFilterExpression.Builder g
      * .google.analytics.admin.v1alpha.ChannelGroupFilterExpression not_expression = 3;
      */
     @java.lang.Override
-    public com.google.analytics.admin.v1alpha.ChannelGroupFilterExpressionOrBuilder getNotExpressionOrBuilder() {
+    public com.google.analytics.admin.v1alpha.ChannelGroupFilterExpressionOrBuilder
+        getNotExpressionOrBuilder() {
       if ((exprCase_ == 3) && (notExpressionBuilder_ != null)) {
         return notExpressionBuilder_.getMessageOrBuilder();
       } else {
@@ -1305,6 +1500,8 @@ public com.google.analytics.admin.v1alpha.ChannelGroupFilterExpressionOrBuilder
       }
     }
     /**
+     *
+     *
      * 
      * A filter expression to be NOT'ed (that is inverted, complemented). It
      * can only include a dimension_or_metric_filter. This cannot be set on the
@@ -1314,14 +1511,20 @@ public com.google.analytics.admin.v1alpha.ChannelGroupFilterExpressionOrBuilder
      * .google.analytics.admin.v1alpha.ChannelGroupFilterExpression not_expression = 3;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.analytics.admin.v1alpha.ChannelGroupFilterExpression, com.google.analytics.admin.v1alpha.ChannelGroupFilterExpression.Builder, com.google.analytics.admin.v1alpha.ChannelGroupFilterExpressionOrBuilder> 
+            com.google.analytics.admin.v1alpha.ChannelGroupFilterExpression,
+            com.google.analytics.admin.v1alpha.ChannelGroupFilterExpression.Builder,
+            com.google.analytics.admin.v1alpha.ChannelGroupFilterExpressionOrBuilder>
         getNotExpressionFieldBuilder() {
       if (notExpressionBuilder_ == null) {
         if (!(exprCase_ == 3)) {
-          expr_ = com.google.analytics.admin.v1alpha.ChannelGroupFilterExpression.getDefaultInstance();
+          expr_ =
+              com.google.analytics.admin.v1alpha.ChannelGroupFilterExpression.getDefaultInstance();
         }
-        notExpressionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.analytics.admin.v1alpha.ChannelGroupFilterExpression, com.google.analytics.admin.v1alpha.ChannelGroupFilterExpression.Builder, com.google.analytics.admin.v1alpha.ChannelGroupFilterExpressionOrBuilder>(
+        notExpressionBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.analytics.admin.v1alpha.ChannelGroupFilterExpression,
+                com.google.analytics.admin.v1alpha.ChannelGroupFilterExpression.Builder,
+                com.google.analytics.admin.v1alpha.ChannelGroupFilterExpressionOrBuilder>(
                 (com.google.analytics.admin.v1alpha.ChannelGroupFilterExpression) expr_,
                 getParentForChildren(),
                 isClean());
@@ -1333,14 +1536,20 @@ public com.google.analytics.admin.v1alpha.ChannelGroupFilterExpressionOrBuilder
     }
 
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.analytics.admin.v1alpha.ChannelGroupFilter, com.google.analytics.admin.v1alpha.ChannelGroupFilter.Builder, com.google.analytics.admin.v1alpha.ChannelGroupFilterOrBuilder> filterBuilder_;
+            com.google.analytics.admin.v1alpha.ChannelGroupFilter,
+            com.google.analytics.admin.v1alpha.ChannelGroupFilter.Builder,
+            com.google.analytics.admin.v1alpha.ChannelGroupFilterOrBuilder>
+        filterBuilder_;
     /**
+     *
+     *
      * 
      * A filter on a single dimension. This cannot be set on the top
      * level ChannelGroupFilterExpression.
      * 
* * .google.analytics.admin.v1alpha.ChannelGroupFilter filter = 4; + * * @return Whether the filter field is set. */ @java.lang.Override @@ -1348,12 +1557,15 @@ public boolean hasFilter() { return exprCase_ == 4; } /** + * + * *
      * A filter on a single dimension. This cannot be set on the top
      * level ChannelGroupFilterExpression.
      * 
* * .google.analytics.admin.v1alpha.ChannelGroupFilter filter = 4; + * * @return The filter. */ @java.lang.Override @@ -1371,6 +1583,8 @@ public com.google.analytics.admin.v1alpha.ChannelGroupFilter getFilter() { } } /** + * + * *
      * A filter on a single dimension. This cannot be set on the top
      * level ChannelGroupFilterExpression.
@@ -1392,6 +1606,8 @@ public Builder setFilter(com.google.analytics.admin.v1alpha.ChannelGroupFilter v
       return this;
     }
     /**
+     *
+     *
      * 
      * A filter on a single dimension. This cannot be set on the top
      * level ChannelGroupFilterExpression.
@@ -1411,6 +1627,8 @@ public Builder setFilter(
       return this;
     }
     /**
+     *
+     *
      * 
      * A filter on a single dimension. This cannot be set on the top
      * level ChannelGroupFilterExpression.
@@ -1420,10 +1638,14 @@ public Builder setFilter(
      */
     public Builder mergeFilter(com.google.analytics.admin.v1alpha.ChannelGroupFilter value) {
       if (filterBuilder_ == null) {
-        if (exprCase_ == 4 &&
-            expr_ != com.google.analytics.admin.v1alpha.ChannelGroupFilter.getDefaultInstance()) {
-          expr_ = com.google.analytics.admin.v1alpha.ChannelGroupFilter.newBuilder((com.google.analytics.admin.v1alpha.ChannelGroupFilter) expr_)
-              .mergeFrom(value).buildPartial();
+        if (exprCase_ == 4
+            && expr_
+                != com.google.analytics.admin.v1alpha.ChannelGroupFilter.getDefaultInstance()) {
+          expr_ =
+              com.google.analytics.admin.v1alpha.ChannelGroupFilter.newBuilder(
+                      (com.google.analytics.admin.v1alpha.ChannelGroupFilter) expr_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           expr_ = value;
         }
@@ -1439,6 +1661,8 @@ public Builder mergeFilter(com.google.analytics.admin.v1alpha.ChannelGroupFilter
       return this;
     }
     /**
+     *
+     *
      * 
      * A filter on a single dimension. This cannot be set on the top
      * level ChannelGroupFilterExpression.
@@ -1463,6 +1687,8 @@ public Builder clearFilter() {
       return this;
     }
     /**
+     *
+     *
      * 
      * A filter on a single dimension. This cannot be set on the top
      * level ChannelGroupFilterExpression.
@@ -1474,6 +1700,8 @@ public com.google.analytics.admin.v1alpha.ChannelGroupFilter.Builder getFilterBu
       return getFilterFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * A filter on a single dimension. This cannot be set on the top
      * level ChannelGroupFilterExpression.
@@ -1493,6 +1721,8 @@ public com.google.analytics.admin.v1alpha.ChannelGroupFilterOrBuilder getFilterO
       }
     }
     /**
+     *
+     *
      * 
      * A filter on a single dimension. This cannot be set on the top
      * level ChannelGroupFilterExpression.
@@ -1501,14 +1731,19 @@ public com.google.analytics.admin.v1alpha.ChannelGroupFilterOrBuilder getFilterO
      * .google.analytics.admin.v1alpha.ChannelGroupFilter filter = 4;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.analytics.admin.v1alpha.ChannelGroupFilter, com.google.analytics.admin.v1alpha.ChannelGroupFilter.Builder, com.google.analytics.admin.v1alpha.ChannelGroupFilterOrBuilder> 
+            com.google.analytics.admin.v1alpha.ChannelGroupFilter,
+            com.google.analytics.admin.v1alpha.ChannelGroupFilter.Builder,
+            com.google.analytics.admin.v1alpha.ChannelGroupFilterOrBuilder>
         getFilterFieldBuilder() {
       if (filterBuilder_ == null) {
         if (!(exprCase_ == 4)) {
           expr_ = com.google.analytics.admin.v1alpha.ChannelGroupFilter.getDefaultInstance();
         }
-        filterBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.analytics.admin.v1alpha.ChannelGroupFilter, com.google.analytics.admin.v1alpha.ChannelGroupFilter.Builder, com.google.analytics.admin.v1alpha.ChannelGroupFilterOrBuilder>(
+        filterBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.analytics.admin.v1alpha.ChannelGroupFilter,
+                com.google.analytics.admin.v1alpha.ChannelGroupFilter.Builder,
+                com.google.analytics.admin.v1alpha.ChannelGroupFilterOrBuilder>(
                 (com.google.analytics.admin.v1alpha.ChannelGroupFilter) expr_,
                 getParentForChildren(),
                 isClean());
@@ -1518,9 +1753,9 @@ public com.google.analytics.admin.v1alpha.ChannelGroupFilterOrBuilder getFilterO
       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);
     }
 
@@ -1530,41 +1765,43 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.ChannelGroupFilterExpression)
   }
 
   // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.ChannelGroupFilterExpression)
-  private static final com.google.analytics.admin.v1alpha.ChannelGroupFilterExpression DEFAULT_INSTANCE;
+  private static final com.google.analytics.admin.v1alpha.ChannelGroupFilterExpression
+      DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.ChannelGroupFilterExpression();
   }
 
-  public static com.google.analytics.admin.v1alpha.ChannelGroupFilterExpression getDefaultInstance() {
+  public static com.google.analytics.admin.v1alpha.ChannelGroupFilterExpression
+      getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public ChannelGroupFilterExpression parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      Builder builder = newBuilder();
-      try {
-        builder.mergeFrom(input, extensionRegistry);
-      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        throw e.setUnfinishedMessage(builder.buildPartial());
-      } catch (com.google.protobuf.UninitializedMessageException e) {
-        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-      } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e)
-            .setUnfinishedMessage(builder.buildPartial());
-      }
-      return builder.buildPartial();
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public ChannelGroupFilterExpression parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          Builder builder = newBuilder();
+          try {
+            builder.mergeFrom(input, extensionRegistry);
+          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+            throw e.setUnfinishedMessage(builder.buildPartial());
+          } catch (com.google.protobuf.UninitializedMessageException e) {
+            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+          } catch (java.io.IOException e) {
+            throw new com.google.protobuf.InvalidProtocolBufferException(e)
+                .setUnfinishedMessage(builder.buildPartial());
+          }
+          return builder.buildPartial();
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1576,9 +1813,8 @@ public com.google.protobuf.Parser getParserForType
   }
 
   @java.lang.Override
-  public com.google.analytics.admin.v1alpha.ChannelGroupFilterExpression getDefaultInstanceForType() {
+  public com.google.analytics.admin.v1alpha.ChannelGroupFilterExpression
+      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/ChannelGroupFilterExpressionList.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ChannelGroupFilterExpressionList.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/ChannelGroupFilterExpressionList.java
rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ChannelGroupFilterExpressionList.java
index 56595f6e4cf3..5f0716e0083d 100644
--- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ChannelGroupFilterExpressionList.java
+++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ChannelGroupFilterExpressionList.java
@@ -1,110 +1,156 @@
+/*
+ * Copyright 2023 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/analytics/admin/v1alpha/channel_group.proto
 
 package com.google.analytics.admin.v1alpha;
 
 /**
+ *
+ *
  * 
  * A list of Channel Group filter expressions.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.ChannelGroupFilterExpressionList} */ -public final class ChannelGroupFilterExpressionList extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ChannelGroupFilterExpressionList extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.ChannelGroupFilterExpressionList) ChannelGroupFilterExpressionListOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ChannelGroupFilterExpressionList.newBuilder() to construct. - private ChannelGroupFilterExpressionList(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private ChannelGroupFilterExpressionList( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ChannelGroupFilterExpressionList() { 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 ChannelGroupFilterExpressionList(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.ChannelGroupProto.internal_static_google_analytics_admin_v1alpha_ChannelGroupFilterExpressionList_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.ChannelGroupProto + .internal_static_google_analytics_admin_v1alpha_ChannelGroupFilterExpressionList_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.ChannelGroupProto.internal_static_google_analytics_admin_v1alpha_ChannelGroupFilterExpressionList_fieldAccessorTable + return com.google.analytics.admin.v1alpha.ChannelGroupProto + .internal_static_google_analytics_admin_v1alpha_ChannelGroupFilterExpressionList_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.ChannelGroupFilterExpressionList.class, com.google.analytics.admin.v1alpha.ChannelGroupFilterExpressionList.Builder.class); + com.google.analytics.admin.v1alpha.ChannelGroupFilterExpressionList.class, + com.google.analytics.admin.v1alpha.ChannelGroupFilterExpressionList.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 Channel Group filter expressions.
    * 
* - * repeated .google.analytics.admin.v1alpha.ChannelGroupFilterExpression filter_expressions = 1; + * + * repeated .google.analytics.admin.v1alpha.ChannelGroupFilterExpression filter_expressions = 1; + * */ @java.lang.Override - public java.util.List getFilterExpressionsList() { + public java.util.List + getFilterExpressionsList() { return filterExpressions_; } /** + * + * *
    * A list of Channel Group filter expressions.
    * 
* - * repeated .google.analytics.admin.v1alpha.ChannelGroupFilterExpression filter_expressions = 1; + * + * repeated .google.analytics.admin.v1alpha.ChannelGroupFilterExpression filter_expressions = 1; + * */ @java.lang.Override - public java.util.List + public java.util.List< + ? extends com.google.analytics.admin.v1alpha.ChannelGroupFilterExpressionOrBuilder> getFilterExpressionsOrBuilderList() { return filterExpressions_; } /** + * + * *
    * A list of Channel Group filter expressions.
    * 
* - * repeated .google.analytics.admin.v1alpha.ChannelGroupFilterExpression filter_expressions = 1; + * + * repeated .google.analytics.admin.v1alpha.ChannelGroupFilterExpression filter_expressions = 1; + * */ @java.lang.Override public int getFilterExpressionsCount() { return filterExpressions_.size(); } /** + * + * *
    * A list of Channel Group filter expressions.
    * 
* - * repeated .google.analytics.admin.v1alpha.ChannelGroupFilterExpression filter_expressions = 1; + * + * repeated .google.analytics.admin.v1alpha.ChannelGroupFilterExpression filter_expressions = 1; + * */ @java.lang.Override - public com.google.analytics.admin.v1alpha.ChannelGroupFilterExpression getFilterExpressions(int index) { + public com.google.analytics.admin.v1alpha.ChannelGroupFilterExpression getFilterExpressions( + int index) { return filterExpressions_.get(index); } /** + * + * *
    * A list of Channel Group filter expressions.
    * 
* - * repeated .google.analytics.admin.v1alpha.ChannelGroupFilterExpression filter_expressions = 1; + * + * repeated .google.analytics.admin.v1alpha.ChannelGroupFilterExpression filter_expressions = 1; + * */ @java.lang.Override - public com.google.analytics.admin.v1alpha.ChannelGroupFilterExpressionOrBuilder getFilterExpressionsOrBuilder( - int index) { + public com.google.analytics.admin.v1alpha.ChannelGroupFilterExpressionOrBuilder + getFilterExpressionsOrBuilder(int index) { return filterExpressions_.get(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -116,8 +162,7 @@ public final boolean isInitialized() { } @java.lang.Override - 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)); } @@ -131,8 +176,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; @@ -142,15 +187,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.ChannelGroupFilterExpressionList)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.ChannelGroupFilterExpressionList other = (com.google.analytics.admin.v1alpha.ChannelGroupFilterExpressionList) obj; + com.google.analytics.admin.v1alpha.ChannelGroupFilterExpressionList other = + (com.google.analytics.admin.v1alpha.ChannelGroupFilterExpressionList) obj; - if (!getFilterExpressionsList() - .equals(other.getFilterExpressionsList())) return false; + if (!getFilterExpressionsList().equals(other.getFilterExpressionsList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -172,131 +217,138 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.ChannelGroupFilterExpressionList parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.ChannelGroupFilterExpressionList parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.ChannelGroupFilterExpressionList parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.ChannelGroupFilterExpressionList parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.ChannelGroupFilterExpressionList parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.analytics.admin.v1alpha.ChannelGroupFilterExpressionList parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.ChannelGroupFilterExpressionList parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.ChannelGroupFilterExpressionList parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.ChannelGroupFilterExpressionList parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.ChannelGroupFilterExpressionList parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.ChannelGroupFilterExpressionList parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.ChannelGroupFilterExpressionList + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.ChannelGroupFilterExpressionList parseDelimitedFrom( - java.io.InputStream input, - 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.ChannelGroupFilterExpressionList + parseDelimitedFrom( + java.io.InputStream input, 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.ChannelGroupFilterExpressionList parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.ChannelGroupFilterExpressionList parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1alpha.ChannelGroupFilterExpressionList prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1alpha.ChannelGroupFilterExpressionList prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 Channel Group filter expressions.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.ChannelGroupFilterExpressionList} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.ChannelGroupFilterExpressionList) com.google.analytics.admin.v1alpha.ChannelGroupFilterExpressionListOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.ChannelGroupProto.internal_static_google_analytics_admin_v1alpha_ChannelGroupFilterExpressionList_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.ChannelGroupProto + .internal_static_google_analytics_admin_v1alpha_ChannelGroupFilterExpressionList_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.ChannelGroupProto.internal_static_google_analytics_admin_v1alpha_ChannelGroupFilterExpressionList_fieldAccessorTable + return com.google.analytics.admin.v1alpha.ChannelGroupProto + .internal_static_google_analytics_admin_v1alpha_ChannelGroupFilterExpressionList_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.ChannelGroupFilterExpressionList.class, com.google.analytics.admin.v1alpha.ChannelGroupFilterExpressionList.Builder.class); + com.google.analytics.admin.v1alpha.ChannelGroupFilterExpressionList.class, + com.google.analytics.admin.v1alpha.ChannelGroupFilterExpressionList.Builder.class); } - // Construct using com.google.analytics.admin.v1alpha.ChannelGroupFilterExpressionList.newBuilder() - private Builder() { - - } + // Construct using + // com.google.analytics.admin.v1alpha.ChannelGroupFilterExpressionList.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(); @@ -312,14 +364,16 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.analytics.admin.v1alpha.ChannelGroupProto.internal_static_google_analytics_admin_v1alpha_ChannelGroupFilterExpressionList_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1alpha.ChannelGroupProto + .internal_static_google_analytics_admin_v1alpha_ChannelGroupFilterExpressionList_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.ChannelGroupFilterExpressionList getDefaultInstanceForType() { - return com.google.analytics.admin.v1alpha.ChannelGroupFilterExpressionList.getDefaultInstance(); + public com.google.analytics.admin.v1alpha.ChannelGroupFilterExpressionList + getDefaultInstanceForType() { + return com.google.analytics.admin.v1alpha.ChannelGroupFilterExpressionList + .getDefaultInstance(); } @java.lang.Override @@ -333,14 +387,18 @@ public com.google.analytics.admin.v1alpha.ChannelGroupFilterExpressionList build @java.lang.Override public com.google.analytics.admin.v1alpha.ChannelGroupFilterExpressionList buildPartial() { - com.google.analytics.admin.v1alpha.ChannelGroupFilterExpressionList result = new com.google.analytics.admin.v1alpha.ChannelGroupFilterExpressionList(this); + com.google.analytics.admin.v1alpha.ChannelGroupFilterExpressionList result = + new com.google.analytics.admin.v1alpha.ChannelGroupFilterExpressionList(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartialRepeatedFields(com.google.analytics.admin.v1alpha.ChannelGroupFilterExpressionList result) { + private void buildPartialRepeatedFields( + com.google.analytics.admin.v1alpha.ChannelGroupFilterExpressionList result) { if (filterExpressionsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { filterExpressions_ = java.util.Collections.unmodifiableList(filterExpressions_); @@ -352,7 +410,8 @@ private void buildPartialRepeatedFields(com.google.analytics.admin.v1alpha.Chann } } - private void buildPartial0(com.google.analytics.admin.v1alpha.ChannelGroupFilterExpressionList result) { + private void buildPartial0( + com.google.analytics.admin.v1alpha.ChannelGroupFilterExpressionList result) { int from_bitField0_ = bitField0_; } @@ -360,46 +419,51 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.ChannelGroupFilter public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.analytics.admin.v1alpha.ChannelGroupFilterExpressionList) { - return mergeFrom((com.google.analytics.admin.v1alpha.ChannelGroupFilterExpressionList)other); + return mergeFrom( + (com.google.analytics.admin.v1alpha.ChannelGroupFilterExpressionList) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.analytics.admin.v1alpha.ChannelGroupFilterExpressionList other) { - if (other == com.google.analytics.admin.v1alpha.ChannelGroupFilterExpressionList.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.analytics.admin.v1alpha.ChannelGroupFilterExpressionList other) { + if (other + == com.google.analytics.admin.v1alpha.ChannelGroupFilterExpressionList + .getDefaultInstance()) return this; if (filterExpressionsBuilder_ == null) { if (!other.filterExpressions_.isEmpty()) { if (filterExpressions_.isEmpty()) { @@ -418,9 +482,10 @@ public Builder mergeFrom(com.google.analytics.admin.v1alpha.ChannelGroupFilterEx 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_); } @@ -452,25 +517,27 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - com.google.analytics.admin.v1alpha.ChannelGroupFilterExpression m = - input.readMessage( - com.google.analytics.admin.v1alpha.ChannelGroupFilterExpression.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.ChannelGroupFilterExpression m = + input.readMessage( + com.google.analytics.admin.v1alpha.ChannelGroupFilterExpression.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) { @@ -480,28 +547,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.ChannelGroupFilterExpression>( + filterExpressions_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.ChannelGroupFilterExpression, com.google.analytics.admin.v1alpha.ChannelGroupFilterExpression.Builder, com.google.analytics.admin.v1alpha.ChannelGroupFilterExpressionOrBuilder> filterExpressionsBuilder_; + com.google.analytics.admin.v1alpha.ChannelGroupFilterExpression, + com.google.analytics.admin.v1alpha.ChannelGroupFilterExpression.Builder, + com.google.analytics.admin.v1alpha.ChannelGroupFilterExpressionOrBuilder> + filterExpressionsBuilder_; /** + * + * *
      * A list of Channel Group filter expressions.
      * 
* - * repeated .google.analytics.admin.v1alpha.ChannelGroupFilterExpression filter_expressions = 1; + * + * repeated .google.analytics.admin.v1alpha.ChannelGroupFilterExpression filter_expressions = 1; + * */ - public java.util.List getFilterExpressionsList() { + public java.util.List + getFilterExpressionsList() { if (filterExpressionsBuilder_ == null) { return java.util.Collections.unmodifiableList(filterExpressions_); } else { @@ -509,11 +589,15 @@ public java.util.List * A list of Channel Group filter expressions. *
* - * repeated .google.analytics.admin.v1alpha.ChannelGroupFilterExpression filter_expressions = 1; + * + * repeated .google.analytics.admin.v1alpha.ChannelGroupFilterExpression filter_expressions = 1; + * */ public int getFilterExpressionsCount() { if (filterExpressionsBuilder_ == null) { @@ -523,13 +607,18 @@ public int getFilterExpressionsCount() { } } /** + * + * *
      * A list of Channel Group filter expressions.
      * 
* - * repeated .google.analytics.admin.v1alpha.ChannelGroupFilterExpression filter_expressions = 1; + * + * repeated .google.analytics.admin.v1alpha.ChannelGroupFilterExpression filter_expressions = 1; + * */ - public com.google.analytics.admin.v1alpha.ChannelGroupFilterExpression getFilterExpressions(int index) { + public com.google.analytics.admin.v1alpha.ChannelGroupFilterExpression getFilterExpressions( + int index) { if (filterExpressionsBuilder_ == null) { return filterExpressions_.get(index); } else { @@ -537,11 +626,15 @@ public com.google.analytics.admin.v1alpha.ChannelGroupFilterExpression getFilter } } /** + * + * *
      * A list of Channel Group filter expressions.
      * 
* - * repeated .google.analytics.admin.v1alpha.ChannelGroupFilterExpression filter_expressions = 1; + * + * repeated .google.analytics.admin.v1alpha.ChannelGroupFilterExpression filter_expressions = 1; + * */ public Builder setFilterExpressions( int index, com.google.analytics.admin.v1alpha.ChannelGroupFilterExpression value) { @@ -558,14 +651,19 @@ public Builder setFilterExpressions( return this; } /** + * + * *
      * A list of Channel Group filter expressions.
      * 
* - * repeated .google.analytics.admin.v1alpha.ChannelGroupFilterExpression filter_expressions = 1; + * + * repeated .google.analytics.admin.v1alpha.ChannelGroupFilterExpression filter_expressions = 1; + * */ public Builder setFilterExpressions( - int index, com.google.analytics.admin.v1alpha.ChannelGroupFilterExpression.Builder builderForValue) { + int index, + com.google.analytics.admin.v1alpha.ChannelGroupFilterExpression.Builder builderForValue) { if (filterExpressionsBuilder_ == null) { ensureFilterExpressionsIsMutable(); filterExpressions_.set(index, builderForValue.build()); @@ -576,13 +674,18 @@ public Builder setFilterExpressions( return this; } /** + * + * *
      * A list of Channel Group filter expressions.
      * 
* - * repeated .google.analytics.admin.v1alpha.ChannelGroupFilterExpression filter_expressions = 1; + * + * repeated .google.analytics.admin.v1alpha.ChannelGroupFilterExpression filter_expressions = 1; + * */ - public Builder addFilterExpressions(com.google.analytics.admin.v1alpha.ChannelGroupFilterExpression value) { + public Builder addFilterExpressions( + com.google.analytics.admin.v1alpha.ChannelGroupFilterExpression value) { if (filterExpressionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -596,11 +699,15 @@ public Builder addFilterExpressions(com.google.analytics.admin.v1alpha.ChannelGr return this; } /** + * + * *
      * A list of Channel Group filter expressions.
      * 
* - * repeated .google.analytics.admin.v1alpha.ChannelGroupFilterExpression filter_expressions = 1; + * + * repeated .google.analytics.admin.v1alpha.ChannelGroupFilterExpression filter_expressions = 1; + * */ public Builder addFilterExpressions( int index, com.google.analytics.admin.v1alpha.ChannelGroupFilterExpression value) { @@ -617,11 +724,15 @@ public Builder addFilterExpressions( return this; } /** + * + * *
      * A list of Channel Group filter expressions.
      * 
* - * repeated .google.analytics.admin.v1alpha.ChannelGroupFilterExpression filter_expressions = 1; + * + * repeated .google.analytics.admin.v1alpha.ChannelGroupFilterExpression filter_expressions = 1; + * */ public Builder addFilterExpressions( com.google.analytics.admin.v1alpha.ChannelGroupFilterExpression.Builder builderForValue) { @@ -635,14 +746,19 @@ public Builder addFilterExpressions( return this; } /** + * + * *
      * A list of Channel Group filter expressions.
      * 
* - * repeated .google.analytics.admin.v1alpha.ChannelGroupFilterExpression filter_expressions = 1; + * + * repeated .google.analytics.admin.v1alpha.ChannelGroupFilterExpression filter_expressions = 1; + * */ public Builder addFilterExpressions( - int index, com.google.analytics.admin.v1alpha.ChannelGroupFilterExpression.Builder builderForValue) { + int index, + com.google.analytics.admin.v1alpha.ChannelGroupFilterExpression.Builder builderForValue) { if (filterExpressionsBuilder_ == null) { ensureFilterExpressionsIsMutable(); filterExpressions_.add(index, builderForValue.build()); @@ -653,18 +769,23 @@ public Builder addFilterExpressions( return this; } /** + * + * *
      * A list of Channel Group filter expressions.
      * 
* - * repeated .google.analytics.admin.v1alpha.ChannelGroupFilterExpression filter_expressions = 1; + * + * repeated .google.analytics.admin.v1alpha.ChannelGroupFilterExpression filter_expressions = 1; + * */ public Builder addAllFilterExpressions( - java.lang.Iterable values) { + java.lang.Iterable< + ? extends com.google.analytics.admin.v1alpha.ChannelGroupFilterExpression> + 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); @@ -672,11 +793,15 @@ public Builder addAllFilterExpressions( return this; } /** + * + * *
      * A list of Channel Group filter expressions.
      * 
* - * repeated .google.analytics.admin.v1alpha.ChannelGroupFilterExpression filter_expressions = 1; + * + * repeated .google.analytics.admin.v1alpha.ChannelGroupFilterExpression filter_expressions = 1; + * */ public Builder clearFilterExpressions() { if (filterExpressionsBuilder_ == null) { @@ -689,11 +814,15 @@ public Builder clearFilterExpressions() { return this; } /** + * + * *
      * A list of Channel Group filter expressions.
      * 
* - * repeated .google.analytics.admin.v1alpha.ChannelGroupFilterExpression filter_expressions = 1; + * + * repeated .google.analytics.admin.v1alpha.ChannelGroupFilterExpression filter_expressions = 1; + * */ public Builder removeFilterExpressions(int index) { if (filterExpressionsBuilder_ == null) { @@ -706,39 +835,53 @@ public Builder removeFilterExpressions(int index) { return this; } /** + * + * *
      * A list of Channel Group filter expressions.
      * 
* - * repeated .google.analytics.admin.v1alpha.ChannelGroupFilterExpression filter_expressions = 1; + * + * repeated .google.analytics.admin.v1alpha.ChannelGroupFilterExpression filter_expressions = 1; + * */ - public com.google.analytics.admin.v1alpha.ChannelGroupFilterExpression.Builder getFilterExpressionsBuilder( - int index) { + public com.google.analytics.admin.v1alpha.ChannelGroupFilterExpression.Builder + getFilterExpressionsBuilder(int index) { return getFilterExpressionsFieldBuilder().getBuilder(index); } /** + * + * *
      * A list of Channel Group filter expressions.
      * 
* - * repeated .google.analytics.admin.v1alpha.ChannelGroupFilterExpression filter_expressions = 1; + * + * repeated .google.analytics.admin.v1alpha.ChannelGroupFilterExpression filter_expressions = 1; + * */ - public com.google.analytics.admin.v1alpha.ChannelGroupFilterExpressionOrBuilder getFilterExpressionsOrBuilder( - int index) { + public com.google.analytics.admin.v1alpha.ChannelGroupFilterExpressionOrBuilder + getFilterExpressionsOrBuilder(int index) { if (filterExpressionsBuilder_ == null) { - return filterExpressions_.get(index); } else { + return filterExpressions_.get(index); + } else { return filterExpressionsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * A list of Channel Group filter expressions.
      * 
* - * repeated .google.analytics.admin.v1alpha.ChannelGroupFilterExpression filter_expressions = 1; + * + * repeated .google.analytics.admin.v1alpha.ChannelGroupFilterExpression filter_expressions = 1; + * */ - public java.util.List - getFilterExpressionsOrBuilderList() { + public java.util.List< + ? extends com.google.analytics.admin.v1alpha.ChannelGroupFilterExpressionOrBuilder> + getFilterExpressionsOrBuilderList() { if (filterExpressionsBuilder_ != null) { return filterExpressionsBuilder_.getMessageOrBuilderList(); } else { @@ -746,45 +889,67 @@ public com.google.analytics.admin.v1alpha.ChannelGroupFilterExpressionOrBuilder } } /** + * + * *
      * A list of Channel Group filter expressions.
      * 
* - * repeated .google.analytics.admin.v1alpha.ChannelGroupFilterExpression filter_expressions = 1; + * + * repeated .google.analytics.admin.v1alpha.ChannelGroupFilterExpression filter_expressions = 1; + * */ - public com.google.analytics.admin.v1alpha.ChannelGroupFilterExpression.Builder addFilterExpressionsBuilder() { - return getFilterExpressionsFieldBuilder().addBuilder( - com.google.analytics.admin.v1alpha.ChannelGroupFilterExpression.getDefaultInstance()); + public com.google.analytics.admin.v1alpha.ChannelGroupFilterExpression.Builder + addFilterExpressionsBuilder() { + return getFilterExpressionsFieldBuilder() + .addBuilder( + com.google.analytics.admin.v1alpha.ChannelGroupFilterExpression.getDefaultInstance()); } /** + * + * *
      * A list of Channel Group filter expressions.
      * 
* - * repeated .google.analytics.admin.v1alpha.ChannelGroupFilterExpression filter_expressions = 1; + * + * repeated .google.analytics.admin.v1alpha.ChannelGroupFilterExpression filter_expressions = 1; + * */ - public com.google.analytics.admin.v1alpha.ChannelGroupFilterExpression.Builder addFilterExpressionsBuilder( - int index) { - return getFilterExpressionsFieldBuilder().addBuilder( - index, com.google.analytics.admin.v1alpha.ChannelGroupFilterExpression.getDefaultInstance()); + public com.google.analytics.admin.v1alpha.ChannelGroupFilterExpression.Builder + addFilterExpressionsBuilder(int index) { + return getFilterExpressionsFieldBuilder() + .addBuilder( + index, + com.google.analytics.admin.v1alpha.ChannelGroupFilterExpression.getDefaultInstance()); } /** + * + * *
      * A list of Channel Group filter expressions.
      * 
* - * repeated .google.analytics.admin.v1alpha.ChannelGroupFilterExpression filter_expressions = 1; + * + * repeated .google.analytics.admin.v1alpha.ChannelGroupFilterExpression 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.ChannelGroupFilterExpression, com.google.analytics.admin.v1alpha.ChannelGroupFilterExpression.Builder, com.google.analytics.admin.v1alpha.ChannelGroupFilterExpressionOrBuilder> + com.google.analytics.admin.v1alpha.ChannelGroupFilterExpression, + com.google.analytics.admin.v1alpha.ChannelGroupFilterExpression.Builder, + com.google.analytics.admin.v1alpha.ChannelGroupFilterExpressionOrBuilder> getFilterExpressionsFieldBuilder() { if (filterExpressionsBuilder_ == null) { - filterExpressionsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.ChannelGroupFilterExpression, com.google.analytics.admin.v1alpha.ChannelGroupFilterExpression.Builder, com.google.analytics.admin.v1alpha.ChannelGroupFilterExpressionOrBuilder>( + filterExpressionsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.analytics.admin.v1alpha.ChannelGroupFilterExpression, + com.google.analytics.admin.v1alpha.ChannelGroupFilterExpression.Builder, + com.google.analytics.admin.v1alpha.ChannelGroupFilterExpressionOrBuilder>( filterExpressions_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -793,9 +958,9 @@ public com.google.analytics.admin.v1alpha.ChannelGroupFilterExpression.Builder a } 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); } @@ -805,41 +970,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.ChannelGroupFilterExpressionList) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.ChannelGroupFilterExpressionList) - private static final com.google.analytics.admin.v1alpha.ChannelGroupFilterExpressionList DEFAULT_INSTANCE; + private static final com.google.analytics.admin.v1alpha.ChannelGroupFilterExpressionList + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.ChannelGroupFilterExpressionList(); } - public static com.google.analytics.admin.v1alpha.ChannelGroupFilterExpressionList getDefaultInstance() { + public static com.google.analytics.admin.v1alpha.ChannelGroupFilterExpressionList + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ChannelGroupFilterExpressionList parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ChannelGroupFilterExpressionList parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -851,9 +1018,8 @@ public com.google.protobuf.Parser getParserFor } @java.lang.Override - public com.google.analytics.admin.v1alpha.ChannelGroupFilterExpressionList getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.ChannelGroupFilterExpressionList + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ChannelGroupFilterExpressionListOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ChannelGroupFilterExpressionListOrBuilder.java new file mode 100644 index 000000000000..5676b83669ac --- /dev/null +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ChannelGroupFilterExpressionListOrBuilder.java @@ -0,0 +1,89 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/analytics/admin/v1alpha/channel_group.proto + +package com.google.analytics.admin.v1alpha; + +public interface ChannelGroupFilterExpressionListOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.ChannelGroupFilterExpressionList) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * A list of Channel Group filter expressions.
+   * 
+ * + * + * repeated .google.analytics.admin.v1alpha.ChannelGroupFilterExpression filter_expressions = 1; + * + */ + java.util.List + getFilterExpressionsList(); + /** + * + * + *
+   * A list of Channel Group filter expressions.
+   * 
+ * + * + * repeated .google.analytics.admin.v1alpha.ChannelGroupFilterExpression filter_expressions = 1; + * + */ + com.google.analytics.admin.v1alpha.ChannelGroupFilterExpression getFilterExpressions(int index); + /** + * + * + *
+   * A list of Channel Group filter expressions.
+   * 
+ * + * + * repeated .google.analytics.admin.v1alpha.ChannelGroupFilterExpression filter_expressions = 1; + * + */ + int getFilterExpressionsCount(); + /** + * + * + *
+   * A list of Channel Group filter expressions.
+   * 
+ * + * + * repeated .google.analytics.admin.v1alpha.ChannelGroupFilterExpression filter_expressions = 1; + * + */ + java.util.List + getFilterExpressionsOrBuilderList(); + /** + * + * + *
+   * A list of Channel Group filter expressions.
+   * 
+ * + * + * repeated .google.analytics.admin.v1alpha.ChannelGroupFilterExpression filter_expressions = 1; + * + */ + com.google.analytics.admin.v1alpha.ChannelGroupFilterExpressionOrBuilder + 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/ChannelGroupFilterExpressionOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ChannelGroupFilterExpressionOrBuilder.java similarity index 83% rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ChannelGroupFilterExpressionOrBuilder.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ChannelGroupFilterExpressionOrBuilder.java index ffd19b485b9e..29df8e0a055d 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ChannelGroupFilterExpressionOrBuilder.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ChannelGroupFilterExpressionOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/channel_group.proto package com.google.analytics.admin.v1alpha; -public interface ChannelGroupFilterExpressionOrBuilder extends +public interface ChannelGroupFilterExpressionOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.ChannelGroupFilterExpression) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * A list of expressions to be AND’ed together. It can only contain
    * ChannelGroupFilterExpressions with or_group. This must be set for the
@@ -15,10 +33,13 @@ public interface ChannelGroupFilterExpressionOrBuilder extends
    * 
* * .google.analytics.admin.v1alpha.ChannelGroupFilterExpressionList 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
    * ChannelGroupFilterExpressions with or_group. This must be set for the
@@ -26,10 +47,13 @@ public interface ChannelGroupFilterExpressionOrBuilder extends
    * 
* * .google.analytics.admin.v1alpha.ChannelGroupFilterExpressionList and_group = 1; + * * @return The andGroup. */ com.google.analytics.admin.v1alpha.ChannelGroupFilterExpressionList getAndGroup(); /** + * + * *
    * A list of expressions to be AND’ed together. It can only contain
    * ChannelGroupFilterExpressions with or_group. This must be set for the
@@ -38,29 +62,38 @@ public interface ChannelGroupFilterExpressionOrBuilder extends
    *
    * .google.analytics.admin.v1alpha.ChannelGroupFilterExpressionList and_group = 1;
    */
-  com.google.analytics.admin.v1alpha.ChannelGroupFilterExpressionListOrBuilder getAndGroupOrBuilder();
+  com.google.analytics.admin.v1alpha.ChannelGroupFilterExpressionListOrBuilder
+      getAndGroupOrBuilder();
 
   /**
+   *
+   *
    * 
    * A list of expressions to OR’ed together. It cannot contain
    * ChannelGroupFilterExpressions with and_group or or_group.
    * 
* * .google.analytics.admin.v1alpha.ChannelGroupFilterExpressionList or_group = 2; + * * @return Whether the orGroup field is set. */ boolean hasOrGroup(); /** + * + * *
    * A list of expressions to OR’ed together. It cannot contain
    * ChannelGroupFilterExpressions with and_group or or_group.
    * 
* * .google.analytics.admin.v1alpha.ChannelGroupFilterExpressionList or_group = 2; + * * @return The orGroup. */ com.google.analytics.admin.v1alpha.ChannelGroupFilterExpressionList getOrGroup(); /** + * + * *
    * A list of expressions to OR’ed together. It cannot contain
    * ChannelGroupFilterExpressions with and_group or or_group.
@@ -68,9 +101,12 @@ public interface ChannelGroupFilterExpressionOrBuilder extends
    *
    * .google.analytics.admin.v1alpha.ChannelGroupFilterExpressionList or_group = 2;
    */
-  com.google.analytics.admin.v1alpha.ChannelGroupFilterExpressionListOrBuilder getOrGroupOrBuilder();
+  com.google.analytics.admin.v1alpha.ChannelGroupFilterExpressionListOrBuilder
+      getOrGroupOrBuilder();
 
   /**
+   *
+   *
    * 
    * A filter expression to be NOT'ed (that is inverted, complemented). It
    * can only include a dimension_or_metric_filter. This cannot be set on the
@@ -78,10 +114,13 @@ public interface ChannelGroupFilterExpressionOrBuilder extends
    * 
* * .google.analytics.admin.v1alpha.ChannelGroupFilterExpression not_expression = 3; + * * @return Whether the notExpression field is set. */ boolean hasNotExpression(); /** + * + * *
    * A filter expression to be NOT'ed (that is inverted, complemented). It
    * can only include a dimension_or_metric_filter. This cannot be set on the
@@ -89,10 +128,13 @@ public interface ChannelGroupFilterExpressionOrBuilder extends
    * 
* * .google.analytics.admin.v1alpha.ChannelGroupFilterExpression not_expression = 3; + * * @return The notExpression. */ com.google.analytics.admin.v1alpha.ChannelGroupFilterExpression getNotExpression(); /** + * + * *
    * A filter expression to be NOT'ed (that is inverted, complemented). It
    * can only include a dimension_or_metric_filter. This cannot be set on the
@@ -101,29 +143,38 @@ public interface ChannelGroupFilterExpressionOrBuilder extends
    *
    * .google.analytics.admin.v1alpha.ChannelGroupFilterExpression not_expression = 3;
    */
-  com.google.analytics.admin.v1alpha.ChannelGroupFilterExpressionOrBuilder getNotExpressionOrBuilder();
+  com.google.analytics.admin.v1alpha.ChannelGroupFilterExpressionOrBuilder
+      getNotExpressionOrBuilder();
 
   /**
+   *
+   *
    * 
    * A filter on a single dimension. This cannot be set on the top
    * level ChannelGroupFilterExpression.
    * 
* * .google.analytics.admin.v1alpha.ChannelGroupFilter filter = 4; + * * @return Whether the filter field is set. */ boolean hasFilter(); /** + * + * *
    * A filter on a single dimension. This cannot be set on the top
    * level ChannelGroupFilterExpression.
    * 
* * .google.analytics.admin.v1alpha.ChannelGroupFilter filter = 4; + * * @return The filter. */ com.google.analytics.admin.v1alpha.ChannelGroupFilter getFilter(); /** + * + * *
    * A filter on a single dimension. This cannot be set on the top
    * level ChannelGroupFilterExpression.
diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ChannelGroupFilterOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ChannelGroupFilterOrBuilder.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/ChannelGroupFilterOrBuilder.java
rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ChannelGroupFilterOrBuilder.java
index da7943d0cd68..a3607aa92ad2 100644
--- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ChannelGroupFilterOrBuilder.java
+++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ChannelGroupFilterOrBuilder.java
@@ -1,88 +1,134 @@
+/*
+ * Copyright 2023 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/analytics/admin/v1alpha/channel_group.proto
 
 package com.google.analytics.admin.v1alpha;
 
-public interface ChannelGroupFilterOrBuilder extends
+public interface ChannelGroupFilterOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.ChannelGroupFilter)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * A filter for a string-type dimension that matches a particular pattern.
    * 
* * .google.analytics.admin.v1alpha.ChannelGroupFilter.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.ChannelGroupFilter.StringFilter string_filter = 2; + * * @return The stringFilter. */ com.google.analytics.admin.v1alpha.ChannelGroupFilter.StringFilter getStringFilter(); /** + * + * *
    * A filter for a string-type dimension that matches a particular pattern.
    * 
* * .google.analytics.admin.v1alpha.ChannelGroupFilter.StringFilter string_filter = 2; */ - com.google.analytics.admin.v1alpha.ChannelGroupFilter.StringFilterOrBuilder getStringFilterOrBuilder(); + com.google.analytics.admin.v1alpha.ChannelGroupFilter.StringFilterOrBuilder + getStringFilterOrBuilder(); /** + * + * *
    * A filter for a string dimension that matches a particular list of
    * options.
    * 
* - * .google.analytics.admin.v1alpha.ChannelGroupFilter.InListFilter in_list_filter = 3; + * .google.analytics.admin.v1alpha.ChannelGroupFilter.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.ChannelGroupFilter.InListFilter in_list_filter = 3; + * .google.analytics.admin.v1alpha.ChannelGroupFilter.InListFilter in_list_filter = 3; + * + * * @return The inListFilter. */ com.google.analytics.admin.v1alpha.ChannelGroupFilter.InListFilter getInListFilter(); /** + * + * *
    * A filter for a string dimension that matches a particular list of
    * options.
    * 
* - * .google.analytics.admin.v1alpha.ChannelGroupFilter.InListFilter in_list_filter = 3; + * .google.analytics.admin.v1alpha.ChannelGroupFilter.InListFilter in_list_filter = 3; + * */ - com.google.analytics.admin.v1alpha.ChannelGroupFilter.InListFilterOrBuilder getInListFilterOrBuilder(); + com.google.analytics.admin.v1alpha.ChannelGroupFilter.InListFilterOrBuilder + getInListFilterOrBuilder(); /** + * + * *
    * Required. Immutable. The dimension 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 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(); com.google.analytics.admin.v1alpha.ChannelGroupFilter.ValueFilterCase getValueFilterCase(); } diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ChannelGroupName.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ChannelGroupName.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/ChannelGroupName.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ChannelGroupName.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ChannelGroupOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ChannelGroupOrBuilder.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/ChannelGroupOrBuilder.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ChannelGroupOrBuilder.java index e28a8cfb33b7..c9174c9c4a38 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ChannelGroupOrBuilder.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ChannelGroupOrBuilder.java @@ -1,127 +1,179 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/channel_group.proto package com.google.analytics.admin.v1alpha; -public interface ChannelGroupOrBuilder extends +public interface ChannelGroupOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.ChannelGroup) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Output only. The resource name for this Channel Group resource.
    * Format: properties/{property}/channelGroups/{channel_group}
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Output only. The resource name for this Channel Group resource.
    * Format: properties/{property}/channelGroups/{channel_group}
    * 
* * 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 Channel Group. Max length of 80
    * characters.
    * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The displayName. */ java.lang.String getDisplayName(); /** + * + * *
    * Required. The display name of the Channel Group. Max length of 80
    * characters.
    * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for displayName. */ - com.google.protobuf.ByteString - getDisplayNameBytes(); + com.google.protobuf.ByteString getDisplayNameBytes(); /** + * + * *
    * The description of the Channel Group. Max length of 256 characters.
    * 
* * string description = 3; + * * @return The description. */ java.lang.String getDescription(); /** + * + * *
    * The description of the Channel Group. Max length of 256 characters.
    * 
* * string description = 3; + * * @return The bytes for description. */ - com.google.protobuf.ByteString - getDescriptionBytes(); + com.google.protobuf.ByteString getDescriptionBytes(); /** + * + * *
    * Required. The grouping rules of channels. Maximum number of rules is 25.
    * 
* - * repeated .google.analytics.admin.v1alpha.GroupingRule grouping_rule = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.GroupingRule grouping_rule = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ - java.util.List - getGroupingRuleList(); + java.util.List getGroupingRuleList(); /** + * + * *
    * Required. The grouping rules of channels. Maximum number of rules is 25.
    * 
* - * repeated .google.analytics.admin.v1alpha.GroupingRule grouping_rule = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.GroupingRule grouping_rule = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.analytics.admin.v1alpha.GroupingRule getGroupingRule(int index); /** + * + * *
    * Required. The grouping rules of channels. Maximum number of rules is 25.
    * 
* - * repeated .google.analytics.admin.v1alpha.GroupingRule grouping_rule = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.GroupingRule grouping_rule = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ int getGroupingRuleCount(); /** + * + * *
    * Required. The grouping rules of channels. Maximum number of rules is 25.
    * 
* - * repeated .google.analytics.admin.v1alpha.GroupingRule grouping_rule = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.GroupingRule grouping_rule = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ - java.util.List + java.util.List getGroupingRuleOrBuilderList(); /** + * + * *
    * Required. The grouping rules of channels. Maximum number of rules is 25.
    * 
* - * repeated .google.analytics.admin.v1alpha.GroupingRule grouping_rule = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.GroupingRule grouping_rule = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ - com.google.analytics.admin.v1alpha.GroupingRuleOrBuilder getGroupingRuleOrBuilder( - int index); + com.google.analytics.admin.v1alpha.GroupingRuleOrBuilder getGroupingRuleOrBuilder(int index); /** + * + * *
    * Output only. Default Channel Group defined by Google, which cannot be
    * updated.
    * 
* * bool system_defined = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The systemDefined. */ boolean getSystemDefined(); diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ChannelGroupProto.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ChannelGroupProto.java new file mode 100644 index 000000000000..6c1fd0b8e916 --- /dev/null +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ChannelGroupProto.java @@ -0,0 +1,190 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/analytics/admin/v1alpha/channel_group.proto + +package com.google.analytics.admin.v1alpha; + +public final class ChannelGroupProto { + private ChannelGroupProto() {} + + 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_ChannelGroupFilter_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_ChannelGroupFilter_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_ChannelGroupFilter_StringFilter_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_ChannelGroupFilter_StringFilter_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_ChannelGroupFilter_InListFilter_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_ChannelGroupFilter_InListFilter_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_ChannelGroupFilterExpression_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_ChannelGroupFilterExpression_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_ChannelGroupFilterExpressionList_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_ChannelGroupFilterExpressionList_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_GroupingRule_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_GroupingRule_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_ChannelGroup_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_ChannelGroup_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/channel" + + "_group.proto\022\036google.analytics.admin.v1a" + + "lpha\032\037google/api/field_behavior.proto\032\031g" + + "oogle/api/resource.proto\"\255\004\n\022ChannelGrou" + + "pFilter\022X\n\rstring_filter\030\002 \001(\0132?.google." + + "analytics.admin.v1alpha.ChannelGroupFilt" + + "er.StringFilterH\000\022Y\n\016in_list_filter\030\003 \001(" + + "\0132?.google.analytics.admin.v1alpha.Chann" + + "elGroupFilter.InListFilterH\000\022\031\n\nfield_na" + + "me\030\001 \001(\tB\005\342A\002\002\005\032\220\002\n\014StringFilter\022c\n\nmatc" + + "h_type\030\001 \001(\0162I.google.analytics.admin.v1" + + "alpha.ChannelGroupFilter.StringFilter.Ma" + + "tchTypeB\004\342A\001\002\022\023\n\005value\030\002 \001(\tB\004\342A\001\002\"\205\001\n\tM" + + "atchType\022\032\n\026MATCH_TYPE_UNSPECIFIED\020\000\022\t\n\005" + + "EXACT\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\016PARTIA" + + "L_REGEXP\020\006\032$\n\014InListFilter\022\024\n\006values\030\001 \003" + + "(\tB\004\342A\001\002B\016\n\014value_filter\"\361\002\n\034ChannelGrou" + + "pFilterExpression\022U\n\tand_group\030\001 \001(\0132@.g" + + "oogle.analytics.admin.v1alpha.ChannelGro" + + "upFilterExpressionListH\000\022T\n\010or_group\030\002 \001" + + "(\0132@.google.analytics.admin.v1alpha.Chan" + + "nelGroupFilterExpressionListH\000\022V\n\016not_ex" + + "pression\030\003 \001(\0132<.google.analytics.admin." + + "v1alpha.ChannelGroupFilterExpressionH\000\022D" + + "\n\006filter\030\004 \001(\01322.google.analytics.admin." + + "v1alpha.ChannelGroupFilterH\000B\006\n\004expr\"|\n " + + "ChannelGroupFilterExpressionList\022X\n\022filt" + + "er_expressions\030\001 \003(\0132<.google.analytics." + + "admin.v1alpha.ChannelGroupFilterExpressi" + + "on\"\202\001\n\014GroupingRule\022\032\n\014display_name\030\001 \001(" + + "\tB\004\342A\001\002\022V\n\nexpression\030\002 \001(\0132<.google.ana" + + "lytics.admin.v1alpha.ChannelGroupFilterE" + + "xpressionB\004\342A\001\002\"\242\002\n\014ChannelGroup\022\022\n\004name" + + "\030\001 \001(\tB\004\342A\001\003\022\032\n\014display_name\030\002 \001(\tB\004\342A\001\002" + + "\022\023\n\013description\030\003 \001(\t\022I\n\rgrouping_rule\030\004" + + " \003(\0132,.google.analytics.admin.v1alpha.Gr" + + "oupingRuleB\004\342A\001\002\022\034\n\016system_defined\030\005 \001(\010" + + "B\004\342A\001\003:d\352Aa\n*analyticsadmin.googleapis.c" + + "om/ChannelGroup\0223properties/{property}/c" + + "hannelGroups/{channel_group}By\n\"com.goog" + + "le.analytics.admin.v1alphaB\021ChannelGroup" + + "ProtoP\001Z>cloud.google.com/go/analytics/a" + + "dmin/apiv1alpha/adminpb;adminpbb\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(), + }); + internal_static_google_analytics_admin_v1alpha_ChannelGroupFilter_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_analytics_admin_v1alpha_ChannelGroupFilter_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_ChannelGroupFilter_descriptor, + new java.lang.String[] { + "StringFilter", "InListFilter", "FieldName", "ValueFilter", + }); + internal_static_google_analytics_admin_v1alpha_ChannelGroupFilter_StringFilter_descriptor = + internal_static_google_analytics_admin_v1alpha_ChannelGroupFilter_descriptor + .getNestedTypes() + .get(0); + internal_static_google_analytics_admin_v1alpha_ChannelGroupFilter_StringFilter_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_ChannelGroupFilter_StringFilter_descriptor, + new java.lang.String[] { + "MatchType", "Value", + }); + internal_static_google_analytics_admin_v1alpha_ChannelGroupFilter_InListFilter_descriptor = + internal_static_google_analytics_admin_v1alpha_ChannelGroupFilter_descriptor + .getNestedTypes() + .get(1); + internal_static_google_analytics_admin_v1alpha_ChannelGroupFilter_InListFilter_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_ChannelGroupFilter_InListFilter_descriptor, + new java.lang.String[] { + "Values", + }); + internal_static_google_analytics_admin_v1alpha_ChannelGroupFilterExpression_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_analytics_admin_v1alpha_ChannelGroupFilterExpression_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_ChannelGroupFilterExpression_descriptor, + new java.lang.String[] { + "AndGroup", "OrGroup", "NotExpression", "Filter", "Expr", + }); + internal_static_google_analytics_admin_v1alpha_ChannelGroupFilterExpressionList_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_analytics_admin_v1alpha_ChannelGroupFilterExpressionList_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_ChannelGroupFilterExpressionList_descriptor, + new java.lang.String[] { + "FilterExpressions", + }); + internal_static_google_analytics_admin_v1alpha_GroupingRule_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_analytics_admin_v1alpha_GroupingRule_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_GroupingRule_descriptor, + new java.lang.String[] { + "DisplayName", "Expression", + }); + internal_static_google_analytics_admin_v1alpha_ChannelGroup_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_analytics_admin_v1alpha_ChannelGroup_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_ChannelGroup_descriptor, + new java.lang.String[] { + "Name", "DisplayName", "Description", "GroupingRule", "SystemDefined", + }); + 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(); + } + + // @@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/CoarseValue.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CoarseValue.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/CoarseValue.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CoarseValue.java index cfb6db37068a..04f664e2f5bd 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CoarseValue.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CoarseValue.java @@ -1,9 +1,26 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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 coarse conversion value set on the updatePostbackConversionValue SDK call
  * when a ConversionValues.event_mappings conditions are satisfied. For
@@ -13,9 +30,10 @@
  *
  * Protobuf enum {@code google.analytics.admin.v1alpha.CoarseValue}
  */
-public enum CoarseValue
-    implements com.google.protobuf.ProtocolMessageEnum {
+public enum CoarseValue implements com.google.protobuf.ProtocolMessageEnum {
   /**
+   *
+   *
    * 
    * Coarse value not specified.
    * 
@@ -24,6 +42,8 @@ public enum CoarseValue */ COARSE_VALUE_UNSPECIFIED(0), /** + * + * *
    * Coarse value of low.
    * 
@@ -32,6 +52,8 @@ public enum CoarseValue */ COARSE_VALUE_LOW(1), /** + * + * *
    * Coarse value of medium.
    * 
@@ -40,6 +62,8 @@ public enum CoarseValue */ COARSE_VALUE_MEDIUM(2), /** + * + * *
    * Coarse value of high.
    * 
@@ -51,6 +75,8 @@ public enum CoarseValue ; /** + * + * *
    * Coarse value not specified.
    * 
@@ -59,6 +85,8 @@ public enum CoarseValue */ public static final int COARSE_VALUE_UNSPECIFIED_VALUE = 0; /** + * + * *
    * Coarse value of low.
    * 
@@ -67,6 +95,8 @@ public enum CoarseValue */ public static final int COARSE_VALUE_LOW_VALUE = 1; /** + * + * *
    * Coarse value of medium.
    * 
@@ -75,6 +105,8 @@ public enum CoarseValue */ public static final int COARSE_VALUE_MEDIUM_VALUE = 2; /** + * + * *
    * Coarse value of high.
    * 
@@ -83,7 +115,6 @@ public enum CoarseValue */ public static final int COARSE_VALUE_HIGH_VALUE = 3; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -108,50 +139,51 @@ public static CoarseValue valueOf(int value) { */ public static CoarseValue forNumber(int value) { switch (value) { - case 0: return COARSE_VALUE_UNSPECIFIED; - case 1: return COARSE_VALUE_LOW; - case 2: return COARSE_VALUE_MEDIUM; - case 3: return COARSE_VALUE_HIGH; - default: return null; + case 0: + return COARSE_VALUE_UNSPECIFIED; + case 1: + return COARSE_VALUE_LOW; + case 2: + return COARSE_VALUE_MEDIUM; + case 3: + return COARSE_VALUE_HIGH; + 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< - CoarseValue> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public CoarseValue findValueByNumber(int number) { - return CoarseValue.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 CoarseValue findValueByNumber(int number) { + return CoarseValue.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(10); } private static final CoarseValue[] VALUES = values(); - public static CoarseValue valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static CoarseValue 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; @@ -167,4 +199,3 @@ private CoarseValue(int value) { // @@protoc_insertion_point(enum_scope:google.analytics.admin.v1alpha.CoarseValue) } - diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ConnectedSiteTag.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ConnectedSiteTag.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/ConnectedSiteTag.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ConnectedSiteTag.java index d2eec781f3df..0833cc14878e 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ConnectedSiteTag.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ConnectedSiteTag.java @@ -1,24 +1,42 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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; /** + * + * *
  * Configuration for a specific Connected Site Tag.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.ConnectedSiteTag} */ -public final class ConnectedSiteTag extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ConnectedSiteTag extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.ConnectedSiteTag) ConnectedSiteTagOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ConnectedSiteTag.newBuilder() to construct. private ConnectedSiteTag(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ConnectedSiteTag() { displayName_ = ""; tagId_ = ""; @@ -26,34 +44,39 @@ private ConnectedSiteTag() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ConnectedSiteTag(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_ConnectedSiteTag_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.ResourcesProto + .internal_static_google_analytics_admin_v1alpha_ConnectedSiteTag_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_ConnectedSiteTag_fieldAccessorTable + return com.google.analytics.admin.v1alpha.ResourcesProto + .internal_static_google_analytics_admin_v1alpha_ConnectedSiteTag_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.ConnectedSiteTag.class, com.google.analytics.admin.v1alpha.ConnectedSiteTag.Builder.class); + com.google.analytics.admin.v1alpha.ConnectedSiteTag.class, + com.google.analytics.admin.v1alpha.ConnectedSiteTag.Builder.class); } public static final int DISPLAY_NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object displayName_ = ""; /** + * + * *
    * Required. User-provided display name for the connected site tag. Must be
    * less than 256 characters.
    * 
* * string display_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The displayName. */ @java.lang.Override @@ -62,30 +85,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. User-provided display name for the connected site tag. Must be
    * less than 256 characters.
    * 
* * string display_name = 1 [(.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 { @@ -94,15 +117,19 @@ public java.lang.String getDisplayName() { } public static final int TAG_ID_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object tagId_ = ""; /** + * + * *
    * Required. "Tag ID to forward events to. Also known as the Measurement ID,
    * or the "G-ID"  (For example: G-12345).
    * 
* * string tag_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The tagId. */ @java.lang.Override @@ -111,30 +138,30 @@ public java.lang.String getTagId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); tagId_ = s; return s; } } /** + * + * *
    * Required. "Tag ID to forward events to. Also known as the Measurement ID,
    * or the "G-ID"  (For example: G-12345).
    * 
* * string tag_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for tagId. */ @java.lang.Override - public com.google.protobuf.ByteString - getTagIdBytes() { + public com.google.protobuf.ByteString getTagIdBytes() { java.lang.Object ref = tagId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); tagId_ = b; return b; } else { @@ -143,6 +170,7 @@ public java.lang.String getTagId() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -154,8 +182,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, displayName_); } @@ -185,17 +212,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.ConnectedSiteTag)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.ConnectedSiteTag other = (com.google.analytics.admin.v1alpha.ConnectedSiteTag) obj; + com.google.analytics.admin.v1alpha.ConnectedSiteTag other = + (com.google.analytics.admin.v1alpha.ConnectedSiteTag) obj; - if (!getDisplayName() - .equals(other.getDisplayName())) return false; - if (!getTagId() - .equals(other.getTagId())) return false; + if (!getDisplayName().equals(other.getDisplayName())) return false; + if (!getTagId().equals(other.getTagId())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -217,131 +243,135 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.ConnectedSiteTag parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.ConnectedSiteTag parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.ConnectedSiteTag parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.ConnectedSiteTag parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.ConnectedSiteTag parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.ConnectedSiteTag parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.ConnectedSiteTag parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.ConnectedSiteTag parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.ConnectedSiteTag parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.ConnectedSiteTag parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.ConnectedSiteTag parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.analytics.admin.v1alpha.ConnectedSiteTag parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.ConnectedSiteTag parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.ConnectedSiteTag parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.analytics.admin.v1alpha.ConnectedSiteTag prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Configuration for a specific Connected Site Tag.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.ConnectedSiteTag} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.ConnectedSiteTag) com.google.analytics.admin.v1alpha.ConnectedSiteTagOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_ConnectedSiteTag_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.ResourcesProto + .internal_static_google_analytics_admin_v1alpha_ConnectedSiteTag_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_ConnectedSiteTag_fieldAccessorTable + return com.google.analytics.admin.v1alpha.ResourcesProto + .internal_static_google_analytics_admin_v1alpha_ConnectedSiteTag_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.ConnectedSiteTag.class, com.google.analytics.admin.v1alpha.ConnectedSiteTag.Builder.class); + com.google.analytics.admin.v1alpha.ConnectedSiteTag.class, + com.google.analytics.admin.v1alpha.ConnectedSiteTag.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.ConnectedSiteTag.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(); @@ -352,9 +382,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_ConnectedSiteTag_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1alpha.ResourcesProto + .internal_static_google_analytics_admin_v1alpha_ConnectedSiteTag_descriptor; } @java.lang.Override @@ -373,8 +403,11 @@ public com.google.analytics.admin.v1alpha.ConnectedSiteTag build() { @java.lang.Override public com.google.analytics.admin.v1alpha.ConnectedSiteTag buildPartial() { - com.google.analytics.admin.v1alpha.ConnectedSiteTag result = new com.google.analytics.admin.v1alpha.ConnectedSiteTag(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.analytics.admin.v1alpha.ConnectedSiteTag result = + new com.google.analytics.admin.v1alpha.ConnectedSiteTag(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -393,38 +426,39 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.ConnectedSiteTag 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.ConnectedSiteTag) { - return mergeFrom((com.google.analytics.admin.v1alpha.ConnectedSiteTag)other); + return mergeFrom((com.google.analytics.admin.v1alpha.ConnectedSiteTag) other); } else { super.mergeFrom(other); return this; @@ -432,7 +466,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1alpha.ConnectedSiteTag other) { - if (other == com.google.analytics.admin.v1alpha.ConnectedSiteTag.getDefaultInstance()) return this; + if (other == com.google.analytics.admin.v1alpha.ConnectedSiteTag.getDefaultInstance()) + return this; if (!other.getDisplayName().isEmpty()) { displayName_ = other.displayName_; bitField0_ |= 0x00000001; @@ -469,22 +504,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - displayName_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - tagId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + displayName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + tagId_ = 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) { @@ -494,23 +532,26 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object displayName_ = ""; /** + * + * *
      * Required. User-provided display name for the connected site tag. Must be
      * less than 256 characters.
      * 
* * string display_name = 1 [(.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; @@ -519,21 +560,22 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * Required. User-provided display name for the connected site tag. Must be
      * less than 256 characters.
      * 
* * string display_name = 1 [(.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 { @@ -541,30 +583,37 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * Required. User-provided display name for the connected site tag. Must be
      * less than 256 characters.
      * 
* * string display_name = 1 [(.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_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. User-provided display name for the connected site tag. Must be
      * less than 256 characters.
      * 
* * string display_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearDisplayName() { @@ -574,18 +623,22 @@ public Builder clearDisplayName() { return this; } /** + * + * *
      * Required. User-provided display name for the connected site tag. Must be
      * less than 256 characters.
      * 
* * string display_name = 1 [(.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_ |= 0x00000001; @@ -595,19 +648,21 @@ public Builder setDisplayNameBytes( private java.lang.Object tagId_ = ""; /** + * + * *
      * Required. "Tag ID to forward events to. Also known as the Measurement ID,
      * or the "G-ID"  (For example: G-12345).
      * 
* * string tag_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The tagId. */ public java.lang.String getTagId() { java.lang.Object ref = tagId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); tagId_ = s; return s; @@ -616,21 +671,22 @@ public java.lang.String getTagId() { } } /** + * + * *
      * Required. "Tag ID to forward events to. Also known as the Measurement ID,
      * or the "G-ID"  (For example: G-12345).
      * 
* * string tag_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for tagId. */ - public com.google.protobuf.ByteString - getTagIdBytes() { + public com.google.protobuf.ByteString getTagIdBytes() { java.lang.Object ref = tagId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); tagId_ = b; return b; } else { @@ -638,30 +694,37 @@ public java.lang.String getTagId() { } } /** + * + * *
      * Required. "Tag ID to forward events to. Also known as the Measurement ID,
      * or the "G-ID"  (For example: G-12345).
      * 
* * string tag_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The tagId to set. * @return This builder for chaining. */ - public Builder setTagId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setTagId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } tagId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Required. "Tag ID to forward events to. Also known as the Measurement ID,
      * or the "G-ID"  (For example: G-12345).
      * 
* * string tag_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearTagId() { @@ -671,27 +734,31 @@ public Builder clearTagId() { return this; } /** + * + * *
      * Required. "Tag ID to forward events to. Also known as the Measurement ID,
      * or the "G-ID"  (For example: G-12345).
      * 
* * string tag_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for tagId to set. * @return This builder for chaining. */ - public Builder setTagIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setTagIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); tagId_ = 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); } @@ -701,12 +768,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.ConnectedSiteTag) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.ConnectedSiteTag) private static final com.google.analytics.admin.v1alpha.ConnectedSiteTag DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.ConnectedSiteTag(); } @@ -715,27 +782,27 @@ public static com.google.analytics.admin.v1alpha.ConnectedSiteTag getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ConnectedSiteTag parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ConnectedSiteTag parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -750,6 +817,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1alpha.ConnectedSiteTag 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/ConnectedSiteTagOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ConnectedSiteTagOrBuilder.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/ConnectedSiteTagOrBuilder.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ConnectedSiteTagOrBuilder.java index 7fed4f267161..fb4c75760021 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ConnectedSiteTagOrBuilder.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ConnectedSiteTagOrBuilder.java @@ -1,53 +1,79 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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 ConnectedSiteTagOrBuilder extends +public interface ConnectedSiteTagOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.ConnectedSiteTag) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. User-provided display name for the connected site tag. Must be
    * less than 256 characters.
    * 
* * string display_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The displayName. */ java.lang.String getDisplayName(); /** + * + * *
    * Required. User-provided display name for the connected site tag. Must be
    * less than 256 characters.
    * 
* * string display_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for displayName. */ - com.google.protobuf.ByteString - getDisplayNameBytes(); + com.google.protobuf.ByteString getDisplayNameBytes(); /** + * + * *
    * Required. "Tag ID to forward events to. Also known as the Measurement ID,
    * or the "G-ID"  (For example: G-12345).
    * 
* * string tag_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The tagId. */ java.lang.String getTagId(); /** + * + * *
    * Required. "Tag ID to forward events to. Also known as the Measurement ID,
    * or the "G-ID"  (For example: G-12345).
    * 
* * string tag_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for tagId. */ - com.google.protobuf.ByteString - getTagIdBytes(); + com.google.protobuf.ByteString getTagIdBytes(); } 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 69% 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 0e1321bdbbcd..bd1eac10cc75 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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_ = ""; @@ -27,25 +45,28 @@ private ConversionEvent() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ConversionEvent(); } - 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); } /** + * + * *
    * The method by which conversions will be counted across multiple events
    * within a session.
@@ -53,9 +74,10 @@ protected java.lang.Object newInstance(
    *
    * Protobuf enum {@code google.analytics.admin.v1alpha.ConversionEvent.ConversionCountingMethod}
    */
-  public enum ConversionCountingMethod
-      implements com.google.protobuf.ProtocolMessageEnum {
+  public enum ConversionCountingMethod implements com.google.protobuf.ProtocolMessageEnum {
     /**
+     *
+     *
      * 
      * Counting method not specified.
      * 
@@ -64,6 +86,8 @@ public enum ConversionCountingMethod */ CONVERSION_COUNTING_METHOD_UNSPECIFIED(0), /** + * + * *
      * Each Event instance is considered a Conversion.
      * 
@@ -72,6 +96,8 @@ public enum ConversionCountingMethod */ ONCE_PER_EVENT(1), /** + * + * *
      * An Event instance is considered a Conversion at most once per session per
      * user.
@@ -84,6 +110,8 @@ public enum ConversionCountingMethod
     ;
 
     /**
+     *
+     *
      * 
      * Counting method not specified.
      * 
@@ -92,6 +120,8 @@ public enum ConversionCountingMethod */ public static final int CONVERSION_COUNTING_METHOD_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Each Event instance is considered a Conversion.
      * 
@@ -100,6 +130,8 @@ public enum ConversionCountingMethod */ public static final int ONCE_PER_EVENT_VALUE = 1; /** + * + * *
      * An Event instance is considered a Conversion at most once per session per
      * user.
@@ -109,7 +141,6 @@ public enum ConversionCountingMethod
      */
     public static final int ONCE_PER_SESSION_VALUE = 2;
 
-
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -134,10 +165,14 @@ public static ConversionCountingMethod valueOf(int value) {
      */
     public static ConversionCountingMethod forNumber(int value) {
       switch (value) {
-        case 0: return CONVERSION_COUNTING_METHOD_UNSPECIFIED;
-        case 1: return ONCE_PER_EVENT;
-        case 2: return ONCE_PER_SESSION;
-        default: return null;
+        case 0:
+          return CONVERSION_COUNTING_METHOD_UNSPECIFIED;
+        case 1:
+          return ONCE_PER_EVENT;
+        case 2:
+          return ONCE_PER_SESSION;
+        default:
+          return null;
       }
     }
 
@@ -145,29 +180,31 @@ public static ConversionCountingMethod forNumber(int value) {
         internalGetValueMap() {
       return internalValueMap;
     }
-    private static final com.google.protobuf.Internal.EnumLiteMap<
-        ConversionCountingMethod> internalValueMap =
-          new com.google.protobuf.Internal.EnumLiteMap() {
-            public ConversionCountingMethod findValueByNumber(int number) {
-              return ConversionCountingMethod.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 ConversionCountingMethod findValueByNumber(int number) {
+                return ConversionCountingMethod.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.ConversionEvent.getDescriptor().getEnumTypes().get(0);
+
+    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+      return com.google.analytics.admin.v1alpha.ConversionEvent.getDescriptor()
+          .getEnumTypes()
+          .get(0);
     }
 
     private static final ConversionCountingMethod[] VALUES = values();
@@ -175,8 +212,7 @@ public ConversionCountingMethod findValueByNumber(int number) {
     public static ConversionCountingMethod 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;
@@ -194,15 +230,19 @@ private ConversionCountingMethod(int value) {
   }
 
   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 @@ -211,30 +251,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 { @@ -243,15 +283,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 @@ -260,30 +304,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 { @@ -294,11 +338,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 @@ -306,11 +354,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 @@ -318,11 +370,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() { @@ -332,12 +387,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 with
    * DeleteConversionEvent.
    * 
* * bool deletable = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The deletable. */ @java.lang.Override @@ -348,6 +406,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
@@ -358,6 +418,7 @@ public boolean getDeletable() {
    * 
* * bool custom = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The custom. */ @java.lang.Override @@ -368,34 +429,52 @@ public boolean getCustom() { public static final int COUNTING_METHOD_FIELD_NUMBER = 6; private int countingMethod_ = 0; /** + * + * *
    * Optional. The method by which conversions will be counted across multiple
    * events within a session. If this value is not provided, it will be set to
    * `ONCE_PER_EVENT`.
    * 
* - * .google.analytics.admin.v1alpha.ConversionEvent.ConversionCountingMethod counting_method = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.analytics.admin.v1alpha.ConversionEvent.ConversionCountingMethod counting_method = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The enum numeric value on the wire for countingMethod. */ - @java.lang.Override public int getCountingMethodValue() { + @java.lang.Override + public int getCountingMethodValue() { return countingMethod_; } /** + * + * *
    * Optional. The method by which conversions will be counted across multiple
    * events within a session. If this value is not provided, it will be set to
    * `ONCE_PER_EVENT`.
    * 
* - * .google.analytics.admin.v1alpha.ConversionEvent.ConversionCountingMethod counting_method = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.analytics.admin.v1alpha.ConversionEvent.ConversionCountingMethod counting_method = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The countingMethod. */ - @java.lang.Override public com.google.analytics.admin.v1alpha.ConversionEvent.ConversionCountingMethod getCountingMethod() { - com.google.analytics.admin.v1alpha.ConversionEvent.ConversionCountingMethod result = com.google.analytics.admin.v1alpha.ConversionEvent.ConversionCountingMethod.forNumber(countingMethod_); - return result == null ? com.google.analytics.admin.v1alpha.ConversionEvent.ConversionCountingMethod.UNRECOGNIZED : result; + @java.lang.Override + public com.google.analytics.admin.v1alpha.ConversionEvent.ConversionCountingMethod + getCountingMethod() { + com.google.analytics.admin.v1alpha.ConversionEvent.ConversionCountingMethod result = + com.google.analytics.admin.v1alpha.ConversionEvent.ConversionCountingMethod.forNumber( + countingMethod_); + return result == null + ? com.google.analytics.admin.v1alpha.ConversionEvent.ConversionCountingMethod.UNRECOGNIZED + : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -407,8 +486,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -424,7 +502,10 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (custom_ != false) { output.writeBool(5, custom_); } - if (countingMethod_ != com.google.analytics.admin.v1alpha.ConversionEvent.ConversionCountingMethod.CONVERSION_COUNTING_METHOD_UNSPECIFIED.getNumber()) { + if (countingMethod_ + != com.google.analytics.admin.v1alpha.ConversionEvent.ConversionCountingMethod + .CONVERSION_COUNTING_METHOD_UNSPECIFIED + .getNumber()) { output.writeEnum(6, countingMethod_); } getUnknownFields().writeTo(output); @@ -443,20 +524,19 @@ 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_); } - if (countingMethod_ != com.google.analytics.admin.v1alpha.ConversionEvent.ConversionCountingMethod.CONVERSION_COUNTING_METHOD_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(6, countingMethod_); + if (countingMethod_ + != com.google.analytics.admin.v1alpha.ConversionEvent.ConversionCountingMethod + .CONVERSION_COUNTING_METHOD_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(6, countingMethod_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -466,26 +546,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 (countingMethod_ != other.countingMethod_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -507,11 +583,9 @@ 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 = (37 * hash) + COUNTING_METHOD_FIELD_NUMBER; hash = (53 * hash) + countingMethod_; hash = (29 * hash) + getUnknownFields().hashCode(); @@ -520,131 +594,135 @@ public int hashCode() { } 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(); @@ -663,9 +741,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 @@ -684,8 +762,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; } @@ -699,9 +780,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_; @@ -718,38 +797,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; @@ -757,7 +837,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; @@ -806,44 +887,49 @@ 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 - case 48: { - countingMethod_ = input.readEnum(); - 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: + { + 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 + case 48: + { + countingMethod_ = input.readEnum(); + 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) { @@ -853,23 +939,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; @@ -878,21 +967,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 { @@ -900,30 +990,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() { @@ -933,18 +1030,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; @@ -954,19 +1055,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; @@ -975,21 +1078,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 { @@ -997,30 +1101,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() { @@ -1030,18 +1141,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; @@ -1051,39 +1166,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) { @@ -1099,14 +1233,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 { @@ -1117,17 +1254,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; @@ -1140,11 +1281,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); @@ -1157,11 +1302,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; @@ -1169,49 +1318,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 with
      * DeleteConversionEvent.
      * 
* * bool deletable = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The deletable. */ @java.lang.Override @@ -1219,12 +1383,15 @@ public boolean getDeletable() { return deletable_; } /** + * + * *
      * Output only. If set, this event can currently be deleted with
      * DeleteConversionEvent.
      * 
* * bool deletable = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The deletable to set. * @return This builder for chaining. */ @@ -1236,12 +1403,15 @@ public Builder setDeletable(boolean value) { return this; } /** + * + * *
      * Output only. If set, this event can currently be deleted with
      * DeleteConversionEvent.
      * 
* * bool deletable = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearDeletable() { @@ -1251,8 +1421,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
@@ -1263,6 +1435,7 @@ public Builder clearDeletable() {
      * 
* * bool custom = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The custom. */ @java.lang.Override @@ -1270,6 +1443,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
@@ -1280,6 +1455,7 @@ public boolean getCustom() {
      * 
* * bool custom = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The custom to set. * @return This builder for chaining. */ @@ -1291,6 +1467,8 @@ public Builder setCustom(boolean value) { 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
@@ -1301,6 +1479,7 @@ public Builder setCustom(boolean value) {
      * 
* * bool custom = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearCustom() { @@ -1312,26 +1491,37 @@ public Builder clearCustom() { private int countingMethod_ = 0; /** + * + * *
      * Optional. The method by which conversions will be counted across multiple
      * events within a session. If this value is not provided, it will be set to
      * `ONCE_PER_EVENT`.
      * 
* - * .google.analytics.admin.v1alpha.ConversionEvent.ConversionCountingMethod counting_method = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.analytics.admin.v1alpha.ConversionEvent.ConversionCountingMethod counting_method = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The enum numeric value on the wire for countingMethod. */ - @java.lang.Override public int getCountingMethodValue() { + @java.lang.Override + public int getCountingMethodValue() { return countingMethod_; } /** + * + * *
      * Optional. The method by which conversions will be counted across multiple
      * events within a session. If this value is not provided, it will be set to
      * `ONCE_PER_EVENT`.
      * 
* - * .google.analytics.admin.v1alpha.ConversionEvent.ConversionCountingMethod counting_method = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.analytics.admin.v1alpha.ConversionEvent.ConversionCountingMethod counting_method = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param value The enum numeric value on the wire for countingMethod to set. * @return This builder for chaining. */ @@ -1342,32 +1532,48 @@ public Builder setCountingMethodValue(int value) { return this; } /** + * + * *
      * Optional. The method by which conversions will be counted across multiple
      * events within a session. If this value is not provided, it will be set to
      * `ONCE_PER_EVENT`.
      * 
* - * .google.analytics.admin.v1alpha.ConversionEvent.ConversionCountingMethod counting_method = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.analytics.admin.v1alpha.ConversionEvent.ConversionCountingMethod counting_method = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The countingMethod. */ @java.lang.Override - public com.google.analytics.admin.v1alpha.ConversionEvent.ConversionCountingMethod getCountingMethod() { - com.google.analytics.admin.v1alpha.ConversionEvent.ConversionCountingMethod result = com.google.analytics.admin.v1alpha.ConversionEvent.ConversionCountingMethod.forNumber(countingMethod_); - return result == null ? com.google.analytics.admin.v1alpha.ConversionEvent.ConversionCountingMethod.UNRECOGNIZED : result; + public com.google.analytics.admin.v1alpha.ConversionEvent.ConversionCountingMethod + getCountingMethod() { + com.google.analytics.admin.v1alpha.ConversionEvent.ConversionCountingMethod result = + com.google.analytics.admin.v1alpha.ConversionEvent.ConversionCountingMethod.forNumber( + countingMethod_); + return result == null + ? com.google.analytics.admin.v1alpha.ConversionEvent.ConversionCountingMethod.UNRECOGNIZED + : result; } /** + * + * *
      * Optional. The method by which conversions will be counted across multiple
      * events within a session. If this value is not provided, it will be set to
      * `ONCE_PER_EVENT`.
      * 
* - * .google.analytics.admin.v1alpha.ConversionEvent.ConversionCountingMethod counting_method = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.analytics.admin.v1alpha.ConversionEvent.ConversionCountingMethod counting_method = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param value The countingMethod to set. * @return This builder for chaining. */ - public Builder setCountingMethod(com.google.analytics.admin.v1alpha.ConversionEvent.ConversionCountingMethod value) { + public Builder setCountingMethod( + com.google.analytics.admin.v1alpha.ConversionEvent.ConversionCountingMethod value) { if (value == null) { throw new NullPointerException(); } @@ -1377,13 +1583,18 @@ public Builder setCountingMethod(com.google.analytics.admin.v1alpha.ConversionEv return this; } /** + * + * *
      * Optional. The method by which conversions will be counted across multiple
      * events within a session. If this value is not provided, it will be set to
      * `ONCE_PER_EVENT`.
      * 
* - * .google.analytics.admin.v1alpha.ConversionEvent.ConversionCountingMethod counting_method = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.analytics.admin.v1alpha.ConversionEvent.ConversionCountingMethod counting_method = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return This builder for chaining. */ public Builder clearCountingMethod() { @@ -1392,9 +1603,9 @@ public Builder clearCountingMethod() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1404,12 +1615,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(); } @@ -1418,27 +1629,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; @@ -1453,6 +1664,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 73% 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 a3bba9447bbf..6a162bc4f595 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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 with
    * 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,29 +142,40 @@ public interface ConversionEventOrBuilder extends
    * 
* * bool custom = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The custom. */ boolean getCustom(); /** + * + * *
    * Optional. The method by which conversions will be counted across multiple
    * events within a session. If this value is not provided, it will be set to
    * `ONCE_PER_EVENT`.
    * 
* - * .google.analytics.admin.v1alpha.ConversionEvent.ConversionCountingMethod counting_method = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.analytics.admin.v1alpha.ConversionEvent.ConversionCountingMethod counting_method = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The enum numeric value on the wire for countingMethod. */ int getCountingMethodValue(); /** + * + * *
    * Optional. The method by which conversions will be counted across multiple
    * events within a session. If this value is not provided, it will be set to
    * `ONCE_PER_EVENT`.
    * 
* - * .google.analytics.admin.v1alpha.ConversionEvent.ConversionCountingMethod counting_method = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.analytics.admin.v1alpha.ConversionEvent.ConversionCountingMethod counting_method = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The countingMethod. */ com.google.analytics.admin.v1alpha.ConversionEvent.ConversionCountingMethod getCountingMethod(); diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ConversionValues.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ConversionValues.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/ConversionValues.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ConversionValues.java index 9399bcb5dba2..232621fe001a 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ConversionValues.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ConversionValues.java @@ -1,9 +1,26 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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; /** + * + * *
  * Conversion value settings for a postback window for SKAdNetwork conversion
  * value schema.
@@ -11,15 +28,16 @@
  *
  * Protobuf type {@code google.analytics.admin.v1alpha.ConversionValues}
  */
-public final class ConversionValues extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class ConversionValues extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.ConversionValues)
     ConversionValuesOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use ConversionValues.newBuilder() to construct.
   private ConversionValues(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private ConversionValues() {
     displayName_ = "";
     coarseValue_ = 0;
@@ -28,35 +46,40 @@ private ConversionValues() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new ConversionValues();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_ConversionValues_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.analytics.admin.v1alpha.ResourcesProto
+        .internal_static_google_analytics_admin_v1alpha_ConversionValues_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_ConversionValues_fieldAccessorTable
+    return com.google.analytics.admin.v1alpha.ResourcesProto
+        .internal_static_google_analytics_admin_v1alpha_ConversionValues_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.analytics.admin.v1alpha.ConversionValues.class, com.google.analytics.admin.v1alpha.ConversionValues.Builder.class);
+            com.google.analytics.admin.v1alpha.ConversionValues.class,
+            com.google.analytics.admin.v1alpha.ConversionValues.Builder.class);
   }
 
   private int bitField0_;
   public static final int DISPLAY_NAME_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object displayName_ = "";
   /**
+   *
+   *
    * 
    * Display name of the SKAdNetwork conversion value.
    * The max allowed display name length is 50 UTF-16 code units.
    * 
* * string display_name = 1; + * * @return The displayName. */ @java.lang.Override @@ -65,30 +88,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; } } /** + * + * *
    * Display name of the SKAdNetwork conversion value.
    * The max allowed display name length is 50 UTF-16 code units.
    * 
* * string display_name = 1; + * * @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 { @@ -99,6 +122,8 @@ public java.lang.String getDisplayName() { public static final int FINE_VALUE_FIELD_NUMBER = 2; private int fineValue_ = 0; /** + * + * *
    * The fine-grained conversion value.  This is applicable only to the first
    * postback window. Its valid values are [0,63], both inclusive. It must be
@@ -110,6 +135,7 @@ public java.lang.String getDisplayName() {
    * 
* * optional int32 fine_value = 2; + * * @return Whether the fineValue field is set. */ @java.lang.Override @@ -117,6 +143,8 @@ public boolean hasFineValue() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
    * The fine-grained conversion value.  This is applicable only to the first
    * postback window. Its valid values are [0,63], both inclusive. It must be
@@ -128,6 +156,7 @@ public boolean hasFineValue() {
    * 
* * optional int32 fine_value = 2; + * * @return The fineValue. */ @java.lang.Override @@ -138,37 +167,53 @@ public int getFineValue() { public static final int COARSE_VALUE_FIELD_NUMBER = 3; private int coarseValue_ = 0; /** + * + * *
    * Required. A coarse grained conversion value.
    *
    * This value is not guaranteed to be unique.
    * 
* - * .google.analytics.admin.v1alpha.CoarseValue coarse_value = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.CoarseValue coarse_value = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The enum numeric value on the wire for coarseValue. */ - @java.lang.Override public int getCoarseValueValue() { + @java.lang.Override + public int getCoarseValueValue() { return coarseValue_; } /** + * + * *
    * Required. A coarse grained conversion value.
    *
    * This value is not guaranteed to be unique.
    * 
* - * .google.analytics.admin.v1alpha.CoarseValue coarse_value = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.CoarseValue coarse_value = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The coarseValue. */ - @java.lang.Override public com.google.analytics.admin.v1alpha.CoarseValue getCoarseValue() { - com.google.analytics.admin.v1alpha.CoarseValue result = com.google.analytics.admin.v1alpha.CoarseValue.forNumber(coarseValue_); + @java.lang.Override + public com.google.analytics.admin.v1alpha.CoarseValue getCoarseValue() { + com.google.analytics.admin.v1alpha.CoarseValue result = + com.google.analytics.admin.v1alpha.CoarseValue.forNumber(coarseValue_); return result == null ? com.google.analytics.admin.v1alpha.CoarseValue.UNRECOGNIZED : result; } public static final int EVENT_MAPPINGS_FIELD_NUMBER = 4; + @SuppressWarnings("serial") private java.util.List eventMappings_; /** + * + * *
    * Event conditions that must be met for this Conversion Value to be achieved.
    * The conditions in this list are ANDed together. It must have minimum of 1
@@ -182,6 +227,8 @@ public java.util.List getEventM
     return eventMappings_;
   }
   /**
+   *
+   *
    * 
    * Event conditions that must be met for this Conversion Value to be achieved.
    * The conditions in this list are ANDed together. It must have minimum of 1
@@ -191,11 +238,13 @@ public java.util.List getEventM
    * repeated .google.analytics.admin.v1alpha.EventMapping event_mappings = 4;
    */
   @java.lang.Override
-  public java.util.List 
+  public java.util.List
       getEventMappingsOrBuilderList() {
     return eventMappings_;
   }
   /**
+   *
+   *
    * 
    * Event conditions that must be met for this Conversion Value to be achieved.
    * The conditions in this list are ANDed together. It must have minimum of 1
@@ -209,6 +258,8 @@ public int getEventMappingsCount() {
     return eventMappings_.size();
   }
   /**
+   *
+   *
    * 
    * Event conditions that must be met for this Conversion Value to be achieved.
    * The conditions in this list are ANDed together. It must have minimum of 1
@@ -222,6 +273,8 @@ public com.google.analytics.admin.v1alpha.EventMapping getEventMappings(int inde
     return eventMappings_.get(index);
   }
   /**
+   *
+   *
    * 
    * Event conditions that must be met for this Conversion Value to be achieved.
    * The conditions in this list are ANDed together. It must have minimum of 1
@@ -239,12 +292,15 @@ public com.google.analytics.admin.v1alpha.EventMappingOrBuilder getEventMappings
   public static final int LOCK_ENABLED_FIELD_NUMBER = 5;
   private boolean lockEnabled_ = false;
   /**
+   *
+   *
    * 
    * If true, the SDK should lock to this conversion value for the current
    * postback window.
    * 
* * bool lock_enabled = 5; + * * @return The lockEnabled. */ @java.lang.Override @@ -253,6 +309,7 @@ public boolean getLockEnabled() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -264,15 +321,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(displayName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, displayName_); } if (((bitField0_ & 0x00000001) != 0)) { output.writeInt32(2, fineValue_); } - if (coarseValue_ != com.google.analytics.admin.v1alpha.CoarseValue.COARSE_VALUE_UNSPECIFIED.getNumber()) { + if (coarseValue_ + != com.google.analytics.admin.v1alpha.CoarseValue.COARSE_VALUE_UNSPECIFIED.getNumber()) { output.writeEnum(3, coarseValue_); } for (int i = 0; i < eventMappings_.size(); i++) { @@ -294,20 +351,17 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, displayName_); } if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(2, fineValue_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, fineValue_); } - if (coarseValue_ != com.google.analytics.admin.v1alpha.CoarseValue.COARSE_VALUE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(3, coarseValue_); + if (coarseValue_ + != com.google.analytics.admin.v1alpha.CoarseValue.COARSE_VALUE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, coarseValue_); } for (int i = 0; i < eventMappings_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, eventMappings_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, eventMappings_.get(i)); } if (lockEnabled_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(5, lockEnabled_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(5, lockEnabled_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -317,25 +371,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.ConversionValues)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.ConversionValues other = (com.google.analytics.admin.v1alpha.ConversionValues) obj; + com.google.analytics.admin.v1alpha.ConversionValues other = + (com.google.analytics.admin.v1alpha.ConversionValues) obj; - if (!getDisplayName() - .equals(other.getDisplayName())) return false; + if (!getDisplayName().equals(other.getDisplayName())) return false; if (hasFineValue() != other.hasFineValue()) return false; if (hasFineValue()) { - if (getFineValue() - != other.getFineValue()) return false; + if (getFineValue() != other.getFineValue()) return false; } if (coarseValue_ != other.coarseValue_) return false; - if (!getEventMappingsList() - .equals(other.getEventMappingsList())) return false; - if (getLockEnabled() - != other.getLockEnabled()) return false; + if (!getEventMappingsList().equals(other.getEventMappingsList())) return false; + if (getLockEnabled() != other.getLockEnabled()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -360,106 +411,110 @@ public int hashCode() { hash = (53 * hash) + getEventMappingsList().hashCode(); } hash = (37 * hash) + LOCK_ENABLED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getLockEnabled()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getLockEnabled()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.analytics.admin.v1alpha.ConversionValues parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.ConversionValues parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.ConversionValues parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.ConversionValues parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.ConversionValues parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.ConversionValues parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.ConversionValues parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.ConversionValues parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.ConversionValues parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.ConversionValues parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.ConversionValues parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.analytics.admin.v1alpha.ConversionValues parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.ConversionValues parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.ConversionValues parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.analytics.admin.v1alpha.ConversionValues prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Conversion value settings for a postback window for SKAdNetwork conversion
    * value schema.
@@ -467,33 +522,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.analytics.admin.v1alpha.ConversionValues}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.ConversionValues)
       com.google.analytics.admin.v1alpha.ConversionValuesOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_ConversionValues_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.analytics.admin.v1alpha.ResourcesProto
+          .internal_static_google_analytics_admin_v1alpha_ConversionValues_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_ConversionValues_fieldAccessorTable
+      return com.google.analytics.admin.v1alpha.ResourcesProto
+          .internal_static_google_analytics_admin_v1alpha_ConversionValues_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.analytics.admin.v1alpha.ConversionValues.class, com.google.analytics.admin.v1alpha.ConversionValues.Builder.class);
+              com.google.analytics.admin.v1alpha.ConversionValues.class,
+              com.google.analytics.admin.v1alpha.ConversionValues.Builder.class);
     }
 
     // Construct using com.google.analytics.admin.v1alpha.ConversionValues.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();
@@ -513,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_ConversionValues_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.analytics.admin.v1alpha.ResourcesProto
+          .internal_static_google_analytics_admin_v1alpha_ConversionValues_descriptor;
     }
 
     @java.lang.Override
@@ -534,14 +588,18 @@ public com.google.analytics.admin.v1alpha.ConversionValues build() {
 
     @java.lang.Override
     public com.google.analytics.admin.v1alpha.ConversionValues buildPartial() {
-      com.google.analytics.admin.v1alpha.ConversionValues result = new com.google.analytics.admin.v1alpha.ConversionValues(this);
+      com.google.analytics.admin.v1alpha.ConversionValues result =
+          new com.google.analytics.admin.v1alpha.ConversionValues(this);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
 
-    private void buildPartialRepeatedFields(com.google.analytics.admin.v1alpha.ConversionValues result) {
+    private void buildPartialRepeatedFields(
+        com.google.analytics.admin.v1alpha.ConversionValues result) {
       if (eventMappingsBuilder_ == null) {
         if (((bitField0_ & 0x00000008) != 0)) {
           eventMappings_ = java.util.Collections.unmodifiableList(eventMappings_);
@@ -576,38 +634,39 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.ConversionValues 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.ConversionValues) {
-        return mergeFrom((com.google.analytics.admin.v1alpha.ConversionValues)other);
+        return mergeFrom((com.google.analytics.admin.v1alpha.ConversionValues) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -615,7 +674,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.analytics.admin.v1alpha.ConversionValues other) {
-      if (other == com.google.analytics.admin.v1alpha.ConversionValues.getDefaultInstance()) return this;
+      if (other == com.google.analytics.admin.v1alpha.ConversionValues.getDefaultInstance())
+        return this;
       if (!other.getDisplayName().isEmpty()) {
         displayName_ = other.displayName_;
         bitField0_ |= 0x00000001;
@@ -645,9 +705,10 @@ public Builder mergeFrom(com.google.analytics.admin.v1alpha.ConversionValues oth
             eventMappingsBuilder_ = null;
             eventMappings_ = other.eventMappings_;
             bitField0_ = (bitField0_ & ~0x00000008);
-            eventMappingsBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getEventMappingsFieldBuilder() : null;
+            eventMappingsBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getEventMappingsFieldBuilder()
+                    : null;
           } else {
             eventMappingsBuilder_.addAllMessages(other.eventMappings_);
           }
@@ -682,45 +743,51 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              displayName_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 16: {
-              fineValue_ = input.readInt32();
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 16
-            case 24: {
-              coarseValue_ = input.readEnum();
-              bitField0_ |= 0x00000004;
-              break;
-            } // case 24
-            case 34: {
-              com.google.analytics.admin.v1alpha.EventMapping m =
-                  input.readMessage(
-                      com.google.analytics.admin.v1alpha.EventMapping.parser(),
-                      extensionRegistry);
-              if (eventMappingsBuilder_ == null) {
-                ensureEventMappingsIsMutable();
-                eventMappings_.add(m);
-              } else {
-                eventMappingsBuilder_.addMessage(m);
-              }
-              break;
-            } // case 34
-            case 40: {
-              lockEnabled_ = input.readBool();
-              bitField0_ |= 0x00000010;
-              break;
-            } // case 40
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                displayName_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            case 16:
+              {
+                fineValue_ = input.readInt32();
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 16
+            case 24:
+              {
+                coarseValue_ = input.readEnum();
+                bitField0_ |= 0x00000004;
+                break;
+              } // case 24
+            case 34:
+              {
+                com.google.analytics.admin.v1alpha.EventMapping m =
+                    input.readMessage(
+                        com.google.analytics.admin.v1alpha.EventMapping.parser(),
+                        extensionRegistry);
+                if (eventMappingsBuilder_ == null) {
+                  ensureEventMappingsIsMutable();
+                  eventMappings_.add(m);
+                } else {
+                  eventMappingsBuilder_.addMessage(m);
+                }
+                break;
+              } // case 34
+            case 40:
+              {
+                lockEnabled_ = 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) {
@@ -730,23 +797,26 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object displayName_ = "";
     /**
+     *
+     *
      * 
      * Display name of the SKAdNetwork conversion value.
      * The max allowed display name length is 50 UTF-16 code units.
      * 
* * string display_name = 1; + * * @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; @@ -755,21 +825,22 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * Display name of the SKAdNetwork conversion value.
      * The max allowed display name length is 50 UTF-16 code units.
      * 
* * string display_name = 1; + * * @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 { @@ -777,30 +848,37 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * Display name of the SKAdNetwork conversion value.
      * The max allowed display name length is 50 UTF-16 code units.
      * 
* * string display_name = 1; + * * @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_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Display name of the SKAdNetwork conversion value.
      * The max allowed display name length is 50 UTF-16 code units.
      * 
* * string display_name = 1; + * * @return This builder for chaining. */ public Builder clearDisplayName() { @@ -810,18 +888,22 @@ public Builder clearDisplayName() { return this; } /** + * + * *
      * Display name of the SKAdNetwork conversion value.
      * The max allowed display name length is 50 UTF-16 code units.
      * 
* * string display_name = 1; + * * @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_ |= 0x00000001; @@ -829,8 +911,10 @@ public Builder setDisplayNameBytes( return this; } - private int fineValue_ ; + private int fineValue_; /** + * + * *
      * The fine-grained conversion value.  This is applicable only to the first
      * postback window. Its valid values are [0,63], both inclusive. It must be
@@ -842,6 +926,7 @@ public Builder setDisplayNameBytes(
      * 
* * optional int32 fine_value = 2; + * * @return Whether the fineValue field is set. */ @java.lang.Override @@ -849,6 +934,8 @@ public boolean hasFineValue() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * The fine-grained conversion value.  This is applicable only to the first
      * postback window. Its valid values are [0,63], both inclusive. It must be
@@ -860,6 +947,7 @@ public boolean hasFineValue() {
      * 
* * optional int32 fine_value = 2; + * * @return The fineValue. */ @java.lang.Override @@ -867,6 +955,8 @@ public int getFineValue() { return fineValue_; } /** + * + * *
      * The fine-grained conversion value.  This is applicable only to the first
      * postback window. Its valid values are [0,63], both inclusive. It must be
@@ -878,6 +968,7 @@ public int getFineValue() {
      * 
* * optional int32 fine_value = 2; + * * @param value The fineValue to set. * @return This builder for chaining. */ @@ -889,6 +980,8 @@ public Builder setFineValue(int value) { return this; } /** + * + * *
      * The fine-grained conversion value.  This is applicable only to the first
      * postback window. Its valid values are [0,63], both inclusive. It must be
@@ -900,6 +993,7 @@ public Builder setFineValue(int value) {
      * 
* * optional int32 fine_value = 2; + * * @return This builder for chaining. */ public Builder clearFineValue() { @@ -911,26 +1005,37 @@ public Builder clearFineValue() { private int coarseValue_ = 0; /** + * + * *
      * Required. A coarse grained conversion value.
      *
      * This value is not guaranteed to be unique.
      * 
* - * .google.analytics.admin.v1alpha.CoarseValue coarse_value = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.CoarseValue coarse_value = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The enum numeric value on the wire for coarseValue. */ - @java.lang.Override public int getCoarseValueValue() { + @java.lang.Override + public int getCoarseValueValue() { return coarseValue_; } /** + * + * *
      * Required. A coarse grained conversion value.
      *
      * This value is not guaranteed to be unique.
      * 
* - * .google.analytics.admin.v1alpha.CoarseValue coarse_value = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.CoarseValue coarse_value = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param value The enum numeric value on the wire for coarseValue to set. * @return This builder for chaining. */ @@ -941,28 +1046,39 @@ public Builder setCoarseValueValue(int value) { return this; } /** + * + * *
      * Required. A coarse grained conversion value.
      *
      * This value is not guaranteed to be unique.
      * 
* - * .google.analytics.admin.v1alpha.CoarseValue coarse_value = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.CoarseValue coarse_value = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The coarseValue. */ @java.lang.Override public com.google.analytics.admin.v1alpha.CoarseValue getCoarseValue() { - com.google.analytics.admin.v1alpha.CoarseValue result = com.google.analytics.admin.v1alpha.CoarseValue.forNumber(coarseValue_); + com.google.analytics.admin.v1alpha.CoarseValue result = + com.google.analytics.admin.v1alpha.CoarseValue.forNumber(coarseValue_); return result == null ? com.google.analytics.admin.v1alpha.CoarseValue.UNRECOGNIZED : result; } /** + * + * *
      * Required. A coarse grained conversion value.
      *
      * This value is not guaranteed to be unique.
      * 
* - * .google.analytics.admin.v1alpha.CoarseValue coarse_value = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.CoarseValue coarse_value = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param value The coarseValue to set. * @return This builder for chaining. */ @@ -976,13 +1092,18 @@ public Builder setCoarseValue(com.google.analytics.admin.v1alpha.CoarseValue val return this; } /** + * + * *
      * Required. A coarse grained conversion value.
      *
      * This value is not guaranteed to be unique.
      * 
* - * .google.analytics.admin.v1alpha.CoarseValue coarse_value = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.CoarseValue coarse_value = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return This builder for chaining. */ public Builder clearCoarseValue() { @@ -993,18 +1114,26 @@ public Builder clearCoarseValue() { } private java.util.List eventMappings_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureEventMappingsIsMutable() { if (!((bitField0_ & 0x00000008) != 0)) { - eventMappings_ = new java.util.ArrayList(eventMappings_); + eventMappings_ = + new java.util.ArrayList( + eventMappings_); bitField0_ |= 0x00000008; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.EventMapping, com.google.analytics.admin.v1alpha.EventMapping.Builder, com.google.analytics.admin.v1alpha.EventMappingOrBuilder> eventMappingsBuilder_; + com.google.analytics.admin.v1alpha.EventMapping, + com.google.analytics.admin.v1alpha.EventMapping.Builder, + com.google.analytics.admin.v1alpha.EventMappingOrBuilder> + eventMappingsBuilder_; /** + * + * *
      * Event conditions that must be met for this Conversion Value to be achieved.
      * The conditions in this list are ANDed together. It must have minimum of 1
@@ -1021,6 +1150,8 @@ public java.util.List getEventM
       }
     }
     /**
+     *
+     *
      * 
      * Event conditions that must be met for this Conversion Value to be achieved.
      * The conditions in this list are ANDed together. It must have minimum of 1
@@ -1037,6 +1168,8 @@ public int getEventMappingsCount() {
       }
     }
     /**
+     *
+     *
      * 
      * Event conditions that must be met for this Conversion Value to be achieved.
      * The conditions in this list are ANDed together. It must have minimum of 1
@@ -1053,6 +1186,8 @@ public com.google.analytics.admin.v1alpha.EventMapping getEventMappings(int inde
       }
     }
     /**
+     *
+     *
      * 
      * Event conditions that must be met for this Conversion Value to be achieved.
      * The conditions in this list are ANDed together. It must have minimum of 1
@@ -1076,6 +1211,8 @@ public Builder setEventMappings(
       return this;
     }
     /**
+     *
+     *
      * 
      * Event conditions that must be met for this Conversion Value to be achieved.
      * The conditions in this list are ANDed together. It must have minimum of 1
@@ -1096,6 +1233,8 @@ public Builder setEventMappings(
       return this;
     }
     /**
+     *
+     *
      * 
      * Event conditions that must be met for this Conversion Value to be achieved.
      * The conditions in this list are ANDed together. It must have minimum of 1
@@ -1118,6 +1257,8 @@ public Builder addEventMappings(com.google.analytics.admin.v1alpha.EventMapping
       return this;
     }
     /**
+     *
+     *
      * 
      * Event conditions that must be met for this Conversion Value to be achieved.
      * The conditions in this list are ANDed together. It must have minimum of 1
@@ -1141,6 +1282,8 @@ public Builder addEventMappings(
       return this;
     }
     /**
+     *
+     *
      * 
      * Event conditions that must be met for this Conversion Value to be achieved.
      * The conditions in this list are ANDed together. It must have minimum of 1
@@ -1161,6 +1304,8 @@ public Builder addEventMappings(
       return this;
     }
     /**
+     *
+     *
      * 
      * Event conditions that must be met for this Conversion Value to be achieved.
      * The conditions in this list are ANDed together. It must have minimum of 1
@@ -1181,6 +1326,8 @@ public Builder addEventMappings(
       return this;
     }
     /**
+     *
+     *
      * 
      * Event conditions that must be met for this Conversion Value to be achieved.
      * The conditions in this list are ANDed together. It must have minimum of 1
@@ -1193,8 +1340,7 @@ public Builder addAllEventMappings(
         java.lang.Iterable values) {
       if (eventMappingsBuilder_ == null) {
         ensureEventMappingsIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(
-            values, eventMappings_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, eventMappings_);
         onChanged();
       } else {
         eventMappingsBuilder_.addAllMessages(values);
@@ -1202,6 +1348,8 @@ public Builder addAllEventMappings(
       return this;
     }
     /**
+     *
+     *
      * 
      * Event conditions that must be met for this Conversion Value to be achieved.
      * The conditions in this list are ANDed together. It must have minimum of 1
@@ -1221,6 +1369,8 @@ public Builder clearEventMappings() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Event conditions that must be met for this Conversion Value to be achieved.
      * The conditions in this list are ANDed together. It must have minimum of 1
@@ -1240,6 +1390,8 @@ public Builder removeEventMappings(int index) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Event conditions that must be met for this Conversion Value to be achieved.
      * The conditions in this list are ANDed together. It must have minimum of 1
@@ -1253,6 +1405,8 @@ public com.google.analytics.admin.v1alpha.EventMapping.Builder getEventMappingsB
       return getEventMappingsFieldBuilder().getBuilder(index);
     }
     /**
+     *
+     *
      * 
      * Event conditions that must be met for this Conversion Value to be achieved.
      * The conditions in this list are ANDed together. It must have minimum of 1
@@ -1264,11 +1418,14 @@ public com.google.analytics.admin.v1alpha.EventMapping.Builder getEventMappingsB
     public com.google.analytics.admin.v1alpha.EventMappingOrBuilder getEventMappingsOrBuilder(
         int index) {
       if (eventMappingsBuilder_ == null) {
-        return eventMappings_.get(index);  } else {
+        return eventMappings_.get(index);
+      } else {
         return eventMappingsBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
+     *
+     *
      * 
      * Event conditions that must be met for this Conversion Value to be achieved.
      * The conditions in this list are ANDed together. It must have minimum of 1
@@ -1277,8 +1434,8 @@ public com.google.analytics.admin.v1alpha.EventMappingOrBuilder getEventMappings
      *
      * repeated .google.analytics.admin.v1alpha.EventMapping event_mappings = 4;
      */
-    public java.util.List 
-         getEventMappingsOrBuilderList() {
+    public java.util.List
+        getEventMappingsOrBuilderList() {
       if (eventMappingsBuilder_ != null) {
         return eventMappingsBuilder_.getMessageOrBuilderList();
       } else {
@@ -1286,6 +1443,8 @@ public com.google.analytics.admin.v1alpha.EventMappingOrBuilder getEventMappings
       }
     }
     /**
+     *
+     *
      * 
      * Event conditions that must be met for this Conversion Value to be achieved.
      * The conditions in this list are ANDed together. It must have minimum of 1
@@ -1295,10 +1454,12 @@ public com.google.analytics.admin.v1alpha.EventMappingOrBuilder getEventMappings
      * repeated .google.analytics.admin.v1alpha.EventMapping event_mappings = 4;
      */
     public com.google.analytics.admin.v1alpha.EventMapping.Builder addEventMappingsBuilder() {
-      return getEventMappingsFieldBuilder().addBuilder(
-          com.google.analytics.admin.v1alpha.EventMapping.getDefaultInstance());
+      return getEventMappingsFieldBuilder()
+          .addBuilder(com.google.analytics.admin.v1alpha.EventMapping.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * Event conditions that must be met for this Conversion Value to be achieved.
      * The conditions in this list are ANDed together. It must have minimum of 1
@@ -1309,10 +1470,12 @@ public com.google.analytics.admin.v1alpha.EventMapping.Builder addEventMappingsB
      */
     public com.google.analytics.admin.v1alpha.EventMapping.Builder addEventMappingsBuilder(
         int index) {
-      return getEventMappingsFieldBuilder().addBuilder(
-          index, com.google.analytics.admin.v1alpha.EventMapping.getDefaultInstance());
+      return getEventMappingsFieldBuilder()
+          .addBuilder(index, com.google.analytics.admin.v1alpha.EventMapping.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * Event conditions that must be met for this Conversion Value to be achieved.
      * The conditions in this list are ANDed together. It must have minimum of 1
@@ -1321,16 +1484,22 @@ public com.google.analytics.admin.v1alpha.EventMapping.Builder addEventMappingsB
      *
      * repeated .google.analytics.admin.v1alpha.EventMapping event_mappings = 4;
      */
-    public java.util.List 
-         getEventMappingsBuilderList() {
+    public java.util.List
+        getEventMappingsBuilderList() {
       return getEventMappingsFieldBuilder().getBuilderList();
     }
+
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.analytics.admin.v1alpha.EventMapping, com.google.analytics.admin.v1alpha.EventMapping.Builder, com.google.analytics.admin.v1alpha.EventMappingOrBuilder> 
+            com.google.analytics.admin.v1alpha.EventMapping,
+            com.google.analytics.admin.v1alpha.EventMapping.Builder,
+            com.google.analytics.admin.v1alpha.EventMappingOrBuilder>
         getEventMappingsFieldBuilder() {
       if (eventMappingsBuilder_ == null) {
-        eventMappingsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.analytics.admin.v1alpha.EventMapping, com.google.analytics.admin.v1alpha.EventMapping.Builder, com.google.analytics.admin.v1alpha.EventMappingOrBuilder>(
+        eventMappingsBuilder_ =
+            new com.google.protobuf.RepeatedFieldBuilderV3<
+                com.google.analytics.admin.v1alpha.EventMapping,
+                com.google.analytics.admin.v1alpha.EventMapping.Builder,
+                com.google.analytics.admin.v1alpha.EventMappingOrBuilder>(
                 eventMappings_,
                 ((bitField0_ & 0x00000008) != 0),
                 getParentForChildren(),
@@ -1340,14 +1509,17 @@ public com.google.analytics.admin.v1alpha.EventMapping.Builder addEventMappingsB
       return eventMappingsBuilder_;
     }
 
-    private boolean lockEnabled_ ;
+    private boolean lockEnabled_;
     /**
+     *
+     *
      * 
      * If true, the SDK should lock to this conversion value for the current
      * postback window.
      * 
* * bool lock_enabled = 5; + * * @return The lockEnabled. */ @java.lang.Override @@ -1355,12 +1527,15 @@ public boolean getLockEnabled() { return lockEnabled_; } /** + * + * *
      * If true, the SDK should lock to this conversion value for the current
      * postback window.
      * 
* * bool lock_enabled = 5; + * * @param value The lockEnabled to set. * @return This builder for chaining. */ @@ -1372,12 +1547,15 @@ public Builder setLockEnabled(boolean value) { return this; } /** + * + * *
      * If true, the SDK should lock to this conversion value for the current
      * postback window.
      * 
* * bool lock_enabled = 5; + * * @return This builder for chaining. */ public Builder clearLockEnabled() { @@ -1386,9 +1564,9 @@ public Builder clearLockEnabled() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1398,12 +1576,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.ConversionValues) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.ConversionValues) private static final com.google.analytics.admin.v1alpha.ConversionValues DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.ConversionValues(); } @@ -1412,27 +1590,27 @@ public static com.google.analytics.admin.v1alpha.ConversionValues getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ConversionValues parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ConversionValues parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1447,6 +1625,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1alpha.ConversionValues 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/ConversionValuesOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ConversionValuesOrBuilder.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/ConversionValuesOrBuilder.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ConversionValuesOrBuilder.java index 32019980a2e3..f7de8bfbdcb3 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ConversionValuesOrBuilder.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ConversionValuesOrBuilder.java @@ -1,35 +1,58 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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 ConversionValuesOrBuilder extends +public interface ConversionValuesOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.ConversionValues) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Display name of the SKAdNetwork conversion value.
    * The max allowed display name length is 50 UTF-16 code units.
    * 
* * string display_name = 1; + * * @return The displayName. */ java.lang.String getDisplayName(); /** + * + * *
    * Display name of the SKAdNetwork conversion value.
    * The max allowed display name length is 50 UTF-16 code units.
    * 
* * string display_name = 1; + * * @return The bytes for displayName. */ - com.google.protobuf.ByteString - getDisplayNameBytes(); + com.google.protobuf.ByteString getDisplayNameBytes(); /** + * + * *
    * The fine-grained conversion value.  This is applicable only to the first
    * postback window. Its valid values are [0,63], both inclusive. It must be
@@ -41,10 +64,13 @@ public interface ConversionValuesOrBuilder extends
    * 
* * optional int32 fine_value = 2; + * * @return Whether the fineValue field is set. */ boolean hasFineValue(); /** + * + * *
    * The fine-grained conversion value.  This is applicable only to the first
    * postback window. Its valid values are [0,63], both inclusive. It must be
@@ -56,34 +82,47 @@ public interface ConversionValuesOrBuilder extends
    * 
* * optional int32 fine_value = 2; + * * @return The fineValue. */ int getFineValue(); /** + * + * *
    * Required. A coarse grained conversion value.
    *
    * This value is not guaranteed to be unique.
    * 
* - * .google.analytics.admin.v1alpha.CoarseValue coarse_value = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.CoarseValue coarse_value = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The enum numeric value on the wire for coarseValue. */ int getCoarseValueValue(); /** + * + * *
    * Required. A coarse grained conversion value.
    *
    * This value is not guaranteed to be unique.
    * 
* - * .google.analytics.admin.v1alpha.CoarseValue coarse_value = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.CoarseValue coarse_value = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The coarseValue. */ com.google.analytics.admin.v1alpha.CoarseValue getCoarseValue(); /** + * + * *
    * Event conditions that must be met for this Conversion Value to be achieved.
    * The conditions in this list are ANDed together. It must have minimum of 1
@@ -92,9 +131,10 @@ public interface ConversionValuesOrBuilder extends
    *
    * repeated .google.analytics.admin.v1alpha.EventMapping event_mappings = 4;
    */
-  java.util.List 
-      getEventMappingsList();
+  java.util.List getEventMappingsList();
   /**
+   *
+   *
    * 
    * Event conditions that must be met for this Conversion Value to be achieved.
    * The conditions in this list are ANDed together. It must have minimum of 1
@@ -105,6 +145,8 @@ public interface ConversionValuesOrBuilder extends
    */
   com.google.analytics.admin.v1alpha.EventMapping getEventMappings(int index);
   /**
+   *
+   *
    * 
    * Event conditions that must be met for this Conversion Value to be achieved.
    * The conditions in this list are ANDed together. It must have minimum of 1
@@ -115,6 +157,8 @@ public interface ConversionValuesOrBuilder extends
    */
   int getEventMappingsCount();
   /**
+   *
+   *
    * 
    * Event conditions that must be met for this Conversion Value to be achieved.
    * The conditions in this list are ANDed together. It must have minimum of 1
@@ -123,9 +167,11 @@ public interface ConversionValuesOrBuilder extends
    *
    * repeated .google.analytics.admin.v1alpha.EventMapping event_mappings = 4;
    */
-  java.util.List 
+  java.util.List
       getEventMappingsOrBuilderList();
   /**
+   *
+   *
    * 
    * Event conditions that must be met for this Conversion Value to be achieved.
    * The conditions in this list are ANDed together. It must have minimum of 1
@@ -134,16 +180,18 @@ public interface ConversionValuesOrBuilder extends
    *
    * repeated .google.analytics.admin.v1alpha.EventMapping event_mappings = 4;
    */
-  com.google.analytics.admin.v1alpha.EventMappingOrBuilder getEventMappingsOrBuilder(
-      int index);
+  com.google.analytics.admin.v1alpha.EventMappingOrBuilder getEventMappingsOrBuilder(int index);
 
   /**
+   *
+   *
    * 
    * If true, the SDK should lock to this conversion value for the current
    * postback window.
    * 
* * bool lock_enabled = 5; + * * @return The lockEnabled. */ boolean getLockEnabled(); diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateAccessBindingRequest.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateAccessBindingRequest.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/CreateAccessBindingRequest.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateAccessBindingRequest.java index 81ea7db47e6c..5589ab65ece9 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateAccessBindingRequest.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateAccessBindingRequest.java @@ -1,59 +1,84 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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 CreateAccessBinding RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.CreateAccessBindingRequest} */ -public final class CreateAccessBindingRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CreateAccessBindingRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.CreateAccessBindingRequest) CreateAccessBindingRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CreateAccessBindingRequest.newBuilder() to construct. private CreateAccessBindingRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CreateAccessBindingRequest() { parent_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CreateAccessBindingRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_CreateAccessBindingRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_CreateAccessBindingRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_CreateAccessBindingRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_CreateAccessBindingRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.CreateAccessBindingRequest.class, com.google.analytics.admin.v1alpha.CreateAccessBindingRequest.Builder.class); + com.google.analytics.admin.v1alpha.CreateAccessBindingRequest.class, + com.google.analytics.admin.v1alpha.CreateAccessBindingRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** + * + * *
    * Required. Formats:
    * - accounts/{account}
    * - properties/{property}
    * 
* - * string parent = 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 @@ -62,31 +87,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. Formats:
    * - accounts/{account}
    * - properties/{property}
    * 
* - * string parent = 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 { @@ -97,11 +124,16 @@ public java.lang.String getParent() { public static final int ACCESS_BINDING_FIELD_NUMBER = 2; private com.google.analytics.admin.v1alpha.AccessBinding accessBinding_; /** + * + * *
    * Required. The access binding to create.
    * 
* - * .google.analytics.admin.v1alpha.AccessBinding access_binding = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.AccessBinding access_binding = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the accessBinding field is set. */ @java.lang.Override @@ -109,30 +141,44 @@ public boolean hasAccessBinding() { return accessBinding_ != null; } /** + * + * *
    * Required. The access binding to create.
    * 
* - * .google.analytics.admin.v1alpha.AccessBinding access_binding = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.AccessBinding access_binding = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The accessBinding. */ @java.lang.Override public com.google.analytics.admin.v1alpha.AccessBinding getAccessBinding() { - return accessBinding_ == null ? com.google.analytics.admin.v1alpha.AccessBinding.getDefaultInstance() : accessBinding_; + return accessBinding_ == null + ? com.google.analytics.admin.v1alpha.AccessBinding.getDefaultInstance() + : accessBinding_; } /** + * + * *
    * Required. The access binding to create.
    * 
* - * .google.analytics.admin.v1alpha.AccessBinding access_binding = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.AccessBinding access_binding = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.analytics.admin.v1alpha.AccessBindingOrBuilder getAccessBindingOrBuilder() { - return accessBinding_ == null ? com.google.analytics.admin.v1alpha.AccessBinding.getDefaultInstance() : accessBinding_; + return accessBinding_ == null + ? com.google.analytics.admin.v1alpha.AccessBinding.getDefaultInstance() + : accessBinding_; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -144,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(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -165,8 +210,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (accessBinding_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getAccessBinding()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getAccessBinding()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -176,19 +220,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.CreateAccessBindingRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.CreateAccessBindingRequest other = (com.google.analytics.admin.v1alpha.CreateAccessBindingRequest) obj; + com.google.analytics.admin.v1alpha.CreateAccessBindingRequest other = + (com.google.analytics.admin.v1alpha.CreateAccessBindingRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; + if (!getParent().equals(other.getParent())) return false; if (hasAccessBinding() != other.hasAccessBinding()) return false; if (hasAccessBinding()) { - if (!getAccessBinding() - .equals(other.getAccessBinding())) return false; + if (!getAccessBinding().equals(other.getAccessBinding())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -213,131 +256,136 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.CreateAccessBindingRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.CreateAccessBindingRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.CreateAccessBindingRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.CreateAccessBindingRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.CreateAccessBindingRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.CreateAccessBindingRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.CreateAccessBindingRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.CreateAccessBindingRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.CreateAccessBindingRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.CreateAccessBindingRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.CreateAccessBindingRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.analytics.admin.v1alpha.CreateAccessBindingRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.CreateAccessBindingRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.CreateAccessBindingRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1alpha.CreateAccessBindingRequest prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1alpha.CreateAccessBindingRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder 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 CreateAccessBinding RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.CreateAccessBindingRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.CreateAccessBindingRequest) com.google.analytics.admin.v1alpha.CreateAccessBindingRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_CreateAccessBindingRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_CreateAccessBindingRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_CreateAccessBindingRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_CreateAccessBindingRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.CreateAccessBindingRequest.class, com.google.analytics.admin.v1alpha.CreateAccessBindingRequest.Builder.class); + com.google.analytics.admin.v1alpha.CreateAccessBindingRequest.class, + com.google.analytics.admin.v1alpha.CreateAccessBindingRequest.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.CreateAccessBindingRequest.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(); @@ -352,13 +400,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_CreateAccessBindingRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_CreateAccessBindingRequest_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.CreateAccessBindingRequest getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.CreateAccessBindingRequest + getDefaultInstanceForType() { return com.google.analytics.admin.v1alpha.CreateAccessBindingRequest.getDefaultInstance(); } @@ -373,21 +422,24 @@ public com.google.analytics.admin.v1alpha.CreateAccessBindingRequest build() { @java.lang.Override public com.google.analytics.admin.v1alpha.CreateAccessBindingRequest buildPartial() { - com.google.analytics.admin.v1alpha.CreateAccessBindingRequest result = new com.google.analytics.admin.v1alpha.CreateAccessBindingRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.analytics.admin.v1alpha.CreateAccessBindingRequest result = + new com.google.analytics.admin.v1alpha.CreateAccessBindingRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.analytics.admin.v1alpha.CreateAccessBindingRequest result) { + private void buildPartial0( + com.google.analytics.admin.v1alpha.CreateAccessBindingRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.parent_ = parent_; } if (((from_bitField0_ & 0x00000002) != 0)) { - result.accessBinding_ = accessBindingBuilder_ == null - ? accessBinding_ - : accessBindingBuilder_.build(); + result.accessBinding_ = + accessBindingBuilder_ == null ? accessBinding_ : accessBindingBuilder_.build(); } } @@ -395,38 +447,39 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.CreateAccessBindin public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.analytics.admin.v1alpha.CreateAccessBindingRequest) { - return mergeFrom((com.google.analytics.admin.v1alpha.CreateAccessBindingRequest)other); + return mergeFrom((com.google.analytics.admin.v1alpha.CreateAccessBindingRequest) other); } else { super.mergeFrom(other); return this; @@ -434,7 +487,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1alpha.CreateAccessBindingRequest other) { - if (other == com.google.analytics.admin.v1alpha.CreateAccessBindingRequest.getDefaultInstance()) return this; + if (other + == com.google.analytics.admin.v1alpha.CreateAccessBindingRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -469,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( - getAccessBindingFieldBuilder().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(getAccessBindingFieldBuilder().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) { @@ -496,24 +552,29 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object parent_ = ""; /** + * + * *
      * Required. Formats:
      * - accounts/{account}
      * - properties/{property}
      * 
* - * string parent = 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,22 +583,25 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. Formats:
      * - accounts/{account}
      * - properties/{property}
      * 
* - * string parent = 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 { @@ -545,32 +609,43 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. Formats:
      * - accounts/{account}
      * - properties/{property}
      * 
* - * 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. Formats:
      * - accounts/{account}
      * - properties/{property}
      * 
* - * string 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() { @@ -580,19 +655,25 @@ public Builder clearParent() { return this; } /** + * + * *
      * Required. Formats:
      * - accounts/{account}
      * - properties/{property}
      * 
* - * 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; @@ -602,39 +683,58 @@ public Builder setParentBytes( private com.google.analytics.admin.v1alpha.AccessBinding accessBinding_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.AccessBinding, com.google.analytics.admin.v1alpha.AccessBinding.Builder, com.google.analytics.admin.v1alpha.AccessBindingOrBuilder> accessBindingBuilder_; + com.google.analytics.admin.v1alpha.AccessBinding, + com.google.analytics.admin.v1alpha.AccessBinding.Builder, + com.google.analytics.admin.v1alpha.AccessBindingOrBuilder> + accessBindingBuilder_; /** + * + * *
      * Required. The access binding to create.
      * 
* - * .google.analytics.admin.v1alpha.AccessBinding access_binding = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.AccessBinding access_binding = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the accessBinding field is set. */ public boolean hasAccessBinding() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * Required. The access binding to create.
      * 
* - * .google.analytics.admin.v1alpha.AccessBinding access_binding = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.AccessBinding access_binding = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The accessBinding. */ public com.google.analytics.admin.v1alpha.AccessBinding getAccessBinding() { if (accessBindingBuilder_ == null) { - return accessBinding_ == null ? com.google.analytics.admin.v1alpha.AccessBinding.getDefaultInstance() : accessBinding_; + return accessBinding_ == null + ? com.google.analytics.admin.v1alpha.AccessBinding.getDefaultInstance() + : accessBinding_; } else { return accessBindingBuilder_.getMessage(); } } /** + * + * *
      * Required. The access binding to create.
      * 
* - * .google.analytics.admin.v1alpha.AccessBinding access_binding = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.AccessBinding access_binding = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setAccessBinding(com.google.analytics.admin.v1alpha.AccessBinding value) { if (accessBindingBuilder_ == null) { @@ -650,11 +750,15 @@ public Builder setAccessBinding(com.google.analytics.admin.v1alpha.AccessBinding return this; } /** + * + * *
      * Required. The access binding to create.
      * 
* - * .google.analytics.admin.v1alpha.AccessBinding access_binding = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.AccessBinding access_binding = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setAccessBinding( com.google.analytics.admin.v1alpha.AccessBinding.Builder builderForValue) { @@ -668,17 +772,22 @@ public Builder setAccessBinding( return this; } /** + * + * *
      * Required. The access binding to create.
      * 
* - * .google.analytics.admin.v1alpha.AccessBinding access_binding = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.AccessBinding access_binding = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeAccessBinding(com.google.analytics.admin.v1alpha.AccessBinding value) { if (accessBindingBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) && - accessBinding_ != null && - accessBinding_ != com.google.analytics.admin.v1alpha.AccessBinding.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) + && accessBinding_ != null + && accessBinding_ + != com.google.analytics.admin.v1alpha.AccessBinding.getDefaultInstance()) { getAccessBindingBuilder().mergeFrom(value); } else { accessBinding_ = value; @@ -691,11 +800,15 @@ public Builder mergeAccessBinding(com.google.analytics.admin.v1alpha.AccessBindi return this; } /** + * + * *
      * Required. The access binding to create.
      * 
* - * .google.analytics.admin.v1alpha.AccessBinding access_binding = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.AccessBinding access_binding = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearAccessBinding() { bitField0_ = (bitField0_ & ~0x00000002); @@ -708,11 +821,15 @@ public Builder clearAccessBinding() { return this; } /** + * + * *
      * Required. The access binding to create.
      * 
* - * .google.analytics.admin.v1alpha.AccessBinding access_binding = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.AccessBinding access_binding = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.analytics.admin.v1alpha.AccessBinding.Builder getAccessBindingBuilder() { bitField0_ |= 0x00000002; @@ -720,43 +837,55 @@ public com.google.analytics.admin.v1alpha.AccessBinding.Builder getAccessBinding return getAccessBindingFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The access binding to create.
      * 
* - * .google.analytics.admin.v1alpha.AccessBinding access_binding = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.AccessBinding access_binding = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.analytics.admin.v1alpha.AccessBindingOrBuilder getAccessBindingOrBuilder() { if (accessBindingBuilder_ != null) { return accessBindingBuilder_.getMessageOrBuilder(); } else { - return accessBinding_ == null ? - com.google.analytics.admin.v1alpha.AccessBinding.getDefaultInstance() : accessBinding_; + return accessBinding_ == null + ? com.google.analytics.admin.v1alpha.AccessBinding.getDefaultInstance() + : accessBinding_; } } /** + * + * *
      * Required. The access binding to create.
      * 
* - * .google.analytics.admin.v1alpha.AccessBinding access_binding = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.AccessBinding access_binding = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.AccessBinding, com.google.analytics.admin.v1alpha.AccessBinding.Builder, com.google.analytics.admin.v1alpha.AccessBindingOrBuilder> + com.google.analytics.admin.v1alpha.AccessBinding, + com.google.analytics.admin.v1alpha.AccessBinding.Builder, + com.google.analytics.admin.v1alpha.AccessBindingOrBuilder> getAccessBindingFieldBuilder() { if (accessBindingBuilder_ == null) { - accessBindingBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.AccessBinding, com.google.analytics.admin.v1alpha.AccessBinding.Builder, com.google.analytics.admin.v1alpha.AccessBindingOrBuilder>( - getAccessBinding(), - getParentForChildren(), - isClean()); + accessBindingBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1alpha.AccessBinding, + com.google.analytics.admin.v1alpha.AccessBinding.Builder, + com.google.analytics.admin.v1alpha.AccessBindingOrBuilder>( + getAccessBinding(), getParentForChildren(), isClean()); accessBinding_ = null; } return accessBindingBuilder_; } + @java.lang.Override - 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 +895,13 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.CreateAccessBindingRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.CreateAccessBindingRequest) - private static final com.google.analytics.admin.v1alpha.CreateAccessBindingRequest DEFAULT_INSTANCE; + private static final com.google.analytics.admin.v1alpha.CreateAccessBindingRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.CreateAccessBindingRequest(); } @@ -780,27 +910,27 @@ public static com.google.analytics.admin.v1alpha.CreateAccessBindingRequest getD return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateAccessBindingRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateAccessBindingRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.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,6 +945,4 @@ public com.google.protobuf.Parser getParserForType() public com.google.analytics.admin.v1alpha.CreateAccessBindingRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateAccessBindingRequestOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateAccessBindingRequestOrBuilder.java new file mode 100644 index 000000000000..7c35b7fed3ce --- /dev/null +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateAccessBindingRequestOrBuilder.java @@ -0,0 +1,99 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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 CreateAccessBindingRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.CreateAccessBindingRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. Formats:
+   * - accounts/{account}
+   * - properties/{property}
+   * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The parent. + */ + java.lang.String getParent(); + /** + * + * + *
+   * Required. Formats:
+   * - accounts/{account}
+   * - properties/{property}
+   * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for parent. + */ + com.google.protobuf.ByteString getParentBytes(); + + /** + * + * + *
+   * Required. The access binding to create.
+   * 
+ * + * + * .google.analytics.admin.v1alpha.AccessBinding access_binding = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return Whether the accessBinding field is set. + */ + boolean hasAccessBinding(); + /** + * + * + *
+   * Required. The access binding to create.
+   * 
+ * + * + * .google.analytics.admin.v1alpha.AccessBinding access_binding = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The accessBinding. + */ + com.google.analytics.admin.v1alpha.AccessBinding getAccessBinding(); + /** + * + * + *
+   * Required. The access binding to create.
+   * 
+ * + * + * .google.analytics.admin.v1alpha.AccessBinding access_binding = 2 [(.google.api.field_behavior) = REQUIRED]; + * + */ + com.google.analytics.admin.v1alpha.AccessBindingOrBuilder getAccessBindingOrBuilder(); +} diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateAdSenseLinkRequest.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateAdSenseLinkRequest.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/CreateAdSenseLinkRequest.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateAdSenseLinkRequest.java index 99520fd2e008..cc80f85bc8ff 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateAdSenseLinkRequest.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateAdSenseLinkRequest.java @@ -1,59 +1,84 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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 to be passed to CreateAdSenseLink method.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.CreateAdSenseLinkRequest} */ -public final class CreateAdSenseLinkRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CreateAdSenseLinkRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.CreateAdSenseLinkRequest) CreateAdSenseLinkRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CreateAdSenseLinkRequest.newBuilder() to construct. private CreateAdSenseLinkRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CreateAdSenseLinkRequest() { parent_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CreateAdSenseLinkRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_CreateAdSenseLinkRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_CreateAdSenseLinkRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_CreateAdSenseLinkRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_CreateAdSenseLinkRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.CreateAdSenseLinkRequest.class, com.google.analytics.admin.v1alpha.CreateAdSenseLinkRequest.Builder.class); + com.google.analytics.admin.v1alpha.CreateAdSenseLinkRequest.class, + com.google.analytics.admin.v1alpha.CreateAdSenseLinkRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** + * + * *
    * Required. The property for which to create an AdSense Link.
    * Format: properties/{propertyId}
    * 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 @@ -62,31 +87,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 property for which to create an AdSense Link.
    * Format: properties/{propertyId}
    * 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 { @@ -97,11 +124,16 @@ public java.lang.String getParent() { public static final int ADSENSE_LINK_FIELD_NUMBER = 2; private com.google.analytics.admin.v1alpha.AdSenseLink adsenseLink_; /** + * + * *
    * Required. The AdSense Link to create
    * 
* - * .google.analytics.admin.v1alpha.AdSenseLink adsense_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.AdSenseLink adsense_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the adsenseLink field is set. */ @java.lang.Override @@ -109,30 +141,44 @@ public boolean hasAdsenseLink() { return adsenseLink_ != null; } /** + * + * *
    * Required. The AdSense Link to create
    * 
* - * .google.analytics.admin.v1alpha.AdSenseLink adsense_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.AdSenseLink adsense_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The adsenseLink. */ @java.lang.Override public com.google.analytics.admin.v1alpha.AdSenseLink getAdsenseLink() { - return adsenseLink_ == null ? com.google.analytics.admin.v1alpha.AdSenseLink.getDefaultInstance() : adsenseLink_; + return adsenseLink_ == null + ? com.google.analytics.admin.v1alpha.AdSenseLink.getDefaultInstance() + : adsenseLink_; } /** + * + * *
    * Required. The AdSense Link to create
    * 
* - * .google.analytics.admin.v1alpha.AdSenseLink adsense_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.AdSenseLink adsense_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.analytics.admin.v1alpha.AdSenseLinkOrBuilder getAdsenseLinkOrBuilder() { - return adsenseLink_ == null ? com.google.analytics.admin.v1alpha.AdSenseLink.getDefaultInstance() : adsenseLink_; + return adsenseLink_ == null + ? com.google.analytics.admin.v1alpha.AdSenseLink.getDefaultInstance() + : adsenseLink_; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -144,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(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -165,8 +210,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (adsenseLink_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getAdsenseLink()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getAdsenseLink()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -176,19 +220,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.CreateAdSenseLinkRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.CreateAdSenseLinkRequest other = (com.google.analytics.admin.v1alpha.CreateAdSenseLinkRequest) obj; + com.google.analytics.admin.v1alpha.CreateAdSenseLinkRequest other = + (com.google.analytics.admin.v1alpha.CreateAdSenseLinkRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; + if (!getParent().equals(other.getParent())) return false; if (hasAdsenseLink() != other.hasAdsenseLink()) return false; if (hasAdsenseLink()) { - if (!getAdsenseLink() - .equals(other.getAdsenseLink())) return false; + if (!getAdsenseLink().equals(other.getAdsenseLink())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -213,131 +256,136 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.CreateAdSenseLinkRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.CreateAdSenseLinkRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.CreateAdSenseLinkRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.CreateAdSenseLinkRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.CreateAdSenseLinkRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.CreateAdSenseLinkRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.CreateAdSenseLinkRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.CreateAdSenseLinkRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.CreateAdSenseLinkRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.CreateAdSenseLinkRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.CreateAdSenseLinkRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.analytics.admin.v1alpha.CreateAdSenseLinkRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.CreateAdSenseLinkRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.CreateAdSenseLinkRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1alpha.CreateAdSenseLinkRequest prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1alpha.CreateAdSenseLinkRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder 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 to be passed to CreateAdSenseLink method.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.CreateAdSenseLinkRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.CreateAdSenseLinkRequest) com.google.analytics.admin.v1alpha.CreateAdSenseLinkRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_CreateAdSenseLinkRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_CreateAdSenseLinkRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_CreateAdSenseLinkRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_CreateAdSenseLinkRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.CreateAdSenseLinkRequest.class, com.google.analytics.admin.v1alpha.CreateAdSenseLinkRequest.Builder.class); + com.google.analytics.admin.v1alpha.CreateAdSenseLinkRequest.class, + com.google.analytics.admin.v1alpha.CreateAdSenseLinkRequest.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.CreateAdSenseLinkRequest.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(); @@ -352,9 +400,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_CreateAdSenseLinkRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_CreateAdSenseLinkRequest_descriptor; } @java.lang.Override @@ -373,8 +421,11 @@ public com.google.analytics.admin.v1alpha.CreateAdSenseLinkRequest build() { @java.lang.Override public com.google.analytics.admin.v1alpha.CreateAdSenseLinkRequest buildPartial() { - com.google.analytics.admin.v1alpha.CreateAdSenseLinkRequest result = new com.google.analytics.admin.v1alpha.CreateAdSenseLinkRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.analytics.admin.v1alpha.CreateAdSenseLinkRequest result = + new com.google.analytics.admin.v1alpha.CreateAdSenseLinkRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -385,9 +436,8 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.CreateAdSenseLinkR result.parent_ = parent_; } if (((from_bitField0_ & 0x00000002) != 0)) { - result.adsenseLink_ = adsenseLinkBuilder_ == null - ? adsenseLink_ - : adsenseLinkBuilder_.build(); + result.adsenseLink_ = + adsenseLinkBuilder_ == null ? adsenseLink_ : adsenseLinkBuilder_.build(); } } @@ -395,38 +445,39 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.CreateAdSenseLinkR public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.analytics.admin.v1alpha.CreateAdSenseLinkRequest) { - return mergeFrom((com.google.analytics.admin.v1alpha.CreateAdSenseLinkRequest)other); + return mergeFrom((com.google.analytics.admin.v1alpha.CreateAdSenseLinkRequest) other); } else { super.mergeFrom(other); return this; @@ -434,7 +485,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1alpha.CreateAdSenseLinkRequest other) { - if (other == com.google.analytics.admin.v1alpha.CreateAdSenseLinkRequest.getDefaultInstance()) return this; + if (other == com.google.analytics.admin.v1alpha.CreateAdSenseLinkRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -469,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( - getAdsenseLinkFieldBuilder().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(getAdsenseLinkFieldBuilder().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) { @@ -496,24 +549,29 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The property for which to create an AdSense Link.
      * Format: properties/{propertyId}
      * 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,22 +580,25 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The property for which to create an AdSense Link.
      * Format: properties/{propertyId}
      * 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 { @@ -545,32 +606,43 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The property for which to create an AdSense Link.
      * Format: properties/{propertyId}
      * 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 property for which to create an AdSense Link.
      * Format: properties/{propertyId}
      * 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() { @@ -580,19 +652,25 @@ public Builder clearParent() { return this; } /** + * + * *
      * Required. The property for which to create an AdSense Link.
      * Format: properties/{propertyId}
      * 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; @@ -602,39 +680,58 @@ public Builder setParentBytes( private com.google.analytics.admin.v1alpha.AdSenseLink adsenseLink_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.AdSenseLink, com.google.analytics.admin.v1alpha.AdSenseLink.Builder, com.google.analytics.admin.v1alpha.AdSenseLinkOrBuilder> adsenseLinkBuilder_; + com.google.analytics.admin.v1alpha.AdSenseLink, + com.google.analytics.admin.v1alpha.AdSenseLink.Builder, + com.google.analytics.admin.v1alpha.AdSenseLinkOrBuilder> + adsenseLinkBuilder_; /** + * + * *
      * Required. The AdSense Link to create
      * 
* - * .google.analytics.admin.v1alpha.AdSenseLink adsense_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.AdSenseLink adsense_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the adsenseLink field is set. */ public boolean hasAdsenseLink() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * Required. The AdSense Link to create
      * 
* - * .google.analytics.admin.v1alpha.AdSenseLink adsense_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.AdSenseLink adsense_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The adsenseLink. */ public com.google.analytics.admin.v1alpha.AdSenseLink getAdsenseLink() { if (adsenseLinkBuilder_ == null) { - return adsenseLink_ == null ? com.google.analytics.admin.v1alpha.AdSenseLink.getDefaultInstance() : adsenseLink_; + return adsenseLink_ == null + ? com.google.analytics.admin.v1alpha.AdSenseLink.getDefaultInstance() + : adsenseLink_; } else { return adsenseLinkBuilder_.getMessage(); } } /** + * + * *
      * Required. The AdSense Link to create
      * 
* - * .google.analytics.admin.v1alpha.AdSenseLink adsense_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.AdSenseLink adsense_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setAdsenseLink(com.google.analytics.admin.v1alpha.AdSenseLink value) { if (adsenseLinkBuilder_ == null) { @@ -650,11 +747,15 @@ public Builder setAdsenseLink(com.google.analytics.admin.v1alpha.AdSenseLink val return this; } /** + * + * *
      * Required. The AdSense Link to create
      * 
* - * .google.analytics.admin.v1alpha.AdSenseLink adsense_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.AdSenseLink adsense_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setAdsenseLink( com.google.analytics.admin.v1alpha.AdSenseLink.Builder builderForValue) { @@ -668,17 +769,22 @@ public Builder setAdsenseLink( return this; } /** + * + * *
      * Required. The AdSense Link to create
      * 
* - * .google.analytics.admin.v1alpha.AdSenseLink adsense_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.AdSenseLink adsense_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeAdsenseLink(com.google.analytics.admin.v1alpha.AdSenseLink value) { if (adsenseLinkBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) && - adsenseLink_ != null && - adsenseLink_ != com.google.analytics.admin.v1alpha.AdSenseLink.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) + && adsenseLink_ != null + && adsenseLink_ + != com.google.analytics.admin.v1alpha.AdSenseLink.getDefaultInstance()) { getAdsenseLinkBuilder().mergeFrom(value); } else { adsenseLink_ = value; @@ -691,11 +797,15 @@ public Builder mergeAdsenseLink(com.google.analytics.admin.v1alpha.AdSenseLink v return this; } /** + * + * *
      * Required. The AdSense Link to create
      * 
* - * .google.analytics.admin.v1alpha.AdSenseLink adsense_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.AdSenseLink adsense_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearAdsenseLink() { bitField0_ = (bitField0_ & ~0x00000002); @@ -708,11 +818,15 @@ public Builder clearAdsenseLink() { return this; } /** + * + * *
      * Required. The AdSense Link to create
      * 
* - * .google.analytics.admin.v1alpha.AdSenseLink adsense_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.AdSenseLink adsense_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.analytics.admin.v1alpha.AdSenseLink.Builder getAdsenseLinkBuilder() { bitField0_ |= 0x00000002; @@ -720,43 +834,55 @@ public com.google.analytics.admin.v1alpha.AdSenseLink.Builder getAdsenseLinkBuil return getAdsenseLinkFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The AdSense Link to create
      * 
* - * .google.analytics.admin.v1alpha.AdSenseLink adsense_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.AdSenseLink adsense_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.analytics.admin.v1alpha.AdSenseLinkOrBuilder getAdsenseLinkOrBuilder() { if (adsenseLinkBuilder_ != null) { return adsenseLinkBuilder_.getMessageOrBuilder(); } else { - return adsenseLink_ == null ? - com.google.analytics.admin.v1alpha.AdSenseLink.getDefaultInstance() : adsenseLink_; + return adsenseLink_ == null + ? com.google.analytics.admin.v1alpha.AdSenseLink.getDefaultInstance() + : adsenseLink_; } } /** + * + * *
      * Required. The AdSense Link to create
      * 
* - * .google.analytics.admin.v1alpha.AdSenseLink adsense_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.AdSenseLink adsense_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.AdSenseLink, com.google.analytics.admin.v1alpha.AdSenseLink.Builder, com.google.analytics.admin.v1alpha.AdSenseLinkOrBuilder> + com.google.analytics.admin.v1alpha.AdSenseLink, + com.google.analytics.admin.v1alpha.AdSenseLink.Builder, + com.google.analytics.admin.v1alpha.AdSenseLinkOrBuilder> getAdsenseLinkFieldBuilder() { if (adsenseLinkBuilder_ == null) { - adsenseLinkBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.AdSenseLink, com.google.analytics.admin.v1alpha.AdSenseLink.Builder, com.google.analytics.admin.v1alpha.AdSenseLinkOrBuilder>( - getAdsenseLink(), - getParentForChildren(), - isClean()); + adsenseLinkBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1alpha.AdSenseLink, + com.google.analytics.admin.v1alpha.AdSenseLink.Builder, + com.google.analytics.admin.v1alpha.AdSenseLinkOrBuilder>( + getAdsenseLink(), getParentForChildren(), isClean()); adsenseLink_ = null; } return adsenseLinkBuilder_; } + @java.lang.Override - 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 +892,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.CreateAdSenseLinkRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.CreateAdSenseLinkRequest) private static final com.google.analytics.admin.v1alpha.CreateAdSenseLinkRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.CreateAdSenseLinkRequest(); } @@ -780,27 +906,27 @@ public static com.google.analytics.admin.v1alpha.CreateAdSenseLinkRequest getDef return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateAdSenseLinkRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateAdSenseLinkRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.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,6 +941,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1alpha.CreateAdSenseLinkRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateAdSenseLinkRequestOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateAdSenseLinkRequestOrBuilder.java new file mode 100644 index 000000000000..a023ca7cca6e --- /dev/null +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateAdSenseLinkRequestOrBuilder.java @@ -0,0 +1,99 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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 CreateAdSenseLinkRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.CreateAdSenseLinkRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The property for which to create an AdSense Link.
+   * Format: properties/{propertyId}
+   * Example: properties/1234
+   * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The parent. + */ + java.lang.String getParent(); + /** + * + * + *
+   * Required. The property for which to create an AdSense Link.
+   * Format: properties/{propertyId}
+   * 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 AdSense Link to create
+   * 
+ * + * + * .google.analytics.admin.v1alpha.AdSenseLink adsense_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return Whether the adsenseLink field is set. + */ + boolean hasAdsenseLink(); + /** + * + * + *
+   * Required. The AdSense Link to create
+   * 
+ * + * + * .google.analytics.admin.v1alpha.AdSenseLink adsense_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The adsenseLink. + */ + com.google.analytics.admin.v1alpha.AdSenseLink getAdsenseLink(); + /** + * + * + *
+   * Required. The AdSense Link to create
+   * 
+ * + * + * .google.analytics.admin.v1alpha.AdSenseLink adsense_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * + */ + com.google.analytics.admin.v1alpha.AdSenseLinkOrBuilder getAdsenseLinkOrBuilder(); +} 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 61% 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 403fc019652e..5c79ec2c2dfc 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,57 +1,82 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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(); } - 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 @@ -60,29 +85,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 { @@ -93,11 +120,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 @@ -105,30 +137,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; @@ -140,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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -161,8 +206,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; @@ -172,19 +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.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; @@ -209,131 +252,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(); @@ -348,9 +396,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 @@ -369,8 +417,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; } @@ -381,9 +432,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(); } } @@ -391,38 +440,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; @@ -430,7 +480,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; @@ -465,24 +516,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) { @@ -492,22 +544,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; @@ -516,20 +573,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 { @@ -537,28 +597,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() { @@ -568,17 +639,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; @@ -588,39 +665,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) { @@ -636,11 +732,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) { @@ -654,17 +754,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; @@ -677,11 +781,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); @@ -694,11 +802,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; @@ -706,43 +818,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); } @@ -752,12 +876,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(); } @@ -766,27 +890,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; @@ -801,6 +925,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..aee99ce1c15c --- /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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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/CreateChannelGroupRequest.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateChannelGroupRequest.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/CreateChannelGroupRequest.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateChannelGroupRequest.java index d1c707943c7d..769f675dfe99 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateChannelGroupRequest.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateChannelGroupRequest.java @@ -1,58 +1,83 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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 CreateChannelGroup RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.CreateChannelGroupRequest} */ -public final class CreateChannelGroupRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CreateChannelGroupRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.CreateChannelGroupRequest) CreateChannelGroupRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CreateChannelGroupRequest.newBuilder() to construct. private CreateChannelGroupRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CreateChannelGroupRequest() { parent_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CreateChannelGroupRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_CreateChannelGroupRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_CreateChannelGroupRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_CreateChannelGroupRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_CreateChannelGroupRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.CreateChannelGroupRequest.class, com.google.analytics.admin.v1alpha.CreateChannelGroupRequest.Builder.class); + com.google.analytics.admin.v1alpha.CreateChannelGroupRequest.class, + com.google.analytics.admin.v1alpha.CreateChannelGroupRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** + * + * *
    * Required. The property for which to create a ChannelGroup.
    * Example format: properties/1234
    * 
* - * string parent = 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 @@ -61,30 +86,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 property for which to create a ChannelGroup.
    * Example format: properties/1234
    * 
* - * string parent = 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 { @@ -95,11 +122,16 @@ public java.lang.String getParent() { public static final int CHANNEL_GROUP_FIELD_NUMBER = 2; private com.google.analytics.admin.v1alpha.ChannelGroup channelGroup_; /** + * + * *
    * Required. The ChannelGroup to create.
    * 
* - * .google.analytics.admin.v1alpha.ChannelGroup channel_group = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.ChannelGroup channel_group = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the channelGroup field is set. */ @java.lang.Override @@ -107,30 +139,44 @@ public boolean hasChannelGroup() { return channelGroup_ != null; } /** + * + * *
    * Required. The ChannelGroup to create.
    * 
* - * .google.analytics.admin.v1alpha.ChannelGroup channel_group = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.ChannelGroup channel_group = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The channelGroup. */ @java.lang.Override public com.google.analytics.admin.v1alpha.ChannelGroup getChannelGroup() { - return channelGroup_ == null ? com.google.analytics.admin.v1alpha.ChannelGroup.getDefaultInstance() : channelGroup_; + return channelGroup_ == null + ? com.google.analytics.admin.v1alpha.ChannelGroup.getDefaultInstance() + : channelGroup_; } /** + * + * *
    * Required. The ChannelGroup to create.
    * 
* - * .google.analytics.admin.v1alpha.ChannelGroup channel_group = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.ChannelGroup channel_group = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.analytics.admin.v1alpha.ChannelGroupOrBuilder getChannelGroupOrBuilder() { - return channelGroup_ == null ? com.google.analytics.admin.v1alpha.ChannelGroup.getDefaultInstance() : channelGroup_; + return channelGroup_ == null + ? com.google.analytics.admin.v1alpha.ChannelGroup.getDefaultInstance() + : channelGroup_; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -142,8 +188,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -163,8 +208,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (channelGroup_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getChannelGroup()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getChannelGroup()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -174,19 +218,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.CreateChannelGroupRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.CreateChannelGroupRequest other = (com.google.analytics.admin.v1alpha.CreateChannelGroupRequest) obj; + com.google.analytics.admin.v1alpha.CreateChannelGroupRequest other = + (com.google.analytics.admin.v1alpha.CreateChannelGroupRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; + if (!getParent().equals(other.getParent())) return false; if (hasChannelGroup() != other.hasChannelGroup()) return false; if (hasChannelGroup()) { - if (!getChannelGroup() - .equals(other.getChannelGroup())) return false; + if (!getChannelGroup().equals(other.getChannelGroup())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -211,131 +254,136 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.CreateChannelGroupRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.CreateChannelGroupRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.CreateChannelGroupRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.CreateChannelGroupRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.CreateChannelGroupRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.CreateChannelGroupRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.CreateChannelGroupRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.CreateChannelGroupRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.CreateChannelGroupRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.CreateChannelGroupRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.CreateChannelGroupRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.analytics.admin.v1alpha.CreateChannelGroupRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.CreateChannelGroupRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.CreateChannelGroupRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1alpha.CreateChannelGroupRequest prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1alpha.CreateChannelGroupRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder 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 CreateChannelGroup RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.CreateChannelGroupRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.CreateChannelGroupRequest) com.google.analytics.admin.v1alpha.CreateChannelGroupRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_CreateChannelGroupRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_CreateChannelGroupRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_CreateChannelGroupRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_CreateChannelGroupRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.CreateChannelGroupRequest.class, com.google.analytics.admin.v1alpha.CreateChannelGroupRequest.Builder.class); + com.google.analytics.admin.v1alpha.CreateChannelGroupRequest.class, + com.google.analytics.admin.v1alpha.CreateChannelGroupRequest.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.CreateChannelGroupRequest.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(); @@ -350,13 +398,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_CreateChannelGroupRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_CreateChannelGroupRequest_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.CreateChannelGroupRequest getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.CreateChannelGroupRequest + getDefaultInstanceForType() { return com.google.analytics.admin.v1alpha.CreateChannelGroupRequest.getDefaultInstance(); } @@ -371,21 +420,24 @@ public com.google.analytics.admin.v1alpha.CreateChannelGroupRequest build() { @java.lang.Override public com.google.analytics.admin.v1alpha.CreateChannelGroupRequest buildPartial() { - com.google.analytics.admin.v1alpha.CreateChannelGroupRequest result = new com.google.analytics.admin.v1alpha.CreateChannelGroupRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.analytics.admin.v1alpha.CreateChannelGroupRequest result = + new com.google.analytics.admin.v1alpha.CreateChannelGroupRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.analytics.admin.v1alpha.CreateChannelGroupRequest result) { + private void buildPartial0( + com.google.analytics.admin.v1alpha.CreateChannelGroupRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.parent_ = parent_; } if (((from_bitField0_ & 0x00000002) != 0)) { - result.channelGroup_ = channelGroupBuilder_ == null - ? channelGroup_ - : channelGroupBuilder_.build(); + result.channelGroup_ = + channelGroupBuilder_ == null ? channelGroup_ : channelGroupBuilder_.build(); } } @@ -393,38 +445,39 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.CreateChannelGroup public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.analytics.admin.v1alpha.CreateChannelGroupRequest) { - return mergeFrom((com.google.analytics.admin.v1alpha.CreateChannelGroupRequest)other); + return mergeFrom((com.google.analytics.admin.v1alpha.CreateChannelGroupRequest) other); } else { super.mergeFrom(other); return this; @@ -432,7 +485,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1alpha.CreateChannelGroupRequest other) { - if (other == com.google.analytics.admin.v1alpha.CreateChannelGroupRequest.getDefaultInstance()) return this; + if (other + == com.google.analytics.admin.v1alpha.CreateChannelGroupRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -467,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( - getChannelGroupFieldBuilder().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(getChannelGroupFieldBuilder().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) { @@ -494,23 +550,28 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The property for which to create a ChannelGroup.
      * Example format: properties/1234
      * 
* - * string parent = 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,21 +580,24 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The property for which to create a ChannelGroup.
      * Example format: properties/1234
      * 
* - * string parent = 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 { @@ -541,30 +605,41 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The property for which to create a ChannelGroup.
      * Example format: properties/1234
      * 
* - * 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 property for which to create a ChannelGroup.
      * Example format: properties/1234
      * 
* - * string 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() { @@ -574,18 +649,24 @@ public Builder clearParent() { return this; } /** + * + * *
      * Required. The property for which to create a ChannelGroup.
      * Example format: properties/1234
      * 
* - * 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; @@ -595,39 +676,58 @@ public Builder setParentBytes( private com.google.analytics.admin.v1alpha.ChannelGroup channelGroup_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.ChannelGroup, com.google.analytics.admin.v1alpha.ChannelGroup.Builder, com.google.analytics.admin.v1alpha.ChannelGroupOrBuilder> channelGroupBuilder_; + com.google.analytics.admin.v1alpha.ChannelGroup, + com.google.analytics.admin.v1alpha.ChannelGroup.Builder, + com.google.analytics.admin.v1alpha.ChannelGroupOrBuilder> + channelGroupBuilder_; /** + * + * *
      * Required. The ChannelGroup to create.
      * 
* - * .google.analytics.admin.v1alpha.ChannelGroup channel_group = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.ChannelGroup channel_group = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the channelGroup field is set. */ public boolean hasChannelGroup() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * Required. The ChannelGroup to create.
      * 
* - * .google.analytics.admin.v1alpha.ChannelGroup channel_group = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.ChannelGroup channel_group = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The channelGroup. */ public com.google.analytics.admin.v1alpha.ChannelGroup getChannelGroup() { if (channelGroupBuilder_ == null) { - return channelGroup_ == null ? com.google.analytics.admin.v1alpha.ChannelGroup.getDefaultInstance() : channelGroup_; + return channelGroup_ == null + ? com.google.analytics.admin.v1alpha.ChannelGroup.getDefaultInstance() + : channelGroup_; } else { return channelGroupBuilder_.getMessage(); } } /** + * + * *
      * Required. The ChannelGroup to create.
      * 
* - * .google.analytics.admin.v1alpha.ChannelGroup channel_group = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.ChannelGroup channel_group = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setChannelGroup(com.google.analytics.admin.v1alpha.ChannelGroup value) { if (channelGroupBuilder_ == null) { @@ -643,11 +743,15 @@ public Builder setChannelGroup(com.google.analytics.admin.v1alpha.ChannelGroup v return this; } /** + * + * *
      * Required. The ChannelGroup to create.
      * 
* - * .google.analytics.admin.v1alpha.ChannelGroup channel_group = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.ChannelGroup channel_group = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setChannelGroup( com.google.analytics.admin.v1alpha.ChannelGroup.Builder builderForValue) { @@ -661,17 +765,22 @@ public Builder setChannelGroup( return this; } /** + * + * *
      * Required. The ChannelGroup to create.
      * 
* - * .google.analytics.admin.v1alpha.ChannelGroup channel_group = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.ChannelGroup channel_group = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeChannelGroup(com.google.analytics.admin.v1alpha.ChannelGroup value) { if (channelGroupBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) && - channelGroup_ != null && - channelGroup_ != com.google.analytics.admin.v1alpha.ChannelGroup.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) + && channelGroup_ != null + && channelGroup_ + != com.google.analytics.admin.v1alpha.ChannelGroup.getDefaultInstance()) { getChannelGroupBuilder().mergeFrom(value); } else { channelGroup_ = value; @@ -684,11 +793,15 @@ public Builder mergeChannelGroup(com.google.analytics.admin.v1alpha.ChannelGroup return this; } /** + * + * *
      * Required. The ChannelGroup to create.
      * 
* - * .google.analytics.admin.v1alpha.ChannelGroup channel_group = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.ChannelGroup channel_group = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearChannelGroup() { bitField0_ = (bitField0_ & ~0x00000002); @@ -701,11 +814,15 @@ public Builder clearChannelGroup() { return this; } /** + * + * *
      * Required. The ChannelGroup to create.
      * 
* - * .google.analytics.admin.v1alpha.ChannelGroup channel_group = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.ChannelGroup channel_group = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.analytics.admin.v1alpha.ChannelGroup.Builder getChannelGroupBuilder() { bitField0_ |= 0x00000002; @@ -713,43 +830,55 @@ public com.google.analytics.admin.v1alpha.ChannelGroup.Builder getChannelGroupBu return getChannelGroupFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The ChannelGroup to create.
      * 
* - * .google.analytics.admin.v1alpha.ChannelGroup channel_group = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.ChannelGroup channel_group = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.analytics.admin.v1alpha.ChannelGroupOrBuilder getChannelGroupOrBuilder() { if (channelGroupBuilder_ != null) { return channelGroupBuilder_.getMessageOrBuilder(); } else { - return channelGroup_ == null ? - com.google.analytics.admin.v1alpha.ChannelGroup.getDefaultInstance() : channelGroup_; + return channelGroup_ == null + ? com.google.analytics.admin.v1alpha.ChannelGroup.getDefaultInstance() + : channelGroup_; } } /** + * + * *
      * Required. The ChannelGroup to create.
      * 
* - * .google.analytics.admin.v1alpha.ChannelGroup channel_group = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.ChannelGroup channel_group = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.ChannelGroup, com.google.analytics.admin.v1alpha.ChannelGroup.Builder, com.google.analytics.admin.v1alpha.ChannelGroupOrBuilder> + com.google.analytics.admin.v1alpha.ChannelGroup, + com.google.analytics.admin.v1alpha.ChannelGroup.Builder, + com.google.analytics.admin.v1alpha.ChannelGroupOrBuilder> getChannelGroupFieldBuilder() { if (channelGroupBuilder_ == null) { - channelGroupBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.ChannelGroup, com.google.analytics.admin.v1alpha.ChannelGroup.Builder, com.google.analytics.admin.v1alpha.ChannelGroupOrBuilder>( - getChannelGroup(), - getParentForChildren(), - isClean()); + channelGroupBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1alpha.ChannelGroup, + com.google.analytics.admin.v1alpha.ChannelGroup.Builder, + com.google.analytics.admin.v1alpha.ChannelGroupOrBuilder>( + getChannelGroup(), getParentForChildren(), isClean()); channelGroup_ = null; } return channelGroupBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -759,12 +888,13 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.CreateChannelGroupRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.CreateChannelGroupRequest) - private static final com.google.analytics.admin.v1alpha.CreateChannelGroupRequest DEFAULT_INSTANCE; + private static final com.google.analytics.admin.v1alpha.CreateChannelGroupRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.CreateChannelGroupRequest(); } @@ -773,27 +903,27 @@ public static com.google.analytics.admin.v1alpha.CreateChannelGroupRequest getDe return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateChannelGroupRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateChannelGroupRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.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,6 +938,4 @@ public com.google.protobuf.Parser getParserForType() public com.google.analytics.admin.v1alpha.CreateChannelGroupRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateChannelGroupRequestOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateChannelGroupRequestOrBuilder.java new file mode 100644 index 000000000000..4e037323ae88 --- /dev/null +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateChannelGroupRequestOrBuilder.java @@ -0,0 +1,97 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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 CreateChannelGroupRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.CreateChannelGroupRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The property for which to create a ChannelGroup.
+   * Example format: properties/1234
+   * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The parent. + */ + java.lang.String getParent(); + /** + * + * + *
+   * Required. The property for which to create a ChannelGroup.
+   * 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 ChannelGroup to create.
+   * 
+ * + * + * .google.analytics.admin.v1alpha.ChannelGroup channel_group = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return Whether the channelGroup field is set. + */ + boolean hasChannelGroup(); + /** + * + * + *
+   * Required. The ChannelGroup to create.
+   * 
+ * + * + * .google.analytics.admin.v1alpha.ChannelGroup channel_group = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The channelGroup. + */ + com.google.analytics.admin.v1alpha.ChannelGroup getChannelGroup(); + /** + * + * + *
+   * Required. The ChannelGroup to create.
+   * 
+ * + * + * .google.analytics.admin.v1alpha.ChannelGroup channel_group = 2 [(.google.api.field_behavior) = REQUIRED]; + * + */ + com.google.analytics.admin.v1alpha.ChannelGroupOrBuilder getChannelGroupOrBuilder(); +} diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateConnectedSiteTagRequest.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateConnectedSiteTagRequest.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/CreateConnectedSiteTagRequest.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateConnectedSiteTagRequest.java index 8393f896050b..b96d4cac6dfd 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateConnectedSiteTagRequest.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateConnectedSiteTagRequest.java @@ -1,52 +1,74 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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 CreateConnectedSiteTag RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.CreateConnectedSiteTagRequest} */ -public final class CreateConnectedSiteTagRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CreateConnectedSiteTagRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.CreateConnectedSiteTagRequest) CreateConnectedSiteTagRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CreateConnectedSiteTagRequest.newBuilder() to construct. private CreateConnectedSiteTagRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CreateConnectedSiteTagRequest() { property_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CreateConnectedSiteTagRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_CreateConnectedSiteTagRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_CreateConnectedSiteTagRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_CreateConnectedSiteTagRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_CreateConnectedSiteTagRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.CreateConnectedSiteTagRequest.class, com.google.analytics.admin.v1alpha.CreateConnectedSiteTagRequest.Builder.class); + com.google.analytics.admin.v1alpha.CreateConnectedSiteTagRequest.class, + com.google.analytics.admin.v1alpha.CreateConnectedSiteTagRequest.Builder.class); } public static final int PROPERTY_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object property_ = ""; /** + * + * *
    * The Universal Analytics property to create connected site tags for.
    * This API does not support GA4 properties.
@@ -55,6 +77,7 @@ protected java.lang.Object newInstance(
    * 
* * string property = 1; + * * @return The property. */ @java.lang.Override @@ -63,14 +86,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; } } /** + * + * *
    * The Universal Analytics property to create connected site tags for.
    * This API does not support GA4 properties.
@@ -79,16 +103,15 @@ public java.lang.String getProperty() {
    * 
* * string property = 1; + * * @return The bytes for property. */ @java.lang.Override - public com.google.protobuf.ByteString - getPropertyBytes() { + public com.google.protobuf.ByteString getPropertyBytes() { java.lang.Object ref = property_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); property_ = b; return b; } else { @@ -99,11 +122,16 @@ public java.lang.String getProperty() { public static final int CONNECTED_SITE_TAG_FIELD_NUMBER = 2; private com.google.analytics.admin.v1alpha.ConnectedSiteTag connectedSiteTag_; /** + * + * *
    * Required. The tag to add to the Universal Analytics property
    * 
* - * .google.analytics.admin.v1alpha.ConnectedSiteTag connected_site_tag = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.ConnectedSiteTag connected_site_tag = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the connectedSiteTag field is set. */ @java.lang.Override @@ -111,30 +139,45 @@ public boolean hasConnectedSiteTag() { return connectedSiteTag_ != null; } /** + * + * *
    * Required. The tag to add to the Universal Analytics property
    * 
* - * .google.analytics.admin.v1alpha.ConnectedSiteTag connected_site_tag = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.ConnectedSiteTag connected_site_tag = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The connectedSiteTag. */ @java.lang.Override public com.google.analytics.admin.v1alpha.ConnectedSiteTag getConnectedSiteTag() { - return connectedSiteTag_ == null ? com.google.analytics.admin.v1alpha.ConnectedSiteTag.getDefaultInstance() : connectedSiteTag_; + return connectedSiteTag_ == null + ? com.google.analytics.admin.v1alpha.ConnectedSiteTag.getDefaultInstance() + : connectedSiteTag_; } /** + * + * *
    * Required. The tag to add to the Universal Analytics property
    * 
* - * .google.analytics.admin.v1alpha.ConnectedSiteTag connected_site_tag = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.ConnectedSiteTag connected_site_tag = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public com.google.analytics.admin.v1alpha.ConnectedSiteTagOrBuilder getConnectedSiteTagOrBuilder() { - return connectedSiteTag_ == null ? com.google.analytics.admin.v1alpha.ConnectedSiteTag.getDefaultInstance() : connectedSiteTag_; + public com.google.analytics.admin.v1alpha.ConnectedSiteTagOrBuilder + getConnectedSiteTagOrBuilder() { + return connectedSiteTag_ == null + ? com.google.analytics.admin.v1alpha.ConnectedSiteTag.getDefaultInstance() + : connectedSiteTag_; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -146,8 +189,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -167,8 +209,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, property_); } if (connectedSiteTag_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getConnectedSiteTag()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getConnectedSiteTag()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -178,19 +219,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.CreateConnectedSiteTagRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.CreateConnectedSiteTagRequest other = (com.google.analytics.admin.v1alpha.CreateConnectedSiteTagRequest) obj; + com.google.analytics.admin.v1alpha.CreateConnectedSiteTagRequest other = + (com.google.analytics.admin.v1alpha.CreateConnectedSiteTagRequest) obj; - if (!getProperty() - .equals(other.getProperty())) return false; + if (!getProperty().equals(other.getProperty())) return false; if (hasConnectedSiteTag() != other.hasConnectedSiteTag()) return false; if (hasConnectedSiteTag()) { - if (!getConnectedSiteTag() - .equals(other.getConnectedSiteTag())) return false; + if (!getConnectedSiteTag().equals(other.getConnectedSiteTag())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -215,131 +255,136 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.CreateConnectedSiteTagRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.CreateConnectedSiteTagRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.CreateConnectedSiteTagRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.CreateConnectedSiteTagRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.CreateConnectedSiteTagRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.analytics.admin.v1alpha.CreateConnectedSiteTagRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.CreateConnectedSiteTagRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.CreateConnectedSiteTagRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.CreateConnectedSiteTagRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.CreateConnectedSiteTagRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.CreateConnectedSiteTagRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.CreateConnectedSiteTagRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.analytics.admin.v1alpha.CreateConnectedSiteTagRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.CreateConnectedSiteTagRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.CreateConnectedSiteTagRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1alpha.CreateConnectedSiteTagRequest prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1alpha.CreateConnectedSiteTagRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder 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 CreateConnectedSiteTag RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.CreateConnectedSiteTagRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.CreateConnectedSiteTagRequest) com.google.analytics.admin.v1alpha.CreateConnectedSiteTagRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_CreateConnectedSiteTagRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_CreateConnectedSiteTagRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_CreateConnectedSiteTagRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_CreateConnectedSiteTagRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.CreateConnectedSiteTagRequest.class, com.google.analytics.admin.v1alpha.CreateConnectedSiteTagRequest.Builder.class); + com.google.analytics.admin.v1alpha.CreateConnectedSiteTagRequest.class, + com.google.analytics.admin.v1alpha.CreateConnectedSiteTagRequest.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.CreateConnectedSiteTagRequest.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(); @@ -354,13 +399,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_CreateConnectedSiteTagRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_CreateConnectedSiteTagRequest_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.CreateConnectedSiteTagRequest getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.CreateConnectedSiteTagRequest + getDefaultInstanceForType() { return com.google.analytics.admin.v1alpha.CreateConnectedSiteTagRequest.getDefaultInstance(); } @@ -375,21 +421,24 @@ public com.google.analytics.admin.v1alpha.CreateConnectedSiteTagRequest build() @java.lang.Override public com.google.analytics.admin.v1alpha.CreateConnectedSiteTagRequest buildPartial() { - com.google.analytics.admin.v1alpha.CreateConnectedSiteTagRequest result = new com.google.analytics.admin.v1alpha.CreateConnectedSiteTagRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.analytics.admin.v1alpha.CreateConnectedSiteTagRequest result = + new com.google.analytics.admin.v1alpha.CreateConnectedSiteTagRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.analytics.admin.v1alpha.CreateConnectedSiteTagRequest result) { + private void buildPartial0( + com.google.analytics.admin.v1alpha.CreateConnectedSiteTagRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.property_ = property_; } if (((from_bitField0_ & 0x00000002) != 0)) { - result.connectedSiteTag_ = connectedSiteTagBuilder_ == null - ? connectedSiteTag_ - : connectedSiteTagBuilder_.build(); + result.connectedSiteTag_ = + connectedSiteTagBuilder_ == null ? connectedSiteTag_ : connectedSiteTagBuilder_.build(); } } @@ -397,46 +446,50 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.CreateConnectedSit public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.analytics.admin.v1alpha.CreateConnectedSiteTagRequest) { - return mergeFrom((com.google.analytics.admin.v1alpha.CreateConnectedSiteTagRequest)other); + return mergeFrom((com.google.analytics.admin.v1alpha.CreateConnectedSiteTagRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.analytics.admin.v1alpha.CreateConnectedSiteTagRequest other) { - if (other == com.google.analytics.admin.v1alpha.CreateConnectedSiteTagRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.analytics.admin.v1alpha.CreateConnectedSiteTagRequest other) { + if (other + == com.google.analytics.admin.v1alpha.CreateConnectedSiteTagRequest.getDefaultInstance()) + return this; if (!other.getProperty().isEmpty()) { property_ = other.property_; bitField0_ |= 0x00000001; @@ -471,24 +524,26 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - property_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - input.readMessage( - getConnectedSiteTagFieldBuilder().getBuilder(), - extensionRegistry); - 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: + { + input.readMessage( + getConnectedSiteTagFieldBuilder().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) { @@ -498,10 +553,13 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object property_ = ""; /** + * + * *
      * The Universal Analytics property to create connected site tags for.
      * This API does not support GA4 properties.
@@ -510,13 +568,13 @@ public Builder mergeFrom(
      * 
* * string property = 1; + * * @return The property. */ public java.lang.String getProperty() { java.lang.Object ref = property_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); property_ = s; return s; @@ -525,6 +583,8 @@ public java.lang.String getProperty() { } } /** + * + * *
      * The Universal Analytics property to create connected site tags for.
      * This API does not support GA4 properties.
@@ -533,15 +593,14 @@ public java.lang.String getProperty() {
      * 
* * string property = 1; + * * @return The bytes for property. */ - public com.google.protobuf.ByteString - getPropertyBytes() { + public com.google.protobuf.ByteString getPropertyBytes() { java.lang.Object ref = property_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); property_ = b; return b; } else { @@ -549,6 +608,8 @@ public java.lang.String getProperty() { } } /** + * + * *
      * The Universal Analytics property to create connected site tags for.
      * This API does not support GA4 properties.
@@ -557,18 +618,22 @@ public java.lang.String getProperty() {
      * 
* * string property = 1; + * * @param value The property to set. * @return This builder for chaining. */ - public Builder setProperty( - java.lang.String value) { - 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; } /** + * + * *
      * The Universal Analytics property to create connected site tags for.
      * This API does not support GA4 properties.
@@ -577,6 +642,7 @@ public Builder setProperty(
      * 
* * string property = 1; + * * @return This builder for chaining. */ public Builder clearProperty() { @@ -586,6 +652,8 @@ public Builder clearProperty() { return this; } /** + * + * *
      * The Universal Analytics property to create connected site tags for.
      * This API does not support GA4 properties.
@@ -594,12 +662,14 @@ public Builder clearProperty() {
      * 
* * string property = 1; + * * @param value The bytes for property to set. * @return This builder for chaining. */ - public Builder setPropertyBytes( - com.google.protobuf.ByteString value) { - 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; @@ -609,39 +679,58 @@ public Builder setPropertyBytes( private com.google.analytics.admin.v1alpha.ConnectedSiteTag connectedSiteTag_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.ConnectedSiteTag, com.google.analytics.admin.v1alpha.ConnectedSiteTag.Builder, com.google.analytics.admin.v1alpha.ConnectedSiteTagOrBuilder> connectedSiteTagBuilder_; + com.google.analytics.admin.v1alpha.ConnectedSiteTag, + com.google.analytics.admin.v1alpha.ConnectedSiteTag.Builder, + com.google.analytics.admin.v1alpha.ConnectedSiteTagOrBuilder> + connectedSiteTagBuilder_; /** + * + * *
      * Required. The tag to add to the Universal Analytics property
      * 
* - * .google.analytics.admin.v1alpha.ConnectedSiteTag connected_site_tag = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.ConnectedSiteTag connected_site_tag = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the connectedSiteTag field is set. */ public boolean hasConnectedSiteTag() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * Required. The tag to add to the Universal Analytics property
      * 
* - * .google.analytics.admin.v1alpha.ConnectedSiteTag connected_site_tag = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.ConnectedSiteTag connected_site_tag = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The connectedSiteTag. */ public com.google.analytics.admin.v1alpha.ConnectedSiteTag getConnectedSiteTag() { if (connectedSiteTagBuilder_ == null) { - return connectedSiteTag_ == null ? com.google.analytics.admin.v1alpha.ConnectedSiteTag.getDefaultInstance() : connectedSiteTag_; + return connectedSiteTag_ == null + ? com.google.analytics.admin.v1alpha.ConnectedSiteTag.getDefaultInstance() + : connectedSiteTag_; } else { return connectedSiteTagBuilder_.getMessage(); } } /** + * + * *
      * Required. The tag to add to the Universal Analytics property
      * 
* - * .google.analytics.admin.v1alpha.ConnectedSiteTag connected_site_tag = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.ConnectedSiteTag connected_site_tag = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setConnectedSiteTag(com.google.analytics.admin.v1alpha.ConnectedSiteTag value) { if (connectedSiteTagBuilder_ == null) { @@ -657,11 +746,15 @@ public Builder setConnectedSiteTag(com.google.analytics.admin.v1alpha.ConnectedS return this; } /** + * + * *
      * Required. The tag to add to the Universal Analytics property
      * 
* - * .google.analytics.admin.v1alpha.ConnectedSiteTag connected_site_tag = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.ConnectedSiteTag connected_site_tag = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setConnectedSiteTag( com.google.analytics.admin.v1alpha.ConnectedSiteTag.Builder builderForValue) { @@ -675,17 +768,23 @@ public Builder setConnectedSiteTag( return this; } /** + * + * *
      * Required. The tag to add to the Universal Analytics property
      * 
* - * .google.analytics.admin.v1alpha.ConnectedSiteTag connected_site_tag = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.ConnectedSiteTag connected_site_tag = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder mergeConnectedSiteTag(com.google.analytics.admin.v1alpha.ConnectedSiteTag value) { + public Builder mergeConnectedSiteTag( + com.google.analytics.admin.v1alpha.ConnectedSiteTag value) { if (connectedSiteTagBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) && - connectedSiteTag_ != null && - connectedSiteTag_ != com.google.analytics.admin.v1alpha.ConnectedSiteTag.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) + && connectedSiteTag_ != null + && connectedSiteTag_ + != com.google.analytics.admin.v1alpha.ConnectedSiteTag.getDefaultInstance()) { getConnectedSiteTagBuilder().mergeFrom(value); } else { connectedSiteTag_ = value; @@ -698,11 +797,15 @@ public Builder mergeConnectedSiteTag(com.google.analytics.admin.v1alpha.Connecte return this; } /** + * + * *
      * Required. The tag to add to the Universal Analytics property
      * 
* - * .google.analytics.admin.v1alpha.ConnectedSiteTag connected_site_tag = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.ConnectedSiteTag connected_site_tag = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearConnectedSiteTag() { bitField0_ = (bitField0_ & ~0x00000002); @@ -715,55 +818,73 @@ public Builder clearConnectedSiteTag() { return this; } /** + * + * *
      * Required. The tag to add to the Universal Analytics property
      * 
* - * .google.analytics.admin.v1alpha.ConnectedSiteTag connected_site_tag = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.ConnectedSiteTag connected_site_tag = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.analytics.admin.v1alpha.ConnectedSiteTag.Builder getConnectedSiteTagBuilder() { + public com.google.analytics.admin.v1alpha.ConnectedSiteTag.Builder + getConnectedSiteTagBuilder() { bitField0_ |= 0x00000002; onChanged(); return getConnectedSiteTagFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The tag to add to the Universal Analytics property
      * 
* - * .google.analytics.admin.v1alpha.ConnectedSiteTag connected_site_tag = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.ConnectedSiteTag connected_site_tag = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.analytics.admin.v1alpha.ConnectedSiteTagOrBuilder getConnectedSiteTagOrBuilder() { + public com.google.analytics.admin.v1alpha.ConnectedSiteTagOrBuilder + getConnectedSiteTagOrBuilder() { if (connectedSiteTagBuilder_ != null) { return connectedSiteTagBuilder_.getMessageOrBuilder(); } else { - return connectedSiteTag_ == null ? - com.google.analytics.admin.v1alpha.ConnectedSiteTag.getDefaultInstance() : connectedSiteTag_; + return connectedSiteTag_ == null + ? com.google.analytics.admin.v1alpha.ConnectedSiteTag.getDefaultInstance() + : connectedSiteTag_; } } /** + * + * *
      * Required. The tag to add to the Universal Analytics property
      * 
* - * .google.analytics.admin.v1alpha.ConnectedSiteTag connected_site_tag = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.ConnectedSiteTag connected_site_tag = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.ConnectedSiteTag, com.google.analytics.admin.v1alpha.ConnectedSiteTag.Builder, com.google.analytics.admin.v1alpha.ConnectedSiteTagOrBuilder> + com.google.analytics.admin.v1alpha.ConnectedSiteTag, + com.google.analytics.admin.v1alpha.ConnectedSiteTag.Builder, + com.google.analytics.admin.v1alpha.ConnectedSiteTagOrBuilder> getConnectedSiteTagFieldBuilder() { if (connectedSiteTagBuilder_ == null) { - connectedSiteTagBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.ConnectedSiteTag, com.google.analytics.admin.v1alpha.ConnectedSiteTag.Builder, com.google.analytics.admin.v1alpha.ConnectedSiteTagOrBuilder>( - getConnectedSiteTag(), - getParentForChildren(), - isClean()); + connectedSiteTagBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1alpha.ConnectedSiteTag, + com.google.analytics.admin.v1alpha.ConnectedSiteTag.Builder, + com.google.analytics.admin.v1alpha.ConnectedSiteTagOrBuilder>( + getConnectedSiteTag(), getParentForChildren(), isClean()); connectedSiteTag_ = null; } return connectedSiteTagBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -773,41 +894,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.CreateConnectedSiteTagRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.CreateConnectedSiteTagRequest) - private static final com.google.analytics.admin.v1alpha.CreateConnectedSiteTagRequest DEFAULT_INSTANCE; + private static final com.google.analytics.admin.v1alpha.CreateConnectedSiteTagRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.CreateConnectedSiteTagRequest(); } - public static com.google.analytics.admin.v1alpha.CreateConnectedSiteTagRequest getDefaultInstance() { + public static com.google.analytics.admin.v1alpha.CreateConnectedSiteTagRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateConnectedSiteTagRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateConnectedSiteTagRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.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,9 +942,8 @@ public com.google.protobuf.Parser getParserForTyp } @java.lang.Override - public com.google.analytics.admin.v1alpha.CreateConnectedSiteTagRequest getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.CreateConnectedSiteTagRequest + 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/CreateConnectedSiteTagRequestOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateConnectedSiteTagRequestOrBuilder.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/CreateConnectedSiteTagRequestOrBuilder.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateConnectedSiteTagRequestOrBuilder.java index 3a520bbcefdc..7e120485131a 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateConnectedSiteTagRequestOrBuilder.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateConnectedSiteTagRequestOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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 CreateConnectedSiteTagRequestOrBuilder extends +public interface CreateConnectedSiteTagRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.CreateConnectedSiteTagRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The Universal Analytics property to create connected site tags for.
    * This API does not support GA4 properties.
@@ -16,10 +34,13 @@ public interface CreateConnectedSiteTagRequestOrBuilder extends
    * 
* * string property = 1; + * * @return The property. */ java.lang.String getProperty(); /** + * + * *
    * The Universal Analytics property to create connected site tags for.
    * This API does not support GA4 properties.
@@ -28,35 +49,49 @@ public interface CreateConnectedSiteTagRequestOrBuilder extends
    * 
* * string property = 1; + * * @return The bytes for property. */ - com.google.protobuf.ByteString - getPropertyBytes(); + com.google.protobuf.ByteString getPropertyBytes(); /** + * + * *
    * Required. The tag to add to the Universal Analytics property
    * 
* - * .google.analytics.admin.v1alpha.ConnectedSiteTag connected_site_tag = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.ConnectedSiteTag connected_site_tag = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the connectedSiteTag field is set. */ boolean hasConnectedSiteTag(); /** + * + * *
    * Required. The tag to add to the Universal Analytics property
    * 
* - * .google.analytics.admin.v1alpha.ConnectedSiteTag connected_site_tag = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.ConnectedSiteTag connected_site_tag = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The connectedSiteTag. */ com.google.analytics.admin.v1alpha.ConnectedSiteTag getConnectedSiteTag(); /** + * + * *
    * Required. The tag to add to the Universal Analytics property
    * 
* - * .google.analytics.admin.v1alpha.ConnectedSiteTag connected_site_tag = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.ConnectedSiteTag connected_site_tag = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.analytics.admin.v1alpha.ConnectedSiteTagOrBuilder getConnectedSiteTagOrBuilder(); } diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateConnectedSiteTagResponse.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateConnectedSiteTagResponse.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/CreateConnectedSiteTagResponse.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateConnectedSiteTagResponse.java index 642d33544317..4329375d1aa5 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateConnectedSiteTagResponse.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateConnectedSiteTagResponse.java @@ -1,48 +1,68 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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 CreateConnectedSiteTag RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.CreateConnectedSiteTagResponse} */ -public final class CreateConnectedSiteTagResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CreateConnectedSiteTagResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.CreateConnectedSiteTagResponse) CreateConnectedSiteTagResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CreateConnectedSiteTagResponse.newBuilder() to construct. - private CreateConnectedSiteTagResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private CreateConnectedSiteTagResponse( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CreateConnectedSiteTagResponse() { - } + + private CreateConnectedSiteTagResponse() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CreateConnectedSiteTagResponse(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_CreateConnectedSiteTagResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_CreateConnectedSiteTagResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_CreateConnectedSiteTagResponse_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_CreateConnectedSiteTagResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.CreateConnectedSiteTagResponse.class, com.google.analytics.admin.v1alpha.CreateConnectedSiteTagResponse.Builder.class); + com.google.analytics.admin.v1alpha.CreateConnectedSiteTagResponse.class, + com.google.analytics.admin.v1alpha.CreateConnectedSiteTagResponse.Builder.class); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -54,8 +74,7 @@ public final boolean isInitialized() { } @java.lang.Override - 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); } @@ -73,12 +92,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.v1alpha.CreateConnectedSiteTagResponse)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.CreateConnectedSiteTagResponse other = (com.google.analytics.admin.v1alpha.CreateConnectedSiteTagResponse) obj; + com.google.analytics.admin.v1alpha.CreateConnectedSiteTagResponse other = + (com.google.analytics.admin.v1alpha.CreateConnectedSiteTagResponse) obj; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -97,131 +117,138 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.CreateConnectedSiteTagResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.CreateConnectedSiteTagResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.CreateConnectedSiteTagResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.CreateConnectedSiteTagResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.CreateConnectedSiteTagResponse parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.analytics.admin.v1alpha.CreateConnectedSiteTagResponse parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.CreateConnectedSiteTagResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.CreateConnectedSiteTagResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.CreateConnectedSiteTagResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.CreateConnectedSiteTagResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.CreateConnectedSiteTagResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.CreateConnectedSiteTagResponse + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.CreateConnectedSiteTagResponse parseDelimitedFrom( - java.io.InputStream input, - 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.CreateConnectedSiteTagResponse + parseDelimitedFrom( + java.io.InputStream input, 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.CreateConnectedSiteTagResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.CreateConnectedSiteTagResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1alpha.CreateConnectedSiteTagResponse prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1alpha.CreateConnectedSiteTagResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 CreateConnectedSiteTag RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.CreateConnectedSiteTagResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.CreateConnectedSiteTagResponse) com.google.analytics.admin.v1alpha.CreateConnectedSiteTagResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_CreateConnectedSiteTagResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_CreateConnectedSiteTagResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_CreateConnectedSiteTagResponse_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_CreateConnectedSiteTagResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.CreateConnectedSiteTagResponse.class, com.google.analytics.admin.v1alpha.CreateConnectedSiteTagResponse.Builder.class); + com.google.analytics.admin.v1alpha.CreateConnectedSiteTagResponse.class, + com.google.analytics.admin.v1alpha.CreateConnectedSiteTagResponse.Builder.class); } - // Construct using com.google.analytics.admin.v1alpha.CreateConnectedSiteTagResponse.newBuilder() - private Builder() { - - } + // Construct using + // com.google.analytics.admin.v1alpha.CreateConnectedSiteTagResponse.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(); @@ -229,13 +256,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_CreateConnectedSiteTagResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_CreateConnectedSiteTagResponse_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.CreateConnectedSiteTagResponse getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.CreateConnectedSiteTagResponse + getDefaultInstanceForType() { return com.google.analytics.admin.v1alpha.CreateConnectedSiteTagResponse.getDefaultInstance(); } @@ -250,7 +278,8 @@ public com.google.analytics.admin.v1alpha.CreateConnectedSiteTagResponse build() @java.lang.Override public com.google.analytics.admin.v1alpha.CreateConnectedSiteTagResponse buildPartial() { - com.google.analytics.admin.v1alpha.CreateConnectedSiteTagResponse result = new com.google.analytics.admin.v1alpha.CreateConnectedSiteTagResponse(this); + com.google.analytics.admin.v1alpha.CreateConnectedSiteTagResponse result = + new com.google.analytics.admin.v1alpha.CreateConnectedSiteTagResponse(this); onBuilt(); return result; } @@ -259,46 +288,50 @@ public com.google.analytics.admin.v1alpha.CreateConnectedSiteTagResponse buildPa public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.analytics.admin.v1alpha.CreateConnectedSiteTagResponse) { - return mergeFrom((com.google.analytics.admin.v1alpha.CreateConnectedSiteTagResponse)other); + return mergeFrom((com.google.analytics.admin.v1alpha.CreateConnectedSiteTagResponse) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.analytics.admin.v1alpha.CreateConnectedSiteTagResponse other) { - if (other == com.google.analytics.admin.v1alpha.CreateConnectedSiteTagResponse.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.analytics.admin.v1alpha.CreateConnectedSiteTagResponse other) { + if (other + == com.google.analytics.admin.v1alpha.CreateConnectedSiteTagResponse.getDefaultInstance()) + return this; this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; @@ -325,12 +358,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) { @@ -340,9 +374,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); } @@ -352,41 +386,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.CreateConnectedSiteTagResponse) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.CreateConnectedSiteTagResponse) - private static final com.google.analytics.admin.v1alpha.CreateConnectedSiteTagResponse DEFAULT_INSTANCE; + private static final com.google.analytics.admin.v1alpha.CreateConnectedSiteTagResponse + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.CreateConnectedSiteTagResponse(); } - public static com.google.analytics.admin.v1alpha.CreateConnectedSiteTagResponse getDefaultInstance() { + public static com.google.analytics.admin.v1alpha.CreateConnectedSiteTagResponse + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateConnectedSiteTagResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateConnectedSiteTagResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -398,9 +434,8 @@ public com.google.protobuf.Parser getParserForTy } @java.lang.Override - public com.google.analytics.admin.v1alpha.CreateConnectedSiteTagResponse getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.CreateConnectedSiteTagResponse + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateConnectedSiteTagResponseOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateConnectedSiteTagResponseOrBuilder.java new file mode 100644 index 000000000000..eaa18a646acf --- /dev/null +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateConnectedSiteTagResponseOrBuilder.java @@ -0,0 +1,24 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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 CreateConnectedSiteTagResponseOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.CreateConnectedSiteTagResponse) + 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/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 08d37fce28b9..50f4b83a1e2e 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,56 +1,80 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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(); } - 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 @@ -58,39 +82,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 @@ -99,30 +142,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 { @@ -131,6 +176,7 @@ public java.lang.String getParent() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -142,8 +188,7 @@ public final boolean isInitialized() { } @java.lang.Override - public 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()); } @@ -160,8 +205,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_); @@ -174,20 +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.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; } @@ -211,131 +254,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(); @@ -350,13 +398,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(); } @@ -371,18 +420,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_; @@ -393,46 +445,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()); } @@ -467,24 +523,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) { @@ -494,43 +551,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) { @@ -546,11 +623,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) { @@ -564,17 +645,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; @@ -587,11 +673,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); @@ -604,11 +694,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; @@ -616,36 +710,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_; @@ -653,19 +760,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; @@ -674,21 +785,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 { @@ -696,30 +810,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() { @@ -729,27 +854,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); } @@ -759,41 +890,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; @@ -805,9 +938,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..6f39ac9e90cf --- /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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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 68604751ba90..c5bf0c48d9db 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,57 +1,82 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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(); } - 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 @@ -60,29 +85,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 { @@ -93,11 +120,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 @@ -105,30 +137,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; @@ -140,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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -161,8 +206,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; @@ -172,19 +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.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; @@ -209,131 +252,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(); @@ -348,13 +396,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(); } @@ -369,21 +418,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(); } } @@ -391,46 +443,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; @@ -465,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( - 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) { @@ -492,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; @@ -516,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 { @@ -537,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() { @@ -568,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; @@ -588,39 +670,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) { @@ -636,11 +737,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) { @@ -654,17 +759,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; @@ -677,11 +787,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); @@ -694,11 +808,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; @@ -706,43 +824,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); } @@ -752,41 +883,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; @@ -798,9 +931,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..1048a0641bc8 --- /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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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 0b39c6356b5c..1d941c3a41d6 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,57 +1,82 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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(); } - 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 @@ -60,29 +85,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 { @@ -93,11 +120,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 @@ -105,30 +137,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; @@ -140,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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -161,8 +206,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; @@ -172,19 +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.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; @@ -209,131 +252,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(); @@ -348,13 +396,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(); } @@ -369,21 +418,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(); } } @@ -391,38 +443,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; @@ -430,7 +483,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; @@ -465,24 +520,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) { @@ -492,22 +548,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; @@ -516,20 +577,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 { @@ -537,28 +601,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() { @@ -568,17 +643,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; @@ -588,39 +669,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) { @@ -636,11 +736,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) { @@ -654,17 +758,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; @@ -677,11 +786,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); @@ -694,11 +807,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; @@ -706,43 +823,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); } @@ -752,12 +881,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(); } @@ -766,27 +896,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; @@ -801,6 +931,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..a1a04968fb59 --- /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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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 db0445b444ca..70384c537d90 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,57 +1,82 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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(); } - 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 @@ -60,29 +85,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 { @@ -93,11 +120,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 @@ -105,30 +137,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; @@ -140,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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -161,8 +206,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; @@ -172,19 +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.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; @@ -209,131 +252,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(); @@ -348,9 +396,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 @@ -369,8 +417,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; } @@ -381,9 +432,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(); } } @@ -391,38 +440,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; @@ -430,7 +480,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; @@ -465,24 +516,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) { @@ -492,22 +544,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; @@ -516,20 +573,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 { @@ -537,28 +597,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() { @@ -568,17 +639,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; @@ -588,39 +665,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) { @@ -636,11 +732,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) { @@ -654,17 +754,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; @@ -677,11 +781,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); @@ -694,11 +802,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; @@ -706,43 +818,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); } @@ -752,12 +876,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(); } @@ -766,27 +890,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; @@ -801,6 +925,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..40ed00b75415 --- /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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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..d20bd3a0113f --- /dev/null +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateDisplayVideo360AdvertiserLinkProposalRequest.java @@ -0,0 +1,1012 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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(); + } + + 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..3ef7e59ba265 --- /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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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 102b1478a168..3a21680914ad 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,57 +1,85 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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(); } - 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 @@ -60,29 +88,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 { @@ -91,13 +121,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 @@ -105,30 +141,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; @@ -140,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_); } @@ -161,8 +212,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; @@ -172,19 +224,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; @@ -208,132 +262,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) 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 + 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) 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 + parseDelimitedFrom( + java.io.InputStream input, 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) 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( + 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(); @@ -348,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_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); } @@ -368,22 +438,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(); } } @@ -391,46 +467,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; @@ -465,24 +548,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) { @@ -492,22 +577,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; @@ -516,20 +606,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 { @@ -537,28 +630,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() { @@ -568,17 +672,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; @@ -586,43 +696,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(); @@ -636,11 +768,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) { @@ -654,17 +790,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; @@ -677,11 +820,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); @@ -694,55 +841,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); } @@ -752,41 +917,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; @@ -798,9 +968,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..9e8dbdb14636 --- /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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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/CreateEventCreateRuleRequest.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateEventCreateRuleRequest.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/CreateEventCreateRuleRequest.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateEventCreateRuleRequest.java index 0f7600405b34..b245ff783075 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateEventCreateRuleRequest.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateEventCreateRuleRequest.java @@ -1,57 +1,82 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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 CreateEventCreateRule RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.CreateEventCreateRuleRequest} */ -public final class CreateEventCreateRuleRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CreateEventCreateRuleRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.CreateEventCreateRuleRequest) CreateEventCreateRuleRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CreateEventCreateRuleRequest.newBuilder() to construct. private CreateEventCreateRuleRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CreateEventCreateRuleRequest() { parent_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CreateEventCreateRuleRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_CreateEventCreateRuleRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_CreateEventCreateRuleRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_CreateEventCreateRuleRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_CreateEventCreateRuleRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.CreateEventCreateRuleRequest.class, com.google.analytics.admin.v1alpha.CreateEventCreateRuleRequest.Builder.class); + com.google.analytics.admin.v1alpha.CreateEventCreateRuleRequest.class, + com.google.analytics.admin.v1alpha.CreateEventCreateRuleRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** + * + * *
    * Required. Example format: properties/123/dataStreams/456
    * 
* - * string parent = 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 @@ -60,29 +85,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/123/dataStreams/456
    * 
* - * string parent = 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 { @@ -93,11 +120,16 @@ public java.lang.String getParent() { public static final int EVENT_CREATE_RULE_FIELD_NUMBER = 2; private com.google.analytics.admin.v1alpha.EventCreateRule eventCreateRule_; /** + * + * *
    * Required. The EventCreateRule to create.
    * 
* - * .google.analytics.admin.v1alpha.EventCreateRule event_create_rule = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.EventCreateRule event_create_rule = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the eventCreateRule field is set. */ @java.lang.Override @@ -105,30 +137,44 @@ public boolean hasEventCreateRule() { return eventCreateRule_ != null; } /** + * + * *
    * Required. The EventCreateRule to create.
    * 
* - * .google.analytics.admin.v1alpha.EventCreateRule event_create_rule = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.EventCreateRule event_create_rule = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The eventCreateRule. */ @java.lang.Override public com.google.analytics.admin.v1alpha.EventCreateRule getEventCreateRule() { - return eventCreateRule_ == null ? com.google.analytics.admin.v1alpha.EventCreateRule.getDefaultInstance() : eventCreateRule_; + return eventCreateRule_ == null + ? com.google.analytics.admin.v1alpha.EventCreateRule.getDefaultInstance() + : eventCreateRule_; } /** + * + * *
    * Required. The EventCreateRule to create.
    * 
* - * .google.analytics.admin.v1alpha.EventCreateRule event_create_rule = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.EventCreateRule event_create_rule = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.analytics.admin.v1alpha.EventCreateRuleOrBuilder getEventCreateRuleOrBuilder() { - return eventCreateRule_ == null ? com.google.analytics.admin.v1alpha.EventCreateRule.getDefaultInstance() : eventCreateRule_; + return eventCreateRule_ == null + ? com.google.analytics.admin.v1alpha.EventCreateRule.getDefaultInstance() + : eventCreateRule_; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -140,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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -161,8 +206,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (eventCreateRule_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getEventCreateRule()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getEventCreateRule()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -172,19 +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.CreateEventCreateRuleRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.CreateEventCreateRuleRequest other = (com.google.analytics.admin.v1alpha.CreateEventCreateRuleRequest) obj; + com.google.analytics.admin.v1alpha.CreateEventCreateRuleRequest other = + (com.google.analytics.admin.v1alpha.CreateEventCreateRuleRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; + if (!getParent().equals(other.getParent())) return false; if (hasEventCreateRule() != other.hasEventCreateRule()) return false; if (hasEventCreateRule()) { - if (!getEventCreateRule() - .equals(other.getEventCreateRule())) return false; + if (!getEventCreateRule().equals(other.getEventCreateRule())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -209,131 +252,136 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.CreateEventCreateRuleRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.CreateEventCreateRuleRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.CreateEventCreateRuleRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.CreateEventCreateRuleRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.CreateEventCreateRuleRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.analytics.admin.v1alpha.CreateEventCreateRuleRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.CreateEventCreateRuleRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.CreateEventCreateRuleRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.CreateEventCreateRuleRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.CreateEventCreateRuleRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.CreateEventCreateRuleRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.CreateEventCreateRuleRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.analytics.admin.v1alpha.CreateEventCreateRuleRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.CreateEventCreateRuleRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.CreateEventCreateRuleRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1alpha.CreateEventCreateRuleRequest prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1alpha.CreateEventCreateRuleRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder 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 CreateEventCreateRule RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.CreateEventCreateRuleRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.CreateEventCreateRuleRequest) com.google.analytics.admin.v1alpha.CreateEventCreateRuleRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_CreateEventCreateRuleRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_CreateEventCreateRuleRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_CreateEventCreateRuleRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_CreateEventCreateRuleRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.CreateEventCreateRuleRequest.class, com.google.analytics.admin.v1alpha.CreateEventCreateRuleRequest.Builder.class); + com.google.analytics.admin.v1alpha.CreateEventCreateRuleRequest.class, + com.google.analytics.admin.v1alpha.CreateEventCreateRuleRequest.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.CreateEventCreateRuleRequest.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(); @@ -348,13 +396,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_CreateEventCreateRuleRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_CreateEventCreateRuleRequest_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.CreateEventCreateRuleRequest getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.CreateEventCreateRuleRequest + getDefaultInstanceForType() { return com.google.analytics.admin.v1alpha.CreateEventCreateRuleRequest.getDefaultInstance(); } @@ -369,21 +418,24 @@ public com.google.analytics.admin.v1alpha.CreateEventCreateRuleRequest build() { @java.lang.Override public com.google.analytics.admin.v1alpha.CreateEventCreateRuleRequest buildPartial() { - com.google.analytics.admin.v1alpha.CreateEventCreateRuleRequest result = new com.google.analytics.admin.v1alpha.CreateEventCreateRuleRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.analytics.admin.v1alpha.CreateEventCreateRuleRequest result = + new com.google.analytics.admin.v1alpha.CreateEventCreateRuleRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.analytics.admin.v1alpha.CreateEventCreateRuleRequest result) { + private void buildPartial0( + com.google.analytics.admin.v1alpha.CreateEventCreateRuleRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.parent_ = parent_; } if (((from_bitField0_ & 0x00000002) != 0)) { - result.eventCreateRule_ = eventCreateRuleBuilder_ == null - ? eventCreateRule_ - : eventCreateRuleBuilder_.build(); + result.eventCreateRule_ = + eventCreateRuleBuilder_ == null ? eventCreateRule_ : eventCreateRuleBuilder_.build(); } } @@ -391,46 +443,50 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.CreateEventCreateR public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.analytics.admin.v1alpha.CreateEventCreateRuleRequest) { - return mergeFrom((com.google.analytics.admin.v1alpha.CreateEventCreateRuleRequest)other); + return mergeFrom((com.google.analytics.admin.v1alpha.CreateEventCreateRuleRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.analytics.admin.v1alpha.CreateEventCreateRuleRequest other) { - if (other == com.google.analytics.admin.v1alpha.CreateEventCreateRuleRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.analytics.admin.v1alpha.CreateEventCreateRuleRequest other) { + if (other + == com.google.analytics.admin.v1alpha.CreateEventCreateRuleRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -465,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( - getEventCreateRuleFieldBuilder().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(getEventCreateRuleFieldBuilder().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) { @@ -492,22 +549,27 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object parent_ = ""; /** + * + * *
      * Required. Example format: properties/123/dataStreams/456
      * 
* - * string parent = 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; @@ -516,20 +578,23 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. Example format: properties/123/dataStreams/456
      * 
* - * string parent = 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 { @@ -537,28 +602,39 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. Example format: properties/123/dataStreams/456
      * 
* - * 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/123/dataStreams/456
      * 
* - * string 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() { @@ -568,17 +644,23 @@ public Builder clearParent() { return this; } /** + * + * *
      * Required. Example format: properties/123/dataStreams/456
      * 
* - * 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; @@ -588,39 +670,58 @@ public Builder setParentBytes( private com.google.analytics.admin.v1alpha.EventCreateRule eventCreateRule_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.EventCreateRule, com.google.analytics.admin.v1alpha.EventCreateRule.Builder, com.google.analytics.admin.v1alpha.EventCreateRuleOrBuilder> eventCreateRuleBuilder_; + com.google.analytics.admin.v1alpha.EventCreateRule, + com.google.analytics.admin.v1alpha.EventCreateRule.Builder, + com.google.analytics.admin.v1alpha.EventCreateRuleOrBuilder> + eventCreateRuleBuilder_; /** + * + * *
      * Required. The EventCreateRule to create.
      * 
* - * .google.analytics.admin.v1alpha.EventCreateRule event_create_rule = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.EventCreateRule event_create_rule = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the eventCreateRule field is set. */ public boolean hasEventCreateRule() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * Required. The EventCreateRule to create.
      * 
* - * .google.analytics.admin.v1alpha.EventCreateRule event_create_rule = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.EventCreateRule event_create_rule = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The eventCreateRule. */ public com.google.analytics.admin.v1alpha.EventCreateRule getEventCreateRule() { if (eventCreateRuleBuilder_ == null) { - return eventCreateRule_ == null ? com.google.analytics.admin.v1alpha.EventCreateRule.getDefaultInstance() : eventCreateRule_; + return eventCreateRule_ == null + ? com.google.analytics.admin.v1alpha.EventCreateRule.getDefaultInstance() + : eventCreateRule_; } else { return eventCreateRuleBuilder_.getMessage(); } } /** + * + * *
      * Required. The EventCreateRule to create.
      * 
* - * .google.analytics.admin.v1alpha.EventCreateRule event_create_rule = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.EventCreateRule event_create_rule = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setEventCreateRule(com.google.analytics.admin.v1alpha.EventCreateRule value) { if (eventCreateRuleBuilder_ == null) { @@ -636,11 +737,15 @@ public Builder setEventCreateRule(com.google.analytics.admin.v1alpha.EventCreate return this; } /** + * + * *
      * Required. The EventCreateRule to create.
      * 
* - * .google.analytics.admin.v1alpha.EventCreateRule event_create_rule = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.EventCreateRule event_create_rule = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setEventCreateRule( com.google.analytics.admin.v1alpha.EventCreateRule.Builder builderForValue) { @@ -654,17 +759,22 @@ public Builder setEventCreateRule( return this; } /** + * + * *
      * Required. The EventCreateRule to create.
      * 
* - * .google.analytics.admin.v1alpha.EventCreateRule event_create_rule = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.EventCreateRule event_create_rule = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeEventCreateRule(com.google.analytics.admin.v1alpha.EventCreateRule value) { if (eventCreateRuleBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) && - eventCreateRule_ != null && - eventCreateRule_ != com.google.analytics.admin.v1alpha.EventCreateRule.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) + && eventCreateRule_ != null + && eventCreateRule_ + != com.google.analytics.admin.v1alpha.EventCreateRule.getDefaultInstance()) { getEventCreateRuleBuilder().mergeFrom(value); } else { eventCreateRule_ = value; @@ -677,11 +787,15 @@ public Builder mergeEventCreateRule(com.google.analytics.admin.v1alpha.EventCrea return this; } /** + * + * *
      * Required. The EventCreateRule to create.
      * 
* - * .google.analytics.admin.v1alpha.EventCreateRule event_create_rule = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.EventCreateRule event_create_rule = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearEventCreateRule() { bitField0_ = (bitField0_ & ~0x00000002); @@ -694,11 +808,15 @@ public Builder clearEventCreateRule() { return this; } /** + * + * *
      * Required. The EventCreateRule to create.
      * 
* - * .google.analytics.admin.v1alpha.EventCreateRule event_create_rule = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.EventCreateRule event_create_rule = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.analytics.admin.v1alpha.EventCreateRule.Builder getEventCreateRuleBuilder() { bitField0_ |= 0x00000002; @@ -706,43 +824,56 @@ public com.google.analytics.admin.v1alpha.EventCreateRule.Builder getEventCreate return getEventCreateRuleFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The EventCreateRule to create.
      * 
* - * .google.analytics.admin.v1alpha.EventCreateRule event_create_rule = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.EventCreateRule event_create_rule = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.analytics.admin.v1alpha.EventCreateRuleOrBuilder getEventCreateRuleOrBuilder() { + public com.google.analytics.admin.v1alpha.EventCreateRuleOrBuilder + getEventCreateRuleOrBuilder() { if (eventCreateRuleBuilder_ != null) { return eventCreateRuleBuilder_.getMessageOrBuilder(); } else { - return eventCreateRule_ == null ? - com.google.analytics.admin.v1alpha.EventCreateRule.getDefaultInstance() : eventCreateRule_; + return eventCreateRule_ == null + ? com.google.analytics.admin.v1alpha.EventCreateRule.getDefaultInstance() + : eventCreateRule_; } } /** + * + * *
      * Required. The EventCreateRule to create.
      * 
* - * .google.analytics.admin.v1alpha.EventCreateRule event_create_rule = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.EventCreateRule event_create_rule = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.EventCreateRule, com.google.analytics.admin.v1alpha.EventCreateRule.Builder, com.google.analytics.admin.v1alpha.EventCreateRuleOrBuilder> + com.google.analytics.admin.v1alpha.EventCreateRule, + com.google.analytics.admin.v1alpha.EventCreateRule.Builder, + com.google.analytics.admin.v1alpha.EventCreateRuleOrBuilder> getEventCreateRuleFieldBuilder() { if (eventCreateRuleBuilder_ == null) { - eventCreateRuleBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.EventCreateRule, com.google.analytics.admin.v1alpha.EventCreateRule.Builder, com.google.analytics.admin.v1alpha.EventCreateRuleOrBuilder>( - getEventCreateRule(), - getParentForChildren(), - isClean()); + eventCreateRuleBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1alpha.EventCreateRule, + com.google.analytics.admin.v1alpha.EventCreateRule.Builder, + com.google.analytics.admin.v1alpha.EventCreateRuleOrBuilder>( + getEventCreateRule(), getParentForChildren(), isClean()); eventCreateRule_ = null; } return eventCreateRuleBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -752,41 +883,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.CreateEventCreateRuleRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.CreateEventCreateRuleRequest) - private static final com.google.analytics.admin.v1alpha.CreateEventCreateRuleRequest DEFAULT_INSTANCE; + private static final com.google.analytics.admin.v1alpha.CreateEventCreateRuleRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.CreateEventCreateRuleRequest(); } - public static com.google.analytics.admin.v1alpha.CreateEventCreateRuleRequest getDefaultInstance() { + public static com.google.analytics.admin.v1alpha.CreateEventCreateRuleRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateEventCreateRuleRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateEventCreateRuleRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -798,9 +931,8 @@ public com.google.protobuf.Parser getParserForType } @java.lang.Override - public com.google.analytics.admin.v1alpha.CreateEventCreateRuleRequest getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.CreateEventCreateRuleRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateEventCreateRuleRequestOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateEventCreateRuleRequestOrBuilder.java new file mode 100644 index 000000000000..f05955e283f8 --- /dev/null +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateEventCreateRuleRequestOrBuilder.java @@ -0,0 +1,95 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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 CreateEventCreateRuleRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.CreateEventCreateRuleRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. Example format: properties/123/dataStreams/456
+   * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The parent. + */ + java.lang.String getParent(); + /** + * + * + *
+   * Required. Example format: properties/123/dataStreams/456
+   * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for parent. + */ + com.google.protobuf.ByteString getParentBytes(); + + /** + * + * + *
+   * Required. The EventCreateRule to create.
+   * 
+ * + * + * .google.analytics.admin.v1alpha.EventCreateRule event_create_rule = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return Whether the eventCreateRule field is set. + */ + boolean hasEventCreateRule(); + /** + * + * + *
+   * Required. The EventCreateRule to create.
+   * 
+ * + * + * .google.analytics.admin.v1alpha.EventCreateRule event_create_rule = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The eventCreateRule. + */ + com.google.analytics.admin.v1alpha.EventCreateRule getEventCreateRule(); + /** + * + * + *
+   * Required. The EventCreateRule to create.
+   * 
+ * + * + * .google.analytics.admin.v1alpha.EventCreateRule event_create_rule = 2 [(.google.api.field_behavior) = REQUIRED]; + * + */ + com.google.analytics.admin.v1alpha.EventCreateRuleOrBuilder getEventCreateRuleOrBuilder(); +} diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateExpandedDataSetRequest.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateExpandedDataSetRequest.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/CreateExpandedDataSetRequest.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateExpandedDataSetRequest.java index d9a139f638db..da4d152e2299 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateExpandedDataSetRequest.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateExpandedDataSetRequest.java @@ -1,57 +1,82 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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 CreateExpandedDataSet RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.CreateExpandedDataSetRequest} */ -public final class CreateExpandedDataSetRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CreateExpandedDataSetRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.CreateExpandedDataSetRequest) CreateExpandedDataSetRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CreateExpandedDataSetRequest.newBuilder() to construct. private CreateExpandedDataSetRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CreateExpandedDataSetRequest() { parent_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CreateExpandedDataSetRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_CreateExpandedDataSetRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_CreateExpandedDataSetRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_CreateExpandedDataSetRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_CreateExpandedDataSetRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.CreateExpandedDataSetRequest.class, com.google.analytics.admin.v1alpha.CreateExpandedDataSetRequest.Builder.class); + com.google.analytics.admin.v1alpha.CreateExpandedDataSetRequest.class, + com.google.analytics.admin.v1alpha.CreateExpandedDataSetRequest.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 @@ -60,29 +85,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 { @@ -93,11 +120,16 @@ public java.lang.String getParent() { public static final int EXPANDED_DATA_SET_FIELD_NUMBER = 2; private com.google.analytics.admin.v1alpha.ExpandedDataSet expandedDataSet_; /** + * + * *
    * Required. The ExpandedDataSet to create.
    * 
* - * .google.analytics.admin.v1alpha.ExpandedDataSet expanded_data_set = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.ExpandedDataSet expanded_data_set = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the expandedDataSet field is set. */ @java.lang.Override @@ -105,30 +137,44 @@ public boolean hasExpandedDataSet() { return expandedDataSet_ != null; } /** + * + * *
    * Required. The ExpandedDataSet to create.
    * 
* - * .google.analytics.admin.v1alpha.ExpandedDataSet expanded_data_set = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.ExpandedDataSet expanded_data_set = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The expandedDataSet. */ @java.lang.Override public com.google.analytics.admin.v1alpha.ExpandedDataSet getExpandedDataSet() { - return expandedDataSet_ == null ? com.google.analytics.admin.v1alpha.ExpandedDataSet.getDefaultInstance() : expandedDataSet_; + return expandedDataSet_ == null + ? com.google.analytics.admin.v1alpha.ExpandedDataSet.getDefaultInstance() + : expandedDataSet_; } /** + * + * *
    * Required. The ExpandedDataSet to create.
    * 
* - * .google.analytics.admin.v1alpha.ExpandedDataSet expanded_data_set = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.ExpandedDataSet expanded_data_set = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.analytics.admin.v1alpha.ExpandedDataSetOrBuilder getExpandedDataSetOrBuilder() { - return expandedDataSet_ == null ? com.google.analytics.admin.v1alpha.ExpandedDataSet.getDefaultInstance() : expandedDataSet_; + return expandedDataSet_ == null + ? com.google.analytics.admin.v1alpha.ExpandedDataSet.getDefaultInstance() + : expandedDataSet_; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -140,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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -161,8 +206,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (expandedDataSet_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getExpandedDataSet()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getExpandedDataSet()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -172,19 +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.CreateExpandedDataSetRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.CreateExpandedDataSetRequest other = (com.google.analytics.admin.v1alpha.CreateExpandedDataSetRequest) obj; + com.google.analytics.admin.v1alpha.CreateExpandedDataSetRequest other = + (com.google.analytics.admin.v1alpha.CreateExpandedDataSetRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; + if (!getParent().equals(other.getParent())) return false; if (hasExpandedDataSet() != other.hasExpandedDataSet()) return false; if (hasExpandedDataSet()) { - if (!getExpandedDataSet() - .equals(other.getExpandedDataSet())) return false; + if (!getExpandedDataSet().equals(other.getExpandedDataSet())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -209,131 +252,136 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.CreateExpandedDataSetRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.CreateExpandedDataSetRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.CreateExpandedDataSetRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.CreateExpandedDataSetRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.CreateExpandedDataSetRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.analytics.admin.v1alpha.CreateExpandedDataSetRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.CreateExpandedDataSetRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.CreateExpandedDataSetRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.CreateExpandedDataSetRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.CreateExpandedDataSetRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.CreateExpandedDataSetRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.CreateExpandedDataSetRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.analytics.admin.v1alpha.CreateExpandedDataSetRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.CreateExpandedDataSetRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.CreateExpandedDataSetRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1alpha.CreateExpandedDataSetRequest prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1alpha.CreateExpandedDataSetRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder 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 CreateExpandedDataSet RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.CreateExpandedDataSetRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.CreateExpandedDataSetRequest) com.google.analytics.admin.v1alpha.CreateExpandedDataSetRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_CreateExpandedDataSetRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_CreateExpandedDataSetRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_CreateExpandedDataSetRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_CreateExpandedDataSetRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.CreateExpandedDataSetRequest.class, com.google.analytics.admin.v1alpha.CreateExpandedDataSetRequest.Builder.class); + com.google.analytics.admin.v1alpha.CreateExpandedDataSetRequest.class, + com.google.analytics.admin.v1alpha.CreateExpandedDataSetRequest.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.CreateExpandedDataSetRequest.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(); @@ -348,13 +396,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_CreateExpandedDataSetRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_CreateExpandedDataSetRequest_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.CreateExpandedDataSetRequest getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.CreateExpandedDataSetRequest + getDefaultInstanceForType() { return com.google.analytics.admin.v1alpha.CreateExpandedDataSetRequest.getDefaultInstance(); } @@ -369,21 +418,24 @@ public com.google.analytics.admin.v1alpha.CreateExpandedDataSetRequest build() { @java.lang.Override public com.google.analytics.admin.v1alpha.CreateExpandedDataSetRequest buildPartial() { - com.google.analytics.admin.v1alpha.CreateExpandedDataSetRequest result = new com.google.analytics.admin.v1alpha.CreateExpandedDataSetRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.analytics.admin.v1alpha.CreateExpandedDataSetRequest result = + new com.google.analytics.admin.v1alpha.CreateExpandedDataSetRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.analytics.admin.v1alpha.CreateExpandedDataSetRequest result) { + private void buildPartial0( + com.google.analytics.admin.v1alpha.CreateExpandedDataSetRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.parent_ = parent_; } if (((from_bitField0_ & 0x00000002) != 0)) { - result.expandedDataSet_ = expandedDataSetBuilder_ == null - ? expandedDataSet_ - : expandedDataSetBuilder_.build(); + result.expandedDataSet_ = + expandedDataSetBuilder_ == null ? expandedDataSet_ : expandedDataSetBuilder_.build(); } } @@ -391,46 +443,50 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.CreateExpandedData public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.analytics.admin.v1alpha.CreateExpandedDataSetRequest) { - return mergeFrom((com.google.analytics.admin.v1alpha.CreateExpandedDataSetRequest)other); + return mergeFrom((com.google.analytics.admin.v1alpha.CreateExpandedDataSetRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.analytics.admin.v1alpha.CreateExpandedDataSetRequest other) { - if (other == com.google.analytics.admin.v1alpha.CreateExpandedDataSetRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.analytics.admin.v1alpha.CreateExpandedDataSetRequest other) { + if (other + == com.google.analytics.admin.v1alpha.CreateExpandedDataSetRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -465,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( - getExpandedDataSetFieldBuilder().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(getExpandedDataSetFieldBuilder().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) { @@ -492,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; @@ -516,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 { @@ -537,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() { @@ -568,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; @@ -588,39 +670,58 @@ public Builder setParentBytes( private com.google.analytics.admin.v1alpha.ExpandedDataSet expandedDataSet_; 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_; /** + * + * *
      * Required. The ExpandedDataSet to create.
      * 
* - * .google.analytics.admin.v1alpha.ExpandedDataSet expanded_data_set = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.ExpandedDataSet expanded_data_set = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the expandedDataSet field is set. */ public boolean hasExpandedDataSet() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * Required. The ExpandedDataSet to create.
      * 
* - * .google.analytics.admin.v1alpha.ExpandedDataSet expanded_data_set = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.ExpandedDataSet expanded_data_set = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The expandedDataSet. */ public com.google.analytics.admin.v1alpha.ExpandedDataSet getExpandedDataSet() { if (expandedDataSetBuilder_ == null) { - return expandedDataSet_ == null ? com.google.analytics.admin.v1alpha.ExpandedDataSet.getDefaultInstance() : expandedDataSet_; + return expandedDataSet_ == null + ? com.google.analytics.admin.v1alpha.ExpandedDataSet.getDefaultInstance() + : expandedDataSet_; } else { return expandedDataSetBuilder_.getMessage(); } } /** + * + * *
      * Required. The ExpandedDataSet to create.
      * 
* - * .google.analytics.admin.v1alpha.ExpandedDataSet expanded_data_set = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.ExpandedDataSet expanded_data_set = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setExpandedDataSet(com.google.analytics.admin.v1alpha.ExpandedDataSet value) { if (expandedDataSetBuilder_ == null) { @@ -636,11 +737,15 @@ public Builder setExpandedDataSet(com.google.analytics.admin.v1alpha.ExpandedDat return this; } /** + * + * *
      * Required. The ExpandedDataSet to create.
      * 
* - * .google.analytics.admin.v1alpha.ExpandedDataSet expanded_data_set = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.ExpandedDataSet expanded_data_set = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setExpandedDataSet( com.google.analytics.admin.v1alpha.ExpandedDataSet.Builder builderForValue) { @@ -654,17 +759,22 @@ public Builder setExpandedDataSet( return this; } /** + * + * *
      * Required. The ExpandedDataSet to create.
      * 
* - * .google.analytics.admin.v1alpha.ExpandedDataSet expanded_data_set = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.ExpandedDataSet expanded_data_set = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeExpandedDataSet(com.google.analytics.admin.v1alpha.ExpandedDataSet value) { if (expandedDataSetBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) && - expandedDataSet_ != null && - expandedDataSet_ != com.google.analytics.admin.v1alpha.ExpandedDataSet.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) + && expandedDataSet_ != null + && expandedDataSet_ + != com.google.analytics.admin.v1alpha.ExpandedDataSet.getDefaultInstance()) { getExpandedDataSetBuilder().mergeFrom(value); } else { expandedDataSet_ = value; @@ -677,11 +787,15 @@ public Builder mergeExpandedDataSet(com.google.analytics.admin.v1alpha.ExpandedD return this; } /** + * + * *
      * Required. The ExpandedDataSet to create.
      * 
* - * .google.analytics.admin.v1alpha.ExpandedDataSet expanded_data_set = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.ExpandedDataSet expanded_data_set = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearExpandedDataSet() { bitField0_ = (bitField0_ & ~0x00000002); @@ -694,11 +808,15 @@ public Builder clearExpandedDataSet() { return this; } /** + * + * *
      * Required. The ExpandedDataSet to create.
      * 
* - * .google.analytics.admin.v1alpha.ExpandedDataSet expanded_data_set = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.ExpandedDataSet expanded_data_set = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.analytics.admin.v1alpha.ExpandedDataSet.Builder getExpandedDataSetBuilder() { bitField0_ |= 0x00000002; @@ -706,43 +824,56 @@ public com.google.analytics.admin.v1alpha.ExpandedDataSet.Builder getExpandedDat return getExpandedDataSetFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The ExpandedDataSet to create.
      * 
* - * .google.analytics.admin.v1alpha.ExpandedDataSet expanded_data_set = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.ExpandedDataSet expanded_data_set = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.analytics.admin.v1alpha.ExpandedDataSetOrBuilder getExpandedDataSetOrBuilder() { + public com.google.analytics.admin.v1alpha.ExpandedDataSetOrBuilder + getExpandedDataSetOrBuilder() { if (expandedDataSetBuilder_ != null) { return expandedDataSetBuilder_.getMessageOrBuilder(); } else { - return expandedDataSet_ == null ? - com.google.analytics.admin.v1alpha.ExpandedDataSet.getDefaultInstance() : expandedDataSet_; + return expandedDataSet_ == null + ? com.google.analytics.admin.v1alpha.ExpandedDataSet.getDefaultInstance() + : expandedDataSet_; } } /** + * + * *
      * Required. The ExpandedDataSet to create.
      * 
* - * .google.analytics.admin.v1alpha.ExpandedDataSet expanded_data_set = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.ExpandedDataSet expanded_data_set = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ 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) { - 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>( - getExpandedDataSet(), - getParentForChildren(), - isClean()); + 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>( + getExpandedDataSet(), getParentForChildren(), isClean()); expandedDataSet_ = null; } return expandedDataSetBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -752,41 +883,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.CreateExpandedDataSetRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.CreateExpandedDataSetRequest) - private static final com.google.analytics.admin.v1alpha.CreateExpandedDataSetRequest DEFAULT_INSTANCE; + private static final com.google.analytics.admin.v1alpha.CreateExpandedDataSetRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.CreateExpandedDataSetRequest(); } - public static com.google.analytics.admin.v1alpha.CreateExpandedDataSetRequest getDefaultInstance() { + public static com.google.analytics.admin.v1alpha.CreateExpandedDataSetRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateExpandedDataSetRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateExpandedDataSetRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -798,9 +931,8 @@ public com.google.protobuf.Parser getParserForType } @java.lang.Override - public com.google.analytics.admin.v1alpha.CreateExpandedDataSetRequest getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.CreateExpandedDataSetRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateExpandedDataSetRequestOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateExpandedDataSetRequestOrBuilder.java new file mode 100644 index 000000000000..c52dddba9bbe --- /dev/null +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateExpandedDataSetRequestOrBuilder.java @@ -0,0 +1,95 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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 CreateExpandedDataSetRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.CreateExpandedDataSetRequest) + 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 ExpandedDataSet to create.
+   * 
+ * + * + * .google.analytics.admin.v1alpha.ExpandedDataSet expanded_data_set = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return Whether the expandedDataSet field is set. + */ + boolean hasExpandedDataSet(); + /** + * + * + *
+   * Required. The ExpandedDataSet to create.
+   * 
+ * + * + * .google.analytics.admin.v1alpha.ExpandedDataSet expanded_data_set = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The expandedDataSet. + */ + com.google.analytics.admin.v1alpha.ExpandedDataSet getExpandedDataSet(); + /** + * + * + *
+   * Required. The ExpandedDataSet to create.
+   * 
+ * + * + * .google.analytics.admin.v1alpha.ExpandedDataSet expanded_data_set = 2 [(.google.api.field_behavior) = REQUIRED]; + * + */ + com.google.analytics.admin.v1alpha.ExpandedDataSetOrBuilder getExpandedDataSetOrBuilder(); +} 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 f680103f512a..f2c81a92f768 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,58 +1,83 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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(); } - 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 @@ -61,30 +86,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 { @@ -95,11 +122,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 @@ -107,30 +139,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; @@ -142,8 +188,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -163,8 +208,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; @@ -174,19 +218,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; @@ -211,131 +254,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(); @@ -350,13 +398,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(); } @@ -371,21 +420,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(); } } @@ -393,38 +445,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; @@ -432,7 +485,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; @@ -467,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( - 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) { @@ -494,23 +550,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; @@ -519,21 +580,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 { @@ -541,30 +605,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() { @@ -574,18 +649,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; @@ -595,39 +676,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) { @@ -643,11 +743,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) { @@ -661,17 +765,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; @@ -684,11 +793,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); @@ -701,11 +814,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; @@ -713,43 +830,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); } @@ -759,12 +888,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(); } @@ -773,27 +903,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; @@ -808,6 +938,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..5af4d4630360 --- /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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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 dbdc9b2b1385..2d060bf4577d 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,57 +1,82 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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(); } - 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 @@ -60,29 +85,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 { @@ -93,11 +120,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 @@ -105,30 +137,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; @@ -140,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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -161,8 +206,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; @@ -172,19 +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.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; @@ -209,131 +252,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(); @@ -348,13 +396,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(); } @@ -369,21 +418,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(); } } @@ -391,38 +443,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; @@ -430,7 +483,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; @@ -465,24 +520,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) { @@ -492,22 +548,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; @@ -516,20 +577,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 { @@ -537,28 +601,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() { @@ -568,17 +643,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; @@ -588,39 +669,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) { @@ -636,11 +736,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) { @@ -654,17 +758,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; @@ -677,11 +786,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); @@ -694,11 +807,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; @@ -706,43 +823,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); } @@ -752,12 +881,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(); } @@ -766,27 +896,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; @@ -801,6 +931,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..780586944699 --- /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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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 56% 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 e2db59b58d42..74809c6df67d 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,58 +1,86 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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(); } - 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 @@ -61,30 +89,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 { @@ -95,11 +125,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 @@ -107,30 +142,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; @@ -142,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_); } @@ -163,8 +213,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; @@ -174,19 +225,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; @@ -211,131 +263,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(); @@ -350,19 +410,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); } @@ -370,22 +433,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(); } } @@ -393,46 +462,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; @@ -467,24 +542,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) { @@ -494,23 +571,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; @@ -519,21 +601,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 { @@ -541,30 +626,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() { @@ -574,18 +670,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; @@ -595,41 +697,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(); @@ -643,11 +766,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) { @@ -661,17 +788,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; @@ -684,11 +818,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); @@ -701,55 +839,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); } @@ -759,41 +915,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; @@ -805,9 +964,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..3cca77837bd5 --- /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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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 d782d8e45914..0e1acb3d5271 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,56 +1,79 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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(); } - 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 @@ -58,32 +81,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; @@ -95,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 (property_ != null) { output.writeMessage(1, getProperty()); } @@ -110,8 +146,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; @@ -121,17 +156,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; @@ -154,131 +189,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(); @@ -292,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_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 @@ -313,8 +353,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; } @@ -322,9 +365,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(); } } @@ -332,38 +373,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; @@ -371,7 +413,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()); } @@ -401,19 +444,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) { @@ -423,46 +466,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) { @@ -478,12 +541,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) { @@ -497,18 +564,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; @@ -521,12 +592,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); @@ -539,12 +614,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; @@ -552,45 +631,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); } @@ -600,12 +691,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(); } @@ -614,27 +705,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; @@ -649,6 +740,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..2eb804a01dab --- /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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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/CreateRollupPropertyRequest.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateRollupPropertyRequest.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/CreateRollupPropertyRequest.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateRollupPropertyRequest.java index fe4e5a3f161a..4c80ed350380 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateRollupPropertyRequest.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateRollupPropertyRequest.java @@ -1,57 +1,80 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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 CreateRollupProperty RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.CreateRollupPropertyRequest} */ -public final class CreateRollupPropertyRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CreateRollupPropertyRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.CreateRollupPropertyRequest) CreateRollupPropertyRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CreateRollupPropertyRequest.newBuilder() to construct. private CreateRollupPropertyRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CreateRollupPropertyRequest() { - sourceProperties_ = - com.google.protobuf.LazyStringArrayList.emptyList(); + sourceProperties_ = com.google.protobuf.LazyStringArrayList.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CreateRollupPropertyRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_CreateRollupPropertyRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_CreateRollupPropertyRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_CreateRollupPropertyRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_CreateRollupPropertyRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.CreateRollupPropertyRequest.class, com.google.analytics.admin.v1alpha.CreateRollupPropertyRequest.Builder.class); + com.google.analytics.admin.v1alpha.CreateRollupPropertyRequest.class, + com.google.analytics.admin.v1alpha.CreateRollupPropertyRequest.Builder.class); } public static final int ROLLUP_PROPERTY_FIELD_NUMBER = 1; private com.google.analytics.admin.v1alpha.Property rollupProperty_; /** + * + * *
    * Required. The roll-up property to create.
    * 
* - * .google.analytics.admin.v1alpha.Property rollup_property = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.Property rollup_property = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the rollupProperty field is set. */ @java.lang.Override @@ -59,65 +82,87 @@ public boolean hasRollupProperty() { return rollupProperty_ != null; } /** + * + * *
    * Required. The roll-up property to create.
    * 
* - * .google.analytics.admin.v1alpha.Property rollup_property = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.Property rollup_property = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The rollupProperty. */ @java.lang.Override public com.google.analytics.admin.v1alpha.Property getRollupProperty() { - return rollupProperty_ == null ? com.google.analytics.admin.v1alpha.Property.getDefaultInstance() : rollupProperty_; + return rollupProperty_ == null + ? com.google.analytics.admin.v1alpha.Property.getDefaultInstance() + : rollupProperty_; } /** + * + * *
    * Required. The roll-up property to create.
    * 
* - * .google.analytics.admin.v1alpha.Property rollup_property = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.Property rollup_property = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.analytics.admin.v1alpha.PropertyOrBuilder getRollupPropertyOrBuilder() { - return rollupProperty_ == null ? com.google.analytics.admin.v1alpha.Property.getDefaultInstance() : rollupProperty_; + return rollupProperty_ == null + ? com.google.analytics.admin.v1alpha.Property.getDefaultInstance() + : rollupProperty_; } public static final int SOURCE_PROPERTIES_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList sourceProperties_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** + * + * *
    * Optional. The resource names of properties that will be sources to the
    * created roll-up property.
    * 
* * repeated string source_properties = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return A list containing the sourceProperties. */ - public com.google.protobuf.ProtocolStringList - getSourcePropertiesList() { + public com.google.protobuf.ProtocolStringList getSourcePropertiesList() { return sourceProperties_; } /** + * + * *
    * Optional. The resource names of properties that will be sources to the
    * created roll-up property.
    * 
* * repeated string source_properties = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The count of sourceProperties. */ public int getSourcePropertiesCount() { return sourceProperties_.size(); } /** + * + * *
    * Optional. The resource names of properties that will be sources to the
    * created roll-up property.
    * 
* * repeated string source_properties = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index of the element to return. * @return The sourceProperties at the given index. */ @@ -125,21 +170,24 @@ public java.lang.String getSourceProperties(int index) { return sourceProperties_.get(index); } /** + * + * *
    * Optional. The resource names of properties that will be sources to the
    * created roll-up property.
    * 
* * repeated string source_properties = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index of the value to return. * @return The bytes of the sourceProperties at the given index. */ - public com.google.protobuf.ByteString - getSourcePropertiesBytes(int index) { + public com.google.protobuf.ByteString getSourcePropertiesBytes(int index) { return sourceProperties_.getByteString(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -151,8 +199,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (rollupProperty_ != null) { output.writeMessage(1, getRollupProperty()); } @@ -169,8 +216,7 @@ public int getSerializedSize() { size = 0; if (rollupProperty_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getRollupProperty()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getRollupProperty()); } { int dataSize = 0; @@ -188,20 +234,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.CreateRollupPropertyRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.CreateRollupPropertyRequest other = (com.google.analytics.admin.v1alpha.CreateRollupPropertyRequest) obj; + com.google.analytics.admin.v1alpha.CreateRollupPropertyRequest other = + (com.google.analytics.admin.v1alpha.CreateRollupPropertyRequest) obj; if (hasRollupProperty() != other.hasRollupProperty()) return false; if (hasRollupProperty()) { - if (!getRollupProperty() - .equals(other.getRollupProperty())) return false; + if (!getRollupProperty().equals(other.getRollupProperty())) return false; } - if (!getSourcePropertiesList() - .equals(other.getSourcePropertiesList())) return false; + if (!getSourcePropertiesList().equals(other.getSourcePropertiesList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -227,131 +272,136 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.CreateRollupPropertyRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.CreateRollupPropertyRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.CreateRollupPropertyRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.CreateRollupPropertyRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.CreateRollupPropertyRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.analytics.admin.v1alpha.CreateRollupPropertyRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.CreateRollupPropertyRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.CreateRollupPropertyRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.CreateRollupPropertyRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.CreateRollupPropertyRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.CreateRollupPropertyRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.CreateRollupPropertyRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.analytics.admin.v1alpha.CreateRollupPropertyRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.CreateRollupPropertyRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.CreateRollupPropertyRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1alpha.CreateRollupPropertyRequest prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1alpha.CreateRollupPropertyRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder 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 CreateRollupProperty RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.CreateRollupPropertyRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.CreateRollupPropertyRequest) com.google.analytics.admin.v1alpha.CreateRollupPropertyRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_CreateRollupPropertyRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_CreateRollupPropertyRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_CreateRollupPropertyRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_CreateRollupPropertyRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.CreateRollupPropertyRequest.class, com.google.analytics.admin.v1alpha.CreateRollupPropertyRequest.Builder.class); + com.google.analytics.admin.v1alpha.CreateRollupPropertyRequest.class, + com.google.analytics.admin.v1alpha.CreateRollupPropertyRequest.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.CreateRollupPropertyRequest.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(); @@ -361,19 +411,19 @@ public Builder clear() { rollupPropertyBuilder_.dispose(); rollupPropertyBuilder_ = null; } - sourceProperties_ = - com.google.protobuf.LazyStringArrayList.emptyList(); + sourceProperties_ = com.google.protobuf.LazyStringArrayList.emptyList(); 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_CreateRollupPropertyRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_CreateRollupPropertyRequest_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.CreateRollupPropertyRequest getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.CreateRollupPropertyRequest + getDefaultInstanceForType() { return com.google.analytics.admin.v1alpha.CreateRollupPropertyRequest.getDefaultInstance(); } @@ -388,18 +438,21 @@ public com.google.analytics.admin.v1alpha.CreateRollupPropertyRequest build() { @java.lang.Override public com.google.analytics.admin.v1alpha.CreateRollupPropertyRequest buildPartial() { - com.google.analytics.admin.v1alpha.CreateRollupPropertyRequest result = new com.google.analytics.admin.v1alpha.CreateRollupPropertyRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.analytics.admin.v1alpha.CreateRollupPropertyRequest result = + new com.google.analytics.admin.v1alpha.CreateRollupPropertyRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.analytics.admin.v1alpha.CreateRollupPropertyRequest result) { + private void buildPartial0( + com.google.analytics.admin.v1alpha.CreateRollupPropertyRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.rollupProperty_ = rollupPropertyBuilder_ == null - ? rollupProperty_ - : rollupPropertyBuilder_.build(); + result.rollupProperty_ = + rollupPropertyBuilder_ == null ? rollupProperty_ : rollupPropertyBuilder_.build(); } if (((from_bitField0_ & 0x00000002) != 0)) { sourceProperties_.makeImmutable(); @@ -411,38 +464,39 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.CreateRollupProper public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.analytics.admin.v1alpha.CreateRollupPropertyRequest) { - return mergeFrom((com.google.analytics.admin.v1alpha.CreateRollupPropertyRequest)other); + return mergeFrom((com.google.analytics.admin.v1alpha.CreateRollupPropertyRequest) other); } else { super.mergeFrom(other); return this; @@ -450,7 +504,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1alpha.CreateRollupPropertyRequest other) { - if (other == com.google.analytics.admin.v1alpha.CreateRollupPropertyRequest.getDefaultInstance()) return this; + if (other + == com.google.analytics.admin.v1alpha.CreateRollupPropertyRequest.getDefaultInstance()) + return this; if (other.hasRollupProperty()) { mergeRollupProperty(other.getRollupProperty()); } @@ -490,25 +546,26 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getRollupPropertyFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - java.lang.String s = input.readStringRequireUtf8(); - ensureSourcePropertiesIsMutable(); - sourceProperties_.add(s); - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + input.readMessage(getRollupPropertyFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); + ensureSourcePropertiesIsMutable(); + sourceProperties_.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) { @@ -518,43 +575,63 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private com.google.analytics.admin.v1alpha.Property rollupProperty_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.Property, com.google.analytics.admin.v1alpha.Property.Builder, com.google.analytics.admin.v1alpha.PropertyOrBuilder> rollupPropertyBuilder_; + com.google.analytics.admin.v1alpha.Property, + com.google.analytics.admin.v1alpha.Property.Builder, + com.google.analytics.admin.v1alpha.PropertyOrBuilder> + rollupPropertyBuilder_; /** + * + * *
      * Required. The roll-up property to create.
      * 
* - * .google.analytics.admin.v1alpha.Property rollup_property = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.Property rollup_property = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the rollupProperty field is set. */ public boolean hasRollupProperty() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
      * Required. The roll-up property to create.
      * 
* - * .google.analytics.admin.v1alpha.Property rollup_property = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.Property rollup_property = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The rollupProperty. */ public com.google.analytics.admin.v1alpha.Property getRollupProperty() { if (rollupPropertyBuilder_ == null) { - return rollupProperty_ == null ? com.google.analytics.admin.v1alpha.Property.getDefaultInstance() : rollupProperty_; + return rollupProperty_ == null + ? com.google.analytics.admin.v1alpha.Property.getDefaultInstance() + : rollupProperty_; } else { return rollupPropertyBuilder_.getMessage(); } } /** + * + * *
      * Required. The roll-up property to create.
      * 
* - * .google.analytics.admin.v1alpha.Property rollup_property = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.Property rollup_property = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setRollupProperty(com.google.analytics.admin.v1alpha.Property value) { if (rollupPropertyBuilder_ == null) { @@ -570,11 +647,15 @@ public Builder setRollupProperty(com.google.analytics.admin.v1alpha.Property val return this; } /** + * + * *
      * Required. The roll-up property to create.
      * 
* - * .google.analytics.admin.v1alpha.Property rollup_property = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.Property rollup_property = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setRollupProperty( com.google.analytics.admin.v1alpha.Property.Builder builderForValue) { @@ -588,17 +669,22 @@ public Builder setRollupProperty( return this; } /** + * + * *
      * Required. The roll-up property to create.
      * 
* - * .google.analytics.admin.v1alpha.Property rollup_property = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.Property rollup_property = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeRollupProperty(com.google.analytics.admin.v1alpha.Property value) { if (rollupPropertyBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) && - rollupProperty_ != null && - rollupProperty_ != com.google.analytics.admin.v1alpha.Property.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) + && rollupProperty_ != null + && rollupProperty_ + != com.google.analytics.admin.v1alpha.Property.getDefaultInstance()) { getRollupPropertyBuilder().mergeFrom(value); } else { rollupProperty_ = value; @@ -611,11 +697,15 @@ public Builder mergeRollupProperty(com.google.analytics.admin.v1alpha.Property v return this; } /** + * + * *
      * Required. The roll-up property to create.
      * 
* - * .google.analytics.admin.v1alpha.Property rollup_property = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.Property rollup_property = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearRollupProperty() { bitField0_ = (bitField0_ & ~0x00000001); @@ -628,11 +718,15 @@ public Builder clearRollupProperty() { return this; } /** + * + * *
      * Required. The roll-up property to create.
      * 
* - * .google.analytics.admin.v1alpha.Property rollup_property = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.Property rollup_property = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.analytics.admin.v1alpha.Property.Builder getRollupPropertyBuilder() { bitField0_ |= 0x00000001; @@ -640,36 +734,48 @@ public com.google.analytics.admin.v1alpha.Property.Builder getRollupPropertyBuil return getRollupPropertyFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The roll-up property to create.
      * 
* - * .google.analytics.admin.v1alpha.Property rollup_property = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.Property rollup_property = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.analytics.admin.v1alpha.PropertyOrBuilder getRollupPropertyOrBuilder() { if (rollupPropertyBuilder_ != null) { return rollupPropertyBuilder_.getMessageOrBuilder(); } else { - return rollupProperty_ == null ? - com.google.analytics.admin.v1alpha.Property.getDefaultInstance() : rollupProperty_; + return rollupProperty_ == null + ? com.google.analytics.admin.v1alpha.Property.getDefaultInstance() + : rollupProperty_; } } /** + * + * *
      * Required. The roll-up property to create.
      * 
* - * .google.analytics.admin.v1alpha.Property rollup_property = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.Property rollup_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> getRollupPropertyFieldBuilder() { if (rollupPropertyBuilder_ == null) { - rollupPropertyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.Property, com.google.analytics.admin.v1alpha.Property.Builder, com.google.analytics.admin.v1alpha.PropertyOrBuilder>( - getRollupProperty(), - getParentForChildren(), - isClean()); + rollupPropertyBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1alpha.Property, + com.google.analytics.admin.v1alpha.Property.Builder, + com.google.analytics.admin.v1alpha.PropertyOrBuilder>( + getRollupProperty(), getParentForChildren(), isClean()); rollupProperty_ = null; } return rollupPropertyBuilder_; @@ -677,6 +783,7 @@ public com.google.analytics.admin.v1alpha.PropertyOrBuilder getRollupPropertyOrB private com.google.protobuf.LazyStringArrayList sourceProperties_ = com.google.protobuf.LazyStringArrayList.emptyList(); + private void ensureSourcePropertiesIsMutable() { if (!sourceProperties_.isModifiable()) { sourceProperties_ = new com.google.protobuf.LazyStringArrayList(sourceProperties_); @@ -684,38 +791,46 @@ private void ensureSourcePropertiesIsMutable() { bitField0_ |= 0x00000002; } /** + * + * *
      * Optional. The resource names of properties that will be sources to the
      * created roll-up property.
      * 
* * repeated string source_properties = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return A list containing the sourceProperties. */ - public com.google.protobuf.ProtocolStringList - getSourcePropertiesList() { + public com.google.protobuf.ProtocolStringList getSourcePropertiesList() { sourceProperties_.makeImmutable(); return sourceProperties_; } /** + * + * *
      * Optional. The resource names of properties that will be sources to the
      * created roll-up property.
      * 
* * repeated string source_properties = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The count of sourceProperties. */ public int getSourcePropertiesCount() { return sourceProperties_.size(); } /** + * + * *
      * Optional. The resource names of properties that will be sources to the
      * created roll-up property.
      * 
* * repeated string source_properties = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index of the element to return. * @return The sourceProperties at the given index. */ @@ -723,33 +838,39 @@ public java.lang.String getSourceProperties(int index) { return sourceProperties_.get(index); } /** + * + * *
      * Optional. The resource names of properties that will be sources to the
      * created roll-up property.
      * 
* * repeated string source_properties = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index of the value to return. * @return The bytes of the sourceProperties at the given index. */ - public com.google.protobuf.ByteString - getSourcePropertiesBytes(int index) { + public com.google.protobuf.ByteString getSourcePropertiesBytes(int index) { return sourceProperties_.getByteString(index); } /** + * + * *
      * Optional. The resource names of properties that will be sources to the
      * created roll-up property.
      * 
* * repeated string source_properties = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index to set the value at. * @param value The sourceProperties to set. * @return This builder for chaining. */ - public Builder setSourceProperties( - int index, java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setSourceProperties(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureSourcePropertiesIsMutable(); sourceProperties_.set(index, value); bitField0_ |= 0x00000002; @@ -757,18 +878,22 @@ public Builder setSourceProperties( return this; } /** + * + * *
      * Optional. The resource names of properties that will be sources to the
      * created roll-up property.
      * 
* * repeated string source_properties = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The sourceProperties to add. * @return This builder for chaining. */ - public Builder addSourceProperties( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder addSourceProperties(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureSourcePropertiesIsMutable(); sourceProperties_.add(value); bitField0_ |= 0x00000002; @@ -776,53 +901,61 @@ public Builder addSourceProperties( return this; } /** + * + * *
      * Optional. The resource names of properties that will be sources to the
      * created roll-up property.
      * 
* * repeated string source_properties = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param values The sourceProperties to add. * @return This builder for chaining. */ - public Builder addAllSourceProperties( - java.lang.Iterable values) { + public Builder addAllSourceProperties(java.lang.Iterable values) { ensureSourcePropertiesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, sourceProperties_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, sourceProperties_); bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Optional. The resource names of properties that will be sources to the
      * created roll-up property.
      * 
* * repeated string source_properties = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearSourceProperties() { - sourceProperties_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000002);; + sourceProperties_ = com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000002); + ; onChanged(); return this; } /** + * + * *
      * Optional. The resource names of properties that will be sources to the
      * created roll-up property.
      * 
* * repeated string source_properties = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes of the sourceProperties to add. * @return This builder for chaining. */ - public Builder addSourcePropertiesBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder addSourcePropertiesBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); ensureSourcePropertiesIsMutable(); sourceProperties_.add(value); @@ -830,9 +963,9 @@ public Builder addSourcePropertiesBytes( onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -842,41 +975,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.CreateRollupPropertyRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.CreateRollupPropertyRequest) - private static final com.google.analytics.admin.v1alpha.CreateRollupPropertyRequest DEFAULT_INSTANCE; + private static final com.google.analytics.admin.v1alpha.CreateRollupPropertyRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.CreateRollupPropertyRequest(); } - public static com.google.analytics.admin.v1alpha.CreateRollupPropertyRequest getDefaultInstance() { + public static com.google.analytics.admin.v1alpha.CreateRollupPropertyRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateRollupPropertyRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateRollupPropertyRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -888,9 +1023,8 @@ public com.google.protobuf.Parser getParserForType( } @java.lang.Override - public com.google.analytics.admin.v1alpha.CreateRollupPropertyRequest getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.CreateRollupPropertyRequest + 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/CreateRollupPropertyRequestOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateRollupPropertyRequestOrBuilder.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/CreateRollupPropertyRequestOrBuilder.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateRollupPropertyRequestOrBuilder.java index dd965bc5b9a3..9b75e1ca1dfc 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateRollupPropertyRequestOrBuilder.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateRollupPropertyRequestOrBuilder.java @@ -1,81 +1,121 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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 CreateRollupPropertyRequestOrBuilder extends +public interface CreateRollupPropertyRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.CreateRollupPropertyRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The roll-up property to create.
    * 
* - * .google.analytics.admin.v1alpha.Property rollup_property = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.Property rollup_property = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the rollupProperty field is set. */ boolean hasRollupProperty(); /** + * + * *
    * Required. The roll-up property to create.
    * 
* - * .google.analytics.admin.v1alpha.Property rollup_property = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.Property rollup_property = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The rollupProperty. */ com.google.analytics.admin.v1alpha.Property getRollupProperty(); /** + * + * *
    * Required. The roll-up property to create.
    * 
* - * .google.analytics.admin.v1alpha.Property rollup_property = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.Property rollup_property = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.analytics.admin.v1alpha.PropertyOrBuilder getRollupPropertyOrBuilder(); /** + * + * *
    * Optional. The resource names of properties that will be sources to the
    * created roll-up property.
    * 
* * repeated string source_properties = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return A list containing the sourceProperties. */ - java.util.List - getSourcePropertiesList(); + java.util.List getSourcePropertiesList(); /** + * + * *
    * Optional. The resource names of properties that will be sources to the
    * created roll-up property.
    * 
* * repeated string source_properties = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The count of sourceProperties. */ int getSourcePropertiesCount(); /** + * + * *
    * Optional. The resource names of properties that will be sources to the
    * created roll-up property.
    * 
* * repeated string source_properties = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index of the element to return. * @return The sourceProperties at the given index. */ java.lang.String getSourceProperties(int index); /** + * + * *
    * Optional. The resource names of properties that will be sources to the
    * created roll-up property.
    * 
* * repeated string source_properties = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index of the value to return. * @return The bytes of the sourceProperties at the given index. */ - com.google.protobuf.ByteString - getSourcePropertiesBytes(int index); + com.google.protobuf.ByteString getSourcePropertiesBytes(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/CreateRollupPropertyResponse.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateRollupPropertyResponse.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/CreateRollupPropertyResponse.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateRollupPropertyResponse.java index af2cb77f1885..587f1c65411f 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateRollupPropertyResponse.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateRollupPropertyResponse.java @@ -1,56 +1,78 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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 CreateRollupProperty RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.CreateRollupPropertyResponse} */ -public final class CreateRollupPropertyResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CreateRollupPropertyResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.CreateRollupPropertyResponse) CreateRollupPropertyResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CreateRollupPropertyResponse.newBuilder() to construct. private CreateRollupPropertyResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CreateRollupPropertyResponse() { rollupPropertySourceLinks_ = 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 CreateRollupPropertyResponse(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_CreateRollupPropertyResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_CreateRollupPropertyResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_CreateRollupPropertyResponse_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_CreateRollupPropertyResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.CreateRollupPropertyResponse.class, com.google.analytics.admin.v1alpha.CreateRollupPropertyResponse.Builder.class); + com.google.analytics.admin.v1alpha.CreateRollupPropertyResponse.class, + com.google.analytics.admin.v1alpha.CreateRollupPropertyResponse.Builder.class); } public static final int ROLLUP_PROPERTY_FIELD_NUMBER = 1; private com.google.analytics.admin.v1alpha.Property rollupProperty_; /** + * + * *
    * The created roll-up property.
    * 
* * .google.analytics.admin.v1alpha.Property rollup_property = 1; + * * @return Whether the rollupProperty field is set. */ @java.lang.Override @@ -58,18 +80,25 @@ public boolean hasRollupProperty() { return rollupProperty_ != null; } /** + * + * *
    * The created roll-up property.
    * 
* * .google.analytics.admin.v1alpha.Property rollup_property = 1; + * * @return The rollupProperty. */ @java.lang.Override public com.google.analytics.admin.v1alpha.Property getRollupProperty() { - return rollupProperty_ == null ? com.google.analytics.admin.v1alpha.Property.getDefaultInstance() : rollupProperty_; + return rollupProperty_ == null + ? com.google.analytics.admin.v1alpha.Property.getDefaultInstance() + : rollupProperty_; } /** + * + * *
    * The created roll-up property.
    * 
@@ -78,71 +107,99 @@ public com.google.analytics.admin.v1alpha.Property getRollupProperty() { */ @java.lang.Override public com.google.analytics.admin.v1alpha.PropertyOrBuilder getRollupPropertyOrBuilder() { - return rollupProperty_ == null ? com.google.analytics.admin.v1alpha.Property.getDefaultInstance() : rollupProperty_; + return rollupProperty_ == null + ? com.google.analytics.admin.v1alpha.Property.getDefaultInstance() + : rollupProperty_; } public static final int ROLLUP_PROPERTY_SOURCE_LINKS_FIELD_NUMBER = 2; + @SuppressWarnings("serial") - private java.util.List rollupPropertySourceLinks_; + private java.util.List + rollupPropertySourceLinks_; /** + * + * *
    * The created roll-up property source links.
    * 
* - * repeated .google.analytics.admin.v1alpha.RollupPropertySourceLink rollup_property_source_links = 2; + * + * repeated .google.analytics.admin.v1alpha.RollupPropertySourceLink rollup_property_source_links = 2; + * */ @java.lang.Override - public java.util.List getRollupPropertySourceLinksList() { + public java.util.List + getRollupPropertySourceLinksList() { return rollupPropertySourceLinks_; } /** + * + * *
    * The created roll-up property source links.
    * 
* - * repeated .google.analytics.admin.v1alpha.RollupPropertySourceLink rollup_property_source_links = 2; + * + * repeated .google.analytics.admin.v1alpha.RollupPropertySourceLink rollup_property_source_links = 2; + * */ @java.lang.Override - public java.util.List + public java.util.List< + ? extends com.google.analytics.admin.v1alpha.RollupPropertySourceLinkOrBuilder> getRollupPropertySourceLinksOrBuilderList() { return rollupPropertySourceLinks_; } /** + * + * *
    * The created roll-up property source links.
    * 
* - * repeated .google.analytics.admin.v1alpha.RollupPropertySourceLink rollup_property_source_links = 2; + * + * repeated .google.analytics.admin.v1alpha.RollupPropertySourceLink rollup_property_source_links = 2; + * */ @java.lang.Override public int getRollupPropertySourceLinksCount() { return rollupPropertySourceLinks_.size(); } /** + * + * *
    * The created roll-up property source links.
    * 
* - * repeated .google.analytics.admin.v1alpha.RollupPropertySourceLink rollup_property_source_links = 2; + * + * repeated .google.analytics.admin.v1alpha.RollupPropertySourceLink rollup_property_source_links = 2; + * */ @java.lang.Override - public com.google.analytics.admin.v1alpha.RollupPropertySourceLink getRollupPropertySourceLinks(int index) { + public com.google.analytics.admin.v1alpha.RollupPropertySourceLink getRollupPropertySourceLinks( + int index) { return rollupPropertySourceLinks_.get(index); } /** + * + * *
    * The created roll-up property source links.
    * 
* - * repeated .google.analytics.admin.v1alpha.RollupPropertySourceLink rollup_property_source_links = 2; + * + * repeated .google.analytics.admin.v1alpha.RollupPropertySourceLink rollup_property_source_links = 2; + * */ @java.lang.Override - public com.google.analytics.admin.v1alpha.RollupPropertySourceLinkOrBuilder getRollupPropertySourceLinksOrBuilder( - int index) { + public com.google.analytics.admin.v1alpha.RollupPropertySourceLinkOrBuilder + getRollupPropertySourceLinksOrBuilder(int index) { return rollupPropertySourceLinks_.get(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -154,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 { if (rollupProperty_ != null) { output.writeMessage(1, getRollupProperty()); } @@ -172,12 +228,12 @@ public int getSerializedSize() { size = 0; if (rollupProperty_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getRollupProperty()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getRollupProperty()); } for (int i = 0; i < rollupPropertySourceLinks_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, rollupPropertySourceLinks_.get(i)); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 2, rollupPropertySourceLinks_.get(i)); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -187,20 +243,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.CreateRollupPropertyResponse)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.CreateRollupPropertyResponse other = (com.google.analytics.admin.v1alpha.CreateRollupPropertyResponse) obj; + com.google.analytics.admin.v1alpha.CreateRollupPropertyResponse other = + (com.google.analytics.admin.v1alpha.CreateRollupPropertyResponse) obj; if (hasRollupProperty() != other.hasRollupProperty()) return false; if (hasRollupProperty()) { - if (!getRollupProperty() - .equals(other.getRollupProperty())) return false; + if (!getRollupProperty().equals(other.getRollupProperty())) return false; } - if (!getRollupPropertySourceLinksList() - .equals(other.getRollupPropertySourceLinksList())) return false; + if (!getRollupPropertySourceLinksList().equals(other.getRollupPropertySourceLinksList())) + return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -226,131 +282,136 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.CreateRollupPropertyResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.CreateRollupPropertyResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.CreateRollupPropertyResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.CreateRollupPropertyResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.CreateRollupPropertyResponse parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.analytics.admin.v1alpha.CreateRollupPropertyResponse parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.CreateRollupPropertyResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.CreateRollupPropertyResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.CreateRollupPropertyResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.CreateRollupPropertyResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.CreateRollupPropertyResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.CreateRollupPropertyResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.analytics.admin.v1alpha.CreateRollupPropertyResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.CreateRollupPropertyResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.CreateRollupPropertyResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1alpha.CreateRollupPropertyResponse prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1alpha.CreateRollupPropertyResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 CreateRollupProperty RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.CreateRollupPropertyResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.CreateRollupPropertyResponse) com.google.analytics.admin.v1alpha.CreateRollupPropertyResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_CreateRollupPropertyResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_CreateRollupPropertyResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_CreateRollupPropertyResponse_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_CreateRollupPropertyResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.CreateRollupPropertyResponse.class, com.google.analytics.admin.v1alpha.CreateRollupPropertyResponse.Builder.class); + com.google.analytics.admin.v1alpha.CreateRollupPropertyResponse.class, + com.google.analytics.admin.v1alpha.CreateRollupPropertyResponse.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.CreateRollupPropertyResponse.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(); @@ -371,13 +432,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_CreateRollupPropertyResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_CreateRollupPropertyResponse_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.CreateRollupPropertyResponse getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.CreateRollupPropertyResponse + getDefaultInstanceForType() { return com.google.analytics.admin.v1alpha.CreateRollupPropertyResponse.getDefaultInstance(); } @@ -392,17 +454,22 @@ public com.google.analytics.admin.v1alpha.CreateRollupPropertyResponse build() { @java.lang.Override public com.google.analytics.admin.v1alpha.CreateRollupPropertyResponse buildPartial() { - com.google.analytics.admin.v1alpha.CreateRollupPropertyResponse result = new com.google.analytics.admin.v1alpha.CreateRollupPropertyResponse(this); + com.google.analytics.admin.v1alpha.CreateRollupPropertyResponse result = + new com.google.analytics.admin.v1alpha.CreateRollupPropertyResponse(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartialRepeatedFields(com.google.analytics.admin.v1alpha.CreateRollupPropertyResponse result) { + private void buildPartialRepeatedFields( + com.google.analytics.admin.v1alpha.CreateRollupPropertyResponse result) { if (rollupPropertySourceLinksBuilder_ == null) { if (((bitField0_ & 0x00000002) != 0)) { - rollupPropertySourceLinks_ = java.util.Collections.unmodifiableList(rollupPropertySourceLinks_); + rollupPropertySourceLinks_ = + java.util.Collections.unmodifiableList(rollupPropertySourceLinks_); bitField0_ = (bitField0_ & ~0x00000002); } result.rollupPropertySourceLinks_ = rollupPropertySourceLinks_; @@ -411,12 +478,12 @@ private void buildPartialRepeatedFields(com.google.analytics.admin.v1alpha.Creat } } - private void buildPartial0(com.google.analytics.admin.v1alpha.CreateRollupPropertyResponse result) { + private void buildPartial0( + com.google.analytics.admin.v1alpha.CreateRollupPropertyResponse result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.rollupProperty_ = rollupPropertyBuilder_ == null - ? rollupProperty_ - : rollupPropertyBuilder_.build(); + result.rollupProperty_ = + rollupPropertyBuilder_ == null ? rollupProperty_ : rollupPropertyBuilder_.build(); } } @@ -424,46 +491,50 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.CreateRollupProper public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.analytics.admin.v1alpha.CreateRollupPropertyResponse) { - return mergeFrom((com.google.analytics.admin.v1alpha.CreateRollupPropertyResponse)other); + return mergeFrom((com.google.analytics.admin.v1alpha.CreateRollupPropertyResponse) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.analytics.admin.v1alpha.CreateRollupPropertyResponse other) { - if (other == com.google.analytics.admin.v1alpha.CreateRollupPropertyResponse.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.analytics.admin.v1alpha.CreateRollupPropertyResponse other) { + if (other + == com.google.analytics.admin.v1alpha.CreateRollupPropertyResponse.getDefaultInstance()) + return this; if (other.hasRollupProperty()) { mergeRollupProperty(other.getRollupProperty()); } @@ -485,9 +556,10 @@ public Builder mergeFrom(com.google.analytics.admin.v1alpha.CreateRollupProperty rollupPropertySourceLinksBuilder_ = null; rollupPropertySourceLinks_ = other.rollupPropertySourceLinks_; bitField0_ = (bitField0_ & ~0x00000002); - rollupPropertySourceLinksBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getRollupPropertySourceLinksFieldBuilder() : null; + rollupPropertySourceLinksBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getRollupPropertySourceLinksFieldBuilder() + : null; } else { rollupPropertySourceLinksBuilder_.addAllMessages(other.rollupPropertySourceLinks_); } @@ -519,32 +591,33 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getRollupPropertyFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - com.google.analytics.admin.v1alpha.RollupPropertySourceLink m = - input.readMessage( - com.google.analytics.admin.v1alpha.RollupPropertySourceLink.parser(), - extensionRegistry); - if (rollupPropertySourceLinksBuilder_ == null) { - ensureRollupPropertySourceLinksIsMutable(); - rollupPropertySourceLinks_.add(m); - } else { - rollupPropertySourceLinksBuilder_.addMessage(m); - } - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + input.readMessage(getRollupPropertyFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + com.google.analytics.admin.v1alpha.RollupPropertySourceLink m = + input.readMessage( + com.google.analytics.admin.v1alpha.RollupPropertySourceLink.parser(), + extensionRegistry); + if (rollupPropertySourceLinksBuilder_ == null) { + ensureRollupPropertySourceLinksIsMutable(); + rollupPropertySourceLinks_.add(m); + } else { + rollupPropertySourceLinksBuilder_.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) { @@ -554,38 +627,52 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private com.google.analytics.admin.v1alpha.Property rollupProperty_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.Property, com.google.analytics.admin.v1alpha.Property.Builder, com.google.analytics.admin.v1alpha.PropertyOrBuilder> rollupPropertyBuilder_; + com.google.analytics.admin.v1alpha.Property, + com.google.analytics.admin.v1alpha.Property.Builder, + com.google.analytics.admin.v1alpha.PropertyOrBuilder> + rollupPropertyBuilder_; /** + * + * *
      * The created roll-up property.
      * 
* * .google.analytics.admin.v1alpha.Property rollup_property = 1; + * * @return Whether the rollupProperty field is set. */ public boolean hasRollupProperty() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
      * The created roll-up property.
      * 
* * .google.analytics.admin.v1alpha.Property rollup_property = 1; + * * @return The rollupProperty. */ public com.google.analytics.admin.v1alpha.Property getRollupProperty() { if (rollupPropertyBuilder_ == null) { - return rollupProperty_ == null ? com.google.analytics.admin.v1alpha.Property.getDefaultInstance() : rollupProperty_; + return rollupProperty_ == null + ? com.google.analytics.admin.v1alpha.Property.getDefaultInstance() + : rollupProperty_; } else { return rollupPropertyBuilder_.getMessage(); } } /** + * + * *
      * The created roll-up property.
      * 
@@ -606,6 +693,8 @@ public Builder setRollupProperty(com.google.analytics.admin.v1alpha.Property val return this; } /** + * + * *
      * The created roll-up property.
      * 
@@ -624,6 +713,8 @@ public Builder setRollupProperty( return this; } /** + * + * *
      * The created roll-up property.
      * 
@@ -632,9 +723,10 @@ public Builder setRollupProperty( */ public Builder mergeRollupProperty(com.google.analytics.admin.v1alpha.Property value) { if (rollupPropertyBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) && - rollupProperty_ != null && - rollupProperty_ != com.google.analytics.admin.v1alpha.Property.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) + && rollupProperty_ != null + && rollupProperty_ + != com.google.analytics.admin.v1alpha.Property.getDefaultInstance()) { getRollupPropertyBuilder().mergeFrom(value); } else { rollupProperty_ = value; @@ -647,6 +739,8 @@ public Builder mergeRollupProperty(com.google.analytics.admin.v1alpha.Property v return this; } /** + * + * *
      * The created roll-up property.
      * 
@@ -664,6 +758,8 @@ public Builder clearRollupProperty() { return this; } /** + * + * *
      * The created roll-up property.
      * 
@@ -676,6 +772,8 @@ public com.google.analytics.admin.v1alpha.Property.Builder getRollupPropertyBuil return getRollupPropertyFieldBuilder().getBuilder(); } /** + * + * *
      * The created roll-up property.
      * 
@@ -686,11 +784,14 @@ public com.google.analytics.admin.v1alpha.PropertyOrBuilder getRollupPropertyOrB if (rollupPropertyBuilder_ != null) { return rollupPropertyBuilder_.getMessageOrBuilder(); } else { - return rollupProperty_ == null ? - com.google.analytics.admin.v1alpha.Property.getDefaultInstance() : rollupProperty_; + return rollupProperty_ == null + ? com.google.analytics.admin.v1alpha.Property.getDefaultInstance() + : rollupProperty_; } } /** + * + * *
      * The created roll-up property.
      * 
@@ -698,39 +799,53 @@ public com.google.analytics.admin.v1alpha.PropertyOrBuilder getRollupPropertyOrB * .google.analytics.admin.v1alpha.Property rollup_property = 1; */ 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> getRollupPropertyFieldBuilder() { if (rollupPropertyBuilder_ == null) { - rollupPropertyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.Property, com.google.analytics.admin.v1alpha.Property.Builder, com.google.analytics.admin.v1alpha.PropertyOrBuilder>( - getRollupProperty(), - getParentForChildren(), - isClean()); + rollupPropertyBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1alpha.Property, + com.google.analytics.admin.v1alpha.Property.Builder, + com.google.analytics.admin.v1alpha.PropertyOrBuilder>( + getRollupProperty(), getParentForChildren(), isClean()); rollupProperty_ = null; } return rollupPropertyBuilder_; } - private java.util.List rollupPropertySourceLinks_ = - java.util.Collections.emptyList(); + private java.util.List + rollupPropertySourceLinks_ = java.util.Collections.emptyList(); + private void ensureRollupPropertySourceLinksIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { - rollupPropertySourceLinks_ = new java.util.ArrayList(rollupPropertySourceLinks_); + rollupPropertySourceLinks_ = + new java.util.ArrayList( + rollupPropertySourceLinks_); bitField0_ |= 0x00000002; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.RollupPropertySourceLink, com.google.analytics.admin.v1alpha.RollupPropertySourceLink.Builder, com.google.analytics.admin.v1alpha.RollupPropertySourceLinkOrBuilder> rollupPropertySourceLinksBuilder_; + com.google.analytics.admin.v1alpha.RollupPropertySourceLink, + com.google.analytics.admin.v1alpha.RollupPropertySourceLink.Builder, + com.google.analytics.admin.v1alpha.RollupPropertySourceLinkOrBuilder> + rollupPropertySourceLinksBuilder_; /** + * + * *
      * The created roll-up property source links.
      * 
* - * repeated .google.analytics.admin.v1alpha.RollupPropertySourceLink rollup_property_source_links = 2; + * + * repeated .google.analytics.admin.v1alpha.RollupPropertySourceLink rollup_property_source_links = 2; + * */ - public java.util.List getRollupPropertySourceLinksList() { + public java.util.List + getRollupPropertySourceLinksList() { if (rollupPropertySourceLinksBuilder_ == null) { return java.util.Collections.unmodifiableList(rollupPropertySourceLinks_); } else { @@ -738,11 +853,15 @@ public java.util.List * The created roll-up property source links. *
* - * repeated .google.analytics.admin.v1alpha.RollupPropertySourceLink rollup_property_source_links = 2; + * + * repeated .google.analytics.admin.v1alpha.RollupPropertySourceLink rollup_property_source_links = 2; + * */ public int getRollupPropertySourceLinksCount() { if (rollupPropertySourceLinksBuilder_ == null) { @@ -752,13 +871,18 @@ public int getRollupPropertySourceLinksCount() { } } /** + * + * *
      * The created roll-up property source links.
      * 
* - * repeated .google.analytics.admin.v1alpha.RollupPropertySourceLink rollup_property_source_links = 2; + * + * repeated .google.analytics.admin.v1alpha.RollupPropertySourceLink rollup_property_source_links = 2; + * */ - public com.google.analytics.admin.v1alpha.RollupPropertySourceLink getRollupPropertySourceLinks(int index) { + public com.google.analytics.admin.v1alpha.RollupPropertySourceLink getRollupPropertySourceLinks( + int index) { if (rollupPropertySourceLinksBuilder_ == null) { return rollupPropertySourceLinks_.get(index); } else { @@ -766,11 +890,15 @@ public com.google.analytics.admin.v1alpha.RollupPropertySourceLink getRollupProp } } /** + * + * *
      * The created roll-up property source links.
      * 
* - * repeated .google.analytics.admin.v1alpha.RollupPropertySourceLink rollup_property_source_links = 2; + * + * repeated .google.analytics.admin.v1alpha.RollupPropertySourceLink rollup_property_source_links = 2; + * */ public Builder setRollupPropertySourceLinks( int index, com.google.analytics.admin.v1alpha.RollupPropertySourceLink value) { @@ -787,14 +915,19 @@ public Builder setRollupPropertySourceLinks( return this; } /** + * + * *
      * The created roll-up property source links.
      * 
* - * repeated .google.analytics.admin.v1alpha.RollupPropertySourceLink rollup_property_source_links = 2; + * + * repeated .google.analytics.admin.v1alpha.RollupPropertySourceLink rollup_property_source_links = 2; + * */ public Builder setRollupPropertySourceLinks( - int index, com.google.analytics.admin.v1alpha.RollupPropertySourceLink.Builder builderForValue) { + int index, + com.google.analytics.admin.v1alpha.RollupPropertySourceLink.Builder builderForValue) { if (rollupPropertySourceLinksBuilder_ == null) { ensureRollupPropertySourceLinksIsMutable(); rollupPropertySourceLinks_.set(index, builderForValue.build()); @@ -805,13 +938,18 @@ public Builder setRollupPropertySourceLinks( return this; } /** + * + * *
      * The created roll-up property source links.
      * 
* - * repeated .google.analytics.admin.v1alpha.RollupPropertySourceLink rollup_property_source_links = 2; + * + * repeated .google.analytics.admin.v1alpha.RollupPropertySourceLink rollup_property_source_links = 2; + * */ - public Builder addRollupPropertySourceLinks(com.google.analytics.admin.v1alpha.RollupPropertySourceLink value) { + public Builder addRollupPropertySourceLinks( + com.google.analytics.admin.v1alpha.RollupPropertySourceLink value) { if (rollupPropertySourceLinksBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -825,11 +963,15 @@ public Builder addRollupPropertySourceLinks(com.google.analytics.admin.v1alpha.R return this; } /** + * + * *
      * The created roll-up property source links.
      * 
* - * repeated .google.analytics.admin.v1alpha.RollupPropertySourceLink rollup_property_source_links = 2; + * + * repeated .google.analytics.admin.v1alpha.RollupPropertySourceLink rollup_property_source_links = 2; + * */ public Builder addRollupPropertySourceLinks( int index, com.google.analytics.admin.v1alpha.RollupPropertySourceLink value) { @@ -846,11 +988,15 @@ public Builder addRollupPropertySourceLinks( return this; } /** + * + * *
      * The created roll-up property source links.
      * 
* - * repeated .google.analytics.admin.v1alpha.RollupPropertySourceLink rollup_property_source_links = 2; + * + * repeated .google.analytics.admin.v1alpha.RollupPropertySourceLink rollup_property_source_links = 2; + * */ public Builder addRollupPropertySourceLinks( com.google.analytics.admin.v1alpha.RollupPropertySourceLink.Builder builderForValue) { @@ -864,14 +1010,19 @@ public Builder addRollupPropertySourceLinks( return this; } /** + * + * *
      * The created roll-up property source links.
      * 
* - * repeated .google.analytics.admin.v1alpha.RollupPropertySourceLink rollup_property_source_links = 2; + * + * repeated .google.analytics.admin.v1alpha.RollupPropertySourceLink rollup_property_source_links = 2; + * */ public Builder addRollupPropertySourceLinks( - int index, com.google.analytics.admin.v1alpha.RollupPropertySourceLink.Builder builderForValue) { + int index, + com.google.analytics.admin.v1alpha.RollupPropertySourceLink.Builder builderForValue) { if (rollupPropertySourceLinksBuilder_ == null) { ensureRollupPropertySourceLinksIsMutable(); rollupPropertySourceLinks_.add(index, builderForValue.build()); @@ -882,18 +1033,22 @@ public Builder addRollupPropertySourceLinks( return this; } /** + * + * *
      * The created roll-up property source links.
      * 
* - * repeated .google.analytics.admin.v1alpha.RollupPropertySourceLink rollup_property_source_links = 2; + * + * repeated .google.analytics.admin.v1alpha.RollupPropertySourceLink rollup_property_source_links = 2; + * */ public Builder addAllRollupPropertySourceLinks( - java.lang.Iterable values) { + java.lang.Iterable + values) { if (rollupPropertySourceLinksBuilder_ == null) { ensureRollupPropertySourceLinksIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, rollupPropertySourceLinks_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, rollupPropertySourceLinks_); onChanged(); } else { rollupPropertySourceLinksBuilder_.addAllMessages(values); @@ -901,11 +1056,15 @@ public Builder addAllRollupPropertySourceLinks( return this; } /** + * + * *
      * The created roll-up property source links.
      * 
* - * repeated .google.analytics.admin.v1alpha.RollupPropertySourceLink rollup_property_source_links = 2; + * + * repeated .google.analytics.admin.v1alpha.RollupPropertySourceLink rollup_property_source_links = 2; + * */ public Builder clearRollupPropertySourceLinks() { if (rollupPropertySourceLinksBuilder_ == null) { @@ -918,11 +1077,15 @@ public Builder clearRollupPropertySourceLinks() { return this; } /** + * + * *
      * The created roll-up property source links.
      * 
* - * repeated .google.analytics.admin.v1alpha.RollupPropertySourceLink rollup_property_source_links = 2; + * + * repeated .google.analytics.admin.v1alpha.RollupPropertySourceLink rollup_property_source_links = 2; + * */ public Builder removeRollupPropertySourceLinks(int index) { if (rollupPropertySourceLinksBuilder_ == null) { @@ -935,39 +1098,53 @@ public Builder removeRollupPropertySourceLinks(int index) { return this; } /** + * + * *
      * The created roll-up property source links.
      * 
* - * repeated .google.analytics.admin.v1alpha.RollupPropertySourceLink rollup_property_source_links = 2; + * + * repeated .google.analytics.admin.v1alpha.RollupPropertySourceLink rollup_property_source_links = 2; + * */ - public com.google.analytics.admin.v1alpha.RollupPropertySourceLink.Builder getRollupPropertySourceLinksBuilder( - int index) { + public com.google.analytics.admin.v1alpha.RollupPropertySourceLink.Builder + getRollupPropertySourceLinksBuilder(int index) { return getRollupPropertySourceLinksFieldBuilder().getBuilder(index); } /** + * + * *
      * The created roll-up property source links.
      * 
* - * repeated .google.analytics.admin.v1alpha.RollupPropertySourceLink rollup_property_source_links = 2; + * + * repeated .google.analytics.admin.v1alpha.RollupPropertySourceLink rollup_property_source_links = 2; + * */ - public com.google.analytics.admin.v1alpha.RollupPropertySourceLinkOrBuilder getRollupPropertySourceLinksOrBuilder( - int index) { + public com.google.analytics.admin.v1alpha.RollupPropertySourceLinkOrBuilder + getRollupPropertySourceLinksOrBuilder(int index) { if (rollupPropertySourceLinksBuilder_ == null) { - return rollupPropertySourceLinks_.get(index); } else { + return rollupPropertySourceLinks_.get(index); + } else { return rollupPropertySourceLinksBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * The created roll-up property source links.
      * 
* - * repeated .google.analytics.admin.v1alpha.RollupPropertySourceLink rollup_property_source_links = 2; + * + * repeated .google.analytics.admin.v1alpha.RollupPropertySourceLink rollup_property_source_links = 2; + * */ - public java.util.List - getRollupPropertySourceLinksOrBuilderList() { + public java.util.List< + ? extends com.google.analytics.admin.v1alpha.RollupPropertySourceLinkOrBuilder> + getRollupPropertySourceLinksOrBuilderList() { if (rollupPropertySourceLinksBuilder_ != null) { return rollupPropertySourceLinksBuilder_.getMessageOrBuilderList(); } else { @@ -975,45 +1152,67 @@ public com.google.analytics.admin.v1alpha.RollupPropertySourceLinkOrBuilder getR } } /** + * + * *
      * The created roll-up property source links.
      * 
* - * repeated .google.analytics.admin.v1alpha.RollupPropertySourceLink rollup_property_source_links = 2; + * + * repeated .google.analytics.admin.v1alpha.RollupPropertySourceLink rollup_property_source_links = 2; + * */ - public com.google.analytics.admin.v1alpha.RollupPropertySourceLink.Builder addRollupPropertySourceLinksBuilder() { - return getRollupPropertySourceLinksFieldBuilder().addBuilder( - com.google.analytics.admin.v1alpha.RollupPropertySourceLink.getDefaultInstance()); + public com.google.analytics.admin.v1alpha.RollupPropertySourceLink.Builder + addRollupPropertySourceLinksBuilder() { + return getRollupPropertySourceLinksFieldBuilder() + .addBuilder( + com.google.analytics.admin.v1alpha.RollupPropertySourceLink.getDefaultInstance()); } /** + * + * *
      * The created roll-up property source links.
      * 
* - * repeated .google.analytics.admin.v1alpha.RollupPropertySourceLink rollup_property_source_links = 2; + * + * repeated .google.analytics.admin.v1alpha.RollupPropertySourceLink rollup_property_source_links = 2; + * */ - public com.google.analytics.admin.v1alpha.RollupPropertySourceLink.Builder addRollupPropertySourceLinksBuilder( - int index) { - return getRollupPropertySourceLinksFieldBuilder().addBuilder( - index, com.google.analytics.admin.v1alpha.RollupPropertySourceLink.getDefaultInstance()); + public com.google.analytics.admin.v1alpha.RollupPropertySourceLink.Builder + addRollupPropertySourceLinksBuilder(int index) { + return getRollupPropertySourceLinksFieldBuilder() + .addBuilder( + index, + com.google.analytics.admin.v1alpha.RollupPropertySourceLink.getDefaultInstance()); } /** + * + * *
      * The created roll-up property source links.
      * 
* - * repeated .google.analytics.admin.v1alpha.RollupPropertySourceLink rollup_property_source_links = 2; + * + * repeated .google.analytics.admin.v1alpha.RollupPropertySourceLink rollup_property_source_links = 2; + * */ - public java.util.List - getRollupPropertySourceLinksBuilderList() { + public java.util.List + getRollupPropertySourceLinksBuilderList() { return getRollupPropertySourceLinksFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.RollupPropertySourceLink, com.google.analytics.admin.v1alpha.RollupPropertySourceLink.Builder, com.google.analytics.admin.v1alpha.RollupPropertySourceLinkOrBuilder> + com.google.analytics.admin.v1alpha.RollupPropertySourceLink, + com.google.analytics.admin.v1alpha.RollupPropertySourceLink.Builder, + com.google.analytics.admin.v1alpha.RollupPropertySourceLinkOrBuilder> getRollupPropertySourceLinksFieldBuilder() { if (rollupPropertySourceLinksBuilder_ == null) { - rollupPropertySourceLinksBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.RollupPropertySourceLink, com.google.analytics.admin.v1alpha.RollupPropertySourceLink.Builder, com.google.analytics.admin.v1alpha.RollupPropertySourceLinkOrBuilder>( + rollupPropertySourceLinksBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.analytics.admin.v1alpha.RollupPropertySourceLink, + com.google.analytics.admin.v1alpha.RollupPropertySourceLink.Builder, + com.google.analytics.admin.v1alpha.RollupPropertySourceLinkOrBuilder>( rollupPropertySourceLinks_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), @@ -1022,9 +1221,9 @@ public com.google.analytics.admin.v1alpha.RollupPropertySourceLink.Builder addRo } return rollupPropertySourceLinksBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1034,41 +1233,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.CreateRollupPropertyResponse) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.CreateRollupPropertyResponse) - private static final com.google.analytics.admin.v1alpha.CreateRollupPropertyResponse DEFAULT_INSTANCE; + private static final com.google.analytics.admin.v1alpha.CreateRollupPropertyResponse + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.CreateRollupPropertyResponse(); } - public static com.google.analytics.admin.v1alpha.CreateRollupPropertyResponse getDefaultInstance() { + public static com.google.analytics.admin.v1alpha.CreateRollupPropertyResponse + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateRollupPropertyResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateRollupPropertyResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1080,9 +1281,8 @@ public com.google.protobuf.Parser getParserForType } @java.lang.Override - public com.google.analytics.admin.v1alpha.CreateRollupPropertyResponse getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.CreateRollupPropertyResponse + 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/CreateRollupPropertyResponseOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateRollupPropertyResponseOrBuilder.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/CreateRollupPropertyResponseOrBuilder.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateRollupPropertyResponseOrBuilder.java index 1765871dce7b..4f1a51e8a5ce 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateRollupPropertyResponseOrBuilder.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateRollupPropertyResponseOrBuilder.java @@ -1,31 +1,55 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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 CreateRollupPropertyResponseOrBuilder extends +public interface CreateRollupPropertyResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.CreateRollupPropertyResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The created roll-up property.
    * 
* * .google.analytics.admin.v1alpha.Property rollup_property = 1; + * * @return Whether the rollupProperty field is set. */ boolean hasRollupProperty(); /** + * + * *
    * The created roll-up property.
    * 
* * .google.analytics.admin.v1alpha.Property rollup_property = 1; + * * @return The rollupProperty. */ com.google.analytics.admin.v1alpha.Property getRollupProperty(); /** + * + * *
    * The created roll-up property.
    * 
@@ -35,46 +59,67 @@ public interface CreateRollupPropertyResponseOrBuilder extends com.google.analytics.admin.v1alpha.PropertyOrBuilder getRollupPropertyOrBuilder(); /** + * + * *
    * The created roll-up property source links.
    * 
* - * repeated .google.analytics.admin.v1alpha.RollupPropertySourceLink rollup_property_source_links = 2; + * + * repeated .google.analytics.admin.v1alpha.RollupPropertySourceLink rollup_property_source_links = 2; + * */ - java.util.List + java.util.List getRollupPropertySourceLinksList(); /** + * + * *
    * The created roll-up property source links.
    * 
* - * repeated .google.analytics.admin.v1alpha.RollupPropertySourceLink rollup_property_source_links = 2; + * + * repeated .google.analytics.admin.v1alpha.RollupPropertySourceLink rollup_property_source_links = 2; + * */ - com.google.analytics.admin.v1alpha.RollupPropertySourceLink getRollupPropertySourceLinks(int index); + com.google.analytics.admin.v1alpha.RollupPropertySourceLink getRollupPropertySourceLinks( + int index); /** + * + * *
    * The created roll-up property source links.
    * 
* - * repeated .google.analytics.admin.v1alpha.RollupPropertySourceLink rollup_property_source_links = 2; + * + * repeated .google.analytics.admin.v1alpha.RollupPropertySourceLink rollup_property_source_links = 2; + * */ int getRollupPropertySourceLinksCount(); /** + * + * *
    * The created roll-up property source links.
    * 
* - * repeated .google.analytics.admin.v1alpha.RollupPropertySourceLink rollup_property_source_links = 2; + * + * repeated .google.analytics.admin.v1alpha.RollupPropertySourceLink rollup_property_source_links = 2; + * */ - java.util.List + java.util.List getRollupPropertySourceLinksOrBuilderList(); /** + * + * *
    * The created roll-up property source links.
    * 
* - * repeated .google.analytics.admin.v1alpha.RollupPropertySourceLink rollup_property_source_links = 2; + * + * repeated .google.analytics.admin.v1alpha.RollupPropertySourceLink rollup_property_source_links = 2; + * */ - com.google.analytics.admin.v1alpha.RollupPropertySourceLinkOrBuilder getRollupPropertySourceLinksOrBuilder( - int index); + com.google.analytics.admin.v1alpha.RollupPropertySourceLinkOrBuilder + getRollupPropertySourceLinksOrBuilder(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/CreateRollupPropertySourceLinkRequest.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateRollupPropertySourceLinkRequest.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/CreateRollupPropertySourceLinkRequest.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateRollupPropertySourceLinkRequest.java index 018b6c67c08d..fe838f34b369 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateRollupPropertySourceLinkRequest.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateRollupPropertySourceLinkRequest.java @@ -1,58 +1,85 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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 CreateRollupPropertySourceLink RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.CreateRollupPropertySourceLinkRequest} */ -public final class CreateRollupPropertySourceLinkRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CreateRollupPropertySourceLinkRequest + extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.CreateRollupPropertySourceLinkRequest) CreateRollupPropertySourceLinkRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CreateRollupPropertySourceLinkRequest.newBuilder() to construct. - private CreateRollupPropertySourceLinkRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private CreateRollupPropertySourceLinkRequest( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CreateRollupPropertySourceLinkRequest() { parent_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CreateRollupPropertySourceLinkRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_CreateRollupPropertySourceLinkRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_CreateRollupPropertySourceLinkRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_CreateRollupPropertySourceLinkRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_CreateRollupPropertySourceLinkRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.CreateRollupPropertySourceLinkRequest.class, com.google.analytics.admin.v1alpha.CreateRollupPropertySourceLinkRequest.Builder.class); + com.google.analytics.admin.v1alpha.CreateRollupPropertySourceLinkRequest.class, + com.google.analytics.admin.v1alpha.CreateRollupPropertySourceLinkRequest.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 @@ -61,30 +88,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 { @@ -95,11 +124,16 @@ public java.lang.String getParent() { public static final int ROLLUP_PROPERTY_SOURCE_LINK_FIELD_NUMBER = 2; private com.google.analytics.admin.v1alpha.RollupPropertySourceLink rollupPropertySourceLink_; /** + * + * *
    * Required. The roll-up property source link to create.
    * 
* - * .google.analytics.admin.v1alpha.RollupPropertySourceLink rollup_property_source_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.RollupPropertySourceLink rollup_property_source_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the rollupPropertySourceLink field is set. */ @java.lang.Override @@ -107,30 +141,45 @@ public boolean hasRollupPropertySourceLink() { return rollupPropertySourceLink_ != null; } /** + * + * *
    * Required. The roll-up property source link to create.
    * 
* - * .google.analytics.admin.v1alpha.RollupPropertySourceLink rollup_property_source_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.RollupPropertySourceLink rollup_property_source_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The rollupPropertySourceLink. */ @java.lang.Override public com.google.analytics.admin.v1alpha.RollupPropertySourceLink getRollupPropertySourceLink() { - return rollupPropertySourceLink_ == null ? com.google.analytics.admin.v1alpha.RollupPropertySourceLink.getDefaultInstance() : rollupPropertySourceLink_; + return rollupPropertySourceLink_ == null + ? com.google.analytics.admin.v1alpha.RollupPropertySourceLink.getDefaultInstance() + : rollupPropertySourceLink_; } /** + * + * *
    * Required. The roll-up property source link to create.
    * 
* - * .google.analytics.admin.v1alpha.RollupPropertySourceLink rollup_property_source_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.RollupPropertySourceLink rollup_property_source_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public com.google.analytics.admin.v1alpha.RollupPropertySourceLinkOrBuilder getRollupPropertySourceLinkOrBuilder() { - return rollupPropertySourceLink_ == null ? com.google.analytics.admin.v1alpha.RollupPropertySourceLink.getDefaultInstance() : rollupPropertySourceLink_; + public com.google.analytics.admin.v1alpha.RollupPropertySourceLinkOrBuilder + getRollupPropertySourceLinkOrBuilder() { + return rollupPropertySourceLink_ == null + ? com.google.analytics.admin.v1alpha.RollupPropertySourceLink.getDefaultInstance() + : rollupPropertySourceLink_; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -142,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_); } @@ -163,8 +211,9 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (rollupPropertySourceLink_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getRollupPropertySourceLink()); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 2, getRollupPropertySourceLink()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -174,19 +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.CreateRollupPropertySourceLinkRequest)) { + if (!(obj + instanceof com.google.analytics.admin.v1alpha.CreateRollupPropertySourceLinkRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.CreateRollupPropertySourceLinkRequest other = (com.google.analytics.admin.v1alpha.CreateRollupPropertySourceLinkRequest) obj; + com.google.analytics.admin.v1alpha.CreateRollupPropertySourceLinkRequest other = + (com.google.analytics.admin.v1alpha.CreateRollupPropertySourceLinkRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; + if (!getParent().equals(other.getParent())) return false; if (hasRollupPropertySourceLink() != other.hasRollupPropertySourceLink()) return false; if (hasRollupPropertySourceLink()) { - if (!getRollupPropertySourceLink() - .equals(other.getRollupPropertySourceLink())) return false; + if (!getRollupPropertySourceLink().equals(other.getRollupPropertySourceLink())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -211,131 +260,139 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.CreateRollupPropertySourceLinkRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.CreateRollupPropertySourceLinkRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.CreateRollupPropertySourceLinkRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.CreateRollupPropertySourceLinkRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.CreateRollupPropertySourceLinkRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.analytics.admin.v1alpha.CreateRollupPropertySourceLinkRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.CreateRollupPropertySourceLinkRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.CreateRollupPropertySourceLinkRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.CreateRollupPropertySourceLinkRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.CreateRollupPropertySourceLinkRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.CreateRollupPropertySourceLinkRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.CreateRollupPropertySourceLinkRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.CreateRollupPropertySourceLinkRequest parseDelimitedFrom( - java.io.InputStream input, - 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.CreateRollupPropertySourceLinkRequest + parseDelimitedFrom( + java.io.InputStream input, 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.CreateRollupPropertySourceLinkRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.CreateRollupPropertySourceLinkRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1alpha.CreateRollupPropertySourceLinkRequest prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1alpha.CreateRollupPropertySourceLinkRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder 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 CreateRollupPropertySourceLink RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.CreateRollupPropertySourceLinkRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.CreateRollupPropertySourceLinkRequest) com.google.analytics.admin.v1alpha.CreateRollupPropertySourceLinkRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_CreateRollupPropertySourceLinkRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_CreateRollupPropertySourceLinkRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_CreateRollupPropertySourceLinkRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_CreateRollupPropertySourceLinkRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.CreateRollupPropertySourceLinkRequest.class, com.google.analytics.admin.v1alpha.CreateRollupPropertySourceLinkRequest.Builder.class); + com.google.analytics.admin.v1alpha.CreateRollupPropertySourceLinkRequest.class, + com.google.analytics.admin.v1alpha.CreateRollupPropertySourceLinkRequest.Builder + .class); } - // Construct using com.google.analytics.admin.v1alpha.CreateRollupPropertySourceLinkRequest.newBuilder() - private Builder() { - - } + // Construct using + // com.google.analytics.admin.v1alpha.CreateRollupPropertySourceLinkRequest.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(); @@ -350,19 +407,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_CreateRollupPropertySourceLinkRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_CreateRollupPropertySourceLinkRequest_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.CreateRollupPropertySourceLinkRequest getDefaultInstanceForType() { - return com.google.analytics.admin.v1alpha.CreateRollupPropertySourceLinkRequest.getDefaultInstance(); + public com.google.analytics.admin.v1alpha.CreateRollupPropertySourceLinkRequest + getDefaultInstanceForType() { + return com.google.analytics.admin.v1alpha.CreateRollupPropertySourceLinkRequest + .getDefaultInstance(); } @java.lang.Override public com.google.analytics.admin.v1alpha.CreateRollupPropertySourceLinkRequest build() { - com.google.analytics.admin.v1alpha.CreateRollupPropertySourceLinkRequest result = buildPartial(); + com.google.analytics.admin.v1alpha.CreateRollupPropertySourceLinkRequest result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -371,21 +431,26 @@ public com.google.analytics.admin.v1alpha.CreateRollupPropertySourceLinkRequest @java.lang.Override public com.google.analytics.admin.v1alpha.CreateRollupPropertySourceLinkRequest buildPartial() { - com.google.analytics.admin.v1alpha.CreateRollupPropertySourceLinkRequest result = new com.google.analytics.admin.v1alpha.CreateRollupPropertySourceLinkRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.analytics.admin.v1alpha.CreateRollupPropertySourceLinkRequest result = + new com.google.analytics.admin.v1alpha.CreateRollupPropertySourceLinkRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.analytics.admin.v1alpha.CreateRollupPropertySourceLinkRequest result) { + private void buildPartial0( + com.google.analytics.admin.v1alpha.CreateRollupPropertySourceLinkRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.parent_ = parent_; } if (((from_bitField0_ & 0x00000002) != 0)) { - result.rollupPropertySourceLink_ = rollupPropertySourceLinkBuilder_ == null - ? rollupPropertySourceLink_ - : rollupPropertySourceLinkBuilder_.build(); + result.rollupPropertySourceLink_ = + rollupPropertySourceLinkBuilder_ == null + ? rollupPropertySourceLink_ + : rollupPropertySourceLinkBuilder_.build(); } } @@ -393,46 +458,52 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.CreateRollupProper public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.analytics.admin.v1alpha.CreateRollupPropertySourceLinkRequest) { - return mergeFrom((com.google.analytics.admin.v1alpha.CreateRollupPropertySourceLinkRequest)other); + if (other + instanceof com.google.analytics.admin.v1alpha.CreateRollupPropertySourceLinkRequest) { + return mergeFrom( + (com.google.analytics.admin.v1alpha.CreateRollupPropertySourceLinkRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.analytics.admin.v1alpha.CreateRollupPropertySourceLinkRequest other) { - if (other == com.google.analytics.admin.v1alpha.CreateRollupPropertySourceLinkRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.analytics.admin.v1alpha.CreateRollupPropertySourceLinkRequest other) { + if (other + == com.google.analytics.admin.v1alpha.CreateRollupPropertySourceLinkRequest + .getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -467,24 +538,26 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - input.readMessage( - getRollupPropertySourceLinkFieldBuilder().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( + getRollupPropertySourceLinkFieldBuilder().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) { @@ -494,23 +567,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; @@ -519,21 +597,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 { @@ -541,30 +622,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() { @@ -574,18 +666,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; @@ -595,41 +693,62 @@ public Builder setParentBytes( private com.google.analytics.admin.v1alpha.RollupPropertySourceLink rollupPropertySourceLink_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.RollupPropertySourceLink, com.google.analytics.admin.v1alpha.RollupPropertySourceLink.Builder, com.google.analytics.admin.v1alpha.RollupPropertySourceLinkOrBuilder> rollupPropertySourceLinkBuilder_; + com.google.analytics.admin.v1alpha.RollupPropertySourceLink, + com.google.analytics.admin.v1alpha.RollupPropertySourceLink.Builder, + com.google.analytics.admin.v1alpha.RollupPropertySourceLinkOrBuilder> + rollupPropertySourceLinkBuilder_; /** + * + * *
      * Required. The roll-up property source link to create.
      * 
* - * .google.analytics.admin.v1alpha.RollupPropertySourceLink rollup_property_source_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.RollupPropertySourceLink rollup_property_source_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the rollupPropertySourceLink field is set. */ public boolean hasRollupPropertySourceLink() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * Required. The roll-up property source link to create.
      * 
* - * .google.analytics.admin.v1alpha.RollupPropertySourceLink rollup_property_source_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.RollupPropertySourceLink rollup_property_source_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The rollupPropertySourceLink. */ - public com.google.analytics.admin.v1alpha.RollupPropertySourceLink getRollupPropertySourceLink() { + public com.google.analytics.admin.v1alpha.RollupPropertySourceLink + getRollupPropertySourceLink() { if (rollupPropertySourceLinkBuilder_ == null) { - return rollupPropertySourceLink_ == null ? com.google.analytics.admin.v1alpha.RollupPropertySourceLink.getDefaultInstance() : rollupPropertySourceLink_; + return rollupPropertySourceLink_ == null + ? com.google.analytics.admin.v1alpha.RollupPropertySourceLink.getDefaultInstance() + : rollupPropertySourceLink_; } else { return rollupPropertySourceLinkBuilder_.getMessage(); } } /** + * + * *
      * Required. The roll-up property source link to create.
      * 
* - * .google.analytics.admin.v1alpha.RollupPropertySourceLink rollup_property_source_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.RollupPropertySourceLink rollup_property_source_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setRollupPropertySourceLink(com.google.analytics.admin.v1alpha.RollupPropertySourceLink value) { + public Builder setRollupPropertySourceLink( + com.google.analytics.admin.v1alpha.RollupPropertySourceLink value) { if (rollupPropertySourceLinkBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -643,11 +762,15 @@ public Builder setRollupPropertySourceLink(com.google.analytics.admin.v1alpha.Ro return this; } /** + * + * *
      * Required. The roll-up property source link to create.
      * 
* - * .google.analytics.admin.v1alpha.RollupPropertySourceLink rollup_property_source_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.RollupPropertySourceLink rollup_property_source_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setRollupPropertySourceLink( com.google.analytics.admin.v1alpha.RollupPropertySourceLink.Builder builderForValue) { @@ -661,17 +784,24 @@ public Builder setRollupPropertySourceLink( return this; } /** + * + * *
      * Required. The roll-up property source link to create.
      * 
* - * .google.analytics.admin.v1alpha.RollupPropertySourceLink rollup_property_source_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.RollupPropertySourceLink rollup_property_source_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder mergeRollupPropertySourceLink(com.google.analytics.admin.v1alpha.RollupPropertySourceLink value) { + public Builder mergeRollupPropertySourceLink( + com.google.analytics.admin.v1alpha.RollupPropertySourceLink value) { if (rollupPropertySourceLinkBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) && - rollupPropertySourceLink_ != null && - rollupPropertySourceLink_ != com.google.analytics.admin.v1alpha.RollupPropertySourceLink.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) + && rollupPropertySourceLink_ != null + && rollupPropertySourceLink_ + != com.google.analytics.admin.v1alpha.RollupPropertySourceLink + .getDefaultInstance()) { getRollupPropertySourceLinkBuilder().mergeFrom(value); } else { rollupPropertySourceLink_ = value; @@ -684,11 +814,15 @@ public Builder mergeRollupPropertySourceLink(com.google.analytics.admin.v1alpha. return this; } /** + * + * *
      * Required. The roll-up property source link to create.
      * 
* - * .google.analytics.admin.v1alpha.RollupPropertySourceLink rollup_property_source_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.RollupPropertySourceLink rollup_property_source_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearRollupPropertySourceLink() { bitField0_ = (bitField0_ & ~0x00000002); @@ -701,55 +835,73 @@ public Builder clearRollupPropertySourceLink() { return this; } /** + * + * *
      * Required. The roll-up property source link to create.
      * 
* - * .google.analytics.admin.v1alpha.RollupPropertySourceLink rollup_property_source_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.RollupPropertySourceLink rollup_property_source_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.analytics.admin.v1alpha.RollupPropertySourceLink.Builder getRollupPropertySourceLinkBuilder() { + public com.google.analytics.admin.v1alpha.RollupPropertySourceLink.Builder + getRollupPropertySourceLinkBuilder() { bitField0_ |= 0x00000002; onChanged(); return getRollupPropertySourceLinkFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The roll-up property source link to create.
      * 
* - * .google.analytics.admin.v1alpha.RollupPropertySourceLink rollup_property_source_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.RollupPropertySourceLink rollup_property_source_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.analytics.admin.v1alpha.RollupPropertySourceLinkOrBuilder getRollupPropertySourceLinkOrBuilder() { + public com.google.analytics.admin.v1alpha.RollupPropertySourceLinkOrBuilder + getRollupPropertySourceLinkOrBuilder() { if (rollupPropertySourceLinkBuilder_ != null) { return rollupPropertySourceLinkBuilder_.getMessageOrBuilder(); } else { - return rollupPropertySourceLink_ == null ? - com.google.analytics.admin.v1alpha.RollupPropertySourceLink.getDefaultInstance() : rollupPropertySourceLink_; + return rollupPropertySourceLink_ == null + ? com.google.analytics.admin.v1alpha.RollupPropertySourceLink.getDefaultInstance() + : rollupPropertySourceLink_; } } /** + * + * *
      * Required. The roll-up property source link to create.
      * 
* - * .google.analytics.admin.v1alpha.RollupPropertySourceLink rollup_property_source_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.RollupPropertySourceLink rollup_property_source_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.RollupPropertySourceLink, com.google.analytics.admin.v1alpha.RollupPropertySourceLink.Builder, com.google.analytics.admin.v1alpha.RollupPropertySourceLinkOrBuilder> + com.google.analytics.admin.v1alpha.RollupPropertySourceLink, + com.google.analytics.admin.v1alpha.RollupPropertySourceLink.Builder, + com.google.analytics.admin.v1alpha.RollupPropertySourceLinkOrBuilder> getRollupPropertySourceLinkFieldBuilder() { if (rollupPropertySourceLinkBuilder_ == null) { - rollupPropertySourceLinkBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.RollupPropertySourceLink, com.google.analytics.admin.v1alpha.RollupPropertySourceLink.Builder, com.google.analytics.admin.v1alpha.RollupPropertySourceLinkOrBuilder>( - getRollupPropertySourceLink(), - getParentForChildren(), - isClean()); + rollupPropertySourceLinkBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1alpha.RollupPropertySourceLink, + com.google.analytics.admin.v1alpha.RollupPropertySourceLink.Builder, + com.google.analytics.admin.v1alpha.RollupPropertySourceLinkOrBuilder>( + getRollupPropertySourceLink(), getParentForChildren(), isClean()); rollupPropertySourceLink_ = null; } return rollupPropertySourceLinkBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -759,41 +911,44 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.CreateRollupPropertySourceLinkRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.CreateRollupPropertySourceLinkRequest) - private static final com.google.analytics.admin.v1alpha.CreateRollupPropertySourceLinkRequest DEFAULT_INSTANCE; + private static final com.google.analytics.admin.v1alpha.CreateRollupPropertySourceLinkRequest + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.CreateRollupPropertySourceLinkRequest(); + DEFAULT_INSTANCE = + new com.google.analytics.admin.v1alpha.CreateRollupPropertySourceLinkRequest(); } - public static com.google.analytics.admin.v1alpha.CreateRollupPropertySourceLinkRequest getDefaultInstance() { + public static com.google.analytics.admin.v1alpha.CreateRollupPropertySourceLinkRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateRollupPropertySourceLinkRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateRollupPropertySourceLinkRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -805,9 +960,8 @@ public com.google.protobuf.Parser getPars } @java.lang.Override - public com.google.analytics.admin.v1alpha.CreateRollupPropertySourceLinkRequest getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.CreateRollupPropertySourceLinkRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateRollupPropertySourceLinkRequestOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateRollupPropertySourceLinkRequestOrBuilder.java new file mode 100644 index 000000000000..cb5b773e2ea9 --- /dev/null +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateRollupPropertySourceLinkRequestOrBuilder.java @@ -0,0 +1,98 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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 CreateRollupPropertySourceLinkRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.CreateRollupPropertySourceLinkRequest) + 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 roll-up property source link to create.
+   * 
+ * + * + * .google.analytics.admin.v1alpha.RollupPropertySourceLink rollup_property_source_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return Whether the rollupPropertySourceLink field is set. + */ + boolean hasRollupPropertySourceLink(); + /** + * + * + *
+   * Required. The roll-up property source link to create.
+   * 
+ * + * + * .google.analytics.admin.v1alpha.RollupPropertySourceLink rollup_property_source_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The rollupPropertySourceLink. + */ + com.google.analytics.admin.v1alpha.RollupPropertySourceLink getRollupPropertySourceLink(); + /** + * + * + *
+   * Required. The roll-up property source link to create.
+   * 
+ * + * + * .google.analytics.admin.v1alpha.RollupPropertySourceLink rollup_property_source_link = 2 [(.google.api.field_behavior) = REQUIRED]; + * + */ + com.google.analytics.admin.v1alpha.RollupPropertySourceLinkOrBuilder + getRollupPropertySourceLinkOrBuilder(); +} diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateSKAdNetworkConversionValueSchemaRequest.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateSKAdNetworkConversionValueSchemaRequest.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/CreateSKAdNetworkConversionValueSchemaRequest.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateSKAdNetworkConversionValueSchemaRequest.java index 22e7a677970f..7b6cb24eb530 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateSKAdNetworkConversionValueSchemaRequest.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateSKAdNetworkConversionValueSchemaRequest.java @@ -1,58 +1,87 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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 CreateSKAdNetworkConversionValueSchema RPC.
  * 
* - * Protobuf type {@code google.analytics.admin.v1alpha.CreateSKAdNetworkConversionValueSchemaRequest} + * Protobuf type {@code + * google.analytics.admin.v1alpha.CreateSKAdNetworkConversionValueSchemaRequest} */ -public final class CreateSKAdNetworkConversionValueSchemaRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CreateSKAdNetworkConversionValueSchemaRequest + extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.CreateSKAdNetworkConversionValueSchemaRequest) CreateSKAdNetworkConversionValueSchemaRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CreateSKAdNetworkConversionValueSchemaRequest.newBuilder() to construct. - private CreateSKAdNetworkConversionValueSchemaRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private CreateSKAdNetworkConversionValueSchemaRequest( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CreateSKAdNetworkConversionValueSchemaRequest() { parent_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CreateSKAdNetworkConversionValueSchemaRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_CreateSKAdNetworkConversionValueSchemaRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_CreateSKAdNetworkConversionValueSchemaRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_CreateSKAdNetworkConversionValueSchemaRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_CreateSKAdNetworkConversionValueSchemaRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.CreateSKAdNetworkConversionValueSchemaRequest.class, com.google.analytics.admin.v1alpha.CreateSKAdNetworkConversionValueSchemaRequest.Builder.class); + com.google.analytics.admin.v1alpha.CreateSKAdNetworkConversionValueSchemaRequest.class, + com.google.analytics.admin.v1alpha.CreateSKAdNetworkConversionValueSchemaRequest.Builder + .class); } public static final int PARENT_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** + * + * *
    * Required. The parent resource where this schema 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 @@ -61,30 +90,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 schema 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 { @@ -93,13 +124,19 @@ public java.lang.String getParent() { } public static final int SKADNETWORK_CONVERSION_VALUE_SCHEMA_FIELD_NUMBER = 2; - private com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema skadnetworkConversionValueSchema_; + private com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema + skadnetworkConversionValueSchema_; /** + * + * *
    * Required. SKAdNetwork conversion value schema to create.
    * 
* - * .google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema skadnetwork_conversion_value_schema = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema skadnetwork_conversion_value_schema = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the skadnetworkConversionValueSchema field is set. */ @java.lang.Override @@ -107,30 +144,46 @@ public boolean hasSkadnetworkConversionValueSchema() { return skadnetworkConversionValueSchema_ != null; } /** + * + * *
    * Required. SKAdNetwork conversion value schema to create.
    * 
* - * .google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema skadnetwork_conversion_value_schema = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema skadnetwork_conversion_value_schema = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The skadnetworkConversionValueSchema. */ @java.lang.Override - public com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema getSkadnetworkConversionValueSchema() { - return skadnetworkConversionValueSchema_ == null ? com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema.getDefaultInstance() : skadnetworkConversionValueSchema_; + public com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema + getSkadnetworkConversionValueSchema() { + return skadnetworkConversionValueSchema_ == null + ? com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema.getDefaultInstance() + : skadnetworkConversionValueSchema_; } /** + * + * *
    * Required. SKAdNetwork conversion value schema to create.
    * 
* - * .google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema skadnetwork_conversion_value_schema = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema skadnetwork_conversion_value_schema = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchemaOrBuilder getSkadnetworkConversionValueSchemaOrBuilder() { - return skadnetworkConversionValueSchema_ == null ? com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema.getDefaultInstance() : skadnetworkConversionValueSchema_; + public com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchemaOrBuilder + getSkadnetworkConversionValueSchemaOrBuilder() { + return skadnetworkConversionValueSchema_ == null + ? com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema.getDefaultInstance() + : skadnetworkConversionValueSchema_; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -142,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(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -163,8 +215,9 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (skadnetworkConversionValueSchema_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getSkadnetworkConversionValueSchema()); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 2, getSkadnetworkConversionValueSchema()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -174,16 +227,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.CreateSKAdNetworkConversionValueSchemaRequest)) { + if (!(obj + instanceof + com.google.analytics.admin.v1alpha.CreateSKAdNetworkConversionValueSchemaRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.CreateSKAdNetworkConversionValueSchemaRequest other = (com.google.analytics.admin.v1alpha.CreateSKAdNetworkConversionValueSchemaRequest) obj; + com.google.analytics.admin.v1alpha.CreateSKAdNetworkConversionValueSchemaRequest other = + (com.google.analytics.admin.v1alpha.CreateSKAdNetworkConversionValueSchemaRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; - if (hasSkadnetworkConversionValueSchema() != other.hasSkadnetworkConversionValueSchema()) return false; + if (!getParent().equals(other.getParent())) return false; + if (hasSkadnetworkConversionValueSchema() != other.hasSkadnetworkConversionValueSchema()) + return false; if (hasSkadnetworkConversionValueSchema()) { if (!getSkadnetworkConversionValueSchema() .equals(other.getSkadnetworkConversionValueSchema())) return false; @@ -210,132 +266,147 @@ public int hashCode() { return hash; } - public static com.google.analytics.admin.v1alpha.CreateSKAdNetworkConversionValueSchemaRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.analytics.admin.v1alpha.CreateSKAdNetworkConversionValueSchemaRequest + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.CreateSKAdNetworkConversionValueSchemaRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.analytics.admin.v1alpha.CreateSKAdNetworkConversionValueSchemaRequest + 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.CreateSKAdNetworkConversionValueSchemaRequest parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.analytics.admin.v1alpha.CreateSKAdNetworkConversionValueSchemaRequest + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.CreateSKAdNetworkConversionValueSchemaRequest parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.analytics.admin.v1alpha.CreateSKAdNetworkConversionValueSchemaRequest + parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.CreateSKAdNetworkConversionValueSchemaRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.analytics.admin.v1alpha.CreateSKAdNetworkConversionValueSchemaRequest + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.CreateSKAdNetworkConversionValueSchemaRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.analytics.admin.v1alpha.CreateSKAdNetworkConversionValueSchemaRequest + 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.CreateSKAdNetworkConversionValueSchemaRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.CreateSKAdNetworkConversionValueSchemaRequest + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.CreateSKAdNetworkConversionValueSchemaRequest 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.CreateSKAdNetworkConversionValueSchemaRequest + 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.CreateSKAdNetworkConversionValueSchemaRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.CreateSKAdNetworkConversionValueSchemaRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.CreateSKAdNetworkConversionValueSchemaRequest parseDelimitedFrom( - java.io.InputStream input, - 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.CreateSKAdNetworkConversionValueSchemaRequest + parseDelimitedFrom( + java.io.InputStream input, 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.CreateSKAdNetworkConversionValueSchemaRequest 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.CreateSKAdNetworkConversionValueSchemaRequest + 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.CreateSKAdNetworkConversionValueSchemaRequest 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.CreateSKAdNetworkConversionValueSchemaRequest + 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.CreateSKAdNetworkConversionValueSchemaRequest prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1alpha.CreateSKAdNetworkConversionValueSchemaRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder 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 CreateSKAdNetworkConversionValueSchema RPC.
    * 
* - * Protobuf type {@code google.analytics.admin.v1alpha.CreateSKAdNetworkConversionValueSchemaRequest} + * Protobuf type {@code + * google.analytics.admin.v1alpha.CreateSKAdNetworkConversionValueSchemaRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.CreateSKAdNetworkConversionValueSchemaRequest) com.google.analytics.admin.v1alpha.CreateSKAdNetworkConversionValueSchemaRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_CreateSKAdNetworkConversionValueSchemaRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_CreateSKAdNetworkConversionValueSchemaRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_CreateSKAdNetworkConversionValueSchemaRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_CreateSKAdNetworkConversionValueSchemaRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.CreateSKAdNetworkConversionValueSchemaRequest.class, com.google.analytics.admin.v1alpha.CreateSKAdNetworkConversionValueSchemaRequest.Builder.class); + com.google.analytics.admin.v1alpha.CreateSKAdNetworkConversionValueSchemaRequest + .class, + com.google.analytics.admin.v1alpha.CreateSKAdNetworkConversionValueSchemaRequest + .Builder.class); } - // Construct using com.google.analytics.admin.v1alpha.CreateSKAdNetworkConversionValueSchemaRequest.newBuilder() - private Builder() { - - } + // Construct using + // com.google.analytics.admin.v1alpha.CreateSKAdNetworkConversionValueSchemaRequest.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(); @@ -350,19 +421,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_CreateSKAdNetworkConversionValueSchemaRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_CreateSKAdNetworkConversionValueSchemaRequest_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.CreateSKAdNetworkConversionValueSchemaRequest getDefaultInstanceForType() { - return com.google.analytics.admin.v1alpha.CreateSKAdNetworkConversionValueSchemaRequest.getDefaultInstance(); + public com.google.analytics.admin.v1alpha.CreateSKAdNetworkConversionValueSchemaRequest + getDefaultInstanceForType() { + return com.google.analytics.admin.v1alpha.CreateSKAdNetworkConversionValueSchemaRequest + .getDefaultInstance(); } @java.lang.Override - public com.google.analytics.admin.v1alpha.CreateSKAdNetworkConversionValueSchemaRequest build() { - com.google.analytics.admin.v1alpha.CreateSKAdNetworkConversionValueSchemaRequest result = buildPartial(); + public com.google.analytics.admin.v1alpha.CreateSKAdNetworkConversionValueSchemaRequest + build() { + com.google.analytics.admin.v1alpha.CreateSKAdNetworkConversionValueSchemaRequest result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -370,22 +445,29 @@ public com.google.analytics.admin.v1alpha.CreateSKAdNetworkConversionValueSchema } @java.lang.Override - public com.google.analytics.admin.v1alpha.CreateSKAdNetworkConversionValueSchemaRequest buildPartial() { - com.google.analytics.admin.v1alpha.CreateSKAdNetworkConversionValueSchemaRequest result = new com.google.analytics.admin.v1alpha.CreateSKAdNetworkConversionValueSchemaRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + public com.google.analytics.admin.v1alpha.CreateSKAdNetworkConversionValueSchemaRequest + buildPartial() { + com.google.analytics.admin.v1alpha.CreateSKAdNetworkConversionValueSchemaRequest result = + new com.google.analytics.admin.v1alpha.CreateSKAdNetworkConversionValueSchemaRequest( + this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.analytics.admin.v1alpha.CreateSKAdNetworkConversionValueSchemaRequest result) { + private void buildPartial0( + com.google.analytics.admin.v1alpha.CreateSKAdNetworkConversionValueSchemaRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.parent_ = parent_; } if (((from_bitField0_ & 0x00000002) != 0)) { - result.skadnetworkConversionValueSchema_ = skadnetworkConversionValueSchemaBuilder_ == null - ? skadnetworkConversionValueSchema_ - : skadnetworkConversionValueSchemaBuilder_.build(); + result.skadnetworkConversionValueSchema_ = + skadnetworkConversionValueSchemaBuilder_ == null + ? skadnetworkConversionValueSchema_ + : skadnetworkConversionValueSchemaBuilder_.build(); } } @@ -393,46 +475,54 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.CreateSKAdNetworkC public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.analytics.admin.v1alpha.CreateSKAdNetworkConversionValueSchemaRequest) { - return mergeFrom((com.google.analytics.admin.v1alpha.CreateSKAdNetworkConversionValueSchemaRequest)other); + if (other + instanceof + com.google.analytics.admin.v1alpha.CreateSKAdNetworkConversionValueSchemaRequest) { + return mergeFrom( + (com.google.analytics.admin.v1alpha.CreateSKAdNetworkConversionValueSchemaRequest) + other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.analytics.admin.v1alpha.CreateSKAdNetworkConversionValueSchemaRequest other) { - if (other == com.google.analytics.admin.v1alpha.CreateSKAdNetworkConversionValueSchemaRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.analytics.admin.v1alpha.CreateSKAdNetworkConversionValueSchemaRequest other) { + if (other + == com.google.analytics.admin.v1alpha.CreateSKAdNetworkConversionValueSchemaRequest + .getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -467,24 +557,27 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - input.readMessage( - getSkadnetworkConversionValueSchemaFieldBuilder().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( + getSkadnetworkConversionValueSchemaFieldBuilder().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) { @@ -494,23 +587,28 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The parent resource where this schema 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; @@ -519,21 +617,24 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The parent resource where this schema 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 { @@ -541,30 +642,41 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The parent resource where this schema 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 schema 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() { @@ -574,18 +686,24 @@ public Builder clearParent() { return this; } /** + * + * *
      * Required. The parent resource where this schema 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; @@ -593,43 +711,66 @@ public Builder setParentBytes( return this; } - private com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema skadnetworkConversionValueSchema_; + private com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema + skadnetworkConversionValueSchema_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema, com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema.Builder, com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchemaOrBuilder> skadnetworkConversionValueSchemaBuilder_; + com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema, + com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema.Builder, + com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchemaOrBuilder> + skadnetworkConversionValueSchemaBuilder_; /** + * + * *
      * Required. SKAdNetwork conversion value schema to create.
      * 
* - * .google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema skadnetwork_conversion_value_schema = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema skadnetwork_conversion_value_schema = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the skadnetworkConversionValueSchema field is set. */ public boolean hasSkadnetworkConversionValueSchema() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * Required. SKAdNetwork conversion value schema to create.
      * 
* - * .google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema skadnetwork_conversion_value_schema = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema skadnetwork_conversion_value_schema = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The skadnetworkConversionValueSchema. */ - public com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema getSkadnetworkConversionValueSchema() { + public com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema + getSkadnetworkConversionValueSchema() { if (skadnetworkConversionValueSchemaBuilder_ == null) { - return skadnetworkConversionValueSchema_ == null ? com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema.getDefaultInstance() : skadnetworkConversionValueSchema_; + return skadnetworkConversionValueSchema_ == null + ? com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema + .getDefaultInstance() + : skadnetworkConversionValueSchema_; } else { return skadnetworkConversionValueSchemaBuilder_.getMessage(); } } /** + * + * *
      * Required. SKAdNetwork conversion value schema to create.
      * 
* - * .google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema skadnetwork_conversion_value_schema = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema skadnetwork_conversion_value_schema = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setSkadnetworkConversionValueSchema(com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema value) { + public Builder setSkadnetworkConversionValueSchema( + com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema value) { if (skadnetworkConversionValueSchemaBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -643,14 +784,19 @@ public Builder setSkadnetworkConversionValueSchema(com.google.analytics.admin.v1 return this; } /** + * + * *
      * Required. SKAdNetwork conversion value schema to create.
      * 
* - * .google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema skadnetwork_conversion_value_schema = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema skadnetwork_conversion_value_schema = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setSkadnetworkConversionValueSchema( - com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema.Builder builderForValue) { + com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema.Builder + builderForValue) { if (skadnetworkConversionValueSchemaBuilder_ == null) { skadnetworkConversionValueSchema_ = builderForValue.build(); } else { @@ -661,17 +807,24 @@ public Builder setSkadnetworkConversionValueSchema( return this; } /** + * + * *
      * Required. SKAdNetwork conversion value schema to create.
      * 
* - * .google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema skadnetwork_conversion_value_schema = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema skadnetwork_conversion_value_schema = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder mergeSkadnetworkConversionValueSchema(com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema value) { + public Builder mergeSkadnetworkConversionValueSchema( + com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema value) { if (skadnetworkConversionValueSchemaBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) && - skadnetworkConversionValueSchema_ != null && - skadnetworkConversionValueSchema_ != com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) + && skadnetworkConversionValueSchema_ != null + && skadnetworkConversionValueSchema_ + != com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema + .getDefaultInstance()) { getSkadnetworkConversionValueSchemaBuilder().mergeFrom(value); } else { skadnetworkConversionValueSchema_ = value; @@ -684,11 +837,15 @@ public Builder mergeSkadnetworkConversionValueSchema(com.google.analytics.admin. return this; } /** + * + * *
      * Required. SKAdNetwork conversion value schema to create.
      * 
* - * .google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema skadnetwork_conversion_value_schema = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema skadnetwork_conversion_value_schema = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearSkadnetworkConversionValueSchema() { bitField0_ = (bitField0_ & ~0x00000002); @@ -701,55 +858,74 @@ public Builder clearSkadnetworkConversionValueSchema() { return this; } /** + * + * *
      * Required. SKAdNetwork conversion value schema to create.
      * 
* - * .google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema skadnetwork_conversion_value_schema = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema skadnetwork_conversion_value_schema = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema.Builder getSkadnetworkConversionValueSchemaBuilder() { + public com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema.Builder + getSkadnetworkConversionValueSchemaBuilder() { bitField0_ |= 0x00000002; onChanged(); return getSkadnetworkConversionValueSchemaFieldBuilder().getBuilder(); } /** + * + * *
      * Required. SKAdNetwork conversion value schema to create.
      * 
* - * .google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema skadnetwork_conversion_value_schema = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema skadnetwork_conversion_value_schema = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchemaOrBuilder getSkadnetworkConversionValueSchemaOrBuilder() { + public com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchemaOrBuilder + getSkadnetworkConversionValueSchemaOrBuilder() { if (skadnetworkConversionValueSchemaBuilder_ != null) { return skadnetworkConversionValueSchemaBuilder_.getMessageOrBuilder(); } else { - return skadnetworkConversionValueSchema_ == null ? - com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema.getDefaultInstance() : skadnetworkConversionValueSchema_; + return skadnetworkConversionValueSchema_ == null + ? com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema + .getDefaultInstance() + : skadnetworkConversionValueSchema_; } } /** + * + * *
      * Required. SKAdNetwork conversion value schema to create.
      * 
* - * .google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema skadnetwork_conversion_value_schema = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema skadnetwork_conversion_value_schema = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema, com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema.Builder, com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchemaOrBuilder> + com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema, + com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema.Builder, + com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchemaOrBuilder> getSkadnetworkConversionValueSchemaFieldBuilder() { if (skadnetworkConversionValueSchemaBuilder_ == null) { - skadnetworkConversionValueSchemaBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema, com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema.Builder, com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchemaOrBuilder>( - getSkadnetworkConversionValueSchema(), - getParentForChildren(), - isClean()); + skadnetworkConversionValueSchemaBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema, + com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema.Builder, + com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchemaOrBuilder>( + getSkadnetworkConversionValueSchema(), getParentForChildren(), isClean()); skadnetworkConversionValueSchema_ = null; } return skadnetworkConversionValueSchemaBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -759,55 +935,61 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.CreateSKAdNetworkConversionValueSchemaRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.CreateSKAdNetworkConversionValueSchemaRequest) - private static final com.google.analytics.admin.v1alpha.CreateSKAdNetworkConversionValueSchemaRequest DEFAULT_INSTANCE; + private static final com.google.analytics.admin.v1alpha + .CreateSKAdNetworkConversionValueSchemaRequest + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.CreateSKAdNetworkConversionValueSchemaRequest(); + DEFAULT_INSTANCE = + new com.google.analytics.admin.v1alpha.CreateSKAdNetworkConversionValueSchemaRequest(); } - public static com.google.analytics.admin.v1alpha.CreateSKAdNetworkConversionValueSchemaRequest getDefaultInstance() { + public static com.google.analytics.admin.v1alpha.CreateSKAdNetworkConversionValueSchemaRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateSKAdNetworkConversionValueSchemaRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - 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 CreateSKAdNetworkConversionValueSchemaRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.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.CreateSKAdNetworkConversionValueSchemaRequest getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.CreateSKAdNetworkConversionValueSchemaRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateSKAdNetworkConversionValueSchemaRequestOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateSKAdNetworkConversionValueSchemaRequestOrBuilder.java new file mode 100644 index 000000000000..ba2fe182c2f5 --- /dev/null +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateSKAdNetworkConversionValueSchemaRequestOrBuilder.java @@ -0,0 +1,99 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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 CreateSKAdNetworkConversionValueSchemaRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.CreateSKAdNetworkConversionValueSchemaRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The parent resource where this schema 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 schema 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. SKAdNetwork conversion value schema to create.
+   * 
+ * + * + * .google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema skadnetwork_conversion_value_schema = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return Whether the skadnetworkConversionValueSchema field is set. + */ + boolean hasSkadnetworkConversionValueSchema(); + /** + * + * + *
+   * Required. SKAdNetwork conversion value schema to create.
+   * 
+ * + * + * .google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema skadnetwork_conversion_value_schema = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The skadnetworkConversionValueSchema. + */ + com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema + getSkadnetworkConversionValueSchema(); + /** + * + * + *
+   * Required. SKAdNetwork conversion value schema to create.
+   * 
+ * + * + * .google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema skadnetwork_conversion_value_schema = 2 [(.google.api.field_behavior) = REQUIRED]; + * + */ + com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchemaOrBuilder + getSkadnetworkConversionValueSchemaOrBuilder(); +} 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 f9f9ab8c3220..0076507c255c 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,57 +1,82 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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(); } - 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 @@ -60,29 +85,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 { @@ -93,11 +120,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 @@ -105,30 +137,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; @@ -140,8 +187,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -161,8 +207,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; @@ -172,19 +217,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; @@ -209,131 +253,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(); @@ -348,13 +397,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(); } @@ -369,21 +419,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(); } } @@ -391,46 +444,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; @@ -465,24 +522,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) { @@ -492,22 +551,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; @@ -516,20 +580,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 { @@ -537,28 +604,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() { @@ -568,17 +646,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; @@ -588,39 +672,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) { @@ -636,11 +739,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) { @@ -654,17 +761,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; @@ -677,11 +790,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); @@ -694,55 +811,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); } @@ -752,41 +887,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; @@ -798,9 +935,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..4eea2a37c1f6 --- /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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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/CreateSubpropertyEventFilterRequest.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateSubpropertyEventFilterRequest.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/CreateSubpropertyEventFilterRequest.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateSubpropertyEventFilterRequest.java index 6be5b34dba9f..74f79c656287 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateSubpropertyEventFilterRequest.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateSubpropertyEventFilterRequest.java @@ -1,58 +1,85 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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 CreateSubpropertyEventFilter RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.CreateSubpropertyEventFilterRequest} */ -public final class CreateSubpropertyEventFilterRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CreateSubpropertyEventFilterRequest + extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.CreateSubpropertyEventFilterRequest) CreateSubpropertyEventFilterRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CreateSubpropertyEventFilterRequest.newBuilder() to construct. - private CreateSubpropertyEventFilterRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private CreateSubpropertyEventFilterRequest( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CreateSubpropertyEventFilterRequest() { parent_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CreateSubpropertyEventFilterRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_CreateSubpropertyEventFilterRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_CreateSubpropertyEventFilterRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_CreateSubpropertyEventFilterRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_CreateSubpropertyEventFilterRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.CreateSubpropertyEventFilterRequest.class, com.google.analytics.admin.v1alpha.CreateSubpropertyEventFilterRequest.Builder.class); + com.google.analytics.admin.v1alpha.CreateSubpropertyEventFilterRequest.class, + com.google.analytics.admin.v1alpha.CreateSubpropertyEventFilterRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** + * + * *
    * Required. The ordinary property for which to create a subproperty event
    * filter. Format: properties/property_id 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 @@ -61,30 +88,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 ordinary property for which to create a subproperty event
    * filter. Format: properties/property_id 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 { @@ -95,11 +124,16 @@ public java.lang.String getParent() { public static final int SUBPROPERTY_EVENT_FILTER_FIELD_NUMBER = 2; private com.google.analytics.admin.v1alpha.SubpropertyEventFilter subpropertyEventFilter_; /** + * + * *
    * Required. The subproperty event filter to create.
    * 
* - * .google.analytics.admin.v1alpha.SubpropertyEventFilter subproperty_event_filter = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.SubpropertyEventFilter subproperty_event_filter = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the subpropertyEventFilter field is set. */ @java.lang.Override @@ -107,30 +141,45 @@ public boolean hasSubpropertyEventFilter() { return subpropertyEventFilter_ != null; } /** + * + * *
    * Required. The subproperty event filter to create.
    * 
* - * .google.analytics.admin.v1alpha.SubpropertyEventFilter subproperty_event_filter = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.SubpropertyEventFilter subproperty_event_filter = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The subpropertyEventFilter. */ @java.lang.Override public com.google.analytics.admin.v1alpha.SubpropertyEventFilter getSubpropertyEventFilter() { - return subpropertyEventFilter_ == null ? com.google.analytics.admin.v1alpha.SubpropertyEventFilter.getDefaultInstance() : subpropertyEventFilter_; + return subpropertyEventFilter_ == null + ? com.google.analytics.admin.v1alpha.SubpropertyEventFilter.getDefaultInstance() + : subpropertyEventFilter_; } /** + * + * *
    * Required. The subproperty event filter to create.
    * 
* - * .google.analytics.admin.v1alpha.SubpropertyEventFilter subproperty_event_filter = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.SubpropertyEventFilter subproperty_event_filter = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public com.google.analytics.admin.v1alpha.SubpropertyEventFilterOrBuilder getSubpropertyEventFilterOrBuilder() { - return subpropertyEventFilter_ == null ? com.google.analytics.admin.v1alpha.SubpropertyEventFilter.getDefaultInstance() : subpropertyEventFilter_; + public com.google.analytics.admin.v1alpha.SubpropertyEventFilterOrBuilder + getSubpropertyEventFilterOrBuilder() { + return subpropertyEventFilter_ == null + ? com.google.analytics.admin.v1alpha.SubpropertyEventFilter.getDefaultInstance() + : subpropertyEventFilter_; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -142,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_); } @@ -163,8 +211,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (subpropertyEventFilter_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getSubpropertyEventFilter()); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(2, getSubpropertyEventFilter()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -174,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.CreateSubpropertyEventFilterRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.CreateSubpropertyEventFilterRequest other = (com.google.analytics.admin.v1alpha.CreateSubpropertyEventFilterRequest) obj; + com.google.analytics.admin.v1alpha.CreateSubpropertyEventFilterRequest other = + (com.google.analytics.admin.v1alpha.CreateSubpropertyEventFilterRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; + if (!getParent().equals(other.getParent())) return false; if (hasSubpropertyEventFilter() != other.hasSubpropertyEventFilter()) return false; if (hasSubpropertyEventFilter()) { - if (!getSubpropertyEventFilter() - .equals(other.getSubpropertyEventFilter())) return false; + if (!getSubpropertyEventFilter().equals(other.getSubpropertyEventFilter())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -211,131 +258,138 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.CreateSubpropertyEventFilterRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.CreateSubpropertyEventFilterRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.CreateSubpropertyEventFilterRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.CreateSubpropertyEventFilterRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.CreateSubpropertyEventFilterRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.analytics.admin.v1alpha.CreateSubpropertyEventFilterRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.CreateSubpropertyEventFilterRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.CreateSubpropertyEventFilterRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.CreateSubpropertyEventFilterRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.CreateSubpropertyEventFilterRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.CreateSubpropertyEventFilterRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.CreateSubpropertyEventFilterRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.CreateSubpropertyEventFilterRequest parseDelimitedFrom( - java.io.InputStream input, - 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.CreateSubpropertyEventFilterRequest + parseDelimitedFrom( + java.io.InputStream input, 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.CreateSubpropertyEventFilterRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.CreateSubpropertyEventFilterRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1alpha.CreateSubpropertyEventFilterRequest prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1alpha.CreateSubpropertyEventFilterRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder 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 CreateSubpropertyEventFilter RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.CreateSubpropertyEventFilterRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.CreateSubpropertyEventFilterRequest) com.google.analytics.admin.v1alpha.CreateSubpropertyEventFilterRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_CreateSubpropertyEventFilterRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_CreateSubpropertyEventFilterRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_CreateSubpropertyEventFilterRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_CreateSubpropertyEventFilterRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.CreateSubpropertyEventFilterRequest.class, com.google.analytics.admin.v1alpha.CreateSubpropertyEventFilterRequest.Builder.class); + com.google.analytics.admin.v1alpha.CreateSubpropertyEventFilterRequest.class, + com.google.analytics.admin.v1alpha.CreateSubpropertyEventFilterRequest.Builder.class); } - // Construct using com.google.analytics.admin.v1alpha.CreateSubpropertyEventFilterRequest.newBuilder() - private Builder() { - - } + // Construct using + // com.google.analytics.admin.v1alpha.CreateSubpropertyEventFilterRequest.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(); @@ -350,19 +404,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_CreateSubpropertyEventFilterRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_CreateSubpropertyEventFilterRequest_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.CreateSubpropertyEventFilterRequest getDefaultInstanceForType() { - return com.google.analytics.admin.v1alpha.CreateSubpropertyEventFilterRequest.getDefaultInstance(); + public com.google.analytics.admin.v1alpha.CreateSubpropertyEventFilterRequest + getDefaultInstanceForType() { + return com.google.analytics.admin.v1alpha.CreateSubpropertyEventFilterRequest + .getDefaultInstance(); } @java.lang.Override public com.google.analytics.admin.v1alpha.CreateSubpropertyEventFilterRequest build() { - com.google.analytics.admin.v1alpha.CreateSubpropertyEventFilterRequest result = buildPartial(); + com.google.analytics.admin.v1alpha.CreateSubpropertyEventFilterRequest result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -371,21 +428,26 @@ public com.google.analytics.admin.v1alpha.CreateSubpropertyEventFilterRequest bu @java.lang.Override public com.google.analytics.admin.v1alpha.CreateSubpropertyEventFilterRequest buildPartial() { - com.google.analytics.admin.v1alpha.CreateSubpropertyEventFilterRequest result = new com.google.analytics.admin.v1alpha.CreateSubpropertyEventFilterRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.analytics.admin.v1alpha.CreateSubpropertyEventFilterRequest result = + new com.google.analytics.admin.v1alpha.CreateSubpropertyEventFilterRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.analytics.admin.v1alpha.CreateSubpropertyEventFilterRequest result) { + private void buildPartial0( + com.google.analytics.admin.v1alpha.CreateSubpropertyEventFilterRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.parent_ = parent_; } if (((from_bitField0_ & 0x00000002) != 0)) { - result.subpropertyEventFilter_ = subpropertyEventFilterBuilder_ == null - ? subpropertyEventFilter_ - : subpropertyEventFilterBuilder_.build(); + result.subpropertyEventFilter_ = + subpropertyEventFilterBuilder_ == null + ? subpropertyEventFilter_ + : subpropertyEventFilterBuilder_.build(); } } @@ -393,46 +455,51 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.CreateSubpropertyE public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.analytics.admin.v1alpha.CreateSubpropertyEventFilterRequest) { - return mergeFrom((com.google.analytics.admin.v1alpha.CreateSubpropertyEventFilterRequest)other); + return mergeFrom( + (com.google.analytics.admin.v1alpha.CreateSubpropertyEventFilterRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.analytics.admin.v1alpha.CreateSubpropertyEventFilterRequest other) { - if (other == com.google.analytics.admin.v1alpha.CreateSubpropertyEventFilterRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.analytics.admin.v1alpha.CreateSubpropertyEventFilterRequest other) { + if (other + == com.google.analytics.admin.v1alpha.CreateSubpropertyEventFilterRequest + .getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -467,24 +534,26 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - input.readMessage( - getSubpropertyEventFilterFieldBuilder().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( + getSubpropertyEventFilterFieldBuilder().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) { @@ -494,23 +563,28 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The ordinary property for which to create a subproperty event
      * filter. Format: properties/property_id 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; @@ -519,21 +593,24 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The ordinary property for which to create a subproperty event
      * filter. Format: properties/property_id 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 { @@ -541,30 +618,41 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The ordinary property for which to create a subproperty event
      * filter. Format: properties/property_id 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 ordinary property for which to create a subproperty event
      * filter. Format: properties/property_id 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() { @@ -574,18 +662,24 @@ public Builder clearParent() { return this; } /** + * + * *
      * Required. The ordinary property for which to create a subproperty event
      * filter. Format: properties/property_id 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; @@ -595,41 +689,61 @@ public Builder setParentBytes( private com.google.analytics.admin.v1alpha.SubpropertyEventFilter subpropertyEventFilter_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.SubpropertyEventFilter, com.google.analytics.admin.v1alpha.SubpropertyEventFilter.Builder, com.google.analytics.admin.v1alpha.SubpropertyEventFilterOrBuilder> subpropertyEventFilterBuilder_; + com.google.analytics.admin.v1alpha.SubpropertyEventFilter, + com.google.analytics.admin.v1alpha.SubpropertyEventFilter.Builder, + com.google.analytics.admin.v1alpha.SubpropertyEventFilterOrBuilder> + subpropertyEventFilterBuilder_; /** + * + * *
      * Required. The subproperty event filter to create.
      * 
* - * .google.analytics.admin.v1alpha.SubpropertyEventFilter subproperty_event_filter = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.SubpropertyEventFilter subproperty_event_filter = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the subpropertyEventFilter field is set. */ public boolean hasSubpropertyEventFilter() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * Required. The subproperty event filter to create.
      * 
* - * .google.analytics.admin.v1alpha.SubpropertyEventFilter subproperty_event_filter = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.SubpropertyEventFilter subproperty_event_filter = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The subpropertyEventFilter. */ public com.google.analytics.admin.v1alpha.SubpropertyEventFilter getSubpropertyEventFilter() { if (subpropertyEventFilterBuilder_ == null) { - return subpropertyEventFilter_ == null ? com.google.analytics.admin.v1alpha.SubpropertyEventFilter.getDefaultInstance() : subpropertyEventFilter_; + return subpropertyEventFilter_ == null + ? com.google.analytics.admin.v1alpha.SubpropertyEventFilter.getDefaultInstance() + : subpropertyEventFilter_; } else { return subpropertyEventFilterBuilder_.getMessage(); } } /** + * + * *
      * Required. The subproperty event filter to create.
      * 
* - * .google.analytics.admin.v1alpha.SubpropertyEventFilter subproperty_event_filter = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.SubpropertyEventFilter subproperty_event_filter = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setSubpropertyEventFilter(com.google.analytics.admin.v1alpha.SubpropertyEventFilter value) { + public Builder setSubpropertyEventFilter( + com.google.analytics.admin.v1alpha.SubpropertyEventFilter value) { if (subpropertyEventFilterBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -643,11 +757,15 @@ public Builder setSubpropertyEventFilter(com.google.analytics.admin.v1alpha.Subp return this; } /** + * + * *
      * Required. The subproperty event filter to create.
      * 
* - * .google.analytics.admin.v1alpha.SubpropertyEventFilter subproperty_event_filter = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.SubpropertyEventFilter subproperty_event_filter = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setSubpropertyEventFilter( com.google.analytics.admin.v1alpha.SubpropertyEventFilter.Builder builderForValue) { @@ -661,17 +779,23 @@ public Builder setSubpropertyEventFilter( return this; } /** + * + * *
      * Required. The subproperty event filter to create.
      * 
* - * .google.analytics.admin.v1alpha.SubpropertyEventFilter subproperty_event_filter = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.SubpropertyEventFilter subproperty_event_filter = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder mergeSubpropertyEventFilter(com.google.analytics.admin.v1alpha.SubpropertyEventFilter value) { + public Builder mergeSubpropertyEventFilter( + com.google.analytics.admin.v1alpha.SubpropertyEventFilter value) { if (subpropertyEventFilterBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) && - subpropertyEventFilter_ != null && - subpropertyEventFilter_ != com.google.analytics.admin.v1alpha.SubpropertyEventFilter.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) + && subpropertyEventFilter_ != null + && subpropertyEventFilter_ + != com.google.analytics.admin.v1alpha.SubpropertyEventFilter.getDefaultInstance()) { getSubpropertyEventFilterBuilder().mergeFrom(value); } else { subpropertyEventFilter_ = value; @@ -684,11 +808,15 @@ public Builder mergeSubpropertyEventFilter(com.google.analytics.admin.v1alpha.Su return this; } /** + * + * *
      * Required. The subproperty event filter to create.
      * 
* - * .google.analytics.admin.v1alpha.SubpropertyEventFilter subproperty_event_filter = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.SubpropertyEventFilter subproperty_event_filter = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearSubpropertyEventFilter() { bitField0_ = (bitField0_ & ~0x00000002); @@ -701,55 +829,73 @@ public Builder clearSubpropertyEventFilter() { return this; } /** + * + * *
      * Required. The subproperty event filter to create.
      * 
* - * .google.analytics.admin.v1alpha.SubpropertyEventFilter subproperty_event_filter = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.SubpropertyEventFilter subproperty_event_filter = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.analytics.admin.v1alpha.SubpropertyEventFilter.Builder getSubpropertyEventFilterBuilder() { + public com.google.analytics.admin.v1alpha.SubpropertyEventFilter.Builder + getSubpropertyEventFilterBuilder() { bitField0_ |= 0x00000002; onChanged(); return getSubpropertyEventFilterFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The subproperty event filter to create.
      * 
* - * .google.analytics.admin.v1alpha.SubpropertyEventFilter subproperty_event_filter = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.SubpropertyEventFilter subproperty_event_filter = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.analytics.admin.v1alpha.SubpropertyEventFilterOrBuilder getSubpropertyEventFilterOrBuilder() { + public com.google.analytics.admin.v1alpha.SubpropertyEventFilterOrBuilder + getSubpropertyEventFilterOrBuilder() { if (subpropertyEventFilterBuilder_ != null) { return subpropertyEventFilterBuilder_.getMessageOrBuilder(); } else { - return subpropertyEventFilter_ == null ? - com.google.analytics.admin.v1alpha.SubpropertyEventFilter.getDefaultInstance() : subpropertyEventFilter_; + return subpropertyEventFilter_ == null + ? com.google.analytics.admin.v1alpha.SubpropertyEventFilter.getDefaultInstance() + : subpropertyEventFilter_; } } /** + * + * *
      * Required. The subproperty event filter to create.
      * 
* - * .google.analytics.admin.v1alpha.SubpropertyEventFilter subproperty_event_filter = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.SubpropertyEventFilter subproperty_event_filter = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.SubpropertyEventFilter, com.google.analytics.admin.v1alpha.SubpropertyEventFilter.Builder, com.google.analytics.admin.v1alpha.SubpropertyEventFilterOrBuilder> + com.google.analytics.admin.v1alpha.SubpropertyEventFilter, + com.google.analytics.admin.v1alpha.SubpropertyEventFilter.Builder, + com.google.analytics.admin.v1alpha.SubpropertyEventFilterOrBuilder> getSubpropertyEventFilterFieldBuilder() { if (subpropertyEventFilterBuilder_ == null) { - subpropertyEventFilterBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.SubpropertyEventFilter, com.google.analytics.admin.v1alpha.SubpropertyEventFilter.Builder, com.google.analytics.admin.v1alpha.SubpropertyEventFilterOrBuilder>( - getSubpropertyEventFilter(), - getParentForChildren(), - isClean()); + subpropertyEventFilterBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1alpha.SubpropertyEventFilter, + com.google.analytics.admin.v1alpha.SubpropertyEventFilter.Builder, + com.google.analytics.admin.v1alpha.SubpropertyEventFilterOrBuilder>( + getSubpropertyEventFilter(), getParentForChildren(), isClean()); subpropertyEventFilter_ = null; } return subpropertyEventFilterBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -759,41 +905,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.CreateSubpropertyEventFilterRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.CreateSubpropertyEventFilterRequest) - private static final com.google.analytics.admin.v1alpha.CreateSubpropertyEventFilterRequest DEFAULT_INSTANCE; + private static final com.google.analytics.admin.v1alpha.CreateSubpropertyEventFilterRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.CreateSubpropertyEventFilterRequest(); } - public static com.google.analytics.admin.v1alpha.CreateSubpropertyEventFilterRequest getDefaultInstance() { + public static com.google.analytics.admin.v1alpha.CreateSubpropertyEventFilterRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateSubpropertyEventFilterRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateSubpropertyEventFilterRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -805,9 +953,8 @@ public com.google.protobuf.Parser getParser } @java.lang.Override - public com.google.analytics.admin.v1alpha.CreateSubpropertyEventFilterRequest getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.CreateSubpropertyEventFilterRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateSubpropertyEventFilterRequestOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateSubpropertyEventFilterRequestOrBuilder.java new file mode 100644 index 000000000000..f45fc7fba43c --- /dev/null +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateSubpropertyEventFilterRequestOrBuilder.java @@ -0,0 +1,98 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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 CreateSubpropertyEventFilterRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.CreateSubpropertyEventFilterRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The ordinary property for which to create a subproperty event
+   * filter. Format: properties/property_id Example: properties/123
+   * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The parent. + */ + java.lang.String getParent(); + /** + * + * + *
+   * Required. The ordinary property for which to create a subproperty event
+   * filter. Format: properties/property_id Example: properties/123
+   * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for parent. + */ + com.google.protobuf.ByteString getParentBytes(); + + /** + * + * + *
+   * Required. The subproperty event filter to create.
+   * 
+ * + * + * .google.analytics.admin.v1alpha.SubpropertyEventFilter subproperty_event_filter = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return Whether the subpropertyEventFilter field is set. + */ + boolean hasSubpropertyEventFilter(); + /** + * + * + *
+   * Required. The subproperty event filter to create.
+   * 
+ * + * + * .google.analytics.admin.v1alpha.SubpropertyEventFilter subproperty_event_filter = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The subpropertyEventFilter. + */ + com.google.analytics.admin.v1alpha.SubpropertyEventFilter getSubpropertyEventFilter(); + /** + * + * + *
+   * Required. The subproperty event filter to create.
+   * 
+ * + * + * .google.analytics.admin.v1alpha.SubpropertyEventFilter subproperty_event_filter = 2 [(.google.api.field_behavior) = REQUIRED]; + * + */ + com.google.analytics.admin.v1alpha.SubpropertyEventFilterOrBuilder + getSubpropertyEventFilterOrBuilder(); +} diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateSubpropertyRequest.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateSubpropertyRequest.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/CreateSubpropertyRequest.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateSubpropertyRequest.java index 1a016a8b30d4..702859f450f2 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateSubpropertyRequest.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateSubpropertyRequest.java @@ -1,59 +1,84 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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 CreateSubproperty RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.CreateSubpropertyRequest} */ -public final class CreateSubpropertyRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CreateSubpropertyRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.CreateSubpropertyRequest) CreateSubpropertyRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CreateSubpropertyRequest.newBuilder() to construct. private CreateSubpropertyRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CreateSubpropertyRequest() { parent_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CreateSubpropertyRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_CreateSubpropertyRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_CreateSubpropertyRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_CreateSubpropertyRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_CreateSubpropertyRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.CreateSubpropertyRequest.class, com.google.analytics.admin.v1alpha.CreateSubpropertyRequest.Builder.class); + com.google.analytics.admin.v1alpha.CreateSubpropertyRequest.class, + com.google.analytics.admin.v1alpha.CreateSubpropertyRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** + * + * *
    * Required. The ordinary property for which to create a subproperty.
    * Format: properties/property_id
    * 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 @@ -62,31 +87,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 ordinary property for which to create a subproperty.
    * Format: properties/property_id
    * 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 { @@ -97,11 +124,16 @@ public java.lang.String getParent() { public static final int SUBPROPERTY_FIELD_NUMBER = 2; private com.google.analytics.admin.v1alpha.Property subproperty_; /** + * + * *
    * Required. The subproperty to create.
    * 
* - * .google.analytics.admin.v1alpha.Property subproperty = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.Property subproperty = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the subproperty field is set. */ @java.lang.Override @@ -109,37 +141,55 @@ public boolean hasSubproperty() { return subproperty_ != null; } /** + * + * *
    * Required. The subproperty to create.
    * 
* - * .google.analytics.admin.v1alpha.Property subproperty = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.Property subproperty = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The subproperty. */ @java.lang.Override public com.google.analytics.admin.v1alpha.Property getSubproperty() { - return subproperty_ == null ? com.google.analytics.admin.v1alpha.Property.getDefaultInstance() : subproperty_; + return subproperty_ == null + ? com.google.analytics.admin.v1alpha.Property.getDefaultInstance() + : subproperty_; } /** + * + * *
    * Required. The subproperty to create.
    * 
* - * .google.analytics.admin.v1alpha.Property subproperty = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.Property subproperty = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.analytics.admin.v1alpha.PropertyOrBuilder getSubpropertyOrBuilder() { - return subproperty_ == null ? com.google.analytics.admin.v1alpha.Property.getDefaultInstance() : subproperty_; + return subproperty_ == null + ? com.google.analytics.admin.v1alpha.Property.getDefaultInstance() + : subproperty_; } public static final int SUBPROPERTY_EVENT_FILTER_FIELD_NUMBER = 3; private com.google.analytics.admin.v1alpha.SubpropertyEventFilter subpropertyEventFilter_; /** + * + * *
    * Optional. The subproperty event filter to create on an ordinary property.
    * 
* - * .google.analytics.admin.v1alpha.SubpropertyEventFilter subproperty_event_filter = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.analytics.admin.v1alpha.SubpropertyEventFilter subproperty_event_filter = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the subpropertyEventFilter field is set. */ @java.lang.Override @@ -147,30 +197,45 @@ public boolean hasSubpropertyEventFilter() { return subpropertyEventFilter_ != null; } /** + * + * *
    * Optional. The subproperty event filter to create on an ordinary property.
    * 
* - * .google.analytics.admin.v1alpha.SubpropertyEventFilter subproperty_event_filter = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.analytics.admin.v1alpha.SubpropertyEventFilter subproperty_event_filter = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The subpropertyEventFilter. */ @java.lang.Override public com.google.analytics.admin.v1alpha.SubpropertyEventFilter getSubpropertyEventFilter() { - return subpropertyEventFilter_ == null ? com.google.analytics.admin.v1alpha.SubpropertyEventFilter.getDefaultInstance() : subpropertyEventFilter_; + return subpropertyEventFilter_ == null + ? com.google.analytics.admin.v1alpha.SubpropertyEventFilter.getDefaultInstance() + : subpropertyEventFilter_; } /** + * + * *
    * Optional. The subproperty event filter to create on an ordinary property.
    * 
* - * .google.analytics.admin.v1alpha.SubpropertyEventFilter subproperty_event_filter = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.analytics.admin.v1alpha.SubpropertyEventFilter subproperty_event_filter = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override - public com.google.analytics.admin.v1alpha.SubpropertyEventFilterOrBuilder getSubpropertyEventFilterOrBuilder() { - return subpropertyEventFilter_ == null ? com.google.analytics.admin.v1alpha.SubpropertyEventFilter.getDefaultInstance() : subpropertyEventFilter_; + public com.google.analytics.admin.v1alpha.SubpropertyEventFilterOrBuilder + getSubpropertyEventFilterOrBuilder() { + return subpropertyEventFilter_ == null + ? com.google.analytics.admin.v1alpha.SubpropertyEventFilter.getDefaultInstance() + : subpropertyEventFilter_; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -182,8 +247,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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,12 +270,11 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (subproperty_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getSubproperty()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getSubproperty()); } if (subpropertyEventFilter_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getSubpropertyEventFilter()); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(3, getSubpropertyEventFilter()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -221,24 +284,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.CreateSubpropertyRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.CreateSubpropertyRequest other = (com.google.analytics.admin.v1alpha.CreateSubpropertyRequest) obj; + com.google.analytics.admin.v1alpha.CreateSubpropertyRequest other = + (com.google.analytics.admin.v1alpha.CreateSubpropertyRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; + if (!getParent().equals(other.getParent())) return false; if (hasSubproperty() != other.hasSubproperty()) return false; if (hasSubproperty()) { - if (!getSubproperty() - .equals(other.getSubproperty())) return false; + if (!getSubproperty().equals(other.getSubproperty())) return false; } if (hasSubpropertyEventFilter() != other.hasSubpropertyEventFilter()) return false; if (hasSubpropertyEventFilter()) { - if (!getSubpropertyEventFilter() - .equals(other.getSubpropertyEventFilter())) return false; + if (!getSubpropertyEventFilter().equals(other.getSubpropertyEventFilter())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -267,131 +328,136 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.CreateSubpropertyRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.CreateSubpropertyRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.CreateSubpropertyRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.CreateSubpropertyRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.CreateSubpropertyRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.CreateSubpropertyRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.CreateSubpropertyRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.CreateSubpropertyRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.CreateSubpropertyRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.CreateSubpropertyRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.CreateSubpropertyRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.analytics.admin.v1alpha.CreateSubpropertyRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.CreateSubpropertyRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.CreateSubpropertyRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1alpha.CreateSubpropertyRequest prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1alpha.CreateSubpropertyRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder 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 CreateSubproperty RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.CreateSubpropertyRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.CreateSubpropertyRequest) com.google.analytics.admin.v1alpha.CreateSubpropertyRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_CreateSubpropertyRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_CreateSubpropertyRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_CreateSubpropertyRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_CreateSubpropertyRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.CreateSubpropertyRequest.class, com.google.analytics.admin.v1alpha.CreateSubpropertyRequest.Builder.class); + com.google.analytics.admin.v1alpha.CreateSubpropertyRequest.class, + com.google.analytics.admin.v1alpha.CreateSubpropertyRequest.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.CreateSubpropertyRequest.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(); @@ -411,9 +477,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_CreateSubpropertyRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_CreateSubpropertyRequest_descriptor; } @java.lang.Override @@ -432,8 +498,11 @@ public com.google.analytics.admin.v1alpha.CreateSubpropertyRequest build() { @java.lang.Override public com.google.analytics.admin.v1alpha.CreateSubpropertyRequest buildPartial() { - com.google.analytics.admin.v1alpha.CreateSubpropertyRequest result = new com.google.analytics.admin.v1alpha.CreateSubpropertyRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.analytics.admin.v1alpha.CreateSubpropertyRequest result = + new com.google.analytics.admin.v1alpha.CreateSubpropertyRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -444,14 +513,14 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.CreateSubpropertyR result.parent_ = parent_; } if (((from_bitField0_ & 0x00000002) != 0)) { - result.subproperty_ = subpropertyBuilder_ == null - ? subproperty_ - : subpropertyBuilder_.build(); + result.subproperty_ = + subpropertyBuilder_ == null ? subproperty_ : subpropertyBuilder_.build(); } if (((from_bitField0_ & 0x00000004) != 0)) { - result.subpropertyEventFilter_ = subpropertyEventFilterBuilder_ == null - ? subpropertyEventFilter_ - : subpropertyEventFilterBuilder_.build(); + result.subpropertyEventFilter_ = + subpropertyEventFilterBuilder_ == null + ? subpropertyEventFilter_ + : subpropertyEventFilterBuilder_.build(); } } @@ -459,38 +528,39 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.CreateSubpropertyR public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.analytics.admin.v1alpha.CreateSubpropertyRequest) { - return mergeFrom((com.google.analytics.admin.v1alpha.CreateSubpropertyRequest)other); + return mergeFrom((com.google.analytics.admin.v1alpha.CreateSubpropertyRequest) other); } else { super.mergeFrom(other); return this; @@ -498,7 +568,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1alpha.CreateSubpropertyRequest other) { - if (other == com.google.analytics.admin.v1alpha.CreateSubpropertyRequest.getDefaultInstance()) return this; + if (other == com.google.analytics.admin.v1alpha.CreateSubpropertyRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -536,31 +607,32 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - input.readMessage( - getSubpropertyFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - input.readMessage( - getSubpropertyEventFilterFieldBuilder().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 18: + { + input.readMessage(getSubpropertyFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + input.readMessage( + getSubpropertyEventFilterFieldBuilder().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) { @@ -570,24 +642,29 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The ordinary property for which to create a subproperty.
      * Format: properties/property_id
      * 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; @@ -596,22 +673,25 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The ordinary property for which to create a subproperty.
      * Format: properties/property_id
      * 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 { @@ -619,32 +699,43 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The ordinary property for which to create a subproperty.
      * Format: properties/property_id
      * 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 ordinary property for which to create a subproperty.
      * Format: properties/property_id
      * 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() { @@ -654,19 +745,25 @@ public Builder clearParent() { return this; } /** + * + * *
      * Required. The ordinary property for which to create a subproperty.
      * Format: properties/property_id
      * 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; @@ -676,39 +773,58 @@ public Builder setParentBytes( private com.google.analytics.admin.v1alpha.Property subproperty_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.Property, com.google.analytics.admin.v1alpha.Property.Builder, com.google.analytics.admin.v1alpha.PropertyOrBuilder> subpropertyBuilder_; + com.google.analytics.admin.v1alpha.Property, + com.google.analytics.admin.v1alpha.Property.Builder, + com.google.analytics.admin.v1alpha.PropertyOrBuilder> + subpropertyBuilder_; /** + * + * *
      * Required. The subproperty to create.
      * 
* - * .google.analytics.admin.v1alpha.Property subproperty = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.Property subproperty = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the subproperty field is set. */ public boolean hasSubproperty() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * Required. The subproperty to create.
      * 
* - * .google.analytics.admin.v1alpha.Property subproperty = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.Property subproperty = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The subproperty. */ public com.google.analytics.admin.v1alpha.Property getSubproperty() { if (subpropertyBuilder_ == null) { - return subproperty_ == null ? com.google.analytics.admin.v1alpha.Property.getDefaultInstance() : subproperty_; + return subproperty_ == null + ? com.google.analytics.admin.v1alpha.Property.getDefaultInstance() + : subproperty_; } else { return subpropertyBuilder_.getMessage(); } } /** + * + * *
      * Required. The subproperty to create.
      * 
* - * .google.analytics.admin.v1alpha.Property subproperty = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.Property subproperty = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setSubproperty(com.google.analytics.admin.v1alpha.Property value) { if (subpropertyBuilder_ == null) { @@ -724,11 +840,15 @@ public Builder setSubproperty(com.google.analytics.admin.v1alpha.Property value) return this; } /** + * + * *
      * Required. The subproperty to create.
      * 
* - * .google.analytics.admin.v1alpha.Property subproperty = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.Property subproperty = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setSubproperty( com.google.analytics.admin.v1alpha.Property.Builder builderForValue) { @@ -742,17 +862,21 @@ public Builder setSubproperty( return this; } /** + * + * *
      * Required. The subproperty to create.
      * 
* - * .google.analytics.admin.v1alpha.Property subproperty = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.Property subproperty = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeSubproperty(com.google.analytics.admin.v1alpha.Property value) { if (subpropertyBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) && - subproperty_ != null && - subproperty_ != com.google.analytics.admin.v1alpha.Property.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) + && subproperty_ != null + && subproperty_ != com.google.analytics.admin.v1alpha.Property.getDefaultInstance()) { getSubpropertyBuilder().mergeFrom(value); } else { subproperty_ = value; @@ -765,11 +889,15 @@ public Builder mergeSubproperty(com.google.analytics.admin.v1alpha.Property valu return this; } /** + * + * *
      * Required. The subproperty to create.
      * 
* - * .google.analytics.admin.v1alpha.Property subproperty = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.Property subproperty = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearSubproperty() { bitField0_ = (bitField0_ & ~0x00000002); @@ -782,11 +910,15 @@ public Builder clearSubproperty() { return this; } /** + * + * *
      * Required. The subproperty to create.
      * 
* - * .google.analytics.admin.v1alpha.Property subproperty = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.Property subproperty = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.analytics.admin.v1alpha.Property.Builder getSubpropertyBuilder() { bitField0_ |= 0x00000002; @@ -794,36 +926,48 @@ public com.google.analytics.admin.v1alpha.Property.Builder getSubpropertyBuilder return getSubpropertyFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The subproperty to create.
      * 
* - * .google.analytics.admin.v1alpha.Property subproperty = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.Property subproperty = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.analytics.admin.v1alpha.PropertyOrBuilder getSubpropertyOrBuilder() { if (subpropertyBuilder_ != null) { return subpropertyBuilder_.getMessageOrBuilder(); } else { - return subproperty_ == null ? - com.google.analytics.admin.v1alpha.Property.getDefaultInstance() : subproperty_; + return subproperty_ == null + ? com.google.analytics.admin.v1alpha.Property.getDefaultInstance() + : subproperty_; } } /** + * + * *
      * Required. The subproperty to create.
      * 
* - * .google.analytics.admin.v1alpha.Property subproperty = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.Property subproperty = 2 [(.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> getSubpropertyFieldBuilder() { if (subpropertyBuilder_ == null) { - subpropertyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.Property, com.google.analytics.admin.v1alpha.Property.Builder, com.google.analytics.admin.v1alpha.PropertyOrBuilder>( - getSubproperty(), - getParentForChildren(), - isClean()); + subpropertyBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1alpha.Property, + com.google.analytics.admin.v1alpha.Property.Builder, + com.google.analytics.admin.v1alpha.PropertyOrBuilder>( + getSubproperty(), getParentForChildren(), isClean()); subproperty_ = null; } return subpropertyBuilder_; @@ -831,41 +975,61 @@ public com.google.analytics.admin.v1alpha.PropertyOrBuilder getSubpropertyOrBuil private com.google.analytics.admin.v1alpha.SubpropertyEventFilter subpropertyEventFilter_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.SubpropertyEventFilter, com.google.analytics.admin.v1alpha.SubpropertyEventFilter.Builder, com.google.analytics.admin.v1alpha.SubpropertyEventFilterOrBuilder> subpropertyEventFilterBuilder_; + com.google.analytics.admin.v1alpha.SubpropertyEventFilter, + com.google.analytics.admin.v1alpha.SubpropertyEventFilter.Builder, + com.google.analytics.admin.v1alpha.SubpropertyEventFilterOrBuilder> + subpropertyEventFilterBuilder_; /** + * + * *
      * Optional. The subproperty event filter to create on an ordinary property.
      * 
* - * .google.analytics.admin.v1alpha.SubpropertyEventFilter subproperty_event_filter = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.analytics.admin.v1alpha.SubpropertyEventFilter subproperty_event_filter = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the subpropertyEventFilter field is set. */ public boolean hasSubpropertyEventFilter() { return ((bitField0_ & 0x00000004) != 0); } /** + * + * *
      * Optional. The subproperty event filter to create on an ordinary property.
      * 
* - * .google.analytics.admin.v1alpha.SubpropertyEventFilter subproperty_event_filter = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.analytics.admin.v1alpha.SubpropertyEventFilter subproperty_event_filter = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The subpropertyEventFilter. */ public com.google.analytics.admin.v1alpha.SubpropertyEventFilter getSubpropertyEventFilter() { if (subpropertyEventFilterBuilder_ == null) { - return subpropertyEventFilter_ == null ? com.google.analytics.admin.v1alpha.SubpropertyEventFilter.getDefaultInstance() : subpropertyEventFilter_; + return subpropertyEventFilter_ == null + ? com.google.analytics.admin.v1alpha.SubpropertyEventFilter.getDefaultInstance() + : subpropertyEventFilter_; } else { return subpropertyEventFilterBuilder_.getMessage(); } } /** + * + * *
      * Optional. The subproperty event filter to create on an ordinary property.
      * 
* - * .google.analytics.admin.v1alpha.SubpropertyEventFilter subproperty_event_filter = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.analytics.admin.v1alpha.SubpropertyEventFilter subproperty_event_filter = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder setSubpropertyEventFilter(com.google.analytics.admin.v1alpha.SubpropertyEventFilter value) { + public Builder setSubpropertyEventFilter( + com.google.analytics.admin.v1alpha.SubpropertyEventFilter value) { if (subpropertyEventFilterBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -879,11 +1043,15 @@ public Builder setSubpropertyEventFilter(com.google.analytics.admin.v1alpha.Subp return this; } /** + * + * *
      * Optional. The subproperty event filter to create on an ordinary property.
      * 
* - * .google.analytics.admin.v1alpha.SubpropertyEventFilter subproperty_event_filter = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.analytics.admin.v1alpha.SubpropertyEventFilter subproperty_event_filter = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setSubpropertyEventFilter( com.google.analytics.admin.v1alpha.SubpropertyEventFilter.Builder builderForValue) { @@ -897,17 +1065,23 @@ public Builder setSubpropertyEventFilter( return this; } /** + * + * *
      * Optional. The subproperty event filter to create on an ordinary property.
      * 
* - * .google.analytics.admin.v1alpha.SubpropertyEventFilter subproperty_event_filter = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.analytics.admin.v1alpha.SubpropertyEventFilter subproperty_event_filter = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder mergeSubpropertyEventFilter(com.google.analytics.admin.v1alpha.SubpropertyEventFilter value) { + public Builder mergeSubpropertyEventFilter( + com.google.analytics.admin.v1alpha.SubpropertyEventFilter value) { if (subpropertyEventFilterBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) && - subpropertyEventFilter_ != null && - subpropertyEventFilter_ != com.google.analytics.admin.v1alpha.SubpropertyEventFilter.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) + && subpropertyEventFilter_ != null + && subpropertyEventFilter_ + != com.google.analytics.admin.v1alpha.SubpropertyEventFilter.getDefaultInstance()) { getSubpropertyEventFilterBuilder().mergeFrom(value); } else { subpropertyEventFilter_ = value; @@ -920,11 +1094,15 @@ public Builder mergeSubpropertyEventFilter(com.google.analytics.admin.v1alpha.Su return this; } /** + * + * *
      * Optional. The subproperty event filter to create on an ordinary property.
      * 
* - * .google.analytics.admin.v1alpha.SubpropertyEventFilter subproperty_event_filter = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.analytics.admin.v1alpha.SubpropertyEventFilter subproperty_event_filter = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder clearSubpropertyEventFilter() { bitField0_ = (bitField0_ & ~0x00000004); @@ -937,55 +1115,73 @@ public Builder clearSubpropertyEventFilter() { return this; } /** + * + * *
      * Optional. The subproperty event filter to create on an ordinary property.
      * 
* - * .google.analytics.admin.v1alpha.SubpropertyEventFilter subproperty_event_filter = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.analytics.admin.v1alpha.SubpropertyEventFilter subproperty_event_filter = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public com.google.analytics.admin.v1alpha.SubpropertyEventFilter.Builder getSubpropertyEventFilterBuilder() { + public com.google.analytics.admin.v1alpha.SubpropertyEventFilter.Builder + getSubpropertyEventFilterBuilder() { bitField0_ |= 0x00000004; onChanged(); return getSubpropertyEventFilterFieldBuilder().getBuilder(); } /** + * + * *
      * Optional. The subproperty event filter to create on an ordinary property.
      * 
* - * .google.analytics.admin.v1alpha.SubpropertyEventFilter subproperty_event_filter = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.analytics.admin.v1alpha.SubpropertyEventFilter subproperty_event_filter = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public com.google.analytics.admin.v1alpha.SubpropertyEventFilterOrBuilder getSubpropertyEventFilterOrBuilder() { + public com.google.analytics.admin.v1alpha.SubpropertyEventFilterOrBuilder + getSubpropertyEventFilterOrBuilder() { if (subpropertyEventFilterBuilder_ != null) { return subpropertyEventFilterBuilder_.getMessageOrBuilder(); } else { - return subpropertyEventFilter_ == null ? - com.google.analytics.admin.v1alpha.SubpropertyEventFilter.getDefaultInstance() : subpropertyEventFilter_; + return subpropertyEventFilter_ == null + ? com.google.analytics.admin.v1alpha.SubpropertyEventFilter.getDefaultInstance() + : subpropertyEventFilter_; } } /** + * + * *
      * Optional. The subproperty event filter to create on an ordinary property.
      * 
* - * .google.analytics.admin.v1alpha.SubpropertyEventFilter subproperty_event_filter = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.analytics.admin.v1alpha.SubpropertyEventFilter subproperty_event_filter = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.SubpropertyEventFilter, com.google.analytics.admin.v1alpha.SubpropertyEventFilter.Builder, com.google.analytics.admin.v1alpha.SubpropertyEventFilterOrBuilder> + com.google.analytics.admin.v1alpha.SubpropertyEventFilter, + com.google.analytics.admin.v1alpha.SubpropertyEventFilter.Builder, + com.google.analytics.admin.v1alpha.SubpropertyEventFilterOrBuilder> getSubpropertyEventFilterFieldBuilder() { if (subpropertyEventFilterBuilder_ == null) { - subpropertyEventFilterBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.SubpropertyEventFilter, com.google.analytics.admin.v1alpha.SubpropertyEventFilter.Builder, com.google.analytics.admin.v1alpha.SubpropertyEventFilterOrBuilder>( - getSubpropertyEventFilter(), - getParentForChildren(), - isClean()); + subpropertyEventFilterBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1alpha.SubpropertyEventFilter, + com.google.analytics.admin.v1alpha.SubpropertyEventFilter.Builder, + com.google.analytics.admin.v1alpha.SubpropertyEventFilterOrBuilder>( + getSubpropertyEventFilter(), getParentForChildren(), isClean()); subpropertyEventFilter_ = null; } return subpropertyEventFilterBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -995,12 +1191,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.CreateSubpropertyRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.CreateSubpropertyRequest) private static final com.google.analytics.admin.v1alpha.CreateSubpropertyRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.CreateSubpropertyRequest(); } @@ -1009,27 +1205,27 @@ public static com.google.analytics.admin.v1alpha.CreateSubpropertyRequest getDef return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateSubpropertyRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateSubpropertyRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1044,6 +1240,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1alpha.CreateSubpropertyRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateSubpropertyRequestOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateSubpropertyRequestOrBuilder.java new file mode 100644 index 000000000000..e9b8d29ea8da --- /dev/null +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateSubpropertyRequestOrBuilder.java @@ -0,0 +1,141 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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 CreateSubpropertyRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.CreateSubpropertyRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The ordinary property for which to create a subproperty.
+   * Format: properties/property_id
+   * Example: properties/123
+   * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The parent. + */ + java.lang.String getParent(); + /** + * + * + *
+   * Required. The ordinary property for which to create a subproperty.
+   * Format: properties/property_id
+   * Example: properties/123
+   * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for parent. + */ + com.google.protobuf.ByteString getParentBytes(); + + /** + * + * + *
+   * Required. The subproperty to create.
+   * 
+ * + * + * .google.analytics.admin.v1alpha.Property subproperty = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return Whether the subproperty field is set. + */ + boolean hasSubproperty(); + /** + * + * + *
+   * Required. The subproperty to create.
+   * 
+ * + * + * .google.analytics.admin.v1alpha.Property subproperty = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The subproperty. + */ + com.google.analytics.admin.v1alpha.Property getSubproperty(); + /** + * + * + *
+   * Required. The subproperty to create.
+   * 
+ * + * + * .google.analytics.admin.v1alpha.Property subproperty = 2 [(.google.api.field_behavior) = REQUIRED]; + * + */ + com.google.analytics.admin.v1alpha.PropertyOrBuilder getSubpropertyOrBuilder(); + + /** + * + * + *
+   * Optional. The subproperty event filter to create on an ordinary property.
+   * 
+ * + * + * .google.analytics.admin.v1alpha.SubpropertyEventFilter subproperty_event_filter = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return Whether the subpropertyEventFilter field is set. + */ + boolean hasSubpropertyEventFilter(); + /** + * + * + *
+   * Optional. The subproperty event filter to create on an ordinary property.
+   * 
+ * + * + * .google.analytics.admin.v1alpha.SubpropertyEventFilter subproperty_event_filter = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * + * @return The subpropertyEventFilter. + */ + com.google.analytics.admin.v1alpha.SubpropertyEventFilter getSubpropertyEventFilter(); + /** + * + * + *
+   * Optional. The subproperty event filter to create on an ordinary property.
+   * 
+ * + * + * .google.analytics.admin.v1alpha.SubpropertyEventFilter subproperty_event_filter = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + */ + com.google.analytics.admin.v1alpha.SubpropertyEventFilterOrBuilder + getSubpropertyEventFilterOrBuilder(); +} diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateSubpropertyResponse.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateSubpropertyResponse.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/CreateSubpropertyResponse.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateSubpropertyResponse.java index 07e4c07781a7..94c4378e0c6f 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateSubpropertyResponse.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateSubpropertyResponse.java @@ -1,55 +1,76 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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 CreateSubproperty RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.CreateSubpropertyResponse} */ -public final class CreateSubpropertyResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CreateSubpropertyResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.CreateSubpropertyResponse) CreateSubpropertyResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CreateSubpropertyResponse.newBuilder() to construct. private CreateSubpropertyResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CreateSubpropertyResponse() { - } + + private CreateSubpropertyResponse() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CreateSubpropertyResponse(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_CreateSubpropertyResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_CreateSubpropertyResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_CreateSubpropertyResponse_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_CreateSubpropertyResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.CreateSubpropertyResponse.class, com.google.analytics.admin.v1alpha.CreateSubpropertyResponse.Builder.class); + com.google.analytics.admin.v1alpha.CreateSubpropertyResponse.class, + com.google.analytics.admin.v1alpha.CreateSubpropertyResponse.Builder.class); } public static final int SUBPROPERTY_FIELD_NUMBER = 1; private com.google.analytics.admin.v1alpha.Property subproperty_; /** + * + * *
    * The created subproperty.
    * 
* * .google.analytics.admin.v1alpha.Property subproperty = 1; + * * @return Whether the subproperty field is set. */ @java.lang.Override @@ -57,18 +78,25 @@ public boolean hasSubproperty() { return subproperty_ != null; } /** + * + * *
    * The created subproperty.
    * 
* * .google.analytics.admin.v1alpha.Property subproperty = 1; + * * @return The subproperty. */ @java.lang.Override public com.google.analytics.admin.v1alpha.Property getSubproperty() { - return subproperty_ == null ? com.google.analytics.admin.v1alpha.Property.getDefaultInstance() : subproperty_; + return subproperty_ == null + ? com.google.analytics.admin.v1alpha.Property.getDefaultInstance() + : subproperty_; } /** + * + * *
    * The created subproperty.
    * 
@@ -77,17 +105,23 @@ public com.google.analytics.admin.v1alpha.Property getSubproperty() { */ @java.lang.Override public com.google.analytics.admin.v1alpha.PropertyOrBuilder getSubpropertyOrBuilder() { - return subproperty_ == null ? com.google.analytics.admin.v1alpha.Property.getDefaultInstance() : subproperty_; + return subproperty_ == null + ? com.google.analytics.admin.v1alpha.Property.getDefaultInstance() + : subproperty_; } public static final int SUBPROPERTY_EVENT_FILTER_FIELD_NUMBER = 2; private com.google.analytics.admin.v1alpha.SubpropertyEventFilter subpropertyEventFilter_; /** + * + * *
    * The created subproperty event filter.
    * 
* - * .google.analytics.admin.v1alpha.SubpropertyEventFilter subproperty_event_filter = 2; + * .google.analytics.admin.v1alpha.SubpropertyEventFilter subproperty_event_filter = 2; + * + * * @return Whether the subpropertyEventFilter field is set. */ @java.lang.Override @@ -95,30 +129,43 @@ public boolean hasSubpropertyEventFilter() { return subpropertyEventFilter_ != null; } /** + * + * *
    * The created subproperty event filter.
    * 
* - * .google.analytics.admin.v1alpha.SubpropertyEventFilter subproperty_event_filter = 2; + * .google.analytics.admin.v1alpha.SubpropertyEventFilter subproperty_event_filter = 2; + * + * * @return The subpropertyEventFilter. */ @java.lang.Override public com.google.analytics.admin.v1alpha.SubpropertyEventFilter getSubpropertyEventFilter() { - return subpropertyEventFilter_ == null ? com.google.analytics.admin.v1alpha.SubpropertyEventFilter.getDefaultInstance() : subpropertyEventFilter_; + return subpropertyEventFilter_ == null + ? com.google.analytics.admin.v1alpha.SubpropertyEventFilter.getDefaultInstance() + : subpropertyEventFilter_; } /** + * + * *
    * The created subproperty event filter.
    * 
* - * .google.analytics.admin.v1alpha.SubpropertyEventFilter subproperty_event_filter = 2; + * .google.analytics.admin.v1alpha.SubpropertyEventFilter subproperty_event_filter = 2; + * */ @java.lang.Override - public com.google.analytics.admin.v1alpha.SubpropertyEventFilterOrBuilder getSubpropertyEventFilterOrBuilder() { - return subpropertyEventFilter_ == null ? com.google.analytics.admin.v1alpha.SubpropertyEventFilter.getDefaultInstance() : subpropertyEventFilter_; + public com.google.analytics.admin.v1alpha.SubpropertyEventFilterOrBuilder + getSubpropertyEventFilterOrBuilder() { + return subpropertyEventFilter_ == null + ? com.google.analytics.admin.v1alpha.SubpropertyEventFilter.getDefaultInstance() + : subpropertyEventFilter_; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -130,8 +177,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (subproperty_ != null) { output.writeMessage(1, getSubproperty()); } @@ -148,12 +194,11 @@ public int getSerializedSize() { size = 0; if (subproperty_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getSubproperty()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getSubproperty()); } if (subpropertyEventFilter_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getSubpropertyEventFilter()); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(2, getSubpropertyEventFilter()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -163,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.CreateSubpropertyResponse)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.CreateSubpropertyResponse other = (com.google.analytics.admin.v1alpha.CreateSubpropertyResponse) obj; + com.google.analytics.admin.v1alpha.CreateSubpropertyResponse other = + (com.google.analytics.admin.v1alpha.CreateSubpropertyResponse) obj; if (hasSubproperty() != other.hasSubproperty()) return false; if (hasSubproperty()) { - if (!getSubproperty() - .equals(other.getSubproperty())) return false; + if (!getSubproperty().equals(other.getSubproperty())) return false; } if (hasSubpropertyEventFilter() != other.hasSubpropertyEventFilter()) return false; if (hasSubpropertyEventFilter()) { - if (!getSubpropertyEventFilter() - .equals(other.getSubpropertyEventFilter())) return false; + if (!getSubpropertyEventFilter().equals(other.getSubpropertyEventFilter())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -205,131 +249,136 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.CreateSubpropertyResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.CreateSubpropertyResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.CreateSubpropertyResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.CreateSubpropertyResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.CreateSubpropertyResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.CreateSubpropertyResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.CreateSubpropertyResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.CreateSubpropertyResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.CreateSubpropertyResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.CreateSubpropertyResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.CreateSubpropertyResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.analytics.admin.v1alpha.CreateSubpropertyResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.CreateSubpropertyResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.CreateSubpropertyResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1alpha.CreateSubpropertyResponse prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1alpha.CreateSubpropertyResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 CreateSubproperty RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.CreateSubpropertyResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.CreateSubpropertyResponse) com.google.analytics.admin.v1alpha.CreateSubpropertyResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_CreateSubpropertyResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_CreateSubpropertyResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_CreateSubpropertyResponse_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_CreateSubpropertyResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.CreateSubpropertyResponse.class, com.google.analytics.admin.v1alpha.CreateSubpropertyResponse.Builder.class); + com.google.analytics.admin.v1alpha.CreateSubpropertyResponse.class, + com.google.analytics.admin.v1alpha.CreateSubpropertyResponse.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.CreateSubpropertyResponse.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(); @@ -348,13 +397,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_CreateSubpropertyResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_CreateSubpropertyResponse_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.CreateSubpropertyResponse getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.CreateSubpropertyResponse + getDefaultInstanceForType() { return com.google.analytics.admin.v1alpha.CreateSubpropertyResponse.getDefaultInstance(); } @@ -369,23 +419,27 @@ public com.google.analytics.admin.v1alpha.CreateSubpropertyResponse build() { @java.lang.Override public com.google.analytics.admin.v1alpha.CreateSubpropertyResponse buildPartial() { - com.google.analytics.admin.v1alpha.CreateSubpropertyResponse result = new com.google.analytics.admin.v1alpha.CreateSubpropertyResponse(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.analytics.admin.v1alpha.CreateSubpropertyResponse result = + new com.google.analytics.admin.v1alpha.CreateSubpropertyResponse(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.analytics.admin.v1alpha.CreateSubpropertyResponse result) { + private void buildPartial0( + com.google.analytics.admin.v1alpha.CreateSubpropertyResponse result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.subproperty_ = subpropertyBuilder_ == null - ? subproperty_ - : subpropertyBuilder_.build(); + result.subproperty_ = + subpropertyBuilder_ == null ? subproperty_ : subpropertyBuilder_.build(); } if (((from_bitField0_ & 0x00000002) != 0)) { - result.subpropertyEventFilter_ = subpropertyEventFilterBuilder_ == null - ? subpropertyEventFilter_ - : subpropertyEventFilterBuilder_.build(); + result.subpropertyEventFilter_ = + subpropertyEventFilterBuilder_ == null + ? subpropertyEventFilter_ + : subpropertyEventFilterBuilder_.build(); } } @@ -393,38 +447,39 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.CreateSubpropertyR public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.analytics.admin.v1alpha.CreateSubpropertyResponse) { - return mergeFrom((com.google.analytics.admin.v1alpha.CreateSubpropertyResponse)other); + return mergeFrom((com.google.analytics.admin.v1alpha.CreateSubpropertyResponse) other); } else { super.mergeFrom(other); return this; @@ -432,7 +487,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1alpha.CreateSubpropertyResponse other) { - if (other == com.google.analytics.admin.v1alpha.CreateSubpropertyResponse.getDefaultInstance()) return this; + if (other + == com.google.analytics.admin.v1alpha.CreateSubpropertyResponse.getDefaultInstance()) + return this; if (other.hasSubproperty()) { mergeSubproperty(other.getSubproperty()); } @@ -465,26 +522,26 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getSubpropertyFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - input.readMessage( - getSubpropertyEventFilterFieldBuilder().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(getSubpropertyFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + input.readMessage( + getSubpropertyEventFilterFieldBuilder().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) { @@ -494,38 +551,52 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private com.google.analytics.admin.v1alpha.Property subproperty_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.Property, com.google.analytics.admin.v1alpha.Property.Builder, com.google.analytics.admin.v1alpha.PropertyOrBuilder> subpropertyBuilder_; + com.google.analytics.admin.v1alpha.Property, + com.google.analytics.admin.v1alpha.Property.Builder, + com.google.analytics.admin.v1alpha.PropertyOrBuilder> + subpropertyBuilder_; /** + * + * *
      * The created subproperty.
      * 
* * .google.analytics.admin.v1alpha.Property subproperty = 1; + * * @return Whether the subproperty field is set. */ public boolean hasSubproperty() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
      * The created subproperty.
      * 
* * .google.analytics.admin.v1alpha.Property subproperty = 1; + * * @return The subproperty. */ public com.google.analytics.admin.v1alpha.Property getSubproperty() { if (subpropertyBuilder_ == null) { - return subproperty_ == null ? com.google.analytics.admin.v1alpha.Property.getDefaultInstance() : subproperty_; + return subproperty_ == null + ? com.google.analytics.admin.v1alpha.Property.getDefaultInstance() + : subproperty_; } else { return subpropertyBuilder_.getMessage(); } } /** + * + * *
      * The created subproperty.
      * 
@@ -546,6 +617,8 @@ public Builder setSubproperty(com.google.analytics.admin.v1alpha.Property value) return this; } /** + * + * *
      * The created subproperty.
      * 
@@ -564,6 +637,8 @@ public Builder setSubproperty( return this; } /** + * + * *
      * The created subproperty.
      * 
@@ -572,9 +647,9 @@ public Builder setSubproperty( */ public Builder mergeSubproperty(com.google.analytics.admin.v1alpha.Property value) { if (subpropertyBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) && - subproperty_ != null && - subproperty_ != com.google.analytics.admin.v1alpha.Property.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) + && subproperty_ != null + && subproperty_ != com.google.analytics.admin.v1alpha.Property.getDefaultInstance()) { getSubpropertyBuilder().mergeFrom(value); } else { subproperty_ = value; @@ -587,6 +662,8 @@ public Builder mergeSubproperty(com.google.analytics.admin.v1alpha.Property valu return this; } /** + * + * *
      * The created subproperty.
      * 
@@ -604,6 +681,8 @@ public Builder clearSubproperty() { return this; } /** + * + * *
      * The created subproperty.
      * 
@@ -616,6 +695,8 @@ public com.google.analytics.admin.v1alpha.Property.Builder getSubpropertyBuilder return getSubpropertyFieldBuilder().getBuilder(); } /** + * + * *
      * The created subproperty.
      * 
@@ -626,11 +707,14 @@ public com.google.analytics.admin.v1alpha.PropertyOrBuilder getSubpropertyOrBuil if (subpropertyBuilder_ != null) { return subpropertyBuilder_.getMessageOrBuilder(); } else { - return subproperty_ == null ? - com.google.analytics.admin.v1alpha.Property.getDefaultInstance() : subproperty_; + return subproperty_ == null + ? com.google.analytics.admin.v1alpha.Property.getDefaultInstance() + : subproperty_; } } /** + * + * *
      * The created subproperty.
      * 
@@ -638,14 +722,17 @@ public com.google.analytics.admin.v1alpha.PropertyOrBuilder getSubpropertyOrBuil * .google.analytics.admin.v1alpha.Property subproperty = 1; */ 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> getSubpropertyFieldBuilder() { if (subpropertyBuilder_ == null) { - subpropertyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.Property, com.google.analytics.admin.v1alpha.Property.Builder, com.google.analytics.admin.v1alpha.PropertyOrBuilder>( - getSubproperty(), - getParentForChildren(), - isClean()); + subpropertyBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1alpha.Property, + com.google.analytics.admin.v1alpha.Property.Builder, + com.google.analytics.admin.v1alpha.PropertyOrBuilder>( + getSubproperty(), getParentForChildren(), isClean()); subproperty_ = null; } return subpropertyBuilder_; @@ -653,41 +740,58 @@ public com.google.analytics.admin.v1alpha.PropertyOrBuilder getSubpropertyOrBuil private com.google.analytics.admin.v1alpha.SubpropertyEventFilter subpropertyEventFilter_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.SubpropertyEventFilter, com.google.analytics.admin.v1alpha.SubpropertyEventFilter.Builder, com.google.analytics.admin.v1alpha.SubpropertyEventFilterOrBuilder> subpropertyEventFilterBuilder_; + com.google.analytics.admin.v1alpha.SubpropertyEventFilter, + com.google.analytics.admin.v1alpha.SubpropertyEventFilter.Builder, + com.google.analytics.admin.v1alpha.SubpropertyEventFilterOrBuilder> + subpropertyEventFilterBuilder_; /** + * + * *
      * The created subproperty event filter.
      * 
* - * .google.analytics.admin.v1alpha.SubpropertyEventFilter subproperty_event_filter = 2; + * .google.analytics.admin.v1alpha.SubpropertyEventFilter subproperty_event_filter = 2; + * + * * @return Whether the subpropertyEventFilter field is set. */ public boolean hasSubpropertyEventFilter() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * The created subproperty event filter.
      * 
* - * .google.analytics.admin.v1alpha.SubpropertyEventFilter subproperty_event_filter = 2; + * .google.analytics.admin.v1alpha.SubpropertyEventFilter subproperty_event_filter = 2; + * + * * @return The subpropertyEventFilter. */ public com.google.analytics.admin.v1alpha.SubpropertyEventFilter getSubpropertyEventFilter() { if (subpropertyEventFilterBuilder_ == null) { - return subpropertyEventFilter_ == null ? com.google.analytics.admin.v1alpha.SubpropertyEventFilter.getDefaultInstance() : subpropertyEventFilter_; + return subpropertyEventFilter_ == null + ? com.google.analytics.admin.v1alpha.SubpropertyEventFilter.getDefaultInstance() + : subpropertyEventFilter_; } else { return subpropertyEventFilterBuilder_.getMessage(); } } /** + * + * *
      * The created subproperty event filter.
      * 
* - * .google.analytics.admin.v1alpha.SubpropertyEventFilter subproperty_event_filter = 2; + * .google.analytics.admin.v1alpha.SubpropertyEventFilter subproperty_event_filter = 2; + * */ - public Builder setSubpropertyEventFilter(com.google.analytics.admin.v1alpha.SubpropertyEventFilter value) { + public Builder setSubpropertyEventFilter( + com.google.analytics.admin.v1alpha.SubpropertyEventFilter value) { if (subpropertyEventFilterBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -701,11 +805,14 @@ public Builder setSubpropertyEventFilter(com.google.analytics.admin.v1alpha.Subp return this; } /** + * + * *
      * The created subproperty event filter.
      * 
* - * .google.analytics.admin.v1alpha.SubpropertyEventFilter subproperty_event_filter = 2; + * .google.analytics.admin.v1alpha.SubpropertyEventFilter subproperty_event_filter = 2; + * */ public Builder setSubpropertyEventFilter( com.google.analytics.admin.v1alpha.SubpropertyEventFilter.Builder builderForValue) { @@ -719,17 +826,22 @@ public Builder setSubpropertyEventFilter( return this; } /** + * + * *
      * The created subproperty event filter.
      * 
* - * .google.analytics.admin.v1alpha.SubpropertyEventFilter subproperty_event_filter = 2; + * .google.analytics.admin.v1alpha.SubpropertyEventFilter subproperty_event_filter = 2; + * */ - public Builder mergeSubpropertyEventFilter(com.google.analytics.admin.v1alpha.SubpropertyEventFilter value) { + public Builder mergeSubpropertyEventFilter( + com.google.analytics.admin.v1alpha.SubpropertyEventFilter value) { if (subpropertyEventFilterBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) && - subpropertyEventFilter_ != null && - subpropertyEventFilter_ != com.google.analytics.admin.v1alpha.SubpropertyEventFilter.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) + && subpropertyEventFilter_ != null + && subpropertyEventFilter_ + != com.google.analytics.admin.v1alpha.SubpropertyEventFilter.getDefaultInstance()) { getSubpropertyEventFilterBuilder().mergeFrom(value); } else { subpropertyEventFilter_ = value; @@ -742,11 +854,14 @@ public Builder mergeSubpropertyEventFilter(com.google.analytics.admin.v1alpha.Su return this; } /** + * + * *
      * The created subproperty event filter.
      * 
* - * .google.analytics.admin.v1alpha.SubpropertyEventFilter subproperty_event_filter = 2; + * .google.analytics.admin.v1alpha.SubpropertyEventFilter subproperty_event_filter = 2; + * */ public Builder clearSubpropertyEventFilter() { bitField0_ = (bitField0_ & ~0x00000002); @@ -759,55 +874,70 @@ public Builder clearSubpropertyEventFilter() { return this; } /** + * + * *
      * The created subproperty event filter.
      * 
* - * .google.analytics.admin.v1alpha.SubpropertyEventFilter subproperty_event_filter = 2; + * .google.analytics.admin.v1alpha.SubpropertyEventFilter subproperty_event_filter = 2; + * */ - public com.google.analytics.admin.v1alpha.SubpropertyEventFilter.Builder getSubpropertyEventFilterBuilder() { + public com.google.analytics.admin.v1alpha.SubpropertyEventFilter.Builder + getSubpropertyEventFilterBuilder() { bitField0_ |= 0x00000002; onChanged(); return getSubpropertyEventFilterFieldBuilder().getBuilder(); } /** + * + * *
      * The created subproperty event filter.
      * 
* - * .google.analytics.admin.v1alpha.SubpropertyEventFilter subproperty_event_filter = 2; + * .google.analytics.admin.v1alpha.SubpropertyEventFilter subproperty_event_filter = 2; + * */ - public com.google.analytics.admin.v1alpha.SubpropertyEventFilterOrBuilder getSubpropertyEventFilterOrBuilder() { + public com.google.analytics.admin.v1alpha.SubpropertyEventFilterOrBuilder + getSubpropertyEventFilterOrBuilder() { if (subpropertyEventFilterBuilder_ != null) { return subpropertyEventFilterBuilder_.getMessageOrBuilder(); } else { - return subpropertyEventFilter_ == null ? - com.google.analytics.admin.v1alpha.SubpropertyEventFilter.getDefaultInstance() : subpropertyEventFilter_; + return subpropertyEventFilter_ == null + ? com.google.analytics.admin.v1alpha.SubpropertyEventFilter.getDefaultInstance() + : subpropertyEventFilter_; } } /** + * + * *
      * The created subproperty event filter.
      * 
* - * .google.analytics.admin.v1alpha.SubpropertyEventFilter subproperty_event_filter = 2; + * .google.analytics.admin.v1alpha.SubpropertyEventFilter subproperty_event_filter = 2; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.SubpropertyEventFilter, com.google.analytics.admin.v1alpha.SubpropertyEventFilter.Builder, com.google.analytics.admin.v1alpha.SubpropertyEventFilterOrBuilder> + com.google.analytics.admin.v1alpha.SubpropertyEventFilter, + com.google.analytics.admin.v1alpha.SubpropertyEventFilter.Builder, + com.google.analytics.admin.v1alpha.SubpropertyEventFilterOrBuilder> getSubpropertyEventFilterFieldBuilder() { if (subpropertyEventFilterBuilder_ == null) { - subpropertyEventFilterBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.SubpropertyEventFilter, com.google.analytics.admin.v1alpha.SubpropertyEventFilter.Builder, com.google.analytics.admin.v1alpha.SubpropertyEventFilterOrBuilder>( - getSubpropertyEventFilter(), - getParentForChildren(), - isClean()); + subpropertyEventFilterBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1alpha.SubpropertyEventFilter, + com.google.analytics.admin.v1alpha.SubpropertyEventFilter.Builder, + com.google.analytics.admin.v1alpha.SubpropertyEventFilterOrBuilder>( + getSubpropertyEventFilter(), getParentForChildren(), isClean()); subpropertyEventFilter_ = null; } return subpropertyEventFilterBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -817,12 +947,13 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.CreateSubpropertyResponse) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.CreateSubpropertyResponse) - private static final com.google.analytics.admin.v1alpha.CreateSubpropertyResponse DEFAULT_INSTANCE; + private static final com.google.analytics.admin.v1alpha.CreateSubpropertyResponse + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.CreateSubpropertyResponse(); } @@ -831,27 +962,27 @@ public static com.google.analytics.admin.v1alpha.CreateSubpropertyResponse getDe return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateSubpropertyResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateSubpropertyResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.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,6 +997,4 @@ public com.google.protobuf.Parser getParserForType() public com.google.analytics.admin.v1alpha.CreateSubpropertyResponse 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/CreateSubpropertyResponseOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateSubpropertyResponseOrBuilder.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/CreateSubpropertyResponseOrBuilder.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateSubpropertyResponseOrBuilder.java index 9fbcba5a163b..92cd1a374a4f 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateSubpropertyResponseOrBuilder.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateSubpropertyResponseOrBuilder.java @@ -1,31 +1,55 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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 CreateSubpropertyResponseOrBuilder extends +public interface CreateSubpropertyResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.CreateSubpropertyResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The created subproperty.
    * 
* * .google.analytics.admin.v1alpha.Property subproperty = 1; + * * @return Whether the subproperty field is set. */ boolean hasSubproperty(); /** + * + * *
    * The created subproperty.
    * 
* * .google.analytics.admin.v1alpha.Property subproperty = 1; + * * @return The subproperty. */ com.google.analytics.admin.v1alpha.Property getSubproperty(); /** + * + * *
    * The created subproperty.
    * 
@@ -35,29 +59,41 @@ public interface CreateSubpropertyResponseOrBuilder extends com.google.analytics.admin.v1alpha.PropertyOrBuilder getSubpropertyOrBuilder(); /** + * + * *
    * The created subproperty event filter.
    * 
* - * .google.analytics.admin.v1alpha.SubpropertyEventFilter subproperty_event_filter = 2; + * .google.analytics.admin.v1alpha.SubpropertyEventFilter subproperty_event_filter = 2; + * + * * @return Whether the subpropertyEventFilter field is set. */ boolean hasSubpropertyEventFilter(); /** + * + * *
    * The created subproperty event filter.
    * 
* - * .google.analytics.admin.v1alpha.SubpropertyEventFilter subproperty_event_filter = 2; + * .google.analytics.admin.v1alpha.SubpropertyEventFilter subproperty_event_filter = 2; + * + * * @return The subpropertyEventFilter. */ com.google.analytics.admin.v1alpha.SubpropertyEventFilter getSubpropertyEventFilter(); /** + * + * *
    * The created subproperty event filter.
    * 
* - * .google.analytics.admin.v1alpha.SubpropertyEventFilter subproperty_event_filter = 2; + * .google.analytics.admin.v1alpha.SubpropertyEventFilter subproperty_event_filter = 2; + * */ - com.google.analytics.admin.v1alpha.SubpropertyEventFilterOrBuilder getSubpropertyEventFilterOrBuilder(); + com.google.analytics.admin.v1alpha.SubpropertyEventFilterOrBuilder + getSubpropertyEventFilterOrBuilder(); } 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 71% 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 9752f8a69361..460ffb7d7ac8 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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,34 +47,38 @@ private CustomDimension() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CustomDimension(); } - 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.
      * 
@@ -65,6 +87,8 @@ public enum DimensionScope */ DIMENSION_SCOPE_UNSPECIFIED(0), /** + * + * *
      * Dimension scoped to an event.
      * 
@@ -73,6 +97,8 @@ public enum DimensionScope */ EVENT(1), /** + * + * *
      * Dimension scoped to a user.
      * 
@@ -81,6 +107,8 @@ public enum DimensionScope */ USER(2), /** + * + * *
      * Dimension scoped to eCommerce items
      * 
@@ -92,6 +120,8 @@ public enum DimensionScope ; /** + * + * *
      * Scope unknown or not specified.
      * 
@@ -100,6 +130,8 @@ public enum DimensionScope */ public static final int DIMENSION_SCOPE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Dimension scoped to an event.
      * 
@@ -108,6 +140,8 @@ public enum DimensionScope */ public static final int EVENT_VALUE = 1; /** + * + * *
      * Dimension scoped to a user.
      * 
@@ -116,6 +150,8 @@ public enum DimensionScope */ public static final int USER_VALUE = 2; /** + * + * *
      * Dimension scoped to eCommerce items
      * 
@@ -124,7 +160,6 @@ public enum DimensionScope */ public static final int ITEM_VALUE = 3; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -149,50 +184,53 @@ 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; - case 3: return ITEM; - default: return null; + case 0: + return DIMENSION_SCOPE_UNSPECIFIED; + case 1: + return EVENT; + case 2: + return USER; + case 3: + return ITEM; + 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; @@ -210,15 +248,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 @@ -227,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 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 { @@ -259,9 +301,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.
    *
@@ -277,7 +322,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 @@ -286,14 +334,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.
    *
@@ -309,17 +358,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 { @@ -328,9 +378,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
@@ -340,6 +393,7 @@ public java.lang.String getParameterName() {
    * 
* * string display_name = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The displayName. */ @java.lang.Override @@ -348,14 +402,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
@@ -365,16 +420,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 { @@ -383,15 +437,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 @@ -400,30 +458,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 { @@ -434,32 +492,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.
@@ -468,6 +543,7 @@ public java.lang.String getDescription() {
    * 
* * bool disallow_ads_personalization = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The disallowAdsPersonalization. */ @java.lang.Override @@ -476,6 +552,7 @@ public boolean getDisallowAdsPersonalization() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -487,8 +564,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -501,7 +577,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) { @@ -528,13 +607,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; @@ -544,24 +624,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; } @@ -584,139 +660,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(); @@ -731,9 +810,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 @@ -752,8 +831,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; } @@ -784,38 +866,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; @@ -823,7 +906,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; @@ -876,42 +960,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) { @@ -921,23 +1012,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; @@ -946,21 +1040,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 { @@ -968,30 +1063,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() { @@ -1001,18 +1103,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; @@ -1022,6 +1128,8 @@ public Builder setNameBytes( private java.lang.Object parameterName_ = ""; /** + * + * *
      * Required. Immutable. Tagging parameter name for this custom dimension.
      *
@@ -1037,14 +1145,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; @@ -1053,6 +1163,8 @@ public java.lang.String getParameterName() { } } /** + * + * *
      * Required. Immutable. Tagging parameter name for this custom dimension.
      *
@@ -1068,16 +1180,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 { @@ -1085,6 +1198,8 @@ public java.lang.String getParameterName() { } } /** + * + * *
      * Required. Immutable. Tagging parameter name for this custom dimension.
      *
@@ -1100,19 +1215,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.
      *
@@ -1128,7 +1249,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() { @@ -1138,6 +1262,8 @@ public Builder clearParameterName() { return this; } /** + * + * *
      * Required. Immutable. Tagging parameter name for this custom dimension.
      *
@@ -1153,13 +1279,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; @@ -1169,6 +1299,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
@@ -1178,13 +1310,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; @@ -1193,6 +1325,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
@@ -1202,15 +1336,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 { @@ -1218,6 +1351,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
@@ -1227,18 +1362,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
@@ -1248,6 +1387,7 @@ public Builder setDisplayName(
      * 
* * string display_name = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearDisplayName() { @@ -1257,6 +1397,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
@@ -1266,12 +1408,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; @@ -1281,19 +1425,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; @@ -1302,21 +1448,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 { @@ -1324,30 +1471,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() { @@ -1357,18 +1511,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; @@ -1378,22 +1536,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. */ @@ -1404,28 +1573,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(); } @@ -1435,11 +1618,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() { @@ -1449,8 +1637,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.
@@ -1459,6 +1649,7 @@ public Builder clearScope() {
      * 
* * bool disallow_ads_personalization = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The disallowAdsPersonalization. */ @java.lang.Override @@ -1466,6 +1657,8 @@ public boolean getDisallowAdsPersonalization() { return disallowAdsPersonalization_; } /** + * + * *
      * Optional. If set to true, sets this dimension as NPA and excludes it from
      * ads personalization.
@@ -1474,6 +1667,7 @@ public boolean getDisallowAdsPersonalization() {
      * 
* * bool disallow_ads_personalization = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The disallowAdsPersonalization to set. * @return This builder for chaining. */ @@ -1485,6 +1679,8 @@ public Builder setDisallowAdsPersonalization(boolean value) { return this; } /** + * + * *
      * Optional. If set to true, sets this dimension as NPA and excludes it from
      * ads personalization.
@@ -1493,6 +1689,7 @@ public Builder setDisallowAdsPersonalization(boolean value) {
      * 
* * bool disallow_ads_personalization = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearDisallowAdsPersonalization() { @@ -1501,9 +1698,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); } @@ -1513,12 +1710,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(); } @@ -1527,27 +1724,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; @@ -1562,6 +1759,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 72% 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 93c10c7485f1..ed6ce564610b 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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.
    *
@@ -45,11 +68,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.
    *
@@ -65,13 +93,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
@@ -81,10 +113,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
@@ -94,53 +129,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.
@@ -149,6 +201,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 d936dbabba5d..58cadffe5ad0 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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,25 +49,28 @@ private CustomMetric() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CustomMetric(); } - 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.
    *
@@ -59,9 +80,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.
      * 
@@ -70,6 +92,8 @@ public enum MeasurementUnit */ MEASUREMENT_UNIT_UNSPECIFIED(0), /** + * + * *
      * This metric uses default units.
      * 
@@ -78,6 +102,8 @@ public enum MeasurementUnit */ STANDARD(1), /** + * + * *
      * This metric measures a currency.
      * 
@@ -86,6 +112,8 @@ public enum MeasurementUnit */ CURRENCY(2), /** + * + * *
      * This metric measures feet.
      * 
@@ -94,6 +122,8 @@ public enum MeasurementUnit */ FEET(3), /** + * + * *
      * This metric measures meters.
      * 
@@ -102,6 +132,8 @@ public enum MeasurementUnit */ METERS(4), /** + * + * *
      * This metric measures kilometers.
      * 
@@ -110,6 +142,8 @@ public enum MeasurementUnit */ KILOMETERS(5), /** + * + * *
      * This metric measures miles.
      * 
@@ -118,6 +152,8 @@ public enum MeasurementUnit */ MILES(6), /** + * + * *
      * This metric measures milliseconds.
      * 
@@ -126,6 +162,8 @@ public enum MeasurementUnit */ MILLISECONDS(7), /** + * + * *
      * This metric measures seconds.
      * 
@@ -134,6 +172,8 @@ public enum MeasurementUnit */ SECONDS(8), /** + * + * *
      * This metric measures minutes.
      * 
@@ -142,6 +182,8 @@ public enum MeasurementUnit */ MINUTES(9), /** + * + * *
      * This metric measures hours.
      * 
@@ -153,6 +195,8 @@ public enum MeasurementUnit ; /** + * + * *
      * MeasurementUnit unspecified or missing.
      * 
@@ -161,6 +205,8 @@ public enum MeasurementUnit */ public static final int MEASUREMENT_UNIT_UNSPECIFIED_VALUE = 0; /** + * + * *
      * This metric uses default units.
      * 
@@ -169,6 +215,8 @@ public enum MeasurementUnit */ public static final int STANDARD_VALUE = 1; /** + * + * *
      * This metric measures a currency.
      * 
@@ -177,6 +225,8 @@ public enum MeasurementUnit */ public static final int CURRENCY_VALUE = 2; /** + * + * *
      * This metric measures feet.
      * 
@@ -185,6 +235,8 @@ public enum MeasurementUnit */ public static final int FEET_VALUE = 3; /** + * + * *
      * This metric measures meters.
      * 
@@ -193,6 +245,8 @@ public enum MeasurementUnit */ public static final int METERS_VALUE = 4; /** + * + * *
      * This metric measures kilometers.
      * 
@@ -201,6 +255,8 @@ public enum MeasurementUnit */ public static final int KILOMETERS_VALUE = 5; /** + * + * *
      * This metric measures miles.
      * 
@@ -209,6 +265,8 @@ public enum MeasurementUnit */ public static final int MILES_VALUE = 6; /** + * + * *
      * This metric measures milliseconds.
      * 
@@ -217,6 +275,8 @@ public enum MeasurementUnit */ public static final int MILLISECONDS_VALUE = 7; /** + * + * *
      * This metric measures seconds.
      * 
@@ -225,6 +285,8 @@ public enum MeasurementUnit */ public static final int SECONDS_VALUE = 8; /** + * + * *
      * This metric measures minutes.
      * 
@@ -233,6 +295,8 @@ public enum MeasurementUnit */ public static final int MINUTES_VALUE = 9; /** + * + * *
      * This metric measures hours.
      * 
@@ -241,7 +305,6 @@ public enum MeasurementUnit */ public static final int HOURS_VALUE = 10; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -266,47 +329,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); } @@ -315,8 +389,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; @@ -334,15 +407,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.
      * 
@@ -351,6 +427,8 @@ public enum MetricScope */ METRIC_SCOPE_UNSPECIFIED(0), /** + * + * *
      * Metric scoped to an event.
      * 
@@ -362,6 +440,8 @@ public enum MetricScope ; /** + * + * *
      * Scope unknown or not specified.
      * 
@@ -370,6 +450,8 @@ public enum MetricScope */ public static final int METRIC_SCOPE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Metric scoped to an event.
      * 
@@ -378,7 +460,6 @@ public enum MetricScope */ public static final int EVENT_VALUE = 1; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -403,48 +484,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; @@ -462,6 +542,8 @@ private MetricScope(int value) { } /** + * + * *
    * Labels that mark the data in this custom metric as data that should be
    * restricted to specific users.
@@ -469,9 +551,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.
      * 
@@ -480,6 +563,8 @@ public enum RestrictedMetricType */ RESTRICTED_METRIC_TYPE_UNSPECIFIED(0), /** + * + * *
      * Metric reports cost data.
      * 
@@ -488,6 +573,8 @@ public enum RestrictedMetricType */ COST_DATA(1), /** + * + * *
      * Metric reports revenue data.
      * 
@@ -499,6 +586,8 @@ public enum RestrictedMetricType ; /** + * + * *
      * Type unknown or unspecified.
      * 
@@ -507,6 +596,8 @@ public enum RestrictedMetricType */ public static final int RESTRICTED_METRIC_TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Metric reports cost data.
      * 
@@ -515,6 +606,8 @@ public enum RestrictedMetricType */ public static final int COST_DATA_VALUE = 1; /** + * + * *
      * Metric reports revenue data.
      * 
@@ -523,7 +616,6 @@ public enum RestrictedMetricType */ public static final int REVENUE_DATA_VALUE = 2; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -548,10 +640,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; } } @@ -559,28 +655,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); } @@ -589,8 +685,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; @@ -608,15 +703,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 @@ -625,30 +724,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 { @@ -657,9 +756,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.
    *
@@ -670,7 +772,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 @@ -679,14 +784,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.
    *
@@ -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,132 +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(); @@ -1240,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 @@ -1261,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); @@ -1302,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; @@ -1341,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; @@ -1404,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) { @@ -1466,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; @@ -1491,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 { @@ -1513,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() { @@ -1546,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; @@ -1567,6 +1791,8 @@ public Builder setNameBytes( private java.lang.Object parameterName_ = ""; /** + * + * *
      * Required. Immutable. Tagging name for this custom metric.
      *
@@ -1577,14 +1803,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; @@ -1593,6 +1821,8 @@ public java.lang.String getParameterName() { } } /** + * + * *
      * Required. Immutable. Tagging name for this custom metric.
      *
@@ -1603,16 +1833,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 { @@ -1620,6 +1851,8 @@ public java.lang.String getParameterName() { } } /** + * + * *
      * Required. Immutable. Tagging name for this custom metric.
      *
@@ -1630,19 +1863,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.
      *
@@ -1653,7 +1892,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() { @@ -1663,6 +1905,8 @@ public Builder clearParameterName() { return this; } /** + * + * *
      * Required. Immutable. Tagging name for this custom metric.
      *
@@ -1673,13 +1917,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; @@ -1689,6 +1937,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
@@ -1698,13 +1948,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; @@ -1713,6 +1963,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
@@ -1722,15 +1974,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 { @@ -1738,6 +1989,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
@@ -1747,18 +2000,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
@@ -1768,6 +2025,7 @@ public Builder setDisplayName(
      * 
* * string display_name = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearDisplayName() { @@ -1777,6 +2035,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
@@ -1786,12 +2046,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; @@ -1801,19 +2063,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; @@ -1822,21 +2086,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 { @@ -1844,30 +2109,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() { @@ -1877,18 +2149,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; @@ -1898,22 +2174,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. */ @@ -1924,28 +2211,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(); } @@ -1955,11 +2257,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() { @@ -1971,22 +2278,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. */ @@ -1997,24 +2315,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. */ @@ -2028,11 +2359,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() { @@ -2043,7 +2379,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_); @@ -2051,54 +2388,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. @@ -2114,17 +2474,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(); } @@ -2134,18 +2500,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()); @@ -2154,13 +2527,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() { @@ -2170,27 +2548,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. */ @@ -2198,32 +2585,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. */ @@ -2234,18 +2630,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); @@ -2253,9 +2653,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); } @@ -2265,12 +2665,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(); } @@ -2279,27 +2679,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; @@ -2314,6 +2714,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 94c63934fc4d..f9584e4bddff 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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.
    *
@@ -40,11 +63,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.
    *
@@ -55,13 +83,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
@@ -71,10 +103,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
@@ -84,125 +119,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/DataRedactionSettings.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DataRedactionSettings.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/DataRedactionSettings.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DataRedactionSettings.java index 3dffb7e63137..1ca895bb81aa 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DataRedactionSettings.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DataRedactionSettings.java @@ -1,9 +1,26 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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 for client-side data redaction. Singleton resource under a Web
  * Stream.
@@ -11,45 +28,49 @@
  *
  * Protobuf type {@code google.analytics.admin.v1alpha.DataRedactionSettings}
  */
-public final class DataRedactionSettings extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class DataRedactionSettings extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.DataRedactionSettings)
     DataRedactionSettingsOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use DataRedactionSettings.newBuilder() to construct.
   private DataRedactionSettings(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private DataRedactionSettings() {
     name_ = "";
-    queryParameterKeys_ =
-        com.google.protobuf.LazyStringArrayList.emptyList();
+    queryParameterKeys_ = com.google.protobuf.LazyStringArrayList.emptyList();
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new DataRedactionSettings();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_DataRedactionSettings_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.analytics.admin.v1alpha.ResourcesProto
+        .internal_static_google_analytics_admin_v1alpha_DataRedactionSettings_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_DataRedactionSettings_fieldAccessorTable
+    return com.google.analytics.admin.v1alpha.ResourcesProto
+        .internal_static_google_analytics_admin_v1alpha_DataRedactionSettings_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.analytics.admin.v1alpha.DataRedactionSettings.class, com.google.analytics.admin.v1alpha.DataRedactionSettings.Builder.class);
+            com.google.analytics.admin.v1alpha.DataRedactionSettings.class,
+            com.google.analytics.admin.v1alpha.DataRedactionSettings.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
+   *
+   *
    * 
    * Output only. Name of this Data Redaction Settings resource.
    * Format:
@@ -58,6 +79,7 @@ protected java.lang.Object newInstance(
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ @java.lang.Override @@ -66,14 +88,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. Name of this Data Redaction Settings resource.
    * Format:
@@ -82,16 +105,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,12 +124,15 @@ public java.lang.String getName() { public static final int EMAIL_REDACTION_ENABLED_FIELD_NUMBER = 2; private boolean emailRedactionEnabled_ = false; /** + * + * *
    * If enabled, any event parameter or user property values that look like an
    * email will be redacted.
    * 
* * bool email_redaction_enabled = 2; + * * @return The emailRedactionEnabled. */ @java.lang.Override @@ -118,6 +143,8 @@ public boolean getEmailRedactionEnabled() { public static final int QUERY_PARAMETER_REDACTION_ENABLED_FIELD_NUMBER = 3; private boolean queryParameterRedactionEnabled_ = false; /** + * + * *
    * Query Parameter redaction removes the key and value portions of a
    * query parameter if it is in the configured set of query parameters.
@@ -127,6 +154,7 @@ public boolean getEmailRedactionEnabled() {
    * 
* * bool query_parameter_redaction_enabled = 3; + * * @return The queryParameterRedactionEnabled. */ @java.lang.Override @@ -135,10 +163,13 @@ public boolean getQueryParameterRedactionEnabled() { } public static final int QUERY_PARAMETER_KEYS_FIELD_NUMBER = 4; + @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList queryParameterKeys_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** + * + * *
    * The query parameter keys to apply redaction logic to if present in the URL.
    * Query parameter matching is case-insensitive.
@@ -148,13 +179,15 @@ public boolean getQueryParameterRedactionEnabled() {
    * 
* * repeated string query_parameter_keys = 4; + * * @return A list containing the queryParameterKeys. */ - public com.google.protobuf.ProtocolStringList - getQueryParameterKeysList() { + public com.google.protobuf.ProtocolStringList getQueryParameterKeysList() { return queryParameterKeys_; } /** + * + * *
    * The query parameter keys to apply redaction logic to if present in the URL.
    * Query parameter matching is case-insensitive.
@@ -164,12 +197,15 @@ public boolean getQueryParameterRedactionEnabled() {
    * 
* * repeated string query_parameter_keys = 4; + * * @return The count of queryParameterKeys. */ public int getQueryParameterKeysCount() { return queryParameterKeys_.size(); } /** + * + * *
    * The query parameter keys to apply redaction logic to if present in the URL.
    * Query parameter matching is case-insensitive.
@@ -179,6 +215,7 @@ public int getQueryParameterKeysCount() {
    * 
* * repeated string query_parameter_keys = 4; + * * @param index The index of the element to return. * @return The queryParameterKeys at the given index. */ @@ -186,6 +223,8 @@ public java.lang.String getQueryParameterKeys(int index) { return queryParameterKeys_.get(index); } /** + * + * *
    * The query parameter keys to apply redaction logic to if present in the URL.
    * Query parameter matching is case-insensitive.
@@ -195,15 +234,16 @@ public java.lang.String getQueryParameterKeys(int index) {
    * 
* * repeated string query_parameter_keys = 4; + * * @param index The index of the value to return. * @return The bytes of the queryParameterKeys at the given index. */ - public com.google.protobuf.ByteString - getQueryParameterKeysBytes(int index) { + public com.google.protobuf.ByteString getQueryParameterKeysBytes(int index) { return queryParameterKeys_.getByteString(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -215,8 +255,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -242,12 +281,11 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (emailRedactionEnabled_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(2, emailRedactionEnabled_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, emailRedactionEnabled_); } if (queryParameterRedactionEnabled_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(3, queryParameterRedactionEnabled_); + size += + com.google.protobuf.CodedOutputStream.computeBoolSize(3, queryParameterRedactionEnabled_); } { int dataSize = 0; @@ -265,21 +303,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.DataRedactionSettings)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.DataRedactionSettings other = (com.google.analytics.admin.v1alpha.DataRedactionSettings) obj; - - if (!getName() - .equals(other.getName())) return false; - if (getEmailRedactionEnabled() - != other.getEmailRedactionEnabled()) return false; - if (getQueryParameterRedactionEnabled() - != other.getQueryParameterRedactionEnabled()) return false; - if (!getQueryParameterKeysList() - .equals(other.getQueryParameterKeysList())) return false; + com.google.analytics.admin.v1alpha.DataRedactionSettings other = + (com.google.analytics.admin.v1alpha.DataRedactionSettings) obj; + + if (!getName().equals(other.getName())) return false; + if (getEmailRedactionEnabled() != other.getEmailRedactionEnabled()) return false; + if (getQueryParameterRedactionEnabled() != other.getQueryParameterRedactionEnabled()) + return false; + if (!getQueryParameterKeysList().equals(other.getQueryParameterKeysList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -294,11 +330,10 @@ public int hashCode() { hash = (37 * hash) + NAME_FIELD_NUMBER; hash = (53 * hash) + getName().hashCode(); hash = (37 * hash) + EMAIL_REDACTION_ENABLED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getEmailRedactionEnabled()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEmailRedactionEnabled()); hash = (37 * hash) + QUERY_PARAMETER_REDACTION_ENABLED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getQueryParameterRedactionEnabled()); + hash = + (53 * hash) + com.google.protobuf.Internal.hashBoolean(getQueryParameterRedactionEnabled()); if (getQueryParameterKeysCount() > 0) { hash = (37 * hash) + QUERY_PARAMETER_KEYS_FIELD_NUMBER; hash = (53 * hash) + getQueryParameterKeysList().hashCode(); @@ -309,98 +344,104 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.DataRedactionSettings parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.DataRedactionSettings parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.DataRedactionSettings parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.DataRedactionSettings parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.DataRedactionSettings parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.DataRedactionSettings parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.DataRedactionSettings parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.DataRedactionSettings parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.DataRedactionSettings parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.DataRedactionSettings parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.DataRedactionSettings parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.analytics.admin.v1alpha.DataRedactionSettings parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.DataRedactionSettings parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.DataRedactionSettings parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1alpha.DataRedactionSettings prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1alpha.DataRedactionSettings prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 for client-side data redaction. Singleton resource under a Web
    * Stream.
@@ -408,33 +449,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.analytics.admin.v1alpha.DataRedactionSettings}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.DataRedactionSettings)
       com.google.analytics.admin.v1alpha.DataRedactionSettingsOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_DataRedactionSettings_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.analytics.admin.v1alpha.ResourcesProto
+          .internal_static_google_analytics_admin_v1alpha_DataRedactionSettings_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_DataRedactionSettings_fieldAccessorTable
+      return com.google.analytics.admin.v1alpha.ResourcesProto
+          .internal_static_google_analytics_admin_v1alpha_DataRedactionSettings_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.analytics.admin.v1alpha.DataRedactionSettings.class, com.google.analytics.admin.v1alpha.DataRedactionSettings.Builder.class);
+              com.google.analytics.admin.v1alpha.DataRedactionSettings.class,
+              com.google.analytics.admin.v1alpha.DataRedactionSettings.Builder.class);
     }
 
     // Construct using com.google.analytics.admin.v1alpha.DataRedactionSettings.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,15 +482,14 @@ public Builder clear() {
       name_ = "";
       emailRedactionEnabled_ = false;
       queryParameterRedactionEnabled_ = false;
-      queryParameterKeys_ =
-          com.google.protobuf.LazyStringArrayList.emptyList();
+      queryParameterKeys_ = com.google.protobuf.LazyStringArrayList.emptyList();
       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_DataRedactionSettings_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.analytics.admin.v1alpha.ResourcesProto
+          .internal_static_google_analytics_admin_v1alpha_DataRedactionSettings_descriptor;
     }
 
     @java.lang.Override
@@ -469,8 +508,11 @@ public com.google.analytics.admin.v1alpha.DataRedactionSettings build() {
 
     @java.lang.Override
     public com.google.analytics.admin.v1alpha.DataRedactionSettings buildPartial() {
-      com.google.analytics.admin.v1alpha.DataRedactionSettings result = new com.google.analytics.admin.v1alpha.DataRedactionSettings(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.analytics.admin.v1alpha.DataRedactionSettings result =
+          new com.google.analytics.admin.v1alpha.DataRedactionSettings(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -496,38 +538,39 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.DataRedactionSetti
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.analytics.admin.v1alpha.DataRedactionSettings) {
-        return mergeFrom((com.google.analytics.admin.v1alpha.DataRedactionSettings)other);
+        return mergeFrom((com.google.analytics.admin.v1alpha.DataRedactionSettings) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -535,7 +578,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.analytics.admin.v1alpha.DataRedactionSettings other) {
-      if (other == com.google.analytics.admin.v1alpha.DataRedactionSettings.getDefaultInstance()) return this;
+      if (other == com.google.analytics.admin.v1alpha.DataRedactionSettings.getDefaultInstance())
+        return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         bitField0_ |= 0x00000001;
@@ -583,33 +627,38 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              name_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 16: {
-              emailRedactionEnabled_ = input.readBool();
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 16
-            case 24: {
-              queryParameterRedactionEnabled_ = input.readBool();
-              bitField0_ |= 0x00000004;
-              break;
-            } // case 24
-            case 34: {
-              java.lang.String s = input.readStringRequireUtf8();
-              ensureQueryParameterKeysIsMutable();
-              queryParameterKeys_.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 16:
+              {
+                emailRedactionEnabled_ = input.readBool();
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 16
+            case 24:
+              {
+                queryParameterRedactionEnabled_ = input.readBool();
+                bitField0_ |= 0x00000004;
+                break;
+              } // case 24
+            case 34:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
+                ensureQueryParameterKeysIsMutable();
+                queryParameterKeys_.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) {
@@ -619,10 +668,13 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * Output only. Name of this Data Redaction Settings resource.
      * Format:
@@ -631,13 +683,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; @@ -646,6 +698,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. Name of this Data Redaction Settings resource.
      * Format:
@@ -654,15 +708,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 { @@ -670,6 +723,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. Name of this Data Redaction Settings resource.
      * Format:
@@ -678,18 +733,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. Name of this Data Redaction Settings resource.
      * Format:
@@ -698,6 +757,7 @@ public Builder setName(
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearName() { @@ -707,6 +767,8 @@ public Builder clearName() { return this; } /** + * + * *
      * Output only. Name of this Data Redaction Settings resource.
      * Format:
@@ -715,12 +777,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; @@ -728,14 +792,17 @@ public Builder setNameBytes( return this; } - private boolean emailRedactionEnabled_ ; + private boolean emailRedactionEnabled_; /** + * + * *
      * If enabled, any event parameter or user property values that look like an
      * email will be redacted.
      * 
* * bool email_redaction_enabled = 2; + * * @return The emailRedactionEnabled. */ @java.lang.Override @@ -743,12 +810,15 @@ public boolean getEmailRedactionEnabled() { return emailRedactionEnabled_; } /** + * + * *
      * If enabled, any event parameter or user property values that look like an
      * email will be redacted.
      * 
* * bool email_redaction_enabled = 2; + * * @param value The emailRedactionEnabled to set. * @return This builder for chaining. */ @@ -760,12 +830,15 @@ public Builder setEmailRedactionEnabled(boolean value) { return this; } /** + * + * *
      * If enabled, any event parameter or user property values that look like an
      * email will be redacted.
      * 
* * bool email_redaction_enabled = 2; + * * @return This builder for chaining. */ public Builder clearEmailRedactionEnabled() { @@ -775,8 +848,10 @@ public Builder clearEmailRedactionEnabled() { return this; } - private boolean queryParameterRedactionEnabled_ ; + private boolean queryParameterRedactionEnabled_; /** + * + * *
      * Query Parameter redaction removes the key and value portions of a
      * query parameter if it is in the configured set of query parameters.
@@ -786,6 +861,7 @@ public Builder clearEmailRedactionEnabled() {
      * 
* * bool query_parameter_redaction_enabled = 3; + * * @return The queryParameterRedactionEnabled. */ @java.lang.Override @@ -793,6 +869,8 @@ public boolean getQueryParameterRedactionEnabled() { return queryParameterRedactionEnabled_; } /** + * + * *
      * Query Parameter redaction removes the key and value portions of a
      * query parameter if it is in the configured set of query parameters.
@@ -802,6 +880,7 @@ public boolean getQueryParameterRedactionEnabled() {
      * 
* * bool query_parameter_redaction_enabled = 3; + * * @param value The queryParameterRedactionEnabled to set. * @return This builder for chaining. */ @@ -813,6 +892,8 @@ public Builder setQueryParameterRedactionEnabled(boolean value) { return this; } /** + * + * *
      * Query Parameter redaction removes the key and value portions of a
      * query parameter if it is in the configured set of query parameters.
@@ -822,6 +903,7 @@ public Builder setQueryParameterRedactionEnabled(boolean value) {
      * 
* * bool query_parameter_redaction_enabled = 3; + * * @return This builder for chaining. */ public Builder clearQueryParameterRedactionEnabled() { @@ -833,6 +915,7 @@ public Builder clearQueryParameterRedactionEnabled() { private com.google.protobuf.LazyStringArrayList queryParameterKeys_ = com.google.protobuf.LazyStringArrayList.emptyList(); + private void ensureQueryParameterKeysIsMutable() { if (!queryParameterKeys_.isModifiable()) { queryParameterKeys_ = new com.google.protobuf.LazyStringArrayList(queryParameterKeys_); @@ -840,6 +923,8 @@ private void ensureQueryParameterKeysIsMutable() { bitField0_ |= 0x00000008; } /** + * + * *
      * The query parameter keys to apply redaction logic to if present in the URL.
      * Query parameter matching is case-insensitive.
@@ -849,14 +934,16 @@ private void ensureQueryParameterKeysIsMutable() {
      * 
* * repeated string query_parameter_keys = 4; + * * @return A list containing the queryParameterKeys. */ - public com.google.protobuf.ProtocolStringList - getQueryParameterKeysList() { + public com.google.protobuf.ProtocolStringList getQueryParameterKeysList() { queryParameterKeys_.makeImmutable(); return queryParameterKeys_; } /** + * + * *
      * The query parameter keys to apply redaction logic to if present in the URL.
      * Query parameter matching is case-insensitive.
@@ -866,12 +953,15 @@ private void ensureQueryParameterKeysIsMutable() {
      * 
* * repeated string query_parameter_keys = 4; + * * @return The count of queryParameterKeys. */ public int getQueryParameterKeysCount() { return queryParameterKeys_.size(); } /** + * + * *
      * The query parameter keys to apply redaction logic to if present in the URL.
      * Query parameter matching is case-insensitive.
@@ -881,6 +971,7 @@ public int getQueryParameterKeysCount() {
      * 
* * repeated string query_parameter_keys = 4; + * * @param index The index of the element to return. * @return The queryParameterKeys at the given index. */ @@ -888,6 +979,8 @@ public java.lang.String getQueryParameterKeys(int index) { return queryParameterKeys_.get(index); } /** + * + * *
      * The query parameter keys to apply redaction logic to if present in the URL.
      * Query parameter matching is case-insensitive.
@@ -897,14 +990,16 @@ public java.lang.String getQueryParameterKeys(int index) {
      * 
* * repeated string query_parameter_keys = 4; + * * @param index The index of the value to return. * @return The bytes of the queryParameterKeys at the given index. */ - public com.google.protobuf.ByteString - getQueryParameterKeysBytes(int index) { + public com.google.protobuf.ByteString getQueryParameterKeysBytes(int index) { return queryParameterKeys_.getByteString(index); } /** + * + * *
      * The query parameter keys to apply redaction logic to if present in the URL.
      * Query parameter matching is case-insensitive.
@@ -914,13 +1009,15 @@ public java.lang.String getQueryParameterKeys(int index) {
      * 
* * repeated string query_parameter_keys = 4; + * * @param index The index to set the value at. * @param value The queryParameterKeys to set. * @return This builder for chaining. */ - public Builder setQueryParameterKeys( - int index, java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setQueryParameterKeys(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureQueryParameterKeysIsMutable(); queryParameterKeys_.set(index, value); bitField0_ |= 0x00000008; @@ -928,6 +1025,8 @@ public Builder setQueryParameterKeys( return this; } /** + * + * *
      * The query parameter keys to apply redaction logic to if present in the URL.
      * Query parameter matching is case-insensitive.
@@ -937,12 +1036,14 @@ public Builder setQueryParameterKeys(
      * 
* * repeated string query_parameter_keys = 4; + * * @param value The queryParameterKeys to add. * @return This builder for chaining. */ - public Builder addQueryParameterKeys( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder addQueryParameterKeys(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureQueryParameterKeysIsMutable(); queryParameterKeys_.add(value); bitField0_ |= 0x00000008; @@ -950,6 +1051,8 @@ public Builder addQueryParameterKeys( return this; } /** + * + * *
      * The query parameter keys to apply redaction logic to if present in the URL.
      * Query parameter matching is case-insensitive.
@@ -959,19 +1062,20 @@ public Builder addQueryParameterKeys(
      * 
* * repeated string query_parameter_keys = 4; + * * @param values The queryParameterKeys to add. * @return This builder for chaining. */ - public Builder addAllQueryParameterKeys( - java.lang.Iterable values) { + public Builder addAllQueryParameterKeys(java.lang.Iterable values) { ensureQueryParameterKeysIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, queryParameterKeys_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, queryParameterKeys_); bitField0_ |= 0x00000008; onChanged(); return this; } /** + * + * *
      * The query parameter keys to apply redaction logic to if present in the URL.
      * Query parameter matching is case-insensitive.
@@ -981,16 +1085,19 @@ public Builder addAllQueryParameterKeys(
      * 
* * repeated string query_parameter_keys = 4; + * * @return This builder for chaining. */ public Builder clearQueryParameterKeys() { - queryParameterKeys_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000008);; + queryParameterKeys_ = com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000008); + ; onChanged(); return this; } /** + * + * *
      * The query parameter keys to apply redaction logic to if present in the URL.
      * Query parameter matching is case-insensitive.
@@ -1000,12 +1107,14 @@ public Builder clearQueryParameterKeys() {
      * 
* * repeated string query_parameter_keys = 4; + * * @param value The bytes of the queryParameterKeys to add. * @return This builder for chaining. */ - public Builder addQueryParameterKeysBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder addQueryParameterKeysBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); ensureQueryParameterKeysIsMutable(); queryParameterKeys_.add(value); @@ -1013,9 +1122,9 @@ public Builder addQueryParameterKeysBytes( onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1025,12 +1134,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.DataRedactionSettings) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.DataRedactionSettings) private static final com.google.analytics.admin.v1alpha.DataRedactionSettings DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.DataRedactionSettings(); } @@ -1039,27 +1148,27 @@ public static com.google.analytics.admin.v1alpha.DataRedactionSettings getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DataRedactionSettings parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DataRedactionSettings parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1074,6 +1183,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1alpha.DataRedactionSettings 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/DataRedactionSettingsName.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DataRedactionSettingsName.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/DataRedactionSettingsName.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DataRedactionSettingsName.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DataRedactionSettingsOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DataRedactionSettingsOrBuilder.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/DataRedactionSettingsOrBuilder.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DataRedactionSettingsOrBuilder.java index 030217995f47..1e3f93b42ea5 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DataRedactionSettingsOrBuilder.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DataRedactionSettingsOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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 DataRedactionSettingsOrBuilder extends +public interface DataRedactionSettingsOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.DataRedactionSettings) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Output only. Name of this Data Redaction Settings resource.
    * Format:
@@ -16,10 +34,13 @@ public interface DataRedactionSettingsOrBuilder extends
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Output only. Name of this Data Redaction Settings resource.
    * Format:
@@ -28,23 +49,28 @@ public interface DataRedactionSettingsOrBuilder 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(); /** + * + * *
    * If enabled, any event parameter or user property values that look like an
    * email will be redacted.
    * 
* * bool email_redaction_enabled = 2; + * * @return The emailRedactionEnabled. */ boolean getEmailRedactionEnabled(); /** + * + * *
    * Query Parameter redaction removes the key and value portions of a
    * query parameter if it is in the configured set of query parameters.
@@ -54,11 +80,14 @@ public interface DataRedactionSettingsOrBuilder extends
    * 
* * bool query_parameter_redaction_enabled = 3; + * * @return The queryParameterRedactionEnabled. */ boolean getQueryParameterRedactionEnabled(); /** + * + * *
    * The query parameter keys to apply redaction logic to if present in the URL.
    * Query parameter matching is case-insensitive.
@@ -68,11 +97,13 @@ public interface DataRedactionSettingsOrBuilder extends
    * 
* * repeated string query_parameter_keys = 4; + * * @return A list containing the queryParameterKeys. */ - java.util.List - getQueryParameterKeysList(); + java.util.List getQueryParameterKeysList(); /** + * + * *
    * The query parameter keys to apply redaction logic to if present in the URL.
    * Query parameter matching is case-insensitive.
@@ -82,10 +113,13 @@ public interface DataRedactionSettingsOrBuilder extends
    * 
* * repeated string query_parameter_keys = 4; + * * @return The count of queryParameterKeys. */ int getQueryParameterKeysCount(); /** + * + * *
    * The query parameter keys to apply redaction logic to if present in the URL.
    * Query parameter matching is case-insensitive.
@@ -95,11 +129,14 @@ public interface DataRedactionSettingsOrBuilder extends
    * 
* * repeated string query_parameter_keys = 4; + * * @param index The index of the element to return. * @return The queryParameterKeys at the given index. */ java.lang.String getQueryParameterKeys(int index); /** + * + * *
    * The query parameter keys to apply redaction logic to if present in the URL.
    * Query parameter matching is case-insensitive.
@@ -109,9 +146,9 @@ public interface DataRedactionSettingsOrBuilder extends
    * 
* * repeated string query_parameter_keys = 4; + * * @param index The index of the value to return. * @return The bytes of the queryParameterKeys at the given index. */ - com.google.protobuf.ByteString - getQueryParameterKeysBytes(int index); + com.google.protobuf.ByteString getQueryParameterKeysBytes(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/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 11cc302036a5..4f88a39a8b35 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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,34 +44,38 @@ private DataRetentionSettings() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DataRetentionSettings(); } - 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.
      * 
@@ -62,6 +84,8 @@ public enum RetentionDuration */ RETENTION_DURATION_UNSPECIFIED(0), /** + * + * *
      * The data retention time duration is 2 months.
      * 
@@ -70,6 +94,8 @@ public enum RetentionDuration */ TWO_MONTHS(1), /** + * + * *
      * The data retention time duration is 14 months.
      * 
@@ -78,6 +104,8 @@ public enum RetentionDuration */ FOURTEEN_MONTHS(3), /** + * + * *
      * The data retention time duration is 26 months.
      * Available to 360 properties only.
@@ -87,6 +115,8 @@ public enum RetentionDuration
      */
     TWENTY_SIX_MONTHS(4),
     /**
+     *
+     *
      * 
      * The data retention time duration is 38 months.
      * Available to 360 properties only.
@@ -96,6 +126,8 @@ public enum RetentionDuration
      */
     THIRTY_EIGHT_MONTHS(5),
     /**
+     *
+     *
      * 
      * The data retention time duration is 50 months.
      * Available to 360 properties only.
@@ -108,6 +140,8 @@ public enum RetentionDuration
     ;
 
     /**
+     *
+     *
      * 
      * Data retention time duration is not specified.
      * 
@@ -116,6 +150,8 @@ public enum RetentionDuration */ public static final int RETENTION_DURATION_UNSPECIFIED_VALUE = 0; /** + * + * *
      * The data retention time duration is 2 months.
      * 
@@ -124,6 +160,8 @@ public enum RetentionDuration */ public static final int TWO_MONTHS_VALUE = 1; /** + * + * *
      * The data retention time duration is 14 months.
      * 
@@ -132,6 +170,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.
@@ -141,6 +181,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.
@@ -150,6 +192,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.
@@ -159,7 +203,6 @@ public enum RetentionDuration
      */
     public static final int FIFTY_MONTHS_VALUE = 6;
 
-
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -184,13 +227,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;
       }
     }
 
@@ -198,29 +248,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();
@@ -228,8 +280,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;
@@ -247,15 +298,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 @@ -264,30 +319,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 { @@ -298,38 +353,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 @@ -338,6 +413,7 @@ public boolean getResetUserDataOnNewActivity() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -349,12 +425,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) { @@ -372,13 +450,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; @@ -388,18 +467,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; } @@ -416,139 +494,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(); @@ -560,9 +642,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 @@ -581,8 +663,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; } @@ -604,38 +689,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; @@ -643,7 +729,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; @@ -681,27 +768,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) { @@ -711,23 +802,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; @@ -736,21 +830,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 { @@ -758,30 +853,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() { @@ -791,18 +893,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; @@ -812,22 +918,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. */ @@ -838,28 +955,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(); } @@ -869,11 +1002,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() { @@ -883,14 +1021,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 @@ -898,12 +1039,15 @@ 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. */ @@ -915,12 +1059,15 @@ public Builder setResetUserDataOnNewActivity(boolean value) { 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() { @@ -929,9 +1076,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); } @@ -941,12 +1088,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(); } @@ -955,27 +1102,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; @@ -990,6 +1137,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..1941ec614ac8 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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 e51c3ca584ff..5db247009819 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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,43 +28,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();
   }
 
-  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
@@ -55,6 +77,7 @@ protected java.lang.Object newInstance(
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ @java.lang.Override @@ -63,14 +86,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
@@ -78,16 +102,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 { @@ -98,12 +121,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 @@ -114,6 +140,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.
@@ -121,6 +149,7 @@ public boolean getSharingWithGoogleSupportEnabled() {
    * 
* * bool sharing_with_google_assigned_sales_enabled = 3; + * * @return The sharingWithGoogleAssignedSalesEnabled. */ @java.lang.Override @@ -131,12 +160,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 @@ -147,11 +179,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 @@ -162,11 +197,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 @@ -175,6 +213,7 @@ public boolean getSharingWithOthersEnabled() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -186,8 +225,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -219,24 +257,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; @@ -246,25 +287,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; } @@ -279,118 +319,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.
@@ -398,33 +447,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();
@@ -439,9 +487,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
@@ -460,8 +508,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;
     }
@@ -492,38 +543,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;
@@ -531,7 +583,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;
@@ -578,42 +631,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) {
@@ -623,10 +683,13 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * Output only. Resource name.
      * Format: accounts/{account}/dataSharingSettings
@@ -634,13 +697,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; @@ -649,6 +712,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. Resource name.
      * Format: accounts/{account}/dataSharingSettings
@@ -656,15 +721,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 { @@ -672,6 +736,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. Resource name.
      * Format: accounts/{account}/dataSharingSettings
@@ -679,18 +745,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
@@ -698,6 +768,7 @@ public Builder setName(
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearName() { @@ -707,6 +778,8 @@ public Builder clearName() { return this; } /** + * + * *
      * Output only. Resource name.
      * Format: accounts/{account}/dataSharingSettings
@@ -714,12 +787,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; @@ -727,14 +802,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 @@ -742,12 +820,15 @@ 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. */ @@ -759,12 +840,15 @@ public Builder setSharingWithGoogleSupportEnabled(boolean value) { 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() { @@ -774,8 +858,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.
@@ -783,6 +869,7 @@ public Builder clearSharingWithGoogleSupportEnabled() {
      * 
* * bool sharing_with_google_assigned_sales_enabled = 3; + * * @return The sharingWithGoogleAssignedSalesEnabled. */ @java.lang.Override @@ -790,6 +877,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.
@@ -797,6 +886,7 @@ public boolean getSharingWithGoogleAssignedSalesEnabled() {
      * 
* * bool sharing_with_google_assigned_sales_enabled = 3; + * * @param value The sharingWithGoogleAssignedSalesEnabled to set. * @return This builder for chaining. */ @@ -808,6 +898,8 @@ public Builder setSharingWithGoogleAssignedSalesEnabled(boolean value) { 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.
@@ -815,6 +907,7 @@ public Builder setSharingWithGoogleAssignedSalesEnabled(boolean value) {
      * 
* * bool sharing_with_google_assigned_sales_enabled = 3; + * * @return This builder for chaining. */ public Builder clearSharingWithGoogleAssignedSalesEnabled() { @@ -824,14 +917,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 @@ -839,12 +935,15 @@ 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. */ @@ -856,12 +955,15 @@ public Builder setSharingWithGoogleAnySalesEnabled(boolean value) { 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() { @@ -871,13 +973,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 @@ -885,11 +990,14 @@ 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. */ @@ -901,11 +1009,14 @@ public Builder setSharingWithGoogleProductsEnabled(boolean value) { 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() { @@ -915,13 +1026,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 @@ -929,11 +1043,14 @@ 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. */ @@ -945,11 +1062,14 @@ public Builder setSharingWithOthersEnabled(boolean value) { 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() { @@ -958,9 +1078,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); } @@ -970,12 +1090,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(); } @@ -984,27 +1104,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; @@ -1019,6 +1139,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..98108dcdb671 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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 56923ac73d5c..227a231c5258 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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,34 +45,38 @@ private DataStream() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DataStream(); } - 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.
      * 
@@ -63,6 +85,8 @@ public enum DataStreamType */ DATA_STREAM_TYPE_UNSPECIFIED(0), /** + * + * *
      * Web data stream.
      * 
@@ -71,6 +95,8 @@ public enum DataStreamType */ WEB_DATA_STREAM(1), /** + * + * *
      * Android app data stream.
      * 
@@ -79,6 +105,8 @@ public enum DataStreamType */ ANDROID_APP_DATA_STREAM(2), /** + * + * *
      * iOS app data stream.
      * 
@@ -90,6 +118,8 @@ public enum DataStreamType ; /** + * + * *
      * Type unknown or not specified.
      * 
@@ -98,6 +128,8 @@ public enum DataStreamType */ public static final int DATA_STREAM_TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Web data stream.
      * 
@@ -106,6 +138,8 @@ public enum DataStreamType */ public static final int WEB_DATA_STREAM_VALUE = 1; /** + * + * *
      * Android app data stream.
      * 
@@ -114,6 +148,8 @@ public enum DataStreamType */ public static final int ANDROID_APP_DATA_STREAM_VALUE = 2; /** + * + * *
      * iOS app data stream.
      * 
@@ -122,7 +158,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( @@ -147,50 +182,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; @@ -207,11 +243,14 @@ 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.
      *
@@ -219,10 +258,13 @@ public interface WebStreamDataOrBuilder extends
      * 
* * string measurement_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The measurementId. */ java.lang.String getMeasurementId(); /** + * + * *
      * Output only. Analytics Measurement ID.
      *
@@ -230,71 +272,84 @@ public interface WebStreamDataOrBuilder extends
      * 
* * 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(); /** + * + * *
      * Domain name of the web app being measured, or empty.
      * Example: "http://www.google.com", "https://www.google.com"
      * 
* * string default_uri = 3; + * * @return The defaultUri. */ java.lang.String getDefaultUri(); /** + * + * *
      * Domain name of the web app being measured, or empty.
      * Example: "http://www.google.com", "https://www.google.com"
      * 
* * string default_uri = 3; + * * @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_ = ""; @@ -303,28 +358,32 @@ private WebStreamData() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new WebStreamData(); } - 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.
      *
@@ -332,6 +391,7 @@ protected java.lang.Object newInstance(
      * 
* * string measurement_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The measurementId. */ @java.lang.Override @@ -340,14 +400,15 @@ 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.
      *
@@ -355,16 +416,15 @@ public java.lang.String getMeasurementId() {
      * 
* * 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 { @@ -373,15 +433,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 @@ -390,30 +454,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 { @@ -422,15 +486,19 @@ public java.lang.String getFirebaseAppId() { } public static final int DEFAULT_URI_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object defaultUri_ = ""; /** + * + * *
      * Domain name of the web app being measured, or empty.
      * Example: "http://www.google.com", "https://www.google.com"
      * 
* * string default_uri = 3; + * * @return The defaultUri. */ @java.lang.Override @@ -439,30 +507,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; } } /** + * + * *
      * Domain name of the web app being measured, or empty.
      * Example: "http://www.google.com", "https://www.google.com"
      * 
* * string default_uri = 3; + * * @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 { @@ -471,6 +539,7 @@ public java.lang.String getDefaultUri() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -482,8 +551,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -519,19 +587,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; } @@ -555,89 +621,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 @@ -647,39 +718,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(); @@ -691,13 +764,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(); } @@ -712,13 +786,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_; @@ -735,38 +813,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; @@ -774,7 +855,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; @@ -816,27 +899,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) { @@ -846,10 +933,13 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object measurementId_ = ""; /** + * + * *
        * Output only. Analytics Measurement ID.
        *
@@ -857,13 +947,13 @@ public Builder mergeFrom(
        * 
* * 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; @@ -872,6 +962,8 @@ public java.lang.String getMeasurementId() { } } /** + * + * *
        * Output only. Analytics Measurement ID.
        *
@@ -879,15 +971,14 @@ public java.lang.String getMeasurementId() {
        * 
* * 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 { @@ -895,6 +986,8 @@ public java.lang.String getMeasurementId() { } } /** + * + * *
        * Output only. Analytics Measurement ID.
        *
@@ -902,18 +995,22 @@ public java.lang.String getMeasurementId() {
        * 
* * 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.
        *
@@ -921,6 +1018,7 @@ public Builder setMeasurementId(
        * 
* * string measurement_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearMeasurementId() { @@ -930,6 +1028,8 @@ public Builder clearMeasurementId() { return this; } /** + * + * *
        * Output only. Analytics Measurement ID.
        *
@@ -937,12 +1037,14 @@ public Builder clearMeasurementId() {
        * 
* * 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; @@ -952,19 +1054,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; @@ -973,21 +1077,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 { @@ -995,30 +1100,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() { @@ -1028,18 +1140,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; @@ -1049,19 +1165,21 @@ public Builder setFirebaseAppIdBytes( private java.lang.Object defaultUri_ = ""; /** + * + * *
        * Domain name of the web app being measured, or empty.
        * Example: "http://www.google.com", "https://www.google.com"
        * 
* * string default_uri = 3; + * * @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; @@ -1070,21 +1188,22 @@ public java.lang.String getDefaultUri() { } } /** + * + * *
        * Domain name of the web app being measured, or empty.
        * Example: "http://www.google.com", "https://www.google.com"
        * 
* * string default_uri = 3; + * * @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 { @@ -1092,30 +1211,37 @@ public java.lang.String getDefaultUri() { } } /** + * + * *
        * Domain name of the web app being measured, or empty.
        * Example: "http://www.google.com", "https://www.google.com"
        * 
* * string default_uri = 3; + * * @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; } /** + * + * *
        * Domain name of the web app being measured, or empty.
        * Example: "http://www.google.com", "https://www.google.com"
        * 
* * string default_uri = 3; + * * @return This builder for chaining. */ public Builder clearDefaultUri() { @@ -1125,24 +1251,29 @@ public Builder clearDefaultUri() { return this; } /** + * + * *
        * Domain name of the web app being measured, or empty.
        * Example: "http://www.google.com", "https://www.google.com"
        * 
* * string default_uri = 3; + * * @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) { @@ -1155,12 +1286,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(); } @@ -1169,27 +1301,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; @@ -1204,73 +1337,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_ = ""; @@ -1278,34 +1424,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(); } - 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 @@ -1314,30 +1465,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 { @@ -1346,15 +1497,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 @@ -1363,30 +1518,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 { @@ -1395,6 +1550,7 @@ public java.lang.String getPackageName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1406,8 +1562,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -1437,17 +1592,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; } @@ -1469,89 +1623,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 @@ -1561,39 +1721,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(); @@ -1604,14 +1767,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 @@ -1625,13 +1790,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_; @@ -1645,46 +1814,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; @@ -1721,22 +1897,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) { @@ -1746,23 +1925,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; @@ -1771,21 +1953,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 { @@ -1793,30 +1976,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() { @@ -1826,18 +2016,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; @@ -1847,19 +2041,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; @@ -1868,21 +2064,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 { @@ -1890,30 +2087,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() { @@ -1923,24 +2127,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) { @@ -1953,41 +2162,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; @@ -1999,76 +2211,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_ = ""; @@ -2076,34 +2306,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(); } - 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 @@ -2112,30 +2347,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 { @@ -2144,15 +2379,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 @@ -2161,30 +2402,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 { @@ -2193,6 +2436,7 @@ public java.lang.String getBundleId() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2204,8 +2448,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -2235,17 +2478,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; } @@ -2267,89 +2509,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 @@ -2359,39 +2606,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(); @@ -2402,13 +2651,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(); } @@ -2423,13 +2673,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_; @@ -2443,46 +2697,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; @@ -2519,22 +2779,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) { @@ -2544,23 +2807,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; @@ -2569,21 +2835,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 { @@ -2591,30 +2858,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() { @@ -2624,18 +2898,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; @@ -2645,19 +2923,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; @@ -2666,21 +2948,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 { @@ -2688,30 +2973,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() { @@ -2721,24 +3017,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) { @@ -2751,41 +3054,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; @@ -2797,23 +3103,27 @@ 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; + @SuppressWarnings("serial") 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; } @@ -2829,32 +3139,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 @@ -2862,22 +3179,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.
@@ -2886,21 +3208,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 @@ -2908,45 +3236,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 @@ -2954,41 +3297,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}
@@ -2996,6 +3350,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 @@ -3004,14 +3359,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}
@@ -3019,16 +3375,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 { @@ -3039,33 +3394,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.
    *
@@ -3075,6 +3448,7 @@ public java.lang.String getName() {
    * 
* * string display_name = 3; + * * @return The displayName. */ @java.lang.Override @@ -3083,14 +3457,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.
    *
@@ -3100,16 +3475,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 +3494,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 +3510,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 +3526,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 +3543,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 +3559,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 +3575,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 +3590,7 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -3205,12 +3602,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 +3621,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 +3644,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 +3681,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,132 +3760,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(); @@ -3521,9 +3922,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 @@ -3542,8 +3943,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; @@ -3561,30 +3965,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(); } } @@ -3593,38 +3990,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; @@ -3653,21 +4051,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(); @@ -3695,62 +4097,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) { @@ -3760,12 +4163,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() { @@ -3778,14 +4181,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 @@ -3793,12 +4202,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 @@ -3816,6 +4228,8 @@ public com.google.analytics.admin.v1alpha.DataStream.WebStreamData getWebStreamD } } /** + * + * *
      * Data specific to web streams. Must be populated if type is
      * WEB_DATA_STREAM.
@@ -3823,7 +4237,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();
@@ -3837,6 +4252,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.
@@ -3856,6 +4273,8 @@ public Builder setWebStreamData(
       return this;
     }
     /**
+     *
+     *
      * 
      * Data specific to web streams. Must be populated if type is
      * WEB_DATA_STREAM.
@@ -3863,12 +4282,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;
         }
@@ -3884,6 +4309,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.
@@ -3908,6 +4335,8 @@ public Builder clearWebStreamData() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Data specific to web streams. Must be populated if type is
      * WEB_DATA_STREAM.
@@ -3915,10 +4344,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.
@@ -3927,7 +4359,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 {
@@ -3938,6 +4371,8 @@ public com.google.analytics.admin.v1alpha.DataStream.WebStreamDataOrBuilder getW
       }
     }
     /**
+     *
+     *
      * 
      * Data specific to web streams. Must be populated if type is
      * WEB_DATA_STREAM.
@@ -3946,14 +4381,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());
@@ -3965,14 +4406,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 @@ -3980,37 +4429,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(); @@ -4024,15 +4486,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(); @@ -4043,19 +4510,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; } @@ -4071,12 +4549,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) { @@ -4095,52 +4577,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()); @@ -4152,14 +4656,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 @@ -4167,12 +4678,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 @@ -4190,14 +4705,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(); @@ -4211,12 +4730,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) { @@ -4230,19 +4752,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; } @@ -4258,12 +4789,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) { @@ -4282,26 +4816,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 { @@ -4312,22 +4854,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()); @@ -4340,6 +4891,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}
@@ -4347,13 +4900,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; @@ -4362,6 +4915,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. Resource name of this Data Stream.
      * Format: properties/{property_id}/dataStreams/{stream_id}
@@ -4369,15 +4924,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 { @@ -4385,6 +4939,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. Resource name of this Data Stream.
      * Format: properties/{property_id}/dataStreams/{stream_id}
@@ -4392,18 +4948,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}
@@ -4411,6 +4971,7 @@ public Builder setName(
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearName() { @@ -4420,6 +4981,8 @@ public Builder clearName() { return this; } /** + * + * *
      * Output only. Resource name of this Data Stream.
      * Format: properties/{property_id}/dataStreams/{stream_id}
@@ -4427,12 +4990,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; @@ -4442,22 +5007,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. */ @@ -4468,24 +5044,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. */ @@ -4499,11 +5088,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() { @@ -4515,6 +5109,8 @@ public Builder clearType() { private java.lang.Object displayName_ = ""; /** + * + * *
      * Human-readable display name for the Data Stream.
      *
@@ -4524,13 +5120,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; @@ -4539,6 +5135,8 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * Human-readable display name for the Data Stream.
      *
@@ -4548,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 { @@ -4564,6 +5161,8 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * Human-readable display name for the Data Stream.
      *
@@ -4573,18 +5172,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.
      *
@@ -4594,6 +5197,7 @@ public Builder setDisplayName(
      * 
* * string display_name = 3; + * * @return This builder for chaining. */ public Builder clearDisplayName() { @@ -4603,6 +5207,8 @@ public Builder clearDisplayName() { return this; } /** + * + * *
      * Human-readable display name for the Data Stream.
      *
@@ -4612,12 +5218,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; @@ -4627,39 +5235,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) { @@ -4675,14 +5302,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 { @@ -4693,17 +5323,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; @@ -4716,11 +5350,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); @@ -4733,11 +5371,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; @@ -4745,36 +5387,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_; @@ -4782,39 +5436,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) { @@ -4830,14 +5503,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 { @@ -4848,17 +5524,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; @@ -4871,11 +5551,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); @@ -4888,11 +5572,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; @@ -4900,43 +5588,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); } @@ -4946,12 +5646,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(); } @@ -4960,27 +5660,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; @@ -4995,6 +5695,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 1f6279be7a5d..41d4a6a520ae 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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.
    *
@@ -150,10 +218,13 @@ public interface DataStreamOrBuilder extends
    * 
* * string display_name = 3; + * * @return The displayName. */ java.lang.String getDisplayName(); /** + * + * *
    * Human-readable display name for the Data Stream.
    *
@@ -163,62 +234,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/DeleteAccessBindingRequest.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteAccessBindingRequest.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/DeleteAccessBindingRequest.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteAccessBindingRequest.java index b9d2cb077b20..13385c612ecb 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteAccessBindingRequest.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteAccessBindingRequest.java @@ -1,59 +1,84 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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 DeleteAccessBinding RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.DeleteAccessBindingRequest} */ -public final class DeleteAccessBindingRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class DeleteAccessBindingRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.DeleteAccessBindingRequest) DeleteAccessBindingRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DeleteAccessBindingRequest.newBuilder() to construct. private DeleteAccessBindingRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private DeleteAccessBindingRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DeleteAccessBindingRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_DeleteAccessBindingRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_DeleteAccessBindingRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_DeleteAccessBindingRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_DeleteAccessBindingRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.DeleteAccessBindingRequest.class, com.google.analytics.admin.v1alpha.DeleteAccessBindingRequest.Builder.class); + com.google.analytics.admin.v1alpha.DeleteAccessBindingRequest.class, + com.google.analytics.admin.v1alpha.DeleteAccessBindingRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Required. Formats:
    * - accounts/{account}/accessBindings/{accessBinding}
    * - properties/{property}/accessBindings/{accessBinding}
    * 
* - * string name = 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 @@ -62,31 +87,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. Formats:
    * - accounts/{account}/accessBindings/{accessBinding}
    * - properties/{property}/accessBindings/{accessBinding}
    * 
* - * string name = 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 { @@ -95,6 +122,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -106,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(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -131,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.DeleteAccessBindingRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.DeleteAccessBindingRequest other = (com.google.analytics.admin.v1alpha.DeleteAccessBindingRequest) obj; + com.google.analytics.admin.v1alpha.DeleteAccessBindingRequest other = + (com.google.analytics.admin.v1alpha.DeleteAccessBindingRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -159,131 +186,136 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.DeleteAccessBindingRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.DeleteAccessBindingRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.DeleteAccessBindingRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.DeleteAccessBindingRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.DeleteAccessBindingRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.DeleteAccessBindingRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.DeleteAccessBindingRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.DeleteAccessBindingRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.DeleteAccessBindingRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.DeleteAccessBindingRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.DeleteAccessBindingRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.analytics.admin.v1alpha.DeleteAccessBindingRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.DeleteAccessBindingRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.DeleteAccessBindingRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1alpha.DeleteAccessBindingRequest prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1alpha.DeleteAccessBindingRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder 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 DeleteAccessBinding RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.DeleteAccessBindingRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.DeleteAccessBindingRequest) com.google.analytics.admin.v1alpha.DeleteAccessBindingRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_DeleteAccessBindingRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_DeleteAccessBindingRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_DeleteAccessBindingRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_DeleteAccessBindingRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.DeleteAccessBindingRequest.class, com.google.analytics.admin.v1alpha.DeleteAccessBindingRequest.Builder.class); + com.google.analytics.admin.v1alpha.DeleteAccessBindingRequest.class, + com.google.analytics.admin.v1alpha.DeleteAccessBindingRequest.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.DeleteAccessBindingRequest.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(); @@ -293,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_DeleteAccessBindingRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_DeleteAccessBindingRequest_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.DeleteAccessBindingRequest getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.DeleteAccessBindingRequest + getDefaultInstanceForType() { return com.google.analytics.admin.v1alpha.DeleteAccessBindingRequest.getDefaultInstance(); } @@ -314,13 +347,17 @@ public com.google.analytics.admin.v1alpha.DeleteAccessBindingRequest build() { @java.lang.Override public com.google.analytics.admin.v1alpha.DeleteAccessBindingRequest buildPartial() { - com.google.analytics.admin.v1alpha.DeleteAccessBindingRequest result = new com.google.analytics.admin.v1alpha.DeleteAccessBindingRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.analytics.admin.v1alpha.DeleteAccessBindingRequest result = + new com.google.analytics.admin.v1alpha.DeleteAccessBindingRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.analytics.admin.v1alpha.DeleteAccessBindingRequest result) { + private void buildPartial0( + com.google.analytics.admin.v1alpha.DeleteAccessBindingRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.name_ = name_; @@ -331,38 +368,39 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.DeleteAccessBindin public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.analytics.admin.v1alpha.DeleteAccessBindingRequest) { - return mergeFrom((com.google.analytics.admin.v1alpha.DeleteAccessBindingRequest)other); + return mergeFrom((com.google.analytics.admin.v1alpha.DeleteAccessBindingRequest) other); } else { super.mergeFrom(other); return this; @@ -370,7 +408,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1alpha.DeleteAccessBindingRequest other) { - if (other == com.google.analytics.admin.v1alpha.DeleteAccessBindingRequest.getDefaultInstance()) return this; + if (other + == com.google.analytics.admin.v1alpha.DeleteAccessBindingRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -402,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) { @@ -422,24 +464,29 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Required. Formats:
      * - accounts/{account}/accessBindings/{accessBinding}
      * - properties/{property}/accessBindings/{accessBinding}
      * 
* - * string name = 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,22 +495,25 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. Formats:
      * - accounts/{account}/accessBindings/{accessBinding}
      * - properties/{property}/accessBindings/{accessBinding}
      * 
* - * string name = 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 { @@ -471,32 +521,43 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. Formats:
      * - accounts/{account}/accessBindings/{accessBinding}
      * - properties/{property}/accessBindings/{accessBinding}
      * 
* - * 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. Formats:
      * - accounts/{account}/accessBindings/{accessBinding}
      * - properties/{property}/accessBindings/{accessBinding}
      * 
* - * string 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() { @@ -506,28 +567,34 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. Formats:
      * - accounts/{account}/accessBindings/{accessBinding}
      * - properties/{property}/accessBindings/{accessBinding}
      * 
* - * 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); } @@ -537,12 +604,13 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.DeleteAccessBindingRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.DeleteAccessBindingRequest) - private static final com.google.analytics.admin.v1alpha.DeleteAccessBindingRequest DEFAULT_INSTANCE; + private static final com.google.analytics.admin.v1alpha.DeleteAccessBindingRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.DeleteAccessBindingRequest(); } @@ -551,27 +619,27 @@ public static com.google.analytics.admin.v1alpha.DeleteAccessBindingRequest getD return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteAccessBindingRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteAccessBindingRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.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,6 +654,4 @@ public com.google.protobuf.Parser getParserForType() public com.google.analytics.admin.v1alpha.DeleteAccessBindingRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteAccessBindingRequestOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteAccessBindingRequestOrBuilder.java new file mode 100644 index 000000000000..555b420b4462 --- /dev/null +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteAccessBindingRequestOrBuilder.java @@ -0,0 +1,58 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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 DeleteAccessBindingRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.DeleteAccessBindingRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. Formats:
+   * - accounts/{account}/accessBindings/{accessBinding}
+   * - properties/{property}/accessBindings/{accessBinding}
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. Formats:
+   * - accounts/{account}/accessBindings/{accessBinding}
+   * - properties/{property}/accessBindings/{accessBinding}
+   * 
+ * + * + * 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/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 84cd018ce5ef..ada65f9c7b96 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,59 +1,84 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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(); } - 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 @@ -62,31 +87,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 { @@ -95,6 +122,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -106,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(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -131,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.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; } @@ -159,131 +186,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(); @@ -293,9 +325,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 @@ -314,8 +346,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; } @@ -331,38 +366,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; @@ -370,7 +406,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; @@ -402,17 +439,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) { @@ -422,24 +461,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; @@ -448,22 +492,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 { @@ -471,32 +518,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() { @@ -506,28 +564,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); } @@ -537,12 +601,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(); } @@ -551,27 +615,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; @@ -586,6 +650,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..f7b29ea56575 --- /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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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/DeleteAdSenseLinkRequest.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteAdSenseLinkRequest.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/DeleteAdSenseLinkRequest.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteAdSenseLinkRequest.java index 6fde8c82a244..7d5b61460ac0 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteAdSenseLinkRequest.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteAdSenseLinkRequest.java @@ -1,59 +1,84 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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 to be passed to DeleteAdSenseLink method.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.DeleteAdSenseLinkRequest} */ -public final class DeleteAdSenseLinkRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class DeleteAdSenseLinkRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.DeleteAdSenseLinkRequest) DeleteAdSenseLinkRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DeleteAdSenseLinkRequest.newBuilder() to construct. private DeleteAdSenseLinkRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private DeleteAdSenseLinkRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DeleteAdSenseLinkRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_DeleteAdSenseLinkRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_DeleteAdSenseLinkRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_DeleteAdSenseLinkRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_DeleteAdSenseLinkRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.DeleteAdSenseLinkRequest.class, com.google.analytics.admin.v1alpha.DeleteAdSenseLinkRequest.Builder.class); + com.google.analytics.admin.v1alpha.DeleteAdSenseLinkRequest.class, + com.google.analytics.admin.v1alpha.DeleteAdSenseLinkRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Required. Unique identifier for the AdSense Link to be deleted.
    * Format: properties/{propertyId}/adSenseLinks/{linkId}
    * Example: properties/1234/adSenseLinks/5678
    * 
* - * string name = 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 @@ -62,31 +87,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. Unique identifier for the AdSense Link to be deleted.
    * Format: properties/{propertyId}/adSenseLinks/{linkId}
    * Example: properties/1234/adSenseLinks/5678
    * 
* - * string name = 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 { @@ -95,6 +122,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -106,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(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -131,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.DeleteAdSenseLinkRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.DeleteAdSenseLinkRequest other = (com.google.analytics.admin.v1alpha.DeleteAdSenseLinkRequest) obj; + com.google.analytics.admin.v1alpha.DeleteAdSenseLinkRequest other = + (com.google.analytics.admin.v1alpha.DeleteAdSenseLinkRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -159,131 +186,136 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.DeleteAdSenseLinkRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.DeleteAdSenseLinkRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.DeleteAdSenseLinkRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.DeleteAdSenseLinkRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.DeleteAdSenseLinkRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.DeleteAdSenseLinkRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.DeleteAdSenseLinkRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.DeleteAdSenseLinkRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.DeleteAdSenseLinkRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.DeleteAdSenseLinkRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.DeleteAdSenseLinkRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.analytics.admin.v1alpha.DeleteAdSenseLinkRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.DeleteAdSenseLinkRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.DeleteAdSenseLinkRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1alpha.DeleteAdSenseLinkRequest prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1alpha.DeleteAdSenseLinkRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder 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 to be passed to DeleteAdSenseLink method.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.DeleteAdSenseLinkRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.DeleteAdSenseLinkRequest) com.google.analytics.admin.v1alpha.DeleteAdSenseLinkRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_DeleteAdSenseLinkRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_DeleteAdSenseLinkRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_DeleteAdSenseLinkRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_DeleteAdSenseLinkRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.DeleteAdSenseLinkRequest.class, com.google.analytics.admin.v1alpha.DeleteAdSenseLinkRequest.Builder.class); + com.google.analytics.admin.v1alpha.DeleteAdSenseLinkRequest.class, + com.google.analytics.admin.v1alpha.DeleteAdSenseLinkRequest.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.DeleteAdSenseLinkRequest.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(); @@ -293,9 +325,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_DeleteAdSenseLinkRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_DeleteAdSenseLinkRequest_descriptor; } @java.lang.Override @@ -314,8 +346,11 @@ public com.google.analytics.admin.v1alpha.DeleteAdSenseLinkRequest build() { @java.lang.Override public com.google.analytics.admin.v1alpha.DeleteAdSenseLinkRequest buildPartial() { - com.google.analytics.admin.v1alpha.DeleteAdSenseLinkRequest result = new com.google.analytics.admin.v1alpha.DeleteAdSenseLinkRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.analytics.admin.v1alpha.DeleteAdSenseLinkRequest result = + new com.google.analytics.admin.v1alpha.DeleteAdSenseLinkRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -331,38 +366,39 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.DeleteAdSenseLinkR public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.analytics.admin.v1alpha.DeleteAdSenseLinkRequest) { - return mergeFrom((com.google.analytics.admin.v1alpha.DeleteAdSenseLinkRequest)other); + return mergeFrom((com.google.analytics.admin.v1alpha.DeleteAdSenseLinkRequest) other); } else { super.mergeFrom(other); return this; @@ -370,7 +406,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1alpha.DeleteAdSenseLinkRequest other) { - if (other == com.google.analytics.admin.v1alpha.DeleteAdSenseLinkRequest.getDefaultInstance()) return this; + if (other == com.google.analytics.admin.v1alpha.DeleteAdSenseLinkRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -402,17 +439,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) { @@ -422,24 +461,29 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Required. Unique identifier for the AdSense Link to be deleted.
      * Format: properties/{propertyId}/adSenseLinks/{linkId}
      * Example: properties/1234/adSenseLinks/5678
      * 
* - * string name = 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,22 +492,25 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. Unique identifier for the AdSense Link to be deleted.
      * Format: properties/{propertyId}/adSenseLinks/{linkId}
      * Example: properties/1234/adSenseLinks/5678
      * 
* - * string name = 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 { @@ -471,32 +518,43 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. Unique identifier for the AdSense Link to be deleted.
      * Format: properties/{propertyId}/adSenseLinks/{linkId}
      * Example: properties/1234/adSenseLinks/5678
      * 
* - * 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. Unique identifier for the AdSense Link to be deleted.
      * Format: properties/{propertyId}/adSenseLinks/{linkId}
      * Example: properties/1234/adSenseLinks/5678
      * 
* - * string 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() { @@ -506,28 +564,34 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. Unique identifier for the AdSense Link to be deleted.
      * Format: properties/{propertyId}/adSenseLinks/{linkId}
      * Example: properties/1234/adSenseLinks/5678
      * 
* - * 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); } @@ -537,12 +601,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.DeleteAdSenseLinkRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.DeleteAdSenseLinkRequest) private static final com.google.analytics.admin.v1alpha.DeleteAdSenseLinkRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.DeleteAdSenseLinkRequest(); } @@ -551,27 +615,27 @@ public static com.google.analytics.admin.v1alpha.DeleteAdSenseLinkRequest getDef return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteAdSenseLinkRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteAdSenseLinkRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.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,6 +650,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1alpha.DeleteAdSenseLinkRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteAdSenseLinkRequestOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteAdSenseLinkRequestOrBuilder.java new file mode 100644 index 000000000000..747a90989d02 --- /dev/null +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteAdSenseLinkRequestOrBuilder.java @@ -0,0 +1,58 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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 DeleteAdSenseLinkRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.DeleteAdSenseLinkRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. Unique identifier for the AdSense Link to be deleted.
+   * Format: properties/{propertyId}/adSenseLinks/{linkId}
+   * Example: properties/1234/adSenseLinks/5678
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. Unique identifier for the AdSense Link to be deleted.
+   * Format: properties/{propertyId}/adSenseLinks/{linkId}
+   * Example: properties/1234/adSenseLinks/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/DeleteChannelGroupRequest.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteChannelGroupRequest.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/DeleteChannelGroupRequest.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteChannelGroupRequest.java index 2b8f4aeff9c5..94eab3272c3e 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteChannelGroupRequest.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteChannelGroupRequest.java @@ -1,58 +1,83 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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 DeleteChannelGroup RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.DeleteChannelGroupRequest} */ -public final class DeleteChannelGroupRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class DeleteChannelGroupRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.DeleteChannelGroupRequest) DeleteChannelGroupRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DeleteChannelGroupRequest.newBuilder() to construct. private DeleteChannelGroupRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private DeleteChannelGroupRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DeleteChannelGroupRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_DeleteChannelGroupRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_DeleteChannelGroupRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_DeleteChannelGroupRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_DeleteChannelGroupRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.DeleteChannelGroupRequest.class, com.google.analytics.admin.v1alpha.DeleteChannelGroupRequest.Builder.class); + com.google.analytics.admin.v1alpha.DeleteChannelGroupRequest.class, + com.google.analytics.admin.v1alpha.DeleteChannelGroupRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Required. The ChannelGroup to delete.
    * Example format: properties/1234/channelGroups/5678
    * 
* - * string name = 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 @@ -61,30 +86,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 ChannelGroup to delete.
    * Example format: properties/1234/channelGroups/5678
    * 
* - * string name = 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 { @@ -93,6 +120,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -104,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(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -129,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.DeleteChannelGroupRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.DeleteChannelGroupRequest other = (com.google.analytics.admin.v1alpha.DeleteChannelGroupRequest) obj; + com.google.analytics.admin.v1alpha.DeleteChannelGroupRequest other = + (com.google.analytics.admin.v1alpha.DeleteChannelGroupRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -157,131 +184,136 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.DeleteChannelGroupRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.DeleteChannelGroupRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.DeleteChannelGroupRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.DeleteChannelGroupRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.DeleteChannelGroupRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.DeleteChannelGroupRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.DeleteChannelGroupRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.DeleteChannelGroupRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.DeleteChannelGroupRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.DeleteChannelGroupRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.DeleteChannelGroupRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.analytics.admin.v1alpha.DeleteChannelGroupRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.DeleteChannelGroupRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.DeleteChannelGroupRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1alpha.DeleteChannelGroupRequest prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1alpha.DeleteChannelGroupRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder 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 DeleteChannelGroup RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.DeleteChannelGroupRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.DeleteChannelGroupRequest) com.google.analytics.admin.v1alpha.DeleteChannelGroupRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_DeleteChannelGroupRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_DeleteChannelGroupRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_DeleteChannelGroupRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_DeleteChannelGroupRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.DeleteChannelGroupRequest.class, com.google.analytics.admin.v1alpha.DeleteChannelGroupRequest.Builder.class); + com.google.analytics.admin.v1alpha.DeleteChannelGroupRequest.class, + com.google.analytics.admin.v1alpha.DeleteChannelGroupRequest.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.DeleteChannelGroupRequest.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(); @@ -291,13 +323,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_DeleteChannelGroupRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_DeleteChannelGroupRequest_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.DeleteChannelGroupRequest getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.DeleteChannelGroupRequest + getDefaultInstanceForType() { return com.google.analytics.admin.v1alpha.DeleteChannelGroupRequest.getDefaultInstance(); } @@ -312,13 +345,17 @@ public com.google.analytics.admin.v1alpha.DeleteChannelGroupRequest build() { @java.lang.Override public com.google.analytics.admin.v1alpha.DeleteChannelGroupRequest buildPartial() { - com.google.analytics.admin.v1alpha.DeleteChannelGroupRequest result = new com.google.analytics.admin.v1alpha.DeleteChannelGroupRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.analytics.admin.v1alpha.DeleteChannelGroupRequest result = + new com.google.analytics.admin.v1alpha.DeleteChannelGroupRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.analytics.admin.v1alpha.DeleteChannelGroupRequest result) { + private void buildPartial0( + com.google.analytics.admin.v1alpha.DeleteChannelGroupRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.name_ = name_; @@ -329,38 +366,39 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.DeleteChannelGroup public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.analytics.admin.v1alpha.DeleteChannelGroupRequest) { - return mergeFrom((com.google.analytics.admin.v1alpha.DeleteChannelGroupRequest)other); + return mergeFrom((com.google.analytics.admin.v1alpha.DeleteChannelGroupRequest) other); } else { super.mergeFrom(other); return this; @@ -368,7 +406,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1alpha.DeleteChannelGroupRequest other) { - if (other == com.google.analytics.admin.v1alpha.DeleteChannelGroupRequest.getDefaultInstance()) return this; + if (other + == com.google.analytics.admin.v1alpha.DeleteChannelGroupRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -400,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) { @@ -420,23 +462,28 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Required. The ChannelGroup to delete.
      * Example format: properties/1234/channelGroups/5678
      * 
* - * string name = 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,21 +492,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The ChannelGroup to delete.
      * Example format: properties/1234/channelGroups/5678
      * 
* - * string name = 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 { @@ -467,30 +517,41 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The ChannelGroup to delete.
      * Example format: properties/1234/channelGroups/5678
      * 
* - * 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 ChannelGroup to delete.
      * Example format: properties/1234/channelGroups/5678
      * 
* - * string 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() { @@ -500,27 +561,33 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. The ChannelGroup to delete.
      * Example format: properties/1234/channelGroups/5678
      * 
* - * 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); } @@ -530,12 +597,13 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.DeleteChannelGroupRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.DeleteChannelGroupRequest) - private static final com.google.analytics.admin.v1alpha.DeleteChannelGroupRequest DEFAULT_INSTANCE; + private static final com.google.analytics.admin.v1alpha.DeleteChannelGroupRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.DeleteChannelGroupRequest(); } @@ -544,27 +612,27 @@ public static com.google.analytics.admin.v1alpha.DeleteChannelGroupRequest getDe return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteChannelGroupRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteChannelGroupRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.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,6 +647,4 @@ public com.google.protobuf.Parser getParserForType() public com.google.analytics.admin.v1alpha.DeleteChannelGroupRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteChannelGroupRequestOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteChannelGroupRequestOrBuilder.java new file mode 100644 index 000000000000..beec8deb865d --- /dev/null +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteChannelGroupRequestOrBuilder.java @@ -0,0 +1,56 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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 DeleteChannelGroupRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.DeleteChannelGroupRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The ChannelGroup to delete.
+   * Example format: properties/1234/channelGroups/5678
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The ChannelGroup to delete.
+   * Example format: properties/1234/channelGroups/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/DeleteConnectedSiteTagRequest.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteConnectedSiteTagRequest.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/DeleteConnectedSiteTagRequest.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteConnectedSiteTagRequest.java index 64c0874a7875..ffc5367ee2ce 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteConnectedSiteTagRequest.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteConnectedSiteTagRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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 DeleteConnectedSiteTag RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.DeleteConnectedSiteTagRequest} */ -public final class DeleteConnectedSiteTagRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class DeleteConnectedSiteTagRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.DeleteConnectedSiteTagRequest) DeleteConnectedSiteTagRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DeleteConnectedSiteTagRequest.newBuilder() to construct. private DeleteConnectedSiteTagRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private DeleteConnectedSiteTagRequest() { property_ = ""; tagId_ = ""; @@ -26,28 +44,32 @@ private DeleteConnectedSiteTagRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DeleteConnectedSiteTagRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_DeleteConnectedSiteTagRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_DeleteConnectedSiteTagRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_DeleteConnectedSiteTagRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_DeleteConnectedSiteTagRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.DeleteConnectedSiteTagRequest.class, com.google.analytics.admin.v1alpha.DeleteConnectedSiteTagRequest.Builder.class); + com.google.analytics.admin.v1alpha.DeleteConnectedSiteTagRequest.class, + com.google.analytics.admin.v1alpha.DeleteConnectedSiteTagRequest.Builder.class); } public static final int PROPERTY_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object property_ = ""; /** + * + * *
    * The Universal Analytics property to delete connected site tags for.
    * This API does not support GA4 properties.
@@ -56,6 +78,7 @@ protected java.lang.Object newInstance(
    * 
* * string property = 1; + * * @return The property. */ @java.lang.Override @@ -64,14 +87,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; } } /** + * + * *
    * The Universal Analytics property to delete connected site tags for.
    * This API does not support GA4 properties.
@@ -80,16 +104,15 @@ public java.lang.String getProperty() {
    * 
* * string property = 1; + * * @return The bytes for property. */ @java.lang.Override - public com.google.protobuf.ByteString - getPropertyBytes() { + public com.google.protobuf.ByteString getPropertyBytes() { java.lang.Object ref = property_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); property_ = b; return b; } else { @@ -98,15 +121,19 @@ public java.lang.String getProperty() { } public static final int TAG_ID_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object tagId_ = ""; /** + * + * *
    * Tag ID to forward events to. Also known as the Measurement ID, or the
    * "G-ID"  (For example: G-12345).
    * 
* * string tag_id = 2; + * * @return The tagId. */ @java.lang.Override @@ -115,30 +142,30 @@ public java.lang.String getTagId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); tagId_ = s; return s; } } /** + * + * *
    * Tag ID to forward events to. Also known as the Measurement ID, or the
    * "G-ID"  (For example: G-12345).
    * 
* * string tag_id = 2; + * * @return The bytes for tagId. */ @java.lang.Override - public com.google.protobuf.ByteString - getTagIdBytes() { + public com.google.protobuf.ByteString getTagIdBytes() { java.lang.Object ref = tagId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); tagId_ = b; return b; } else { @@ -147,6 +174,7 @@ public java.lang.String getTagId() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -158,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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(property_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, property_); } @@ -189,17 +216,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.DeleteConnectedSiteTagRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.DeleteConnectedSiteTagRequest other = (com.google.analytics.admin.v1alpha.DeleteConnectedSiteTagRequest) obj; + com.google.analytics.admin.v1alpha.DeleteConnectedSiteTagRequest other = + (com.google.analytics.admin.v1alpha.DeleteConnectedSiteTagRequest) obj; - if (!getProperty() - .equals(other.getProperty())) return false; - if (!getTagId() - .equals(other.getTagId())) return false; + if (!getProperty().equals(other.getProperty())) return false; + if (!getTagId().equals(other.getTagId())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -221,131 +247,136 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.DeleteConnectedSiteTagRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.DeleteConnectedSiteTagRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.DeleteConnectedSiteTagRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.DeleteConnectedSiteTagRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.DeleteConnectedSiteTagRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.analytics.admin.v1alpha.DeleteConnectedSiteTagRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.DeleteConnectedSiteTagRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.DeleteConnectedSiteTagRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.DeleteConnectedSiteTagRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.DeleteConnectedSiteTagRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.DeleteConnectedSiteTagRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.DeleteConnectedSiteTagRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.analytics.admin.v1alpha.DeleteConnectedSiteTagRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.DeleteConnectedSiteTagRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.DeleteConnectedSiteTagRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1alpha.DeleteConnectedSiteTagRequest prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1alpha.DeleteConnectedSiteTagRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder 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 DeleteConnectedSiteTag RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.DeleteConnectedSiteTagRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.DeleteConnectedSiteTagRequest) com.google.analytics.admin.v1alpha.DeleteConnectedSiteTagRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_DeleteConnectedSiteTagRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_DeleteConnectedSiteTagRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_DeleteConnectedSiteTagRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_DeleteConnectedSiteTagRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.DeleteConnectedSiteTagRequest.class, com.google.analytics.admin.v1alpha.DeleteConnectedSiteTagRequest.Builder.class); + com.google.analytics.admin.v1alpha.DeleteConnectedSiteTagRequest.class, + com.google.analytics.admin.v1alpha.DeleteConnectedSiteTagRequest.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.DeleteConnectedSiteTagRequest.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(); @@ -356,13 +387,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_DeleteConnectedSiteTagRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_DeleteConnectedSiteTagRequest_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.DeleteConnectedSiteTagRequest getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.DeleteConnectedSiteTagRequest + getDefaultInstanceForType() { return com.google.analytics.admin.v1alpha.DeleteConnectedSiteTagRequest.getDefaultInstance(); } @@ -377,13 +409,17 @@ public com.google.analytics.admin.v1alpha.DeleteConnectedSiteTagRequest build() @java.lang.Override public com.google.analytics.admin.v1alpha.DeleteConnectedSiteTagRequest buildPartial() { - com.google.analytics.admin.v1alpha.DeleteConnectedSiteTagRequest result = new com.google.analytics.admin.v1alpha.DeleteConnectedSiteTagRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.analytics.admin.v1alpha.DeleteConnectedSiteTagRequest result = + new com.google.analytics.admin.v1alpha.DeleteConnectedSiteTagRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.analytics.admin.v1alpha.DeleteConnectedSiteTagRequest result) { + private void buildPartial0( + com.google.analytics.admin.v1alpha.DeleteConnectedSiteTagRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.property_ = property_; @@ -397,46 +433,50 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.DeleteConnectedSit public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.analytics.admin.v1alpha.DeleteConnectedSiteTagRequest) { - return mergeFrom((com.google.analytics.admin.v1alpha.DeleteConnectedSiteTagRequest)other); + return mergeFrom((com.google.analytics.admin.v1alpha.DeleteConnectedSiteTagRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.analytics.admin.v1alpha.DeleteConnectedSiteTagRequest other) { - if (other == com.google.analytics.admin.v1alpha.DeleteConnectedSiteTagRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.analytics.admin.v1alpha.DeleteConnectedSiteTagRequest other) { + if (other + == com.google.analytics.admin.v1alpha.DeleteConnectedSiteTagRequest.getDefaultInstance()) + return this; if (!other.getProperty().isEmpty()) { property_ = other.property_; bitField0_ |= 0x00000001; @@ -473,22 +513,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - property_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - tagId_ = 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: + { + tagId_ = 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) { @@ -498,10 +541,13 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object property_ = ""; /** + * + * *
      * The Universal Analytics property to delete connected site tags for.
      * This API does not support GA4 properties.
@@ -510,13 +556,13 @@ public Builder mergeFrom(
      * 
* * string property = 1; + * * @return The property. */ public java.lang.String getProperty() { java.lang.Object ref = property_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); property_ = s; return s; @@ -525,6 +571,8 @@ public java.lang.String getProperty() { } } /** + * + * *
      * The Universal Analytics property to delete connected site tags for.
      * This API does not support GA4 properties.
@@ -533,15 +581,14 @@ public java.lang.String getProperty() {
      * 
* * string property = 1; + * * @return The bytes for property. */ - public com.google.protobuf.ByteString - getPropertyBytes() { + public com.google.protobuf.ByteString getPropertyBytes() { java.lang.Object ref = property_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); property_ = b; return b; } else { @@ -549,6 +596,8 @@ public java.lang.String getProperty() { } } /** + * + * *
      * The Universal Analytics property to delete connected site tags for.
      * This API does not support GA4 properties.
@@ -557,18 +606,22 @@ public java.lang.String getProperty() {
      * 
* * string property = 1; + * * @param value The property to set. * @return This builder for chaining. */ - public Builder setProperty( - java.lang.String value) { - 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; } /** + * + * *
      * The Universal Analytics property to delete connected site tags for.
      * This API does not support GA4 properties.
@@ -577,6 +630,7 @@ public Builder setProperty(
      * 
* * string property = 1; + * * @return This builder for chaining. */ public Builder clearProperty() { @@ -586,6 +640,8 @@ public Builder clearProperty() { return this; } /** + * + * *
      * The Universal Analytics property to delete connected site tags for.
      * This API does not support GA4 properties.
@@ -594,12 +650,14 @@ public Builder clearProperty() {
      * 
* * string property = 1; + * * @param value The bytes for property to set. * @return This builder for chaining. */ - public Builder setPropertyBytes( - com.google.protobuf.ByteString value) { - 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; @@ -609,19 +667,21 @@ public Builder setPropertyBytes( private java.lang.Object tagId_ = ""; /** + * + * *
      * Tag ID to forward events to. Also known as the Measurement ID, or the
      * "G-ID"  (For example: G-12345).
      * 
* * string tag_id = 2; + * * @return The tagId. */ public java.lang.String getTagId() { java.lang.Object ref = tagId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); tagId_ = s; return s; @@ -630,21 +690,22 @@ public java.lang.String getTagId() { } } /** + * + * *
      * Tag ID to forward events to. Also known as the Measurement ID, or the
      * "G-ID"  (For example: G-12345).
      * 
* * string tag_id = 2; + * * @return The bytes for tagId. */ - public com.google.protobuf.ByteString - getTagIdBytes() { + public com.google.protobuf.ByteString getTagIdBytes() { java.lang.Object ref = tagId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); tagId_ = b; return b; } else { @@ -652,30 +713,37 @@ public java.lang.String getTagId() { } } /** + * + * *
      * Tag ID to forward events to. Also known as the Measurement ID, or the
      * "G-ID"  (For example: G-12345).
      * 
* * string tag_id = 2; + * * @param value The tagId to set. * @return This builder for chaining. */ - public Builder setTagId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setTagId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } tagId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Tag ID to forward events to. Also known as the Measurement ID, or the
      * "G-ID"  (For example: G-12345).
      * 
* * string tag_id = 2; + * * @return This builder for chaining. */ public Builder clearTagId() { @@ -685,27 +753,31 @@ public Builder clearTagId() { return this; } /** + * + * *
      * Tag ID to forward events to. Also known as the Measurement ID, or the
      * "G-ID"  (For example: G-12345).
      * 
* * string tag_id = 2; + * * @param value The bytes for tagId to set. * @return This builder for chaining. */ - public Builder setTagIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setTagIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); tagId_ = 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); } @@ -715,41 +787,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.DeleteConnectedSiteTagRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.DeleteConnectedSiteTagRequest) - private static final com.google.analytics.admin.v1alpha.DeleteConnectedSiteTagRequest DEFAULT_INSTANCE; + private static final com.google.analytics.admin.v1alpha.DeleteConnectedSiteTagRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.DeleteConnectedSiteTagRequest(); } - public static com.google.analytics.admin.v1alpha.DeleteConnectedSiteTagRequest getDefaultInstance() { + public static com.google.analytics.admin.v1alpha.DeleteConnectedSiteTagRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteConnectedSiteTagRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteConnectedSiteTagRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -761,9 +835,8 @@ public com.google.protobuf.Parser getParserForTyp } @java.lang.Override - public com.google.analytics.admin.v1alpha.DeleteConnectedSiteTagRequest getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.DeleteConnectedSiteTagRequest + 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/DeleteConnectedSiteTagRequestOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteConnectedSiteTagRequestOrBuilder.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/DeleteConnectedSiteTagRequestOrBuilder.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteConnectedSiteTagRequestOrBuilder.java index d59d4c61dab3..1996260b034b 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteConnectedSiteTagRequestOrBuilder.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteConnectedSiteTagRequestOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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 DeleteConnectedSiteTagRequestOrBuilder extends +public interface DeleteConnectedSiteTagRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.DeleteConnectedSiteTagRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The Universal Analytics property to delete connected site tags for.
    * This API does not support GA4 properties.
@@ -16,10 +34,13 @@ public interface DeleteConnectedSiteTagRequestOrBuilder extends
    * 
* * string property = 1; + * * @return The property. */ java.lang.String getProperty(); /** + * + * *
    * The Universal Analytics property to delete connected site tags for.
    * This API does not support GA4 properties.
@@ -28,30 +49,35 @@ public interface DeleteConnectedSiteTagRequestOrBuilder extends
    * 
* * string property = 1; + * * @return The bytes for property. */ - com.google.protobuf.ByteString - getPropertyBytes(); + com.google.protobuf.ByteString getPropertyBytes(); /** + * + * *
    * Tag ID to forward events to. Also known as the Measurement ID, or the
    * "G-ID"  (For example: G-12345).
    * 
* * string tag_id = 2; + * * @return The tagId. */ java.lang.String getTagId(); /** + * + * *
    * Tag ID to forward events to. Also known as the Measurement ID, or the
    * "G-ID"  (For example: G-12345).
    * 
* * string tag_id = 2; + * * @return The bytes for tagId. */ - com.google.protobuf.ByteString - getTagIdBytes(); + com.google.protobuf.ByteString getTagIdBytes(); } 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 62% 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 8bfcae407cde..3c62a2295c4d 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,59 +1,84 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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(); } - 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 @@ -62,31 +87,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 { @@ -95,6 +122,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -106,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(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -131,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.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; } @@ -159,131 +186,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(); @@ -293,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_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(); } @@ -314,13 +347,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_; @@ -331,46 +368,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; @@ -402,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) { @@ -422,24 +465,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; @@ -448,22 +496,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 { @@ -471,32 +522,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() { @@ -506,28 +568,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); } @@ -537,41 +605,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; @@ -583,9 +653,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..dd169cffad4f --- /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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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 03aff7bd6b61..d56dc1828a43 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,58 +1,83 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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(); } - 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 @@ -61,30 +86,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 { @@ -93,6 +120,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -104,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(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -129,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.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; } @@ -157,131 +184,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(); @@ -291,9 +323,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 @@ -312,8 +344,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; } @@ -329,38 +364,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; @@ -368,7 +404,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; @@ -400,17 +437,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) { @@ -420,23 +459,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; @@ -445,21 +489,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 { @@ -467,30 +514,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() { @@ -500,27 +558,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); } @@ -530,12 +594,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(); } @@ -544,27 +608,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; @@ -579,6 +643,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..0c2c310e7e32 --- /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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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..90037dede4b7 --- /dev/null +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteDisplayVideo360AdvertiserLinkProposalRequest.java @@ -0,0 +1,704 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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(); + } + + 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..b657ee8ff8fe --- /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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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 c6ab306d7a10..3c43bdc9844e 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,58 +1,86 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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(); } - 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 @@ -61,30 +89,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 { @@ -93,6 +123,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -104,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_); } @@ -129,15 +159,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; } @@ -156,132 +187,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) 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 + 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) 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 + parseDelimitedFrom( + java.io.InputStream input, 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) 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( + 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(); @@ -291,19 +335,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); } @@ -311,14 +358,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_; @@ -329,46 +381,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; @@ -400,17 +459,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) { @@ -420,23 +481,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; @@ -445,21 +511,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 { @@ -467,30 +536,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() { @@ -500,27 +580,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); } @@ -530,41 +616,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; @@ -576,9 +667,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..83e8f1fbd0f4 --- /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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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/DeleteEventCreateRuleRequest.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteEventCreateRuleRequest.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/DeleteEventCreateRuleRequest.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteEventCreateRuleRequest.java index 06a609517a11..ebec559df1b1 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteEventCreateRuleRequest.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteEventCreateRuleRequest.java @@ -1,58 +1,83 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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 DeleteEventCreateRule RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.DeleteEventCreateRuleRequest} */ -public final class DeleteEventCreateRuleRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class DeleteEventCreateRuleRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.DeleteEventCreateRuleRequest) DeleteEventCreateRuleRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DeleteEventCreateRuleRequest.newBuilder() to construct. private DeleteEventCreateRuleRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private DeleteEventCreateRuleRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DeleteEventCreateRuleRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_DeleteEventCreateRuleRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_DeleteEventCreateRuleRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_DeleteEventCreateRuleRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_DeleteEventCreateRuleRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.DeleteEventCreateRuleRequest.class, com.google.analytics.admin.v1alpha.DeleteEventCreateRuleRequest.Builder.class); + com.google.analytics.admin.v1alpha.DeleteEventCreateRuleRequest.class, + com.google.analytics.admin.v1alpha.DeleteEventCreateRuleRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Required. Example format:
    * properties/123/dataStreams/456/eventCreateRules/789
    * 
* - * string name = 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 @@ -61,30 +86,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. Example format:
    * properties/123/dataStreams/456/eventCreateRules/789
    * 
* - * string name = 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 { @@ -93,6 +120,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -104,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(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -129,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.DeleteEventCreateRuleRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.DeleteEventCreateRuleRequest other = (com.google.analytics.admin.v1alpha.DeleteEventCreateRuleRequest) obj; + com.google.analytics.admin.v1alpha.DeleteEventCreateRuleRequest other = + (com.google.analytics.admin.v1alpha.DeleteEventCreateRuleRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -157,131 +184,136 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.DeleteEventCreateRuleRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.DeleteEventCreateRuleRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.DeleteEventCreateRuleRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.DeleteEventCreateRuleRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.DeleteEventCreateRuleRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.analytics.admin.v1alpha.DeleteEventCreateRuleRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.DeleteEventCreateRuleRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.DeleteEventCreateRuleRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.DeleteEventCreateRuleRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.DeleteEventCreateRuleRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.DeleteEventCreateRuleRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.DeleteEventCreateRuleRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.analytics.admin.v1alpha.DeleteEventCreateRuleRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.DeleteEventCreateRuleRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.DeleteEventCreateRuleRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1alpha.DeleteEventCreateRuleRequest prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1alpha.DeleteEventCreateRuleRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder 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 DeleteEventCreateRule RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.DeleteEventCreateRuleRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.DeleteEventCreateRuleRequest) com.google.analytics.admin.v1alpha.DeleteEventCreateRuleRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_DeleteEventCreateRuleRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_DeleteEventCreateRuleRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_DeleteEventCreateRuleRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_DeleteEventCreateRuleRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.DeleteEventCreateRuleRequest.class, com.google.analytics.admin.v1alpha.DeleteEventCreateRuleRequest.Builder.class); + com.google.analytics.admin.v1alpha.DeleteEventCreateRuleRequest.class, + com.google.analytics.admin.v1alpha.DeleteEventCreateRuleRequest.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.DeleteEventCreateRuleRequest.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(); @@ -291,13 +323,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_DeleteEventCreateRuleRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_DeleteEventCreateRuleRequest_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.DeleteEventCreateRuleRequest getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.DeleteEventCreateRuleRequest + getDefaultInstanceForType() { return com.google.analytics.admin.v1alpha.DeleteEventCreateRuleRequest.getDefaultInstance(); } @@ -312,13 +345,17 @@ public com.google.analytics.admin.v1alpha.DeleteEventCreateRuleRequest build() { @java.lang.Override public com.google.analytics.admin.v1alpha.DeleteEventCreateRuleRequest buildPartial() { - com.google.analytics.admin.v1alpha.DeleteEventCreateRuleRequest result = new com.google.analytics.admin.v1alpha.DeleteEventCreateRuleRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.analytics.admin.v1alpha.DeleteEventCreateRuleRequest result = + new com.google.analytics.admin.v1alpha.DeleteEventCreateRuleRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.analytics.admin.v1alpha.DeleteEventCreateRuleRequest result) { + private void buildPartial0( + com.google.analytics.admin.v1alpha.DeleteEventCreateRuleRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.name_ = name_; @@ -329,46 +366,50 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.DeleteEventCreateR public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.analytics.admin.v1alpha.DeleteEventCreateRuleRequest) { - return mergeFrom((com.google.analytics.admin.v1alpha.DeleteEventCreateRuleRequest)other); + return mergeFrom((com.google.analytics.admin.v1alpha.DeleteEventCreateRuleRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.analytics.admin.v1alpha.DeleteEventCreateRuleRequest other) { - if (other == com.google.analytics.admin.v1alpha.DeleteEventCreateRuleRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.analytics.admin.v1alpha.DeleteEventCreateRuleRequest other) { + if (other + == com.google.analytics.admin.v1alpha.DeleteEventCreateRuleRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -400,17 +441,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) { @@ -420,23 +463,28 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Required. Example format:
      * properties/123/dataStreams/456/eventCreateRules/789
      * 
* - * string name = 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,21 +493,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. Example format:
      * properties/123/dataStreams/456/eventCreateRules/789
      * 
* - * string name = 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 { @@ -467,30 +518,41 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. Example format:
      * properties/123/dataStreams/456/eventCreateRules/789
      * 
* - * 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/123/dataStreams/456/eventCreateRules/789
      * 
* - * string 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() { @@ -500,27 +562,33 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. Example format:
      * properties/123/dataStreams/456/eventCreateRules/789
      * 
* - * 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); } @@ -530,41 +598,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.DeleteEventCreateRuleRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.DeleteEventCreateRuleRequest) - private static final com.google.analytics.admin.v1alpha.DeleteEventCreateRuleRequest DEFAULT_INSTANCE; + private static final com.google.analytics.admin.v1alpha.DeleteEventCreateRuleRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.DeleteEventCreateRuleRequest(); } - public static com.google.analytics.admin.v1alpha.DeleteEventCreateRuleRequest getDefaultInstance() { + public static com.google.analytics.admin.v1alpha.DeleteEventCreateRuleRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteEventCreateRuleRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteEventCreateRuleRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -576,9 +646,8 @@ public com.google.protobuf.Parser getParserForType } @java.lang.Override - public com.google.analytics.admin.v1alpha.DeleteEventCreateRuleRequest getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.DeleteEventCreateRuleRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteEventCreateRuleRequestOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteEventCreateRuleRequestOrBuilder.java new file mode 100644 index 000000000000..dfa1d406f5bd --- /dev/null +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteEventCreateRuleRequestOrBuilder.java @@ -0,0 +1,56 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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 DeleteEventCreateRuleRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.DeleteEventCreateRuleRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. Example format:
+   * properties/123/dataStreams/456/eventCreateRules/789
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. Example format:
+   * properties/123/dataStreams/456/eventCreateRules/789
+   * 
+ * + * + * 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/DeleteExpandedDataSetRequest.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteExpandedDataSetRequest.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/DeleteExpandedDataSetRequest.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteExpandedDataSetRequest.java index f8bb2b05fda0..34ae73a28d26 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteExpandedDataSetRequest.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteExpandedDataSetRequest.java @@ -1,57 +1,82 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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 DeleteExpandedDataSet RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.DeleteExpandedDataSetRequest} */ -public final class DeleteExpandedDataSetRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class DeleteExpandedDataSetRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.DeleteExpandedDataSetRequest) DeleteExpandedDataSetRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DeleteExpandedDataSetRequest.newBuilder() to construct. private DeleteExpandedDataSetRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private DeleteExpandedDataSetRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DeleteExpandedDataSetRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_DeleteExpandedDataSetRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_DeleteExpandedDataSetRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_DeleteExpandedDataSetRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_DeleteExpandedDataSetRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.DeleteExpandedDataSetRequest.class, com.google.analytics.admin.v1alpha.DeleteExpandedDataSetRequest.Builder.class); + com.google.analytics.admin.v1alpha.DeleteExpandedDataSetRequest.class, + com.google.analytics.admin.v1alpha.DeleteExpandedDataSetRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Required. Example format: properties/1234/expandedDataSets/5678
    * 
* - * string name = 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 @@ -60,29 +85,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/expandedDataSets/5678
    * 
* - * string name = 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 { @@ -91,6 +118,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -102,8 +130,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -127,15 +154,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.DeleteExpandedDataSetRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.DeleteExpandedDataSetRequest other = (com.google.analytics.admin.v1alpha.DeleteExpandedDataSetRequest) obj; + com.google.analytics.admin.v1alpha.DeleteExpandedDataSetRequest other = + (com.google.analytics.admin.v1alpha.DeleteExpandedDataSetRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -155,131 +182,136 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.DeleteExpandedDataSetRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.DeleteExpandedDataSetRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.DeleteExpandedDataSetRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.DeleteExpandedDataSetRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.DeleteExpandedDataSetRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.analytics.admin.v1alpha.DeleteExpandedDataSetRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.DeleteExpandedDataSetRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.DeleteExpandedDataSetRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.DeleteExpandedDataSetRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.DeleteExpandedDataSetRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.DeleteExpandedDataSetRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.DeleteExpandedDataSetRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.analytics.admin.v1alpha.DeleteExpandedDataSetRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.DeleteExpandedDataSetRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.DeleteExpandedDataSetRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1alpha.DeleteExpandedDataSetRequest prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1alpha.DeleteExpandedDataSetRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder 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 DeleteExpandedDataSet RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.DeleteExpandedDataSetRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.DeleteExpandedDataSetRequest) com.google.analytics.admin.v1alpha.DeleteExpandedDataSetRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_DeleteExpandedDataSetRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_DeleteExpandedDataSetRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_DeleteExpandedDataSetRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_DeleteExpandedDataSetRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.DeleteExpandedDataSetRequest.class, com.google.analytics.admin.v1alpha.DeleteExpandedDataSetRequest.Builder.class); + com.google.analytics.admin.v1alpha.DeleteExpandedDataSetRequest.class, + com.google.analytics.admin.v1alpha.DeleteExpandedDataSetRequest.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.DeleteExpandedDataSetRequest.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(); @@ -289,13 +321,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_DeleteExpandedDataSetRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_DeleteExpandedDataSetRequest_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.DeleteExpandedDataSetRequest getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.DeleteExpandedDataSetRequest + getDefaultInstanceForType() { return com.google.analytics.admin.v1alpha.DeleteExpandedDataSetRequest.getDefaultInstance(); } @@ -310,13 +343,17 @@ public com.google.analytics.admin.v1alpha.DeleteExpandedDataSetRequest build() { @java.lang.Override public com.google.analytics.admin.v1alpha.DeleteExpandedDataSetRequest buildPartial() { - com.google.analytics.admin.v1alpha.DeleteExpandedDataSetRequest result = new com.google.analytics.admin.v1alpha.DeleteExpandedDataSetRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.analytics.admin.v1alpha.DeleteExpandedDataSetRequest result = + new com.google.analytics.admin.v1alpha.DeleteExpandedDataSetRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.analytics.admin.v1alpha.DeleteExpandedDataSetRequest result) { + private void buildPartial0( + com.google.analytics.admin.v1alpha.DeleteExpandedDataSetRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.name_ = name_; @@ -327,46 +364,50 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.DeleteExpandedData public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.analytics.admin.v1alpha.DeleteExpandedDataSetRequest) { - return mergeFrom((com.google.analytics.admin.v1alpha.DeleteExpandedDataSetRequest)other); + return mergeFrom((com.google.analytics.admin.v1alpha.DeleteExpandedDataSetRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.analytics.admin.v1alpha.DeleteExpandedDataSetRequest other) { - if (other == com.google.analytics.admin.v1alpha.DeleteExpandedDataSetRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.analytics.admin.v1alpha.DeleteExpandedDataSetRequest other) { + if (other + == com.google.analytics.admin.v1alpha.DeleteExpandedDataSetRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -398,17 +439,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) { @@ -418,22 +461,27 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Required. Example format: properties/1234/expandedDataSets/5678
      * 
* - * string name = 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; @@ -442,20 +490,23 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. Example format: properties/1234/expandedDataSets/5678
      * 
* - * string name = 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 { @@ -463,28 +514,39 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. Example format: properties/1234/expandedDataSets/5678
      * 
* - * 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/expandedDataSets/5678
      * 
* - * string 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() { @@ -494,26 +556,32 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. Example format: properties/1234/expandedDataSets/5678
      * 
* - * 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); } @@ -523,41 +591,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.DeleteExpandedDataSetRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.DeleteExpandedDataSetRequest) - private static final com.google.analytics.admin.v1alpha.DeleteExpandedDataSetRequest DEFAULT_INSTANCE; + private static final com.google.analytics.admin.v1alpha.DeleteExpandedDataSetRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.DeleteExpandedDataSetRequest(); } - public static com.google.analytics.admin.v1alpha.DeleteExpandedDataSetRequest getDefaultInstance() { + public static com.google.analytics.admin.v1alpha.DeleteExpandedDataSetRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteExpandedDataSetRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteExpandedDataSetRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -569,9 +639,8 @@ public com.google.protobuf.Parser getParserForType } @java.lang.Override - public com.google.analytics.admin.v1alpha.DeleteExpandedDataSetRequest getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.DeleteExpandedDataSetRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteExpandedDataSetRequestOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteExpandedDataSetRequestOrBuilder.java new file mode 100644 index 000000000000..820d1b2d8ba9 --- /dev/null +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteExpandedDataSetRequestOrBuilder.java @@ -0,0 +1,54 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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 DeleteExpandedDataSetRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.DeleteExpandedDataSetRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. Example format: properties/1234/expandedDataSets/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/expandedDataSets/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 c1286a5381fb..26bd03f0d187 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,58 +1,83 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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(); } - 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 @@ -61,30 +86,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 { @@ -93,6 +120,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -104,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(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -129,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.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; } @@ -157,131 +184,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(); @@ -291,13 +323,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(); } @@ -312,13 +345,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_; @@ -329,38 +366,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; @@ -368,7 +406,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; @@ -400,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) { @@ -420,23 +462,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; @@ -445,21 +492,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 { @@ -467,30 +517,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() { @@ -500,27 +561,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); } @@ -530,12 +597,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(); } @@ -544,27 +612,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; @@ -579,6 +647,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..2e66fd0569a3 --- /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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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 26f0c2f6c84b..f550dd5903a4 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,57 +1,82 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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(); } - 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 @@ -60,29 +85,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 { @@ -91,6 +118,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -102,8 +130,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -127,15 +154,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; } @@ -155,131 +182,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(); @@ -289,13 +321,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(); } @@ -310,13 +343,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_; @@ -327,38 +364,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; @@ -366,7 +404,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; @@ -398,17 +438,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) { @@ -418,22 +460,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; @@ -442,20 +489,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 { @@ -463,28 +513,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() { @@ -494,26 +555,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); } @@ -523,12 +590,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(); } @@ -537,27 +605,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; @@ -572,6 +640,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..4ea7b61114c9 --- /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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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 58% 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 bfaad39328c4..e31eb2845a57 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,59 +1,87 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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(); } - 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 @@ -62,31 +90,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 { @@ -95,6 +125,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -106,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_); } @@ -131,15 +161,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; } @@ -159,131 +190,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(); @@ -293,19 +332,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); } @@ -313,14 +355,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_; @@ -331,46 +378,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; @@ -402,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) { @@ -422,24 +477,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; @@ -448,22 +508,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 { @@ -471,32 +534,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() { @@ -506,28 +580,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); } @@ -537,41 +617,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; @@ -583,9 +666,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..344332502290 --- /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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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 64% 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 20fcc254a5e8..352cf8ca23e3 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,59 +1,84 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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(); } - 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 @@ -62,31 +87,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 { @@ -95,6 +122,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -106,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(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -131,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.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; } @@ -159,131 +186,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(); @@ -293,9 +325,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 @@ -314,8 +346,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; } @@ -331,38 +366,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; @@ -370,7 +406,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; @@ -402,17 +439,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) { @@ -422,24 +461,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; @@ -448,22 +492,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 { @@ -471,32 +518,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() { @@ -506,28 +564,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); } @@ -537,12 +601,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(); } @@ -551,27 +615,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; @@ -586,6 +650,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..94e3b3555cc5 --- /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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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/DeleteRollupPropertySourceLinkRequest.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteRollupPropertySourceLinkRequest.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/DeleteRollupPropertySourceLinkRequest.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteRollupPropertySourceLinkRequest.java index a9a116ee93ee..12736e599766 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteRollupPropertySourceLinkRequest.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteRollupPropertySourceLinkRequest.java @@ -1,59 +1,86 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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 DeleteRollupPropertySourceLink RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.DeleteRollupPropertySourceLinkRequest} */ -public final class DeleteRollupPropertySourceLinkRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class DeleteRollupPropertySourceLinkRequest + extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.DeleteRollupPropertySourceLinkRequest) DeleteRollupPropertySourceLinkRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DeleteRollupPropertySourceLinkRequest.newBuilder() to construct. - private DeleteRollupPropertySourceLinkRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private DeleteRollupPropertySourceLinkRequest( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private DeleteRollupPropertySourceLinkRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DeleteRollupPropertySourceLinkRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_DeleteRollupPropertySourceLinkRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_DeleteRollupPropertySourceLinkRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_DeleteRollupPropertySourceLinkRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_DeleteRollupPropertySourceLinkRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.DeleteRollupPropertySourceLinkRequest.class, com.google.analytics.admin.v1alpha.DeleteRollupPropertySourceLinkRequest.Builder.class); + com.google.analytics.admin.v1alpha.DeleteRollupPropertySourceLinkRequest.class, + com.google.analytics.admin.v1alpha.DeleteRollupPropertySourceLinkRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Required. Format:
    * properties/{property_id}/rollupPropertySourceLinks/{rollup_property_source_link_id}
    * Example: properties/1234/rollupPropertySourceLinks/5678
    * 
* - * string name = 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 @@ -62,31 +89,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. Format:
    * properties/{property_id}/rollupPropertySourceLinks/{rollup_property_source_link_id}
    * Example: properties/1234/rollupPropertySourceLinks/5678
    * 
* - * string name = 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 { @@ -95,6 +124,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -106,8 +136,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -131,15 +160,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.DeleteRollupPropertySourceLinkRequest)) { + if (!(obj + instanceof com.google.analytics.admin.v1alpha.DeleteRollupPropertySourceLinkRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.DeleteRollupPropertySourceLinkRequest other = (com.google.analytics.admin.v1alpha.DeleteRollupPropertySourceLinkRequest) obj; + com.google.analytics.admin.v1alpha.DeleteRollupPropertySourceLinkRequest other = + (com.google.analytics.admin.v1alpha.DeleteRollupPropertySourceLinkRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -159,131 +189,139 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.DeleteRollupPropertySourceLinkRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.DeleteRollupPropertySourceLinkRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.DeleteRollupPropertySourceLinkRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.DeleteRollupPropertySourceLinkRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.DeleteRollupPropertySourceLinkRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.analytics.admin.v1alpha.DeleteRollupPropertySourceLinkRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.DeleteRollupPropertySourceLinkRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.DeleteRollupPropertySourceLinkRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.DeleteRollupPropertySourceLinkRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.DeleteRollupPropertySourceLinkRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.DeleteRollupPropertySourceLinkRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.DeleteRollupPropertySourceLinkRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.DeleteRollupPropertySourceLinkRequest parseDelimitedFrom( - java.io.InputStream input, - 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.DeleteRollupPropertySourceLinkRequest + parseDelimitedFrom( + java.io.InputStream input, 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.DeleteRollupPropertySourceLinkRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.DeleteRollupPropertySourceLinkRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1alpha.DeleteRollupPropertySourceLinkRequest prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1alpha.DeleteRollupPropertySourceLinkRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder 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 DeleteRollupPropertySourceLink RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.DeleteRollupPropertySourceLinkRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.DeleteRollupPropertySourceLinkRequest) com.google.analytics.admin.v1alpha.DeleteRollupPropertySourceLinkRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_DeleteRollupPropertySourceLinkRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_DeleteRollupPropertySourceLinkRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_DeleteRollupPropertySourceLinkRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_DeleteRollupPropertySourceLinkRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.DeleteRollupPropertySourceLinkRequest.class, com.google.analytics.admin.v1alpha.DeleteRollupPropertySourceLinkRequest.Builder.class); + com.google.analytics.admin.v1alpha.DeleteRollupPropertySourceLinkRequest.class, + com.google.analytics.admin.v1alpha.DeleteRollupPropertySourceLinkRequest.Builder + .class); } - // Construct using com.google.analytics.admin.v1alpha.DeleteRollupPropertySourceLinkRequest.newBuilder() - private Builder() { - - } + // Construct using + // com.google.analytics.admin.v1alpha.DeleteRollupPropertySourceLinkRequest.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(); @@ -293,19 +331,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_DeleteRollupPropertySourceLinkRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_DeleteRollupPropertySourceLinkRequest_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.DeleteRollupPropertySourceLinkRequest getDefaultInstanceForType() { - return com.google.analytics.admin.v1alpha.DeleteRollupPropertySourceLinkRequest.getDefaultInstance(); + public com.google.analytics.admin.v1alpha.DeleteRollupPropertySourceLinkRequest + getDefaultInstanceForType() { + return com.google.analytics.admin.v1alpha.DeleteRollupPropertySourceLinkRequest + .getDefaultInstance(); } @java.lang.Override public com.google.analytics.admin.v1alpha.DeleteRollupPropertySourceLinkRequest build() { - com.google.analytics.admin.v1alpha.DeleteRollupPropertySourceLinkRequest result = buildPartial(); + com.google.analytics.admin.v1alpha.DeleteRollupPropertySourceLinkRequest result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -314,13 +355,17 @@ public com.google.analytics.admin.v1alpha.DeleteRollupPropertySourceLinkRequest @java.lang.Override public com.google.analytics.admin.v1alpha.DeleteRollupPropertySourceLinkRequest buildPartial() { - com.google.analytics.admin.v1alpha.DeleteRollupPropertySourceLinkRequest result = new com.google.analytics.admin.v1alpha.DeleteRollupPropertySourceLinkRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.analytics.admin.v1alpha.DeleteRollupPropertySourceLinkRequest result = + new com.google.analytics.admin.v1alpha.DeleteRollupPropertySourceLinkRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.analytics.admin.v1alpha.DeleteRollupPropertySourceLinkRequest result) { + private void buildPartial0( + com.google.analytics.admin.v1alpha.DeleteRollupPropertySourceLinkRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.name_ = name_; @@ -331,46 +376,52 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.DeleteRollupProper public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.analytics.admin.v1alpha.DeleteRollupPropertySourceLinkRequest) { - return mergeFrom((com.google.analytics.admin.v1alpha.DeleteRollupPropertySourceLinkRequest)other); + if (other + instanceof com.google.analytics.admin.v1alpha.DeleteRollupPropertySourceLinkRequest) { + return mergeFrom( + (com.google.analytics.admin.v1alpha.DeleteRollupPropertySourceLinkRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.analytics.admin.v1alpha.DeleteRollupPropertySourceLinkRequest other) { - if (other == com.google.analytics.admin.v1alpha.DeleteRollupPropertySourceLinkRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.analytics.admin.v1alpha.DeleteRollupPropertySourceLinkRequest other) { + if (other + == com.google.analytics.admin.v1alpha.DeleteRollupPropertySourceLinkRequest + .getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -402,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) { @@ -422,24 +475,29 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Required. Format:
      * properties/{property_id}/rollupPropertySourceLinks/{rollup_property_source_link_id}
      * Example: properties/1234/rollupPropertySourceLinks/5678
      * 
* - * string name = 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,22 +506,25 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. Format:
      * properties/{property_id}/rollupPropertySourceLinks/{rollup_property_source_link_id}
      * Example: properties/1234/rollupPropertySourceLinks/5678
      * 
* - * string name = 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 { @@ -471,32 +532,43 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. Format:
      * properties/{property_id}/rollupPropertySourceLinks/{rollup_property_source_link_id}
      * Example: properties/1234/rollupPropertySourceLinks/5678
      * 
* - * 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}/rollupPropertySourceLinks/{rollup_property_source_link_id}
      * Example: properties/1234/rollupPropertySourceLinks/5678
      * 
* - * string 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() { @@ -506,28 +578,34 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. Format:
      * properties/{property_id}/rollupPropertySourceLinks/{rollup_property_source_link_id}
      * Example: properties/1234/rollupPropertySourceLinks/5678
      * 
* - * 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); } @@ -537,41 +615,44 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.DeleteRollupPropertySourceLinkRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.DeleteRollupPropertySourceLinkRequest) - private static final com.google.analytics.admin.v1alpha.DeleteRollupPropertySourceLinkRequest DEFAULT_INSTANCE; + private static final com.google.analytics.admin.v1alpha.DeleteRollupPropertySourceLinkRequest + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.DeleteRollupPropertySourceLinkRequest(); + DEFAULT_INSTANCE = + new com.google.analytics.admin.v1alpha.DeleteRollupPropertySourceLinkRequest(); } - public static com.google.analytics.admin.v1alpha.DeleteRollupPropertySourceLinkRequest getDefaultInstance() { + public static com.google.analytics.admin.v1alpha.DeleteRollupPropertySourceLinkRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteRollupPropertySourceLinkRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteRollupPropertySourceLinkRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -583,9 +664,8 @@ public com.google.protobuf.Parser getPars } @java.lang.Override - public com.google.analytics.admin.v1alpha.DeleteRollupPropertySourceLinkRequest getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.DeleteRollupPropertySourceLinkRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteRollupPropertySourceLinkRequestOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteRollupPropertySourceLinkRequestOrBuilder.java new file mode 100644 index 000000000000..97b4513255d6 --- /dev/null +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteRollupPropertySourceLinkRequestOrBuilder.java @@ -0,0 +1,58 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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 DeleteRollupPropertySourceLinkRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.DeleteRollupPropertySourceLinkRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. Format:
+   * properties/{property_id}/rollupPropertySourceLinks/{rollup_property_source_link_id}
+   * Example: properties/1234/rollupPropertySourceLinks/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}/rollupPropertySourceLinks/{rollup_property_source_link_id}
+   * Example: properties/1234/rollupPropertySourceLinks/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/DeleteSKAdNetworkConversionValueSchemaRequest.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteSKAdNetworkConversionValueSchemaRequest.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/DeleteSKAdNetworkConversionValueSchemaRequest.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteSKAdNetworkConversionValueSchemaRequest.java index e78ecf93d914..2698cb1cbf3a 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteSKAdNetworkConversionValueSchemaRequest.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteSKAdNetworkConversionValueSchemaRequest.java @@ -1,59 +1,88 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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 DeleteSKAdNetworkConversionValueSchema RPC.
  * 
* - * Protobuf type {@code google.analytics.admin.v1alpha.DeleteSKAdNetworkConversionValueSchemaRequest} + * Protobuf type {@code + * google.analytics.admin.v1alpha.DeleteSKAdNetworkConversionValueSchemaRequest} */ -public final class DeleteSKAdNetworkConversionValueSchemaRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class DeleteSKAdNetworkConversionValueSchemaRequest + extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.DeleteSKAdNetworkConversionValueSchemaRequest) DeleteSKAdNetworkConversionValueSchemaRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DeleteSKAdNetworkConversionValueSchemaRequest.newBuilder() to construct. - private DeleteSKAdNetworkConversionValueSchemaRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private DeleteSKAdNetworkConversionValueSchemaRequest( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private DeleteSKAdNetworkConversionValueSchemaRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DeleteSKAdNetworkConversionValueSchemaRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_DeleteSKAdNetworkConversionValueSchemaRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_DeleteSKAdNetworkConversionValueSchemaRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_DeleteSKAdNetworkConversionValueSchemaRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_DeleteSKAdNetworkConversionValueSchemaRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.DeleteSKAdNetworkConversionValueSchemaRequest.class, com.google.analytics.admin.v1alpha.DeleteSKAdNetworkConversionValueSchemaRequest.Builder.class); + com.google.analytics.admin.v1alpha.DeleteSKAdNetworkConversionValueSchemaRequest.class, + com.google.analytics.admin.v1alpha.DeleteSKAdNetworkConversionValueSchemaRequest.Builder + .class); } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Required. The name of the SKAdNetworkConversionValueSchema to delete.
    * Format:
    * properties/{property}/dataStreams/{dataStream}/sKAdNetworkConversionValueSchema/{skadnetwork_conversion_value_schema}
    * 
* - * string name = 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 @@ -62,31 +91,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 SKAdNetworkConversionValueSchema to delete.
    * Format:
    * properties/{property}/dataStreams/{dataStream}/sKAdNetworkConversionValueSchema/{skadnetwork_conversion_value_schema}
    * 
* - * string name = 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 { @@ -95,6 +126,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -106,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_); } @@ -131,15 +162,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.DeleteSKAdNetworkConversionValueSchemaRequest)) { + if (!(obj + instanceof + com.google.analytics.admin.v1alpha.DeleteSKAdNetworkConversionValueSchemaRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.DeleteSKAdNetworkConversionValueSchemaRequest other = (com.google.analytics.admin.v1alpha.DeleteSKAdNetworkConversionValueSchemaRequest) obj; + com.google.analytics.admin.v1alpha.DeleteSKAdNetworkConversionValueSchemaRequest other = + (com.google.analytics.admin.v1alpha.DeleteSKAdNetworkConversionValueSchemaRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -158,132 +191,147 @@ public int hashCode() { return hash; } - public static com.google.analytics.admin.v1alpha.DeleteSKAdNetworkConversionValueSchemaRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.analytics.admin.v1alpha.DeleteSKAdNetworkConversionValueSchemaRequest + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.DeleteSKAdNetworkConversionValueSchemaRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.analytics.admin.v1alpha.DeleteSKAdNetworkConversionValueSchemaRequest + 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.DeleteSKAdNetworkConversionValueSchemaRequest parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.analytics.admin.v1alpha.DeleteSKAdNetworkConversionValueSchemaRequest + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.DeleteSKAdNetworkConversionValueSchemaRequest parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.analytics.admin.v1alpha.DeleteSKAdNetworkConversionValueSchemaRequest + parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.DeleteSKAdNetworkConversionValueSchemaRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.analytics.admin.v1alpha.DeleteSKAdNetworkConversionValueSchemaRequest + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.DeleteSKAdNetworkConversionValueSchemaRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.analytics.admin.v1alpha.DeleteSKAdNetworkConversionValueSchemaRequest + 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.DeleteSKAdNetworkConversionValueSchemaRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.DeleteSKAdNetworkConversionValueSchemaRequest + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.DeleteSKAdNetworkConversionValueSchemaRequest 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.DeleteSKAdNetworkConversionValueSchemaRequest + 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.DeleteSKAdNetworkConversionValueSchemaRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.DeleteSKAdNetworkConversionValueSchemaRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.DeleteSKAdNetworkConversionValueSchemaRequest parseDelimitedFrom( - java.io.InputStream input, - 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.DeleteSKAdNetworkConversionValueSchemaRequest + parseDelimitedFrom( + java.io.InputStream input, 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.DeleteSKAdNetworkConversionValueSchemaRequest 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.DeleteSKAdNetworkConversionValueSchemaRequest + 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.DeleteSKAdNetworkConversionValueSchemaRequest 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.DeleteSKAdNetworkConversionValueSchemaRequest + 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.DeleteSKAdNetworkConversionValueSchemaRequest prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1alpha.DeleteSKAdNetworkConversionValueSchemaRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder 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 DeleteSKAdNetworkConversionValueSchema RPC.
    * 
* - * Protobuf type {@code google.analytics.admin.v1alpha.DeleteSKAdNetworkConversionValueSchemaRequest} + * Protobuf type {@code + * google.analytics.admin.v1alpha.DeleteSKAdNetworkConversionValueSchemaRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.DeleteSKAdNetworkConversionValueSchemaRequest) com.google.analytics.admin.v1alpha.DeleteSKAdNetworkConversionValueSchemaRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_DeleteSKAdNetworkConversionValueSchemaRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_DeleteSKAdNetworkConversionValueSchemaRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_DeleteSKAdNetworkConversionValueSchemaRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_DeleteSKAdNetworkConversionValueSchemaRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.DeleteSKAdNetworkConversionValueSchemaRequest.class, com.google.analytics.admin.v1alpha.DeleteSKAdNetworkConversionValueSchemaRequest.Builder.class); + com.google.analytics.admin.v1alpha.DeleteSKAdNetworkConversionValueSchemaRequest + .class, + com.google.analytics.admin.v1alpha.DeleteSKAdNetworkConversionValueSchemaRequest + .Builder.class); } - // Construct using com.google.analytics.admin.v1alpha.DeleteSKAdNetworkConversionValueSchemaRequest.newBuilder() - private Builder() { - - } + // Construct using + // com.google.analytics.admin.v1alpha.DeleteSKAdNetworkConversionValueSchemaRequest.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(); @@ -293,19 +341,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_DeleteSKAdNetworkConversionValueSchemaRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_DeleteSKAdNetworkConversionValueSchemaRequest_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.DeleteSKAdNetworkConversionValueSchemaRequest getDefaultInstanceForType() { - return com.google.analytics.admin.v1alpha.DeleteSKAdNetworkConversionValueSchemaRequest.getDefaultInstance(); + public com.google.analytics.admin.v1alpha.DeleteSKAdNetworkConversionValueSchemaRequest + getDefaultInstanceForType() { + return com.google.analytics.admin.v1alpha.DeleteSKAdNetworkConversionValueSchemaRequest + .getDefaultInstance(); } @java.lang.Override - public com.google.analytics.admin.v1alpha.DeleteSKAdNetworkConversionValueSchemaRequest build() { - com.google.analytics.admin.v1alpha.DeleteSKAdNetworkConversionValueSchemaRequest result = buildPartial(); + public com.google.analytics.admin.v1alpha.DeleteSKAdNetworkConversionValueSchemaRequest + build() { + com.google.analytics.admin.v1alpha.DeleteSKAdNetworkConversionValueSchemaRequest result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -313,14 +365,20 @@ public com.google.analytics.admin.v1alpha.DeleteSKAdNetworkConversionValueSchema } @java.lang.Override - public com.google.analytics.admin.v1alpha.DeleteSKAdNetworkConversionValueSchemaRequest buildPartial() { - com.google.analytics.admin.v1alpha.DeleteSKAdNetworkConversionValueSchemaRequest result = new com.google.analytics.admin.v1alpha.DeleteSKAdNetworkConversionValueSchemaRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + public com.google.analytics.admin.v1alpha.DeleteSKAdNetworkConversionValueSchemaRequest + buildPartial() { + com.google.analytics.admin.v1alpha.DeleteSKAdNetworkConversionValueSchemaRequest result = + new com.google.analytics.admin.v1alpha.DeleteSKAdNetworkConversionValueSchemaRequest( + this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.analytics.admin.v1alpha.DeleteSKAdNetworkConversionValueSchemaRequest result) { + private void buildPartial0( + com.google.analytics.admin.v1alpha.DeleteSKAdNetworkConversionValueSchemaRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.name_ = name_; @@ -331,46 +389,54 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.DeleteSKAdNetworkC public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.analytics.admin.v1alpha.DeleteSKAdNetworkConversionValueSchemaRequest) { - return mergeFrom((com.google.analytics.admin.v1alpha.DeleteSKAdNetworkConversionValueSchemaRequest)other); + if (other + instanceof + com.google.analytics.admin.v1alpha.DeleteSKAdNetworkConversionValueSchemaRequest) { + return mergeFrom( + (com.google.analytics.admin.v1alpha.DeleteSKAdNetworkConversionValueSchemaRequest) + other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.analytics.admin.v1alpha.DeleteSKAdNetworkConversionValueSchemaRequest other) { - if (other == com.google.analytics.admin.v1alpha.DeleteSKAdNetworkConversionValueSchemaRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.analytics.admin.v1alpha.DeleteSKAdNetworkConversionValueSchemaRequest other) { + if (other + == com.google.analytics.admin.v1alpha.DeleteSKAdNetworkConversionValueSchemaRequest + .getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -402,17 +468,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) { @@ -422,24 +490,29 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Required. The name of the SKAdNetworkConversionValueSchema to delete.
      * Format:
      * properties/{property}/dataStreams/{dataStream}/sKAdNetworkConversionValueSchema/{skadnetwork_conversion_value_schema}
      * 
* - * string name = 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,22 +521,25 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the SKAdNetworkConversionValueSchema to delete.
      * Format:
      * properties/{property}/dataStreams/{dataStream}/sKAdNetworkConversionValueSchema/{skadnetwork_conversion_value_schema}
      * 
* - * string name = 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 { @@ -471,32 +547,43 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the SKAdNetworkConversionValueSchema to delete.
      * Format:
      * properties/{property}/dataStreams/{dataStream}/sKAdNetworkConversionValueSchema/{skadnetwork_conversion_value_schema}
      * 
* - * 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 SKAdNetworkConversionValueSchema to delete.
      * Format:
      * properties/{property}/dataStreams/{dataStream}/sKAdNetworkConversionValueSchema/{skadnetwork_conversion_value_schema}
      * 
* - * string 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() { @@ -506,28 +593,34 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. The name of the SKAdNetworkConversionValueSchema to delete.
      * Format:
      * properties/{property}/dataStreams/{dataStream}/sKAdNetworkConversionValueSchema/{skadnetwork_conversion_value_schema}
      * 
* - * 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); } @@ -537,55 +630,61 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.DeleteSKAdNetworkConversionValueSchemaRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.DeleteSKAdNetworkConversionValueSchemaRequest) - private static final com.google.analytics.admin.v1alpha.DeleteSKAdNetworkConversionValueSchemaRequest DEFAULT_INSTANCE; + private static final com.google.analytics.admin.v1alpha + .DeleteSKAdNetworkConversionValueSchemaRequest + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.DeleteSKAdNetworkConversionValueSchemaRequest(); + DEFAULT_INSTANCE = + new com.google.analytics.admin.v1alpha.DeleteSKAdNetworkConversionValueSchemaRequest(); } - public static com.google.analytics.admin.v1alpha.DeleteSKAdNetworkConversionValueSchemaRequest getDefaultInstance() { + public static com.google.analytics.admin.v1alpha.DeleteSKAdNetworkConversionValueSchemaRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteSKAdNetworkConversionValueSchemaRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - 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 DeleteSKAdNetworkConversionValueSchemaRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.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.DeleteSKAdNetworkConversionValueSchemaRequest getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.DeleteSKAdNetworkConversionValueSchemaRequest + 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/DeleteSKAdNetworkConversionValueSchemaRequestOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteSKAdNetworkConversionValueSchemaRequestOrBuilder.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/DeleteSKAdNetworkConversionValueSchemaRequestOrBuilder.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteSKAdNetworkConversionValueSchemaRequestOrBuilder.java index 539aacfd7f8b..ae15feb49b2d 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteSKAdNetworkConversionValueSchemaRequestOrBuilder.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteSKAdNetworkConversionValueSchemaRequestOrBuilder.java @@ -1,33 +1,58 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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 DeleteSKAdNetworkConversionValueSchemaRequestOrBuilder extends +public interface DeleteSKAdNetworkConversionValueSchemaRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.DeleteSKAdNetworkConversionValueSchemaRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The name of the SKAdNetworkConversionValueSchema to delete.
    * Format:
    * properties/{property}/dataStreams/{dataStream}/sKAdNetworkConversionValueSchema/{skadnetwork_conversion_value_schema}
    * 
* - * string name = 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 SKAdNetworkConversionValueSchema to delete.
    * Format:
    * properties/{property}/dataStreams/{dataStream}/sKAdNetworkConversionValueSchema/{skadnetwork_conversion_value_schema}
    * 
* - * string name = 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/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 0a91a1a2a302..ad5ab6935682 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,58 +1,83 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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(); } - 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 @@ -61,30 +86,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 { @@ -93,6 +120,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -104,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(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -129,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.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; } @@ -157,131 +184,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(); @@ -291,13 +323,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(); } @@ -312,13 +345,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_; @@ -329,46 +366,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; @@ -400,17 +441,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) { @@ -420,23 +463,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; @@ -445,21 +493,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 { @@ -467,30 +518,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() { @@ -500,27 +562,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); } @@ -530,41 +598,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; @@ -576,9 +646,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..c2a81150ed63 --- /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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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/DeleteSubpropertyEventFilterRequest.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteSubpropertyEventFilterRequest.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/DeleteSubpropertyEventFilterRequest.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteSubpropertyEventFilterRequest.java index 5c752827f1e0..03c1083bf563 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteSubpropertyEventFilterRequest.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteSubpropertyEventFilterRequest.java @@ -1,52 +1,76 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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 DeleteSubpropertyEventFilter RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.DeleteSubpropertyEventFilterRequest} */ -public final class DeleteSubpropertyEventFilterRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class DeleteSubpropertyEventFilterRequest + extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.DeleteSubpropertyEventFilterRequest) DeleteSubpropertyEventFilterRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DeleteSubpropertyEventFilterRequest.newBuilder() to construct. - private DeleteSubpropertyEventFilterRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private DeleteSubpropertyEventFilterRequest( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private DeleteSubpropertyEventFilterRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DeleteSubpropertyEventFilterRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_DeleteSubpropertyEventFilterRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_DeleteSubpropertyEventFilterRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_DeleteSubpropertyEventFilterRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_DeleteSubpropertyEventFilterRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.DeleteSubpropertyEventFilterRequest.class, com.google.analytics.admin.v1alpha.DeleteSubpropertyEventFilterRequest.Builder.class); + com.google.analytics.admin.v1alpha.DeleteSubpropertyEventFilterRequest.class, + com.google.analytics.admin.v1alpha.DeleteSubpropertyEventFilterRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Required. Resource name of the subproperty event filter to delete.
    * Format:
@@ -54,7 +78,10 @@ protected java.lang.Object newInstance(
    * Example: properties/123/subpropertyEventFilters/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 @@ -63,14 +90,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. Resource name of the subproperty event filter to delete.
    * Format:
@@ -78,17 +106,18 @@ public java.lang.String getName() {
    * Example: properties/123/subpropertyEventFilters/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 { @@ -97,6 +126,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -108,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_); } @@ -133,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.DeleteSubpropertyEventFilterRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.DeleteSubpropertyEventFilterRequest other = (com.google.analytics.admin.v1alpha.DeleteSubpropertyEventFilterRequest) obj; + com.google.analytics.admin.v1alpha.DeleteSubpropertyEventFilterRequest other = + (com.google.analytics.admin.v1alpha.DeleteSubpropertyEventFilterRequest) 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,131 +190,138 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.DeleteSubpropertyEventFilterRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.DeleteSubpropertyEventFilterRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.DeleteSubpropertyEventFilterRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.DeleteSubpropertyEventFilterRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.DeleteSubpropertyEventFilterRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.analytics.admin.v1alpha.DeleteSubpropertyEventFilterRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.DeleteSubpropertyEventFilterRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.DeleteSubpropertyEventFilterRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.DeleteSubpropertyEventFilterRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.DeleteSubpropertyEventFilterRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.DeleteSubpropertyEventFilterRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.DeleteSubpropertyEventFilterRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.DeleteSubpropertyEventFilterRequest parseDelimitedFrom( - java.io.InputStream input, - 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.DeleteSubpropertyEventFilterRequest + parseDelimitedFrom( + java.io.InputStream input, 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.DeleteSubpropertyEventFilterRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.DeleteSubpropertyEventFilterRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1alpha.DeleteSubpropertyEventFilterRequest prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1alpha.DeleteSubpropertyEventFilterRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder 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 DeleteSubpropertyEventFilter RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.DeleteSubpropertyEventFilterRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.DeleteSubpropertyEventFilterRequest) com.google.analytics.admin.v1alpha.DeleteSubpropertyEventFilterRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_DeleteSubpropertyEventFilterRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_DeleteSubpropertyEventFilterRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_DeleteSubpropertyEventFilterRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_DeleteSubpropertyEventFilterRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.DeleteSubpropertyEventFilterRequest.class, com.google.analytics.admin.v1alpha.DeleteSubpropertyEventFilterRequest.Builder.class); + com.google.analytics.admin.v1alpha.DeleteSubpropertyEventFilterRequest.class, + com.google.analytics.admin.v1alpha.DeleteSubpropertyEventFilterRequest.Builder.class); } - // Construct using com.google.analytics.admin.v1alpha.DeleteSubpropertyEventFilterRequest.newBuilder() - private Builder() { - - } + // Construct using + // com.google.analytics.admin.v1alpha.DeleteSubpropertyEventFilterRequest.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(); @@ -295,19 +331,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_DeleteSubpropertyEventFilterRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_DeleteSubpropertyEventFilterRequest_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.DeleteSubpropertyEventFilterRequest getDefaultInstanceForType() { - return com.google.analytics.admin.v1alpha.DeleteSubpropertyEventFilterRequest.getDefaultInstance(); + public com.google.analytics.admin.v1alpha.DeleteSubpropertyEventFilterRequest + getDefaultInstanceForType() { + return com.google.analytics.admin.v1alpha.DeleteSubpropertyEventFilterRequest + .getDefaultInstance(); } @java.lang.Override public com.google.analytics.admin.v1alpha.DeleteSubpropertyEventFilterRequest build() { - com.google.analytics.admin.v1alpha.DeleteSubpropertyEventFilterRequest result = buildPartial(); + com.google.analytics.admin.v1alpha.DeleteSubpropertyEventFilterRequest result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -316,13 +355,17 @@ public com.google.analytics.admin.v1alpha.DeleteSubpropertyEventFilterRequest bu @java.lang.Override public com.google.analytics.admin.v1alpha.DeleteSubpropertyEventFilterRequest buildPartial() { - com.google.analytics.admin.v1alpha.DeleteSubpropertyEventFilterRequest result = new com.google.analytics.admin.v1alpha.DeleteSubpropertyEventFilterRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.analytics.admin.v1alpha.DeleteSubpropertyEventFilterRequest result = + new com.google.analytics.admin.v1alpha.DeleteSubpropertyEventFilterRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.analytics.admin.v1alpha.DeleteSubpropertyEventFilterRequest result) { + private void buildPartial0( + com.google.analytics.admin.v1alpha.DeleteSubpropertyEventFilterRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.name_ = name_; @@ -333,46 +376,51 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.DeleteSubpropertyE public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.analytics.admin.v1alpha.DeleteSubpropertyEventFilterRequest) { - return mergeFrom((com.google.analytics.admin.v1alpha.DeleteSubpropertyEventFilterRequest)other); + return mergeFrom( + (com.google.analytics.admin.v1alpha.DeleteSubpropertyEventFilterRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.analytics.admin.v1alpha.DeleteSubpropertyEventFilterRequest other) { - if (other == com.google.analytics.admin.v1alpha.DeleteSubpropertyEventFilterRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.analytics.admin.v1alpha.DeleteSubpropertyEventFilterRequest other) { + if (other + == com.google.analytics.admin.v1alpha.DeleteSubpropertyEventFilterRequest + .getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -404,17 +452,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) { @@ -424,10 +474,13 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Required. Resource name of the subproperty event filter to delete.
      * Format:
@@ -435,14 +488,16 @@ public Builder mergeFrom(
      * Example: properties/123/subpropertyEventFilters/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,6 +506,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. Resource name of the subproperty event filter to delete.
      * Format:
@@ -458,16 +515,17 @@ public java.lang.String getName() {
      * Example: properties/123/subpropertyEventFilters/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 { @@ -475,6 +533,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. Resource name of the subproperty event filter to delete.
      * Format:
@@ -482,19 +542,25 @@ public java.lang.String getName() {
      * Example: properties/123/subpropertyEventFilters/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. Resource name of the subproperty event filter to delete.
      * Format:
@@ -502,7 +568,10 @@ public Builder setName(
      * Example: properties/123/subpropertyEventFilters/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() { @@ -512,6 +581,8 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. Resource name of the subproperty event filter to delete.
      * Format:
@@ -519,22 +590,26 @@ public Builder clearName() {
      * Example: properties/123/subpropertyEventFilters/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); } @@ -544,41 +619,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.DeleteSubpropertyEventFilterRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.DeleteSubpropertyEventFilterRequest) - private static final com.google.analytics.admin.v1alpha.DeleteSubpropertyEventFilterRequest DEFAULT_INSTANCE; + private static final com.google.analytics.admin.v1alpha.DeleteSubpropertyEventFilterRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.DeleteSubpropertyEventFilterRequest(); } - public static com.google.analytics.admin.v1alpha.DeleteSubpropertyEventFilterRequest getDefaultInstance() { + public static com.google.analytics.admin.v1alpha.DeleteSubpropertyEventFilterRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteSubpropertyEventFilterRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteSubpropertyEventFilterRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -590,9 +667,8 @@ public com.google.protobuf.Parser getParser } @java.lang.Override - public com.google.analytics.admin.v1alpha.DeleteSubpropertyEventFilterRequest getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.DeleteSubpropertyEventFilterRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteSubpropertyEventFilterRequestOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteSubpropertyEventFilterRequestOrBuilder.java new file mode 100644 index 000000000000..3011cbc04ac7 --- /dev/null +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteSubpropertyEventFilterRequestOrBuilder.java @@ -0,0 +1,60 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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 DeleteSubpropertyEventFilterRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.DeleteSubpropertyEventFilterRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. Resource name of the subproperty event filter to delete.
+   * Format:
+   * properties/property_id/subpropertyEventFilters/subproperty_event_filter
+   * Example: properties/123/subpropertyEventFilters/456
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. Resource name of the subproperty event filter to delete.
+   * Format:
+   * properties/property_id/subpropertyEventFilters/subproperty_event_filter
+   * Example: properties/123/subpropertyEventFilters/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/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 00b027e00287..4e4cee7294ef 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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,28 +45,32 @@ private DisplayVideo360AdvertiserLink() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DisplayVideo360AdvertiserLink(); } - 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:
@@ -58,6 +80,7 @@ protected java.lang.Object newInstance(
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ @java.lang.Override @@ -66,14 +89,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:
@@ -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 { @@ -101,14 +124,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 @@ -117,29 +144,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 { @@ -148,14 +175,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 @@ -164,29 +195,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 { @@ -197,12 +228,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 @@ -210,19 +244,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.
@@ -232,12 +273,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
@@ -245,7 +290,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 @@ -253,6 +301,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
@@ -260,14 +310,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
@@ -275,16 +332,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
@@ -293,7 +356,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 @@ -301,6 +367,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
@@ -309,14 +377,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
@@ -325,14 +400,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; @@ -344,8 +424,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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,16 +462,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; @@ -402,33 +483,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; @@ -465,131 +543,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(); @@ -616,13 +699,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(); } @@ -637,13 +721,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_; @@ -655,19 +743,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(); } } @@ -675,46 +766,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; @@ -765,48 +860,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) { @@ -816,10 +915,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 +931,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 +946,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. The resource name for this DisplayVideo360AdvertiserLink
      * resource. Format:
@@ -853,15 +957,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 { @@ -869,6 +972,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. The resource name for this DisplayVideo360AdvertiserLink
      * resource. Format:
@@ -878,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:
@@ -899,6 +1008,7 @@ public Builder setName(
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearName() { @@ -908,6 +1018,8 @@ public Builder clearName() { return this; } /** + * + * *
      * Output only. The resource name for this DisplayVideo360AdvertiserLink
      * resource. Format:
@@ -917,12 +1029,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; @@ -932,18 +1046,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; @@ -952,20 +1068,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 { @@ -973,28 +1090,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() { @@ -1004,17 +1128,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; @@ -1024,18 +1152,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; @@ -1044,20 +1174,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 { @@ -1065,28 +1196,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() { @@ -1096,17 +1234,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; @@ -1116,36 +1258,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.
@@ -1167,6 +1322,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.
@@ -1186,6 +1343,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.
@@ -1195,9 +1354,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;
@@ -1210,6 +1369,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.
@@ -1228,6 +1389,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.
@@ -1241,6 +1404,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.
@@ -1252,11 +1417,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.
@@ -1265,14 +1433,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_;
@@ -1280,8 +1451,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
@@ -1289,13 +1465,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
@@ -1303,17 +1484,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
@@ -1321,7 +1509,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) { @@ -1337,6 +1527,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
@@ -1344,7 +1536,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) { @@ -1358,6 +1552,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
@@ -1365,13 +1561,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; @@ -1384,6 +1582,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
@@ -1391,7 +1591,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); @@ -1404,6 +1606,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
@@ -1411,7 +1615,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; @@ -1419,6 +1625,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
@@ -1426,17 +1634,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
@@ -1444,17 +1657,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_; @@ -1462,8 +1680,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
@@ -1472,13 +1695,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
@@ -1487,17 +1715,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
@@ -1506,7 +1741,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) { @@ -1522,6 +1759,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
@@ -1530,7 +1769,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) { @@ -1544,6 +1785,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
@@ -1552,13 +1795,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; @@ -1571,6 +1816,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
@@ -1579,7 +1826,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); @@ -1592,6 +1841,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
@@ -1600,7 +1851,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; @@ -1608,6 +1861,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
@@ -1616,17 +1871,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
@@ -1635,24 +1895,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); } @@ -1662,41 +1927,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; @@ -1708,9 +1975,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 e0475358c96b..3c4175ae6e3a 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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:
@@ -17,10 +35,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:
@@ -30,72 +51,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.
@@ -106,6 +145,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
@@ -113,11 +154,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
@@ -125,11 +171,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
@@ -137,11 +188,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
@@ -150,11 +205,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
@@ -163,11 +223,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
@@ -176,7 +241,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 33ad0f6de102..a23a12b7dc7d 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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.
@@ -15,15 +32,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_ = "";
@@ -33,28 +53,32 @@ private DisplayVideo360AdvertiserLinkProposal() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new DisplayVideo360AdvertiserLinkProposal();
   }
 
-  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:
@@ -64,6 +88,7 @@ protected java.lang.Object newInstance(
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ @java.lang.Override @@ -72,14 +97,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:
@@ -89,16 +115,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 { @@ -107,14 +132,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 @@ -123,29 +152,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 { @@ -156,11 +185,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 @@ -168,39 +202,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 @@ -209,30 +262,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 { @@ -241,9 +294,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
@@ -254,6 +310,7 @@ public java.lang.String getAdvertiserDisplayName() {
    * 
* * string validation_email = 5 [(.google.api.field_behavior) = INPUT_ONLY]; + * * @return The validationEmail. */ @java.lang.Override @@ -262,14 +319,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
@@ -280,16 +338,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 { @@ -300,12 +357,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 @@ -313,40 +375,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 @@ -354,41 +434,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 @@ -396,34 +494,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; @@ -435,8 +547,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -477,8 +588,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_); @@ -487,16 +599,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; @@ -506,40 +620,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; @@ -582,98 +693,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.
@@ -685,33 +803,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();
@@ -744,19 +863,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);
       }
@@ -765,13 +887,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_;
@@ -780,9 +906,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_;
@@ -791,19 +918,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();
       }
     }
 
@@ -811,46 +941,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;
@@ -909,60 +1045,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) {
@@ -972,10 +1113,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:
@@ -985,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; @@ -1000,6 +1144,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. The resource name for this
      * DisplayVideo360AdvertiserLinkProposal resource. Format:
@@ -1009,15 +1155,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 { @@ -1025,6 +1170,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. The resource name for this
      * DisplayVideo360AdvertiserLinkProposal resource. Format:
@@ -1034,18 +1181,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:
@@ -1055,6 +1206,7 @@ public Builder setName(
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearName() { @@ -1064,6 +1216,8 @@ public Builder clearName() { return this; } /** + * + * *
      * Output only. The resource name for this
      * DisplayVideo360AdvertiserLinkProposal resource. Format:
@@ -1073,12 +1227,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; @@ -1088,18 +1244,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; @@ -1108,20 +1266,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 { @@ -1129,28 +1288,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() { @@ -1160,17 +1326,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; @@ -1180,41 +1350,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(); @@ -1228,11 +1419,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) { @@ -1246,17 +1441,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; @@ -1269,11 +1471,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); @@ -1286,48 +1492,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_; @@ -1335,19 +1559,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; @@ -1356,21 +1582,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 { @@ -1378,30 +1605,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() { @@ -1411,18 +1645,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; @@ -1432,6 +1670,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
@@ -1442,13 +1682,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; @@ -1457,6 +1697,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
@@ -1467,15 +1709,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 { @@ -1483,6 +1724,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
@@ -1493,18 +1736,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
@@ -1515,6 +1762,7 @@ public Builder setValidationEmail(
      * 
* * string validation_email = 5 [(.google.api.field_behavior) = INPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearValidationEmail() { @@ -1524,6 +1772,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
@@ -1534,12 +1784,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; @@ -1549,42 +1801,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) { @@ -1600,12 +1871,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) { @@ -1619,18 +1894,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; @@ -1643,12 +1922,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); @@ -1661,12 +1944,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; @@ -1674,38 +1961,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_; @@ -1713,42 +2012,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) { @@ -1764,12 +2082,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) { @@ -1783,18 +2105,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; @@ -1807,12 +2133,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); @@ -1825,12 +2155,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; @@ -1838,38 +2172,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_; @@ -1877,45 +2223,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) { @@ -1931,13 +2296,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) { @@ -1951,19 +2320,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; @@ -1976,13 +2349,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); @@ -1995,13 +2372,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; @@ -2009,47 +2390,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); } @@ -2059,41 +2452,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; @@ -2105,9 +2501,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 2b76dd1894ae..3659238309bb 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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:
@@ -17,10 +35,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:
@@ -30,81 +51,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
@@ -115,10 +163,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
@@ -129,101 +180,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/EnhancedMeasurementSettings.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/EnhancedMeasurementSettings.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/EnhancedMeasurementSettings.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/EnhancedMeasurementSettings.java index b207227e9faf..b01bae9415ac 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/EnhancedMeasurementSettings.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/EnhancedMeasurementSettings.java @@ -1,9 +1,26 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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; /** + * + * *
  * Singleton resource under a web DataStream, configuring measurement of
  * additional site interactions and content.
@@ -11,15 +28,16 @@
  *
  * Protobuf type {@code google.analytics.admin.v1alpha.EnhancedMeasurementSettings}
  */
-public final class EnhancedMeasurementSettings extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class EnhancedMeasurementSettings extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.EnhancedMeasurementSettings)
     EnhancedMeasurementSettingsOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use EnhancedMeasurementSettings.newBuilder() to construct.
   private EnhancedMeasurementSettings(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private EnhancedMeasurementSettings() {
     name_ = "";
     searchQueryParameter_ = "";
@@ -28,28 +46,32 @@ private EnhancedMeasurementSettings() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new EnhancedMeasurementSettings();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_EnhancedMeasurementSettings_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.analytics.admin.v1alpha.ResourcesProto
+        .internal_static_google_analytics_admin_v1alpha_EnhancedMeasurementSettings_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_EnhancedMeasurementSettings_fieldAccessorTable
+    return com.google.analytics.admin.v1alpha.ResourcesProto
+        .internal_static_google_analytics_admin_v1alpha_EnhancedMeasurementSettings_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.analytics.admin.v1alpha.EnhancedMeasurementSettings.class, com.google.analytics.admin.v1alpha.EnhancedMeasurementSettings.Builder.class);
+            com.google.analytics.admin.v1alpha.EnhancedMeasurementSettings.class,
+            com.google.analytics.admin.v1alpha.EnhancedMeasurementSettings.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
+   *
+   *
    * 
    * Output only. Resource name of the Enhanced Measurement Settings.
    * Format:
@@ -58,6 +80,7 @@ protected java.lang.Object newInstance(
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ @java.lang.Override @@ -66,14 +89,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 the Enhanced Measurement Settings.
    * Format:
@@ -82,16 +106,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,6 +125,8 @@ public java.lang.String getName() { public static final int STREAM_ENABLED_FIELD_NUMBER = 2; private boolean streamEnabled_ = false; /** + * + * *
    * Indicates whether Enhanced Measurement Settings will be used to
    * automatically measure interactions and content on this web stream.
@@ -111,6 +136,7 @@ public java.lang.String getName() {
    * 
* * bool stream_enabled = 2; + * * @return The streamEnabled. */ @java.lang.Override @@ -121,12 +147,15 @@ public boolean getStreamEnabled() { public static final int SCROLLS_ENABLED_FIELD_NUMBER = 3; private boolean scrollsEnabled_ = false; /** + * + * *
    * If enabled, capture scroll events each time a visitor gets to the bottom of
    * a page.
    * 
* * bool scrolls_enabled = 3; + * * @return The scrollsEnabled. */ @java.lang.Override @@ -137,12 +166,15 @@ public boolean getScrollsEnabled() { public static final int OUTBOUND_CLICKS_ENABLED_FIELD_NUMBER = 4; private boolean outboundClicksEnabled_ = false; /** + * + * *
    * If enabled, capture an outbound click event each time a visitor clicks a
    * link that leads them away from your domain.
    * 
* * bool outbound_clicks_enabled = 4; + * * @return The outboundClicksEnabled. */ @java.lang.Override @@ -153,12 +185,15 @@ public boolean getOutboundClicksEnabled() { public static final int SITE_SEARCH_ENABLED_FIELD_NUMBER = 5; private boolean siteSearchEnabled_ = false; /** + * + * *
    * If enabled, capture a view search results event each time a visitor
    * performs a search on your site (based on a query parameter).
    * 
* * bool site_search_enabled = 5; + * * @return The siteSearchEnabled. */ @java.lang.Override @@ -169,12 +204,15 @@ public boolean getSiteSearchEnabled() { public static final int VIDEO_ENGAGEMENT_ENABLED_FIELD_NUMBER = 6; private boolean videoEngagementEnabled_ = false; /** + * + * *
    * If enabled, capture video play, progress, and complete events as visitors
    * view embedded videos on your site.
    * 
* * bool video_engagement_enabled = 6; + * * @return The videoEngagementEnabled. */ @java.lang.Override @@ -185,12 +223,15 @@ public boolean getVideoEngagementEnabled() { public static final int FILE_DOWNLOADS_ENABLED_FIELD_NUMBER = 7; private boolean fileDownloadsEnabled_ = false; /** + * + * *
    * If enabled, capture a file download event each time a link is clicked with
    * a common document, compressed file, application, video, or audio extension.
    * 
* * bool file_downloads_enabled = 7; + * * @return The fileDownloadsEnabled. */ @java.lang.Override @@ -201,12 +242,15 @@ public boolean getFileDownloadsEnabled() { public static final int PAGE_CHANGES_ENABLED_FIELD_NUMBER = 8; private boolean pageChangesEnabled_ = false; /** + * + * *
    * If enabled, capture a page view event each time the website changes the
    * browser history state.
    * 
* * bool page_changes_enabled = 8; + * * @return The pageChangesEnabled. */ @java.lang.Override @@ -217,6 +261,8 @@ public boolean getPageChangesEnabled() { public static final int FORM_INTERACTIONS_ENABLED_FIELD_NUMBER = 9; private boolean formInteractionsEnabled_ = false; /** + * + * *
    * If enabled, capture a form interaction event each time a visitor interacts
    * with a form on your website.
@@ -224,6 +270,7 @@ public boolean getPageChangesEnabled() {
    * 
* * bool form_interactions_enabled = 9; + * * @return The formInteractionsEnabled. */ @java.lang.Override @@ -232,15 +279,19 @@ public boolean getFormInteractionsEnabled() { } public static final int SEARCH_QUERY_PARAMETER_FIELD_NUMBER = 10; + @SuppressWarnings("serial") private volatile java.lang.Object searchQueryParameter_ = ""; /** + * + * *
    * Required. URL query parameters to interpret as site search parameters.
    * Max length is 1024 characters. Must not be empty.
    * 
* * string search_query_parameter = 10 [(.google.api.field_behavior) = REQUIRED]; + * * @return The searchQueryParameter. */ @java.lang.Override @@ -249,30 +300,30 @@ public java.lang.String getSearchQueryParameter() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); searchQueryParameter_ = s; return s; } } /** + * + * *
    * Required. URL query parameters to interpret as site search parameters.
    * Max length is 1024 characters. Must not be empty.
    * 
* * string search_query_parameter = 10 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for searchQueryParameter. */ @java.lang.Override - public com.google.protobuf.ByteString - getSearchQueryParameterBytes() { + public com.google.protobuf.ByteString getSearchQueryParameterBytes() { java.lang.Object ref = searchQueryParameter_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); searchQueryParameter_ = b; return b; } else { @@ -281,15 +332,19 @@ public java.lang.String getSearchQueryParameter() { } public static final int URI_QUERY_PARAMETER_FIELD_NUMBER = 11; + @SuppressWarnings("serial") private volatile java.lang.Object uriQueryParameter_ = ""; /** + * + * *
    * Additional URL query parameters.
    * Max length is 1024 characters.
    * 
* * string uri_query_parameter = 11; + * * @return The uriQueryParameter. */ @java.lang.Override @@ -298,30 +353,30 @@ public java.lang.String getUriQueryParameter() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uriQueryParameter_ = s; return s; } } /** + * + * *
    * Additional URL query parameters.
    * Max length is 1024 characters.
    * 
* * string uri_query_parameter = 11; + * * @return The bytes for uriQueryParameter. */ @java.lang.Override - public com.google.protobuf.ByteString - getUriQueryParameterBytes() { + public com.google.protobuf.ByteString getUriQueryParameterBytes() { java.lang.Object ref = uriQueryParameter_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); uriQueryParameter_ = b; return b; } else { @@ -330,6 +385,7 @@ public java.lang.String getUriQueryParameter() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -341,8 +397,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -389,36 +444,28 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (streamEnabled_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(2, streamEnabled_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, streamEnabled_); } if (scrollsEnabled_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(3, scrollsEnabled_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(3, scrollsEnabled_); } if (outboundClicksEnabled_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(4, outboundClicksEnabled_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(4, outboundClicksEnabled_); } if (siteSearchEnabled_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(5, siteSearchEnabled_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(5, siteSearchEnabled_); } if (videoEngagementEnabled_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(6, videoEngagementEnabled_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(6, videoEngagementEnabled_); } if (fileDownloadsEnabled_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(7, fileDownloadsEnabled_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(7, fileDownloadsEnabled_); } if (pageChangesEnabled_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(8, pageChangesEnabled_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(8, pageChangesEnabled_); } if (formInteractionsEnabled_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(9, formInteractionsEnabled_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(9, formInteractionsEnabled_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(searchQueryParameter_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(10, searchQueryParameter_); @@ -434,35 +481,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.EnhancedMeasurementSettings)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.EnhancedMeasurementSettings other = (com.google.analytics.admin.v1alpha.EnhancedMeasurementSettings) obj; - - if (!getName() - .equals(other.getName())) return false; - if (getStreamEnabled() - != other.getStreamEnabled()) return false; - if (getScrollsEnabled() - != other.getScrollsEnabled()) return false; - if (getOutboundClicksEnabled() - != other.getOutboundClicksEnabled()) return false; - if (getSiteSearchEnabled() - != other.getSiteSearchEnabled()) return false; - if (getVideoEngagementEnabled() - != other.getVideoEngagementEnabled()) return false; - if (getFileDownloadsEnabled() - != other.getFileDownloadsEnabled()) return false; - if (getPageChangesEnabled() - != other.getPageChangesEnabled()) return false; - if (getFormInteractionsEnabled() - != other.getFormInteractionsEnabled()) return false; - if (!getSearchQueryParameter() - .equals(other.getSearchQueryParameter())) return false; - if (!getUriQueryParameter() - .equals(other.getUriQueryParameter())) return false; + com.google.analytics.admin.v1alpha.EnhancedMeasurementSettings other = + (com.google.analytics.admin.v1alpha.EnhancedMeasurementSettings) obj; + + if (!getName().equals(other.getName())) return false; + if (getStreamEnabled() != other.getStreamEnabled()) return false; + if (getScrollsEnabled() != other.getScrollsEnabled()) return false; + if (getOutboundClicksEnabled() != other.getOutboundClicksEnabled()) return false; + if (getSiteSearchEnabled() != other.getSiteSearchEnabled()) return false; + if (getVideoEngagementEnabled() != other.getVideoEngagementEnabled()) return false; + if (getFileDownloadsEnabled() != other.getFileDownloadsEnabled()) return false; + if (getPageChangesEnabled() != other.getPageChangesEnabled()) return false; + if (getFormInteractionsEnabled() != other.getFormInteractionsEnabled()) return false; + if (!getSearchQueryParameter().equals(other.getSearchQueryParameter())) return false; + if (!getUriQueryParameter().equals(other.getUriQueryParameter())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -477,29 +514,21 @@ public int hashCode() { hash = (37 * hash) + NAME_FIELD_NUMBER; hash = (53 * hash) + getName().hashCode(); hash = (37 * hash) + STREAM_ENABLED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getStreamEnabled()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getStreamEnabled()); hash = (37 * hash) + SCROLLS_ENABLED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getScrollsEnabled()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getScrollsEnabled()); hash = (37 * hash) + OUTBOUND_CLICKS_ENABLED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getOutboundClicksEnabled()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getOutboundClicksEnabled()); hash = (37 * hash) + SITE_SEARCH_ENABLED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getSiteSearchEnabled()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getSiteSearchEnabled()); hash = (37 * hash) + VIDEO_ENGAGEMENT_ENABLED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getVideoEngagementEnabled()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getVideoEngagementEnabled()); hash = (37 * hash) + FILE_DOWNLOADS_ENABLED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getFileDownloadsEnabled()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getFileDownloadsEnabled()); hash = (37 * hash) + PAGE_CHANGES_ENABLED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getPageChangesEnabled()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getPageChangesEnabled()); hash = (37 * hash) + FORM_INTERACTIONS_ENABLED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getFormInteractionsEnabled()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getFormInteractionsEnabled()); hash = (37 * hash) + SEARCH_QUERY_PARAMETER_FIELD_NUMBER; hash = (53 * hash) + getSearchQueryParameter().hashCode(); hash = (37 * hash) + URI_QUERY_PARAMETER_FIELD_NUMBER; @@ -510,98 +539,104 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.EnhancedMeasurementSettings parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.EnhancedMeasurementSettings parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.EnhancedMeasurementSettings parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.EnhancedMeasurementSettings parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.EnhancedMeasurementSettings parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.analytics.admin.v1alpha.EnhancedMeasurementSettings parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.EnhancedMeasurementSettings parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.EnhancedMeasurementSettings parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.EnhancedMeasurementSettings parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.EnhancedMeasurementSettings parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.EnhancedMeasurementSettings parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.EnhancedMeasurementSettings parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.analytics.admin.v1alpha.EnhancedMeasurementSettings parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.EnhancedMeasurementSettings parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.EnhancedMeasurementSettings parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1alpha.EnhancedMeasurementSettings prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1alpha.EnhancedMeasurementSettings prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Singleton resource under a web DataStream, configuring measurement of
    * additional site interactions and content.
@@ -609,33 +644,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.analytics.admin.v1alpha.EnhancedMeasurementSettings}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.EnhancedMeasurementSettings)
       com.google.analytics.admin.v1alpha.EnhancedMeasurementSettingsOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_EnhancedMeasurementSettings_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.analytics.admin.v1alpha.ResourcesProto
+          .internal_static_google_analytics_admin_v1alpha_EnhancedMeasurementSettings_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_EnhancedMeasurementSettings_fieldAccessorTable
+      return com.google.analytics.admin.v1alpha.ResourcesProto
+          .internal_static_google_analytics_admin_v1alpha_EnhancedMeasurementSettings_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.analytics.admin.v1alpha.EnhancedMeasurementSettings.class, com.google.analytics.admin.v1alpha.EnhancedMeasurementSettings.Builder.class);
+              com.google.analytics.admin.v1alpha.EnhancedMeasurementSettings.class,
+              com.google.analytics.admin.v1alpha.EnhancedMeasurementSettings.Builder.class);
     }
 
     // Construct using com.google.analytics.admin.v1alpha.EnhancedMeasurementSettings.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();
@@ -655,13 +689,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_EnhancedMeasurementSettings_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.analytics.admin.v1alpha.ResourcesProto
+          .internal_static_google_analytics_admin_v1alpha_EnhancedMeasurementSettings_descriptor;
     }
 
     @java.lang.Override
-    public com.google.analytics.admin.v1alpha.EnhancedMeasurementSettings getDefaultInstanceForType() {
+    public com.google.analytics.admin.v1alpha.EnhancedMeasurementSettings
+        getDefaultInstanceForType() {
       return com.google.analytics.admin.v1alpha.EnhancedMeasurementSettings.getDefaultInstance();
     }
 
@@ -676,13 +711,17 @@ public com.google.analytics.admin.v1alpha.EnhancedMeasurementSettings build() {
 
     @java.lang.Override
     public com.google.analytics.admin.v1alpha.EnhancedMeasurementSettings buildPartial() {
-      com.google.analytics.admin.v1alpha.EnhancedMeasurementSettings result = new com.google.analytics.admin.v1alpha.EnhancedMeasurementSettings(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.analytics.admin.v1alpha.EnhancedMeasurementSettings result =
+          new com.google.analytics.admin.v1alpha.EnhancedMeasurementSettings(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
 
-    private void buildPartial0(com.google.analytics.admin.v1alpha.EnhancedMeasurementSettings result) {
+    private void buildPartial0(
+        com.google.analytics.admin.v1alpha.EnhancedMeasurementSettings result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000001) != 0)) {
         result.name_ = name_;
@@ -723,38 +762,39 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.EnhancedMeasuremen
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.analytics.admin.v1alpha.EnhancedMeasurementSettings) {
-        return mergeFrom((com.google.analytics.admin.v1alpha.EnhancedMeasurementSettings)other);
+        return mergeFrom((com.google.analytics.admin.v1alpha.EnhancedMeasurementSettings) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -762,7 +802,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.analytics.admin.v1alpha.EnhancedMeasurementSettings other) {
-      if (other == com.google.analytics.admin.v1alpha.EnhancedMeasurementSettings.getDefaultInstance()) return this;
+      if (other
+          == com.google.analytics.admin.v1alpha.EnhancedMeasurementSettings.getDefaultInstance())
+        return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         bitField0_ |= 0x00000001;
@@ -828,67 +870,79 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              name_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 16: {
-              streamEnabled_ = input.readBool();
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 16
-            case 24: {
-              scrollsEnabled_ = input.readBool();
-              bitField0_ |= 0x00000004;
-              break;
-            } // case 24
-            case 32: {
-              outboundClicksEnabled_ = input.readBool();
-              bitField0_ |= 0x00000008;
-              break;
-            } // case 32
-            case 40: {
-              siteSearchEnabled_ = input.readBool();
-              bitField0_ |= 0x00000010;
-              break;
-            } // case 40
-            case 48: {
-              videoEngagementEnabled_ = input.readBool();
-              bitField0_ |= 0x00000020;
-              break;
-            } // case 48
-            case 56: {
-              fileDownloadsEnabled_ = input.readBool();
-              bitField0_ |= 0x00000040;
-              break;
-            } // case 56
-            case 64: {
-              pageChangesEnabled_ = input.readBool();
-              bitField0_ |= 0x00000080;
-              break;
-            } // case 64
-            case 72: {
-              formInteractionsEnabled_ = input.readBool();
-              bitField0_ |= 0x00000100;
-              break;
-            } // case 72
-            case 82: {
-              searchQueryParameter_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000200;
-              break;
-            } // case 82
-            case 90: {
-              uriQueryParameter_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000400;
-              break;
-            } // case 90
-            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:
+              {
+                streamEnabled_ = input.readBool();
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 16
+            case 24:
+              {
+                scrollsEnabled_ = input.readBool();
+                bitField0_ |= 0x00000004;
+                break;
+              } // case 24
+            case 32:
+              {
+                outboundClicksEnabled_ = input.readBool();
+                bitField0_ |= 0x00000008;
+                break;
+              } // case 32
+            case 40:
+              {
+                siteSearchEnabled_ = input.readBool();
+                bitField0_ |= 0x00000010;
+                break;
+              } // case 40
+            case 48:
+              {
+                videoEngagementEnabled_ = input.readBool();
+                bitField0_ |= 0x00000020;
+                break;
+              } // case 48
+            case 56:
+              {
+                fileDownloadsEnabled_ = input.readBool();
+                bitField0_ |= 0x00000040;
+                break;
+              } // case 56
+            case 64:
+              {
+                pageChangesEnabled_ = input.readBool();
+                bitField0_ |= 0x00000080;
+                break;
+              } // case 64
+            case 72:
+              {
+                formInteractionsEnabled_ = input.readBool();
+                bitField0_ |= 0x00000100;
+                break;
+              } // case 72
+            case 82:
+              {
+                searchQueryParameter_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000200;
+                break;
+              } // case 82
+            case 90:
+              {
+                uriQueryParameter_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000400;
+                break;
+              } // case 90
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -898,10 +952,13 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * Output only. Resource name of the Enhanced Measurement Settings.
      * Format:
@@ -910,13 +967,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; @@ -925,6 +982,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. Resource name of the Enhanced Measurement Settings.
      * Format:
@@ -933,15 +992,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 { @@ -949,6 +1007,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. Resource name of the Enhanced Measurement Settings.
      * Format:
@@ -957,18 +1017,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 the Enhanced Measurement Settings.
      * Format:
@@ -977,6 +1041,7 @@ public Builder setName(
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearName() { @@ -986,6 +1051,8 @@ public Builder clearName() { return this; } /** + * + * *
      * Output only. Resource name of the Enhanced Measurement Settings.
      * Format:
@@ -994,12 +1061,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,8 +1076,10 @@ public Builder setNameBytes( return this; } - private boolean streamEnabled_ ; + private boolean streamEnabled_; /** + * + * *
      * Indicates whether Enhanced Measurement Settings will be used to
      * automatically measure interactions and content on this web stream.
@@ -1018,6 +1089,7 @@ public Builder setNameBytes(
      * 
* * bool stream_enabled = 2; + * * @return The streamEnabled. */ @java.lang.Override @@ -1025,6 +1097,8 @@ public boolean getStreamEnabled() { return streamEnabled_; } /** + * + * *
      * Indicates whether Enhanced Measurement Settings will be used to
      * automatically measure interactions and content on this web stream.
@@ -1034,6 +1108,7 @@ public boolean getStreamEnabled() {
      * 
* * bool stream_enabled = 2; + * * @param value The streamEnabled to set. * @return This builder for chaining. */ @@ -1045,6 +1120,8 @@ public Builder setStreamEnabled(boolean value) { return this; } /** + * + * *
      * Indicates whether Enhanced Measurement Settings will be used to
      * automatically measure interactions and content on this web stream.
@@ -1054,6 +1131,7 @@ public Builder setStreamEnabled(boolean value) {
      * 
* * bool stream_enabled = 2; + * * @return This builder for chaining. */ public Builder clearStreamEnabled() { @@ -1063,14 +1141,17 @@ public Builder clearStreamEnabled() { return this; } - private boolean scrollsEnabled_ ; + private boolean scrollsEnabled_; /** + * + * *
      * If enabled, capture scroll events each time a visitor gets to the bottom of
      * a page.
      * 
* * bool scrolls_enabled = 3; + * * @return The scrollsEnabled. */ @java.lang.Override @@ -1078,12 +1159,15 @@ public boolean getScrollsEnabled() { return scrollsEnabled_; } /** + * + * *
      * If enabled, capture scroll events each time a visitor gets to the bottom of
      * a page.
      * 
* * bool scrolls_enabled = 3; + * * @param value The scrollsEnabled to set. * @return This builder for chaining. */ @@ -1095,12 +1179,15 @@ public Builder setScrollsEnabled(boolean value) { return this; } /** + * + * *
      * If enabled, capture scroll events each time a visitor gets to the bottom of
      * a page.
      * 
* * bool scrolls_enabled = 3; + * * @return This builder for chaining. */ public Builder clearScrollsEnabled() { @@ -1110,14 +1197,17 @@ public Builder clearScrollsEnabled() { return this; } - private boolean outboundClicksEnabled_ ; + private boolean outboundClicksEnabled_; /** + * + * *
      * If enabled, capture an outbound click event each time a visitor clicks a
      * link that leads them away from your domain.
      * 
* * bool outbound_clicks_enabled = 4; + * * @return The outboundClicksEnabled. */ @java.lang.Override @@ -1125,12 +1215,15 @@ public boolean getOutboundClicksEnabled() { return outboundClicksEnabled_; } /** + * + * *
      * If enabled, capture an outbound click event each time a visitor clicks a
      * link that leads them away from your domain.
      * 
* * bool outbound_clicks_enabled = 4; + * * @param value The outboundClicksEnabled to set. * @return This builder for chaining. */ @@ -1142,12 +1235,15 @@ public Builder setOutboundClicksEnabled(boolean value) { return this; } /** + * + * *
      * If enabled, capture an outbound click event each time a visitor clicks a
      * link that leads them away from your domain.
      * 
* * bool outbound_clicks_enabled = 4; + * * @return This builder for chaining. */ public Builder clearOutboundClicksEnabled() { @@ -1157,14 +1253,17 @@ public Builder clearOutboundClicksEnabled() { return this; } - private boolean siteSearchEnabled_ ; + private boolean siteSearchEnabled_; /** + * + * *
      * If enabled, capture a view search results event each time a visitor
      * performs a search on your site (based on a query parameter).
      * 
* * bool site_search_enabled = 5; + * * @return The siteSearchEnabled. */ @java.lang.Override @@ -1172,12 +1271,15 @@ public boolean getSiteSearchEnabled() { return siteSearchEnabled_; } /** + * + * *
      * If enabled, capture a view search results event each time a visitor
      * performs a search on your site (based on a query parameter).
      * 
* * bool site_search_enabled = 5; + * * @param value The siteSearchEnabled to set. * @return This builder for chaining. */ @@ -1189,12 +1291,15 @@ public Builder setSiteSearchEnabled(boolean value) { return this; } /** + * + * *
      * If enabled, capture a view search results event each time a visitor
      * performs a search on your site (based on a query parameter).
      * 
* * bool site_search_enabled = 5; + * * @return This builder for chaining. */ public Builder clearSiteSearchEnabled() { @@ -1204,14 +1309,17 @@ public Builder clearSiteSearchEnabled() { return this; } - private boolean videoEngagementEnabled_ ; + private boolean videoEngagementEnabled_; /** + * + * *
      * If enabled, capture video play, progress, and complete events as visitors
      * view embedded videos on your site.
      * 
* * bool video_engagement_enabled = 6; + * * @return The videoEngagementEnabled. */ @java.lang.Override @@ -1219,12 +1327,15 @@ public boolean getVideoEngagementEnabled() { return videoEngagementEnabled_; } /** + * + * *
      * If enabled, capture video play, progress, and complete events as visitors
      * view embedded videos on your site.
      * 
* * bool video_engagement_enabled = 6; + * * @param value The videoEngagementEnabled to set. * @return This builder for chaining. */ @@ -1236,12 +1347,15 @@ public Builder setVideoEngagementEnabled(boolean value) { return this; } /** + * + * *
      * If enabled, capture video play, progress, and complete events as visitors
      * view embedded videos on your site.
      * 
* * bool video_engagement_enabled = 6; + * * @return This builder for chaining. */ public Builder clearVideoEngagementEnabled() { @@ -1251,14 +1365,17 @@ public Builder clearVideoEngagementEnabled() { return this; } - private boolean fileDownloadsEnabled_ ; + private boolean fileDownloadsEnabled_; /** + * + * *
      * If enabled, capture a file download event each time a link is clicked with
      * a common document, compressed file, application, video, or audio extension.
      * 
* * bool file_downloads_enabled = 7; + * * @return The fileDownloadsEnabled. */ @java.lang.Override @@ -1266,12 +1383,15 @@ public boolean getFileDownloadsEnabled() { return fileDownloadsEnabled_; } /** + * + * *
      * If enabled, capture a file download event each time a link is clicked with
      * a common document, compressed file, application, video, or audio extension.
      * 
* * bool file_downloads_enabled = 7; + * * @param value The fileDownloadsEnabled to set. * @return This builder for chaining. */ @@ -1283,12 +1403,15 @@ public Builder setFileDownloadsEnabled(boolean value) { return this; } /** + * + * *
      * If enabled, capture a file download event each time a link is clicked with
      * a common document, compressed file, application, video, or audio extension.
      * 
* * bool file_downloads_enabled = 7; + * * @return This builder for chaining. */ public Builder clearFileDownloadsEnabled() { @@ -1298,14 +1421,17 @@ public Builder clearFileDownloadsEnabled() { return this; } - private boolean pageChangesEnabled_ ; + private boolean pageChangesEnabled_; /** + * + * *
      * If enabled, capture a page view event each time the website changes the
      * browser history state.
      * 
* * bool page_changes_enabled = 8; + * * @return The pageChangesEnabled. */ @java.lang.Override @@ -1313,12 +1439,15 @@ public boolean getPageChangesEnabled() { return pageChangesEnabled_; } /** + * + * *
      * If enabled, capture a page view event each time the website changes the
      * browser history state.
      * 
* * bool page_changes_enabled = 8; + * * @param value The pageChangesEnabled to set. * @return This builder for chaining. */ @@ -1330,12 +1459,15 @@ public Builder setPageChangesEnabled(boolean value) { return this; } /** + * + * *
      * If enabled, capture a page view event each time the website changes the
      * browser history state.
      * 
* * bool page_changes_enabled = 8; + * * @return This builder for chaining. */ public Builder clearPageChangesEnabled() { @@ -1345,8 +1477,10 @@ public Builder clearPageChangesEnabled() { return this; } - private boolean formInteractionsEnabled_ ; + private boolean formInteractionsEnabled_; /** + * + * *
      * If enabled, capture a form interaction event each time a visitor interacts
      * with a form on your website.
@@ -1354,6 +1488,7 @@ public Builder clearPageChangesEnabled() {
      * 
* * bool form_interactions_enabled = 9; + * * @return The formInteractionsEnabled. */ @java.lang.Override @@ -1361,6 +1496,8 @@ public boolean getFormInteractionsEnabled() { return formInteractionsEnabled_; } /** + * + * *
      * If enabled, capture a form interaction event each time a visitor interacts
      * with a form on your website.
@@ -1368,6 +1505,7 @@ public boolean getFormInteractionsEnabled() {
      * 
* * bool form_interactions_enabled = 9; + * * @param value The formInteractionsEnabled to set. * @return This builder for chaining. */ @@ -1379,6 +1517,8 @@ public Builder setFormInteractionsEnabled(boolean value) { return this; } /** + * + * *
      * If enabled, capture a form interaction event each time a visitor interacts
      * with a form on your website.
@@ -1386,6 +1526,7 @@ public Builder setFormInteractionsEnabled(boolean value) {
      * 
* * bool form_interactions_enabled = 9; + * * @return This builder for chaining. */ public Builder clearFormInteractionsEnabled() { @@ -1397,19 +1538,21 @@ public Builder clearFormInteractionsEnabled() { private java.lang.Object searchQueryParameter_ = ""; /** + * + * *
      * Required. URL query parameters to interpret as site search parameters.
      * Max length is 1024 characters. Must not be empty.
      * 
* * string search_query_parameter = 10 [(.google.api.field_behavior) = REQUIRED]; + * * @return The searchQueryParameter. */ public java.lang.String getSearchQueryParameter() { java.lang.Object ref = searchQueryParameter_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); searchQueryParameter_ = s; return s; @@ -1418,21 +1561,22 @@ public java.lang.String getSearchQueryParameter() { } } /** + * + * *
      * Required. URL query parameters to interpret as site search parameters.
      * Max length is 1024 characters. Must not be empty.
      * 
* * string search_query_parameter = 10 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for searchQueryParameter. */ - public com.google.protobuf.ByteString - getSearchQueryParameterBytes() { + public com.google.protobuf.ByteString getSearchQueryParameterBytes() { java.lang.Object ref = searchQueryParameter_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); searchQueryParameter_ = b; return b; } else { @@ -1440,30 +1584,37 @@ public java.lang.String getSearchQueryParameter() { } } /** + * + * *
      * Required. URL query parameters to interpret as site search parameters.
      * Max length is 1024 characters. Must not be empty.
      * 
* * string search_query_parameter = 10 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The searchQueryParameter to set. * @return This builder for chaining. */ - public Builder setSearchQueryParameter( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setSearchQueryParameter(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } searchQueryParameter_ = value; bitField0_ |= 0x00000200; onChanged(); return this; } /** + * + * *
      * Required. URL query parameters to interpret as site search parameters.
      * Max length is 1024 characters. Must not be empty.
      * 
* * string search_query_parameter = 10 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearSearchQueryParameter() { @@ -1473,18 +1624,22 @@ public Builder clearSearchQueryParameter() { return this; } /** + * + * *
      * Required. URL query parameters to interpret as site search parameters.
      * Max length is 1024 characters. Must not be empty.
      * 
* * string search_query_parameter = 10 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for searchQueryParameter to set. * @return This builder for chaining. */ - public Builder setSearchQueryParameterBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setSearchQueryParameterBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); searchQueryParameter_ = value; bitField0_ |= 0x00000200; @@ -1494,19 +1649,21 @@ public Builder setSearchQueryParameterBytes( private java.lang.Object uriQueryParameter_ = ""; /** + * + * *
      * Additional URL query parameters.
      * Max length is 1024 characters.
      * 
* * string uri_query_parameter = 11; + * * @return The uriQueryParameter. */ public java.lang.String getUriQueryParameter() { java.lang.Object ref = uriQueryParameter_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uriQueryParameter_ = s; return s; @@ -1515,21 +1672,22 @@ public java.lang.String getUriQueryParameter() { } } /** + * + * *
      * Additional URL query parameters.
      * Max length is 1024 characters.
      * 
* * string uri_query_parameter = 11; + * * @return The bytes for uriQueryParameter. */ - public com.google.protobuf.ByteString - getUriQueryParameterBytes() { + public com.google.protobuf.ByteString getUriQueryParameterBytes() { java.lang.Object ref = uriQueryParameter_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); uriQueryParameter_ = b; return b; } else { @@ -1537,30 +1695,37 @@ public java.lang.String getUriQueryParameter() { } } /** + * + * *
      * Additional URL query parameters.
      * Max length is 1024 characters.
      * 
* * string uri_query_parameter = 11; + * * @param value The uriQueryParameter to set. * @return This builder for chaining. */ - public Builder setUriQueryParameter( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setUriQueryParameter(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } uriQueryParameter_ = value; bitField0_ |= 0x00000400; onChanged(); return this; } /** + * + * *
      * Additional URL query parameters.
      * Max length is 1024 characters.
      * 
* * string uri_query_parameter = 11; + * * @return This builder for chaining. */ public Builder clearUriQueryParameter() { @@ -1570,27 +1735,31 @@ public Builder clearUriQueryParameter() { return this; } /** + * + * *
      * Additional URL query parameters.
      * Max length is 1024 characters.
      * 
* * string uri_query_parameter = 11; + * * @param value The bytes for uriQueryParameter to set. * @return This builder for chaining. */ - public Builder setUriQueryParameterBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setUriQueryParameterBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); uriQueryParameter_ = value; bitField0_ |= 0x00000400; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1600,41 +1769,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.EnhancedMeasurementSettings) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.EnhancedMeasurementSettings) - private static final com.google.analytics.admin.v1alpha.EnhancedMeasurementSettings DEFAULT_INSTANCE; + private static final com.google.analytics.admin.v1alpha.EnhancedMeasurementSettings + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.EnhancedMeasurementSettings(); } - public static com.google.analytics.admin.v1alpha.EnhancedMeasurementSettings getDefaultInstance() { + public static com.google.analytics.admin.v1alpha.EnhancedMeasurementSettings + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public EnhancedMeasurementSettings parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public EnhancedMeasurementSettings parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1646,9 +1817,8 @@ public com.google.protobuf.Parser getParserForType( } @java.lang.Override - public com.google.analytics.admin.v1alpha.EnhancedMeasurementSettings getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.EnhancedMeasurementSettings + 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/EnhancedMeasurementSettingsName.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/EnhancedMeasurementSettingsName.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/EnhancedMeasurementSettingsName.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/EnhancedMeasurementSettingsName.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/EnhancedMeasurementSettingsOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/EnhancedMeasurementSettingsOrBuilder.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/EnhancedMeasurementSettingsOrBuilder.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/EnhancedMeasurementSettingsOrBuilder.java index bf3a2f757413..bff253d476bb 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/EnhancedMeasurementSettingsOrBuilder.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/EnhancedMeasurementSettingsOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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 EnhancedMeasurementSettingsOrBuilder extends +public interface EnhancedMeasurementSettingsOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.EnhancedMeasurementSettings) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Output only. Resource name of the Enhanced Measurement Settings.
    * Format:
@@ -16,10 +34,13 @@ public interface EnhancedMeasurementSettingsOrBuilder extends
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Output only. Resource name of the Enhanced Measurement Settings.
    * Format:
@@ -28,12 +49,14 @@ public interface EnhancedMeasurementSettingsOrBuilder 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(); /** + * + * *
    * Indicates whether Enhanced Measurement Settings will be used to
    * automatically measure interactions and content on this web stream.
@@ -43,77 +66,98 @@ public interface EnhancedMeasurementSettingsOrBuilder extends
    * 
* * bool stream_enabled = 2; + * * @return The streamEnabled. */ boolean getStreamEnabled(); /** + * + * *
    * If enabled, capture scroll events each time a visitor gets to the bottom of
    * a page.
    * 
* * bool scrolls_enabled = 3; + * * @return The scrollsEnabled. */ boolean getScrollsEnabled(); /** + * + * *
    * If enabled, capture an outbound click event each time a visitor clicks a
    * link that leads them away from your domain.
    * 
* * bool outbound_clicks_enabled = 4; + * * @return The outboundClicksEnabled. */ boolean getOutboundClicksEnabled(); /** + * + * *
    * If enabled, capture a view search results event each time a visitor
    * performs a search on your site (based on a query parameter).
    * 
* * bool site_search_enabled = 5; + * * @return The siteSearchEnabled. */ boolean getSiteSearchEnabled(); /** + * + * *
    * If enabled, capture video play, progress, and complete events as visitors
    * view embedded videos on your site.
    * 
* * bool video_engagement_enabled = 6; + * * @return The videoEngagementEnabled. */ boolean getVideoEngagementEnabled(); /** + * + * *
    * If enabled, capture a file download event each time a link is clicked with
    * a common document, compressed file, application, video, or audio extension.
    * 
* * bool file_downloads_enabled = 7; + * * @return The fileDownloadsEnabled. */ boolean getFileDownloadsEnabled(); /** + * + * *
    * If enabled, capture a page view event each time the website changes the
    * browser history state.
    * 
* * bool page_changes_enabled = 8; + * * @return The pageChangesEnabled. */ boolean getPageChangesEnabled(); /** + * + * *
    * If enabled, capture a form interaction event each time a visitor interacts
    * with a form on your website.
@@ -121,51 +165,62 @@ public interface EnhancedMeasurementSettingsOrBuilder extends
    * 
* * bool form_interactions_enabled = 9; + * * @return The formInteractionsEnabled. */ boolean getFormInteractionsEnabled(); /** + * + * *
    * Required. URL query parameters to interpret as site search parameters.
    * Max length is 1024 characters. Must not be empty.
    * 
* * string search_query_parameter = 10 [(.google.api.field_behavior) = REQUIRED]; + * * @return The searchQueryParameter. */ java.lang.String getSearchQueryParameter(); /** + * + * *
    * Required. URL query parameters to interpret as site search parameters.
    * Max length is 1024 characters. Must not be empty.
    * 
* * string search_query_parameter = 10 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for searchQueryParameter. */ - com.google.protobuf.ByteString - getSearchQueryParameterBytes(); + com.google.protobuf.ByteString getSearchQueryParameterBytes(); /** + * + * *
    * Additional URL query parameters.
    * Max length is 1024 characters.
    * 
* * string uri_query_parameter = 11; + * * @return The uriQueryParameter. */ java.lang.String getUriQueryParameter(); /** + * + * *
    * Additional URL query parameters.
    * Max length is 1024 characters.
    * 
* * string uri_query_parameter = 11; + * * @return The bytes for uriQueryParameter. */ - com.google.protobuf.ByteString - getUriQueryParameterBytes(); + com.google.protobuf.ByteString getUriQueryParameterBytes(); } diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/EventCreateAndEdit.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/EventCreateAndEdit.java new file mode 100644 index 000000000000..2c199caa9367 --- /dev/null +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/EventCreateAndEdit.java @@ -0,0 +1,131 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/analytics/admin/v1alpha/event_create_and_edit.proto + +package com.google.analytics.admin.v1alpha; + +public final class EventCreateAndEdit { + private EventCreateAndEdit() {} + + 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_ParameterMutation_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_ParameterMutation_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_EventCreateRule_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_EventCreateRule_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_MatchingCondition_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_MatchingCondition_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/event_c" + + "reate_and_edit.proto\022\036google.analytics.a" + + "dmin.v1alpha\032\037google/api/field_behavior." + + "proto\032\031google/api/resource.proto\"K\n\021Para" + + "meterMutation\022\027\n\tparameter\030\001 \001(\tB\004\342A\001\002\022\035" + + "\n\017parameter_value\030\002 \001(\tB\004\342A\001\002\"\225\003\n\017EventC" + + "reateRule\022\022\n\004name\030\001 \001(\tB\004\342A\001\003\022\037\n\021destina" + + "tion_event\030\002 \001(\tB\004\342A\001\002\022Q\n\020event_conditio" + + "ns\030\003 \003(\01321.google.analytics.admin.v1alph" + + "a.MatchingConditionB\004\342A\001\002\022\036\n\026source_copy" + + "_parameters\030\004 \001(\010\022N\n\023parameter_mutations" + + "\030\005 \003(\01321.google.analytics.admin.v1alpha." + + "ParameterMutation:\211\001\352A\205\001\n-analyticsadmin" + + ".googleapis.com/EventCreateRule\022Tpropert" + + "ies/{property}/dataStreams/{data_stream}" + + "/eventCreateRules/{event_create_rule}\"\260\004" + + "\n\021MatchingCondition\022\023\n\005field\030\001 \001(\tB\004\342A\001\002" + + "\022_\n\017comparison_type\030\002 \001(\0162@.google.analy" + + "tics.admin.v1alpha.MatchingCondition.Com" + + "parisonTypeB\004\342A\001\002\022\023\n\005value\030\003 \001(\tB\004\342A\001\002\022\017" + + "\n\007negated\030\004 \001(\010\"\376\002\n\016ComparisonType\022\037\n\033CO" + + "MPARISON_TYPE_UNSPECIFIED\020\000\022\n\n\006EQUALS\020\001\022" + + "\033\n\027EQUALS_CASE_INSENSITIVE\020\002\022\014\n\010CONTAINS" + + "\020\003\022\035\n\031CONTAINS_CASE_INSENSITIVE\020\004\022\017\n\013STA" + + "RTS_WITH\020\005\022 \n\034STARTS_WITH_CASE_INSENSITI" + + "VE\020\006\022\r\n\tENDS_WITH\020\007\022\036\n\032ENDS_WITH_CASE_IN" + + "SENSITIVE\020\010\022\020\n\014GREATER_THAN\020\t\022\031\n\025GREATER" + + "_THAN_OR_EQUAL\020\n\022\r\n\tLESS_THAN\020\013\022\026\n\022LESS_" + + "THAN_OR_EQUAL\020\014\022\026\n\022REGULAR_EXPRESSION\020\r\022" + + "\'\n#REGULAR_EXPRESSION_CASE_INSENSITIVE\020\016" + + "Bf\n\"com.google.analytics.admin.v1alphaP\001" + + "Z>cloud.google.com/go/analytics/admin/ap" + + "iv1alpha/adminpb;adminpbb\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(), + }); + internal_static_google_analytics_admin_v1alpha_ParameterMutation_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_analytics_admin_v1alpha_ParameterMutation_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_ParameterMutation_descriptor, + new java.lang.String[] { + "Parameter", "ParameterValue", + }); + internal_static_google_analytics_admin_v1alpha_EventCreateRule_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_analytics_admin_v1alpha_EventCreateRule_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_EventCreateRule_descriptor, + new java.lang.String[] { + "Name", + "DestinationEvent", + "EventConditions", + "SourceCopyParameters", + "ParameterMutations", + }); + internal_static_google_analytics_admin_v1alpha_MatchingCondition_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_analytics_admin_v1alpha_MatchingCondition_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_MatchingCondition_descriptor, + new java.lang.String[] { + "Field", "ComparisonType", "Value", "Negated", + }); + 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(); + } + + // @@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/EventCreateRule.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/EventCreateRule.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/EventCreateRule.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/EventCreateRule.java index d487ac652598..1971f1cc43fd 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/EventCreateRule.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/EventCreateRule.java @@ -1,9 +1,26 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/event_create_and_edit.proto package com.google.analytics.admin.v1alpha; /** + * + * *
  * An Event Create Rule defines conditions that will trigger the creation
  * of an entirely new event based upon matched criteria of a source event.
@@ -18,15 +35,16 @@
  *
  * Protobuf type {@code google.analytics.admin.v1alpha.EventCreateRule}
  */
-public final class EventCreateRule extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class EventCreateRule extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.EventCreateRule)
     EventCreateRuleOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use EventCreateRule.newBuilder() to construct.
   private EventCreateRule(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private EventCreateRule() {
     name_ = "";
     destinationEvent_ = "";
@@ -36,28 +54,32 @@ private EventCreateRule() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new EventCreateRule();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.analytics.admin.v1alpha.EventCreateAndEdit.internal_static_google_analytics_admin_v1alpha_EventCreateRule_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.analytics.admin.v1alpha.EventCreateAndEdit
+        .internal_static_google_analytics_admin_v1alpha_EventCreateRule_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.analytics.admin.v1alpha.EventCreateAndEdit.internal_static_google_analytics_admin_v1alpha_EventCreateRule_fieldAccessorTable
+    return com.google.analytics.admin.v1alpha.EventCreateAndEdit
+        .internal_static_google_analytics_admin_v1alpha_EventCreateRule_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.analytics.admin.v1alpha.EventCreateRule.class, com.google.analytics.admin.v1alpha.EventCreateRule.Builder.class);
+            com.google.analytics.admin.v1alpha.EventCreateRule.class,
+            com.google.analytics.admin.v1alpha.EventCreateRule.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
+   *
+   *
    * 
    * Output only. Resource name for this EventCreateRule resource.
    * Format:
@@ -65,6 +87,7 @@ protected java.lang.Object newInstance(
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ @java.lang.Override @@ -73,14 +96,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 EventCreateRule resource.
    * Format:
@@ -88,16 +112,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 { @@ -106,9 +129,12 @@ public java.lang.String getName() { } public static final int DESTINATION_EVENT_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object destinationEvent_ = ""; /** + * + * *
    * Required. The name of the new event to be created.
    *
@@ -119,6 +145,7 @@ public java.lang.String getName() {
    * 
* * string destination_event = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The destinationEvent. */ @java.lang.Override @@ -127,14 +154,15 @@ public java.lang.String getDestinationEvent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); destinationEvent_ = s; return s; } } /** + * + * *
    * Required. The name of the new event to be created.
    *
@@ -145,16 +173,15 @@ public java.lang.String getDestinationEvent() {
    * 
* * string destination_event = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for destinationEvent. */ @java.lang.Override - public com.google.protobuf.ByteString - getDestinationEventBytes() { + public com.google.protobuf.ByteString getDestinationEventBytes() { java.lang.Object ref = destinationEvent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); destinationEvent_ = b; return b; } else { @@ -163,64 +190,86 @@ public java.lang.String getDestinationEvent() { } public static final int EVENT_CONDITIONS_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private java.util.List eventConditions_; /** + * + * *
    * Required. Must have at least one condition, and can have up to 10 max.
    * Conditions on the source event must match for this rule to be applied.
    * 
* - * repeated .google.analytics.admin.v1alpha.MatchingCondition event_conditions = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.MatchingCondition event_conditions = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public java.util.List getEventConditionsList() { + public java.util.List + getEventConditionsList() { return eventConditions_; } /** + * + * *
    * Required. Must have at least one condition, and can have up to 10 max.
    * Conditions on the source event must match for this rule to be applied.
    * 
* - * repeated .google.analytics.admin.v1alpha.MatchingCondition event_conditions = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.MatchingCondition event_conditions = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public java.util.List + public java.util.List getEventConditionsOrBuilderList() { return eventConditions_; } /** + * + * *
    * Required. Must have at least one condition, and can have up to 10 max.
    * Conditions on the source event must match for this rule to be applied.
    * 
* - * repeated .google.analytics.admin.v1alpha.MatchingCondition event_conditions = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.MatchingCondition event_conditions = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public int getEventConditionsCount() { return eventConditions_.size(); } /** + * + * *
    * Required. Must have at least one condition, and can have up to 10 max.
    * Conditions on the source event must match for this rule to be applied.
    * 
* - * repeated .google.analytics.admin.v1alpha.MatchingCondition event_conditions = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.MatchingCondition event_conditions = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.analytics.admin.v1alpha.MatchingCondition getEventConditions(int index) { return eventConditions_.get(index); } /** + * + * *
    * Required. Must have at least one condition, and can have up to 10 max.
    * Conditions on the source event must match for this rule to be applied.
    * 
* - * repeated .google.analytics.admin.v1alpha.MatchingCondition event_conditions = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.MatchingCondition event_conditions = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.analytics.admin.v1alpha.MatchingConditionOrBuilder getEventConditionsOrBuilder( @@ -231,6 +280,8 @@ public com.google.analytics.admin.v1alpha.MatchingConditionOrBuilder getEventCon public static final int SOURCE_COPY_PARAMETERS_FIELD_NUMBER = 4; private boolean sourceCopyParameters_ = false; /** + * + * *
    * If true, the source parameters are copied to the new event.
    * If false, or unset, all non-internal parameters are not copied from the
@@ -239,6 +290,7 @@ public com.google.analytics.admin.v1alpha.MatchingConditionOrBuilder getEventCon
    * 
* * bool source_copy_parameters = 4; + * * @return The sourceCopyParameters. */ @java.lang.Override @@ -247,77 +299,95 @@ public boolean getSourceCopyParameters() { } public static final int PARAMETER_MUTATIONS_FIELD_NUMBER = 5; + @SuppressWarnings("serial") private java.util.List parameterMutations_; /** + * + * *
    * Parameter mutations define parameter behavior on the new event, and
    * are applied in order.
    * A maximum of 20 mutations can be applied.
    * 
* - * repeated .google.analytics.admin.v1alpha.ParameterMutation parameter_mutations = 5; + * repeated .google.analytics.admin.v1alpha.ParameterMutation parameter_mutations = 5; + * */ @java.lang.Override - public java.util.List getParameterMutationsList() { + public java.util.List + getParameterMutationsList() { return parameterMutations_; } /** + * + * *
    * Parameter mutations define parameter behavior on the new event, and
    * are applied in order.
    * A maximum of 20 mutations can be applied.
    * 
* - * repeated .google.analytics.admin.v1alpha.ParameterMutation parameter_mutations = 5; + * repeated .google.analytics.admin.v1alpha.ParameterMutation parameter_mutations = 5; + * */ @java.lang.Override - public java.util.List + public java.util.List getParameterMutationsOrBuilderList() { return parameterMutations_; } /** + * + * *
    * Parameter mutations define parameter behavior on the new event, and
    * are applied in order.
    * A maximum of 20 mutations can be applied.
    * 
* - * repeated .google.analytics.admin.v1alpha.ParameterMutation parameter_mutations = 5; + * repeated .google.analytics.admin.v1alpha.ParameterMutation parameter_mutations = 5; + * */ @java.lang.Override public int getParameterMutationsCount() { return parameterMutations_.size(); } /** + * + * *
    * Parameter mutations define parameter behavior on the new event, and
    * are applied in order.
    * A maximum of 20 mutations can be applied.
    * 
* - * repeated .google.analytics.admin.v1alpha.ParameterMutation parameter_mutations = 5; + * repeated .google.analytics.admin.v1alpha.ParameterMutation parameter_mutations = 5; + * */ @java.lang.Override public com.google.analytics.admin.v1alpha.ParameterMutation getParameterMutations(int index) { return parameterMutations_.get(index); } /** + * + * *
    * Parameter mutations define parameter behavior on the new event, and
    * are applied in order.
    * A maximum of 20 mutations can be applied.
    * 
* - * repeated .google.analytics.admin.v1alpha.ParameterMutation parameter_mutations = 5; + * repeated .google.analytics.admin.v1alpha.ParameterMutation parameter_mutations = 5; + * */ @java.lang.Override - public com.google.analytics.admin.v1alpha.ParameterMutationOrBuilder getParameterMutationsOrBuilder( - int index) { + public com.google.analytics.admin.v1alpha.ParameterMutationOrBuilder + getParameterMutationsOrBuilder(int index) { return parameterMutations_.get(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -329,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 { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -362,16 +431,14 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, destinationEvent_); } for (int i = 0; i < eventConditions_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, eventConditions_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, eventConditions_.get(i)); } if (sourceCopyParameters_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(4, sourceCopyParameters_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(4, sourceCopyParameters_); } for (int i = 0; i < parameterMutations_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, parameterMutations_.get(i)); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(5, parameterMutations_.get(i)); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -381,23 +448,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.EventCreateRule)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.EventCreateRule other = (com.google.analytics.admin.v1alpha.EventCreateRule) obj; - - if (!getName() - .equals(other.getName())) return false; - if (!getDestinationEvent() - .equals(other.getDestinationEvent())) return false; - if (!getEventConditionsList() - .equals(other.getEventConditionsList())) return false; - if (getSourceCopyParameters() - != other.getSourceCopyParameters()) return false; - if (!getParameterMutationsList() - .equals(other.getParameterMutationsList())) return false; + com.google.analytics.admin.v1alpha.EventCreateRule other = + (com.google.analytics.admin.v1alpha.EventCreateRule) obj; + + if (!getName().equals(other.getName())) return false; + if (!getDestinationEvent().equals(other.getDestinationEvent())) return false; + if (!getEventConditionsList().equals(other.getEventConditionsList())) return false; + if (getSourceCopyParameters() != other.getSourceCopyParameters()) return false; + if (!getParameterMutationsList().equals(other.getParameterMutationsList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -418,8 +481,7 @@ public int hashCode() { hash = (53 * hash) + getEventConditionsList().hashCode(); } hash = (37 * hash) + SOURCE_COPY_PARAMETERS_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getSourceCopyParameters()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getSourceCopyParameters()); if (getParameterMutationsCount() > 0) { hash = (37 * hash) + PARAMETER_MUTATIONS_FIELD_NUMBER; hash = (53 * hash) + getParameterMutationsList().hashCode(); @@ -430,98 +492,103 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.EventCreateRule parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.EventCreateRule parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.EventCreateRule parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.EventCreateRule parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.EventCreateRule parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.EventCreateRule parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.EventCreateRule parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.EventCreateRule parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.EventCreateRule parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.EventCreateRule parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.EventCreateRule parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.analytics.admin.v1alpha.EventCreateRule parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.EventCreateRule parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.EventCreateRule parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.analytics.admin.v1alpha.EventCreateRule prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 Event Create Rule defines conditions that will trigger the creation
    * of an entirely new event based upon matched criteria of a source event.
@@ -536,33 +603,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.analytics.admin.v1alpha.EventCreateRule}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.EventCreateRule)
       com.google.analytics.admin.v1alpha.EventCreateRuleOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.analytics.admin.v1alpha.EventCreateAndEdit.internal_static_google_analytics_admin_v1alpha_EventCreateRule_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.analytics.admin.v1alpha.EventCreateAndEdit
+          .internal_static_google_analytics_admin_v1alpha_EventCreateRule_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.analytics.admin.v1alpha.EventCreateAndEdit.internal_static_google_analytics_admin_v1alpha_EventCreateRule_fieldAccessorTable
+      return com.google.analytics.admin.v1alpha.EventCreateAndEdit
+          .internal_static_google_analytics_admin_v1alpha_EventCreateRule_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.analytics.admin.v1alpha.EventCreateRule.class, com.google.analytics.admin.v1alpha.EventCreateRule.Builder.class);
+              com.google.analytics.admin.v1alpha.EventCreateRule.class,
+              com.google.analytics.admin.v1alpha.EventCreateRule.Builder.class);
     }
 
     // Construct using com.google.analytics.admin.v1alpha.EventCreateRule.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();
@@ -588,9 +654,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.analytics.admin.v1alpha.EventCreateAndEdit.internal_static_google_analytics_admin_v1alpha_EventCreateRule_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.analytics.admin.v1alpha.EventCreateAndEdit
+          .internal_static_google_analytics_admin_v1alpha_EventCreateRule_descriptor;
     }
 
     @java.lang.Override
@@ -609,14 +675,18 @@ public com.google.analytics.admin.v1alpha.EventCreateRule build() {
 
     @java.lang.Override
     public com.google.analytics.admin.v1alpha.EventCreateRule buildPartial() {
-      com.google.analytics.admin.v1alpha.EventCreateRule result = new com.google.analytics.admin.v1alpha.EventCreateRule(this);
+      com.google.analytics.admin.v1alpha.EventCreateRule result =
+          new com.google.analytics.admin.v1alpha.EventCreateRule(this);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
 
-    private void buildPartialRepeatedFields(com.google.analytics.admin.v1alpha.EventCreateRule result) {
+    private void buildPartialRepeatedFields(
+        com.google.analytics.admin.v1alpha.EventCreateRule result) {
       if (eventConditionsBuilder_ == null) {
         if (((bitField0_ & 0x00000004) != 0)) {
           eventConditions_ = java.util.Collections.unmodifiableList(eventConditions_);
@@ -654,38 +724,39 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.EventCreateRule 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.EventCreateRule) {
-        return mergeFrom((com.google.analytics.admin.v1alpha.EventCreateRule)other);
+        return mergeFrom((com.google.analytics.admin.v1alpha.EventCreateRule) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -693,7 +764,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.analytics.admin.v1alpha.EventCreateRule other) {
-      if (other == com.google.analytics.admin.v1alpha.EventCreateRule.getDefaultInstance()) return this;
+      if (other == com.google.analytics.admin.v1alpha.EventCreateRule.getDefaultInstance())
+        return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         bitField0_ |= 0x00000001;
@@ -722,9 +794,10 @@ public Builder mergeFrom(com.google.analytics.admin.v1alpha.EventCreateRule othe
             eventConditionsBuilder_ = null;
             eventConditions_ = other.eventConditions_;
             bitField0_ = (bitField0_ & ~0x00000004);
-            eventConditionsBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getEventConditionsFieldBuilder() : null;
+            eventConditionsBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getEventConditionsFieldBuilder()
+                    : null;
           } else {
             eventConditionsBuilder_.addAllMessages(other.eventConditions_);
           }
@@ -751,9 +824,10 @@ public Builder mergeFrom(com.google.analytics.admin.v1alpha.EventCreateRule othe
             parameterMutationsBuilder_ = null;
             parameterMutations_ = other.parameterMutations_;
             bitField0_ = (bitField0_ & ~0x00000010);
-            parameterMutationsBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getParameterMutationsFieldBuilder() : null;
+            parameterMutationsBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getParameterMutationsFieldBuilder()
+                    : null;
           } else {
             parameterMutationsBuilder_.addAllMessages(other.parameterMutations_);
           }
@@ -785,53 +859,59 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              name_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 18: {
-              destinationEvent_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 18
-            case 26: {
-              com.google.analytics.admin.v1alpha.MatchingCondition m =
-                  input.readMessage(
-                      com.google.analytics.admin.v1alpha.MatchingCondition.parser(),
-                      extensionRegistry);
-              if (eventConditionsBuilder_ == null) {
-                ensureEventConditionsIsMutable();
-                eventConditions_.add(m);
-              } else {
-                eventConditionsBuilder_.addMessage(m);
-              }
-              break;
-            } // case 26
-            case 32: {
-              sourceCopyParameters_ = input.readBool();
-              bitField0_ |= 0x00000008;
-              break;
-            } // case 32
-            case 42: {
-              com.google.analytics.admin.v1alpha.ParameterMutation m =
-                  input.readMessage(
-                      com.google.analytics.admin.v1alpha.ParameterMutation.parser(),
-                      extensionRegistry);
-              if (parameterMutationsBuilder_ == null) {
-                ensureParameterMutationsIsMutable();
-                parameterMutations_.add(m);
-              } else {
-                parameterMutationsBuilder_.addMessage(m);
-              }
-              break;
-            } // case 42
-            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:
+              {
+                destinationEvent_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 18
+            case 26:
+              {
+                com.google.analytics.admin.v1alpha.MatchingCondition m =
+                    input.readMessage(
+                        com.google.analytics.admin.v1alpha.MatchingCondition.parser(),
+                        extensionRegistry);
+                if (eventConditionsBuilder_ == null) {
+                  ensureEventConditionsIsMutable();
+                  eventConditions_.add(m);
+                } else {
+                  eventConditionsBuilder_.addMessage(m);
+                }
+                break;
+              } // case 26
+            case 32:
+              {
+                sourceCopyParameters_ = input.readBool();
+                bitField0_ |= 0x00000008;
+                break;
+              } // case 32
+            case 42:
+              {
+                com.google.analytics.admin.v1alpha.ParameterMutation m =
+                    input.readMessage(
+                        com.google.analytics.admin.v1alpha.ParameterMutation.parser(),
+                        extensionRegistry);
+                if (parameterMutationsBuilder_ == null) {
+                  ensureParameterMutationsIsMutable();
+                  parameterMutations_.add(m);
+                } else {
+                  parameterMutationsBuilder_.addMessage(m);
+                }
+                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) {
@@ -841,10 +921,13 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * Output only. Resource name for this EventCreateRule resource.
      * Format:
@@ -852,13 +935,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 +950,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. Resource name for this EventCreateRule resource.
      * Format:
@@ -874,15 +959,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 +974,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. Resource name for this EventCreateRule resource.
      * Format:
@@ -897,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. Resource name for this EventCreateRule resource.
      * Format:
@@ -916,6 +1006,7 @@ public Builder setName(
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearName() { @@ -925,6 +1016,8 @@ public Builder clearName() { return this; } /** + * + * *
      * Output only. Resource name for this EventCreateRule resource.
      * Format:
@@ -932,12 +1025,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,6 +1042,8 @@ public Builder setNameBytes( private java.lang.Object destinationEvent_ = ""; /** + * + * *
      * Required. The name of the new event to be created.
      *
@@ -957,13 +1054,13 @@ public Builder setNameBytes(
      * 
* * string destination_event = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The destinationEvent. */ public java.lang.String getDestinationEvent() { java.lang.Object ref = destinationEvent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); destinationEvent_ = s; return s; @@ -972,6 +1069,8 @@ public java.lang.String getDestinationEvent() { } } /** + * + * *
      * Required. The name of the new event to be created.
      *
@@ -982,15 +1081,14 @@ public java.lang.String getDestinationEvent() {
      * 
* * string destination_event = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for destinationEvent. */ - public com.google.protobuf.ByteString - getDestinationEventBytes() { + public com.google.protobuf.ByteString getDestinationEventBytes() { java.lang.Object ref = destinationEvent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); destinationEvent_ = b; return b; } else { @@ -998,6 +1096,8 @@ public java.lang.String getDestinationEvent() { } } /** + * + * *
      * Required. The name of the new event to be created.
      *
@@ -1008,18 +1108,22 @@ public java.lang.String getDestinationEvent() {
      * 
* * string destination_event = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The destinationEvent to set. * @return This builder for chaining. */ - public Builder setDestinationEvent( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDestinationEvent(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } destinationEvent_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Required. The name of the new event to be created.
      *
@@ -1030,6 +1134,7 @@ public Builder setDestinationEvent(
      * 
* * string destination_event = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearDestinationEvent() { @@ -1039,6 +1144,8 @@ public Builder clearDestinationEvent() { return this; } /** + * + * *
      * Required. The name of the new event to be created.
      *
@@ -1049,12 +1156,14 @@ public Builder clearDestinationEvent() {
      * 
* * string destination_event = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for destinationEvent to set. * @return This builder for chaining. */ - public Builder setDestinationEventBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDestinationEventBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); destinationEvent_ = value; bitField0_ |= 0x00000002; @@ -1063,26 +1172,37 @@ public Builder setDestinationEventBytes( } private java.util.List eventConditions_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureEventConditionsIsMutable() { if (!((bitField0_ & 0x00000004) != 0)) { - eventConditions_ = new java.util.ArrayList(eventConditions_); + eventConditions_ = + new java.util.ArrayList( + eventConditions_); bitField0_ |= 0x00000004; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.MatchingCondition, com.google.analytics.admin.v1alpha.MatchingCondition.Builder, com.google.analytics.admin.v1alpha.MatchingConditionOrBuilder> eventConditionsBuilder_; + com.google.analytics.admin.v1alpha.MatchingCondition, + com.google.analytics.admin.v1alpha.MatchingCondition.Builder, + com.google.analytics.admin.v1alpha.MatchingConditionOrBuilder> + eventConditionsBuilder_; /** + * + * *
      * Required. Must have at least one condition, and can have up to 10 max.
      * Conditions on the source event must match for this rule to be applied.
      * 
* - * repeated .google.analytics.admin.v1alpha.MatchingCondition event_conditions = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.MatchingCondition event_conditions = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ - public java.util.List getEventConditionsList() { + public java.util.List + getEventConditionsList() { if (eventConditionsBuilder_ == null) { return java.util.Collections.unmodifiableList(eventConditions_); } else { @@ -1090,12 +1210,16 @@ public java.util.List getE } } /** + * + * *
      * Required. Must have at least one condition, and can have up to 10 max.
      * Conditions on the source event must match for this rule to be applied.
      * 
* - * repeated .google.analytics.admin.v1alpha.MatchingCondition event_conditions = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.MatchingCondition event_conditions = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public int getEventConditionsCount() { if (eventConditionsBuilder_ == null) { @@ -1105,12 +1229,16 @@ public int getEventConditionsCount() { } } /** + * + * *
      * Required. Must have at least one condition, and can have up to 10 max.
      * Conditions on the source event must match for this rule to be applied.
      * 
* - * repeated .google.analytics.admin.v1alpha.MatchingCondition event_conditions = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.MatchingCondition event_conditions = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.analytics.admin.v1alpha.MatchingCondition getEventConditions(int index) { if (eventConditionsBuilder_ == null) { @@ -1120,12 +1248,16 @@ public com.google.analytics.admin.v1alpha.MatchingCondition getEventConditions(i } } /** + * + * *
      * Required. Must have at least one condition, and can have up to 10 max.
      * Conditions on the source event must match for this rule to be applied.
      * 
* - * repeated .google.analytics.admin.v1alpha.MatchingCondition event_conditions = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.MatchingCondition event_conditions = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setEventConditions( int index, com.google.analytics.admin.v1alpha.MatchingCondition value) { @@ -1142,12 +1274,16 @@ public Builder setEventConditions( return this; } /** + * + * *
      * Required. Must have at least one condition, and can have up to 10 max.
      * Conditions on the source event must match for this rule to be applied.
      * 
* - * repeated .google.analytics.admin.v1alpha.MatchingCondition event_conditions = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.MatchingCondition event_conditions = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setEventConditions( int index, com.google.analytics.admin.v1alpha.MatchingCondition.Builder builderForValue) { @@ -1161,12 +1297,16 @@ public Builder setEventConditions( return this; } /** + * + * *
      * Required. Must have at least one condition, and can have up to 10 max.
      * Conditions on the source event must match for this rule to be applied.
      * 
* - * repeated .google.analytics.admin.v1alpha.MatchingCondition event_conditions = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.MatchingCondition event_conditions = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder addEventConditions(com.google.analytics.admin.v1alpha.MatchingCondition value) { if (eventConditionsBuilder_ == null) { @@ -1182,12 +1322,16 @@ public Builder addEventConditions(com.google.analytics.admin.v1alpha.MatchingCon return this; } /** + * + * *
      * Required. Must have at least one condition, and can have up to 10 max.
      * Conditions on the source event must match for this rule to be applied.
      * 
* - * repeated .google.analytics.admin.v1alpha.MatchingCondition event_conditions = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.MatchingCondition event_conditions = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder addEventConditions( int index, com.google.analytics.admin.v1alpha.MatchingCondition value) { @@ -1204,12 +1348,16 @@ public Builder addEventConditions( return this; } /** + * + * *
      * Required. Must have at least one condition, and can have up to 10 max.
      * Conditions on the source event must match for this rule to be applied.
      * 
* - * repeated .google.analytics.admin.v1alpha.MatchingCondition event_conditions = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.MatchingCondition event_conditions = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder addEventConditions( com.google.analytics.admin.v1alpha.MatchingCondition.Builder builderForValue) { @@ -1223,12 +1371,16 @@ public Builder addEventConditions( return this; } /** + * + * *
      * Required. Must have at least one condition, and can have up to 10 max.
      * Conditions on the source event must match for this rule to be applied.
      * 
* - * repeated .google.analytics.admin.v1alpha.MatchingCondition event_conditions = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.MatchingCondition event_conditions = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder addEventConditions( int index, com.google.analytics.admin.v1alpha.MatchingCondition.Builder builderForValue) { @@ -1242,19 +1394,22 @@ public Builder addEventConditions( return this; } /** + * + * *
      * Required. Must have at least one condition, and can have up to 10 max.
      * Conditions on the source event must match for this rule to be applied.
      * 
* - * repeated .google.analytics.admin.v1alpha.MatchingCondition event_conditions = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.MatchingCondition event_conditions = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder addAllEventConditions( java.lang.Iterable values) { if (eventConditionsBuilder_ == null) { ensureEventConditionsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, eventConditions_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, eventConditions_); onChanged(); } else { eventConditionsBuilder_.addAllMessages(values); @@ -1262,12 +1417,16 @@ public Builder addAllEventConditions( return this; } /** + * + * *
      * Required. Must have at least one condition, and can have up to 10 max.
      * Conditions on the source event must match for this rule to be applied.
      * 
* - * repeated .google.analytics.admin.v1alpha.MatchingCondition event_conditions = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.MatchingCondition event_conditions = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearEventConditions() { if (eventConditionsBuilder_ == null) { @@ -1280,12 +1439,16 @@ public Builder clearEventConditions() { return this; } /** + * + * *
      * Required. Must have at least one condition, and can have up to 10 max.
      * Conditions on the source event must match for this rule to be applied.
      * 
* - * repeated .google.analytics.admin.v1alpha.MatchingCondition event_conditions = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.MatchingCondition event_conditions = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder removeEventConditions(int index) { if (eventConditionsBuilder_ == null) { @@ -1298,42 +1461,55 @@ public Builder removeEventConditions(int index) { return this; } /** + * + * *
      * Required. Must have at least one condition, and can have up to 10 max.
      * Conditions on the source event must match for this rule to be applied.
      * 
* - * repeated .google.analytics.admin.v1alpha.MatchingCondition event_conditions = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.MatchingCondition event_conditions = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.analytics.admin.v1alpha.MatchingCondition.Builder getEventConditionsBuilder( int index) { return getEventConditionsFieldBuilder().getBuilder(index); } /** + * + * *
      * Required. Must have at least one condition, and can have up to 10 max.
      * Conditions on the source event must match for this rule to be applied.
      * 
* - * repeated .google.analytics.admin.v1alpha.MatchingCondition event_conditions = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.MatchingCondition event_conditions = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.analytics.admin.v1alpha.MatchingConditionOrBuilder getEventConditionsOrBuilder( - int index) { + public com.google.analytics.admin.v1alpha.MatchingConditionOrBuilder + getEventConditionsOrBuilder(int index) { if (eventConditionsBuilder_ == null) { - return eventConditions_.get(index); } else { + return eventConditions_.get(index); + } else { return eventConditionsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Required. Must have at least one condition, and can have up to 10 max.
      * Conditions on the source event must match for this rule to be applied.
      * 
* - * repeated .google.analytics.admin.v1alpha.MatchingCondition event_conditions = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.MatchingCondition event_conditions = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ - public java.util.List - getEventConditionsOrBuilderList() { + public java.util.List + getEventConditionsOrBuilderList() { if (eventConditionsBuilder_ != null) { return eventConditionsBuilder_.getMessageOrBuilderList(); } else { @@ -1341,48 +1517,68 @@ public com.google.analytics.admin.v1alpha.MatchingConditionOrBuilder getEventCon } } /** + * + * *
      * Required. Must have at least one condition, and can have up to 10 max.
      * Conditions on the source event must match for this rule to be applied.
      * 
* - * repeated .google.analytics.admin.v1alpha.MatchingCondition event_conditions = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.MatchingCondition event_conditions = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.analytics.admin.v1alpha.MatchingCondition.Builder addEventConditionsBuilder() { - return getEventConditionsFieldBuilder().addBuilder( - com.google.analytics.admin.v1alpha.MatchingCondition.getDefaultInstance()); + public com.google.analytics.admin.v1alpha.MatchingCondition.Builder + addEventConditionsBuilder() { + return getEventConditionsFieldBuilder() + .addBuilder(com.google.analytics.admin.v1alpha.MatchingCondition.getDefaultInstance()); } /** + * + * *
      * Required. Must have at least one condition, and can have up to 10 max.
      * Conditions on the source event must match for this rule to be applied.
      * 
* - * repeated .google.analytics.admin.v1alpha.MatchingCondition event_conditions = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.MatchingCondition event_conditions = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.analytics.admin.v1alpha.MatchingCondition.Builder addEventConditionsBuilder( int index) { - return getEventConditionsFieldBuilder().addBuilder( - index, com.google.analytics.admin.v1alpha.MatchingCondition.getDefaultInstance()); + return getEventConditionsFieldBuilder() + .addBuilder( + index, com.google.analytics.admin.v1alpha.MatchingCondition.getDefaultInstance()); } /** + * + * *
      * Required. Must have at least one condition, and can have up to 10 max.
      * Conditions on the source event must match for this rule to be applied.
      * 
* - * repeated .google.analytics.admin.v1alpha.MatchingCondition event_conditions = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.MatchingCondition event_conditions = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ - public java.util.List - getEventConditionsBuilderList() { + public java.util.List + getEventConditionsBuilderList() { return getEventConditionsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.MatchingCondition, com.google.analytics.admin.v1alpha.MatchingCondition.Builder, com.google.analytics.admin.v1alpha.MatchingConditionOrBuilder> + com.google.analytics.admin.v1alpha.MatchingCondition, + com.google.analytics.admin.v1alpha.MatchingCondition.Builder, + com.google.analytics.admin.v1alpha.MatchingConditionOrBuilder> getEventConditionsFieldBuilder() { if (eventConditionsBuilder_ == null) { - eventConditionsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.MatchingCondition, com.google.analytics.admin.v1alpha.MatchingCondition.Builder, com.google.analytics.admin.v1alpha.MatchingConditionOrBuilder>( + eventConditionsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.analytics.admin.v1alpha.MatchingCondition, + com.google.analytics.admin.v1alpha.MatchingCondition.Builder, + com.google.analytics.admin.v1alpha.MatchingConditionOrBuilder>( eventConditions_, ((bitField0_ & 0x00000004) != 0), getParentForChildren(), @@ -1392,8 +1588,10 @@ public com.google.analytics.admin.v1alpha.MatchingCondition.Builder addEventCond return eventConditionsBuilder_; } - private boolean sourceCopyParameters_ ; + private boolean sourceCopyParameters_; /** + * + * *
      * If true, the source parameters are copied to the new event.
      * If false, or unset, all non-internal parameters are not copied from the
@@ -1402,6 +1600,7 @@ public com.google.analytics.admin.v1alpha.MatchingCondition.Builder addEventCond
      * 
* * bool source_copy_parameters = 4; + * * @return The sourceCopyParameters. */ @java.lang.Override @@ -1409,6 +1608,8 @@ public boolean getSourceCopyParameters() { return sourceCopyParameters_; } /** + * + * *
      * If true, the source parameters are copied to the new event.
      * If false, or unset, all non-internal parameters are not copied from the
@@ -1417,6 +1618,7 @@ public boolean getSourceCopyParameters() {
      * 
* * bool source_copy_parameters = 4; + * * @param value The sourceCopyParameters to set. * @return This builder for chaining. */ @@ -1428,6 +1630,8 @@ public Builder setSourceCopyParameters(boolean value) { return this; } /** + * + * *
      * If true, the source parameters are copied to the new event.
      * If false, or unset, all non-internal parameters are not copied from the
@@ -1436,6 +1640,7 @@ public Builder setSourceCopyParameters(boolean value) {
      * 
* * bool source_copy_parameters = 4; + * * @return This builder for chaining. */ public Builder clearSourceCopyParameters() { @@ -1445,28 +1650,38 @@ public Builder clearSourceCopyParameters() { return this; } - private java.util.List parameterMutations_ = - java.util.Collections.emptyList(); + private java.util.List + parameterMutations_ = java.util.Collections.emptyList(); + private void ensureParameterMutationsIsMutable() { if (!((bitField0_ & 0x00000010) != 0)) { - parameterMutations_ = new java.util.ArrayList(parameterMutations_); + parameterMutations_ = + new java.util.ArrayList( + parameterMutations_); bitField0_ |= 0x00000010; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.ParameterMutation, com.google.analytics.admin.v1alpha.ParameterMutation.Builder, com.google.analytics.admin.v1alpha.ParameterMutationOrBuilder> parameterMutationsBuilder_; + com.google.analytics.admin.v1alpha.ParameterMutation, + com.google.analytics.admin.v1alpha.ParameterMutation.Builder, + com.google.analytics.admin.v1alpha.ParameterMutationOrBuilder> + parameterMutationsBuilder_; /** + * + * *
      * Parameter mutations define parameter behavior on the new event, and
      * are applied in order.
      * A maximum of 20 mutations can be applied.
      * 
* - * repeated .google.analytics.admin.v1alpha.ParameterMutation parameter_mutations = 5; + * repeated .google.analytics.admin.v1alpha.ParameterMutation parameter_mutations = 5; + * */ - public java.util.List getParameterMutationsList() { + public java.util.List + getParameterMutationsList() { if (parameterMutationsBuilder_ == null) { return java.util.Collections.unmodifiableList(parameterMutations_); } else { @@ -1474,13 +1689,16 @@ public java.util.List getP } } /** + * + * *
      * Parameter mutations define parameter behavior on the new event, and
      * are applied in order.
      * A maximum of 20 mutations can be applied.
      * 
* - * repeated .google.analytics.admin.v1alpha.ParameterMutation parameter_mutations = 5; + * repeated .google.analytics.admin.v1alpha.ParameterMutation parameter_mutations = 5; + * */ public int getParameterMutationsCount() { if (parameterMutationsBuilder_ == null) { @@ -1490,13 +1708,16 @@ public int getParameterMutationsCount() { } } /** + * + * *
      * Parameter mutations define parameter behavior on the new event, and
      * are applied in order.
      * A maximum of 20 mutations can be applied.
      * 
* - * repeated .google.analytics.admin.v1alpha.ParameterMutation parameter_mutations = 5; + * repeated .google.analytics.admin.v1alpha.ParameterMutation parameter_mutations = 5; + * */ public com.google.analytics.admin.v1alpha.ParameterMutation getParameterMutations(int index) { if (parameterMutationsBuilder_ == null) { @@ -1506,13 +1727,16 @@ public com.google.analytics.admin.v1alpha.ParameterMutation getParameterMutation } } /** + * + * *
      * Parameter mutations define parameter behavior on the new event, and
      * are applied in order.
      * A maximum of 20 mutations can be applied.
      * 
* - * repeated .google.analytics.admin.v1alpha.ParameterMutation parameter_mutations = 5; + * repeated .google.analytics.admin.v1alpha.ParameterMutation parameter_mutations = 5; + * */ public Builder setParameterMutations( int index, com.google.analytics.admin.v1alpha.ParameterMutation value) { @@ -1529,13 +1753,16 @@ public Builder setParameterMutations( return this; } /** + * + * *
      * Parameter mutations define parameter behavior on the new event, and
      * are applied in order.
      * A maximum of 20 mutations can be applied.
      * 
* - * repeated .google.analytics.admin.v1alpha.ParameterMutation parameter_mutations = 5; + * repeated .google.analytics.admin.v1alpha.ParameterMutation parameter_mutations = 5; + * */ public Builder setParameterMutations( int index, com.google.analytics.admin.v1alpha.ParameterMutation.Builder builderForValue) { @@ -1549,15 +1776,19 @@ public Builder setParameterMutations( return this; } /** + * + * *
      * Parameter mutations define parameter behavior on the new event, and
      * are applied in order.
      * A maximum of 20 mutations can be applied.
      * 
* - * repeated .google.analytics.admin.v1alpha.ParameterMutation parameter_mutations = 5; + * repeated .google.analytics.admin.v1alpha.ParameterMutation parameter_mutations = 5; + * */ - public Builder addParameterMutations(com.google.analytics.admin.v1alpha.ParameterMutation value) { + public Builder addParameterMutations( + com.google.analytics.admin.v1alpha.ParameterMutation value) { if (parameterMutationsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1571,13 +1802,16 @@ public Builder addParameterMutations(com.google.analytics.admin.v1alpha.Paramete return this; } /** + * + * *
      * Parameter mutations define parameter behavior on the new event, and
      * are applied in order.
      * A maximum of 20 mutations can be applied.
      * 
* - * repeated .google.analytics.admin.v1alpha.ParameterMutation parameter_mutations = 5; + * repeated .google.analytics.admin.v1alpha.ParameterMutation parameter_mutations = 5; + * */ public Builder addParameterMutations( int index, com.google.analytics.admin.v1alpha.ParameterMutation value) { @@ -1594,13 +1828,16 @@ public Builder addParameterMutations( return this; } /** + * + * *
      * Parameter mutations define parameter behavior on the new event, and
      * are applied in order.
      * A maximum of 20 mutations can be applied.
      * 
* - * repeated .google.analytics.admin.v1alpha.ParameterMutation parameter_mutations = 5; + * repeated .google.analytics.admin.v1alpha.ParameterMutation parameter_mutations = 5; + * */ public Builder addParameterMutations( com.google.analytics.admin.v1alpha.ParameterMutation.Builder builderForValue) { @@ -1614,13 +1851,16 @@ public Builder addParameterMutations( return this; } /** + * + * *
      * Parameter mutations define parameter behavior on the new event, and
      * are applied in order.
      * A maximum of 20 mutations can be applied.
      * 
* - * repeated .google.analytics.admin.v1alpha.ParameterMutation parameter_mutations = 5; + * repeated .google.analytics.admin.v1alpha.ParameterMutation parameter_mutations = 5; + * */ public Builder addParameterMutations( int index, com.google.analytics.admin.v1alpha.ParameterMutation.Builder builderForValue) { @@ -1634,20 +1874,22 @@ public Builder addParameterMutations( return this; } /** + * + * *
      * Parameter mutations define parameter behavior on the new event, and
      * are applied in order.
      * A maximum of 20 mutations can be applied.
      * 
* - * repeated .google.analytics.admin.v1alpha.ParameterMutation parameter_mutations = 5; + * repeated .google.analytics.admin.v1alpha.ParameterMutation parameter_mutations = 5; + * */ public Builder addAllParameterMutations( java.lang.Iterable values) { if (parameterMutationsBuilder_ == null) { ensureParameterMutationsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, parameterMutations_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, parameterMutations_); onChanged(); } else { parameterMutationsBuilder_.addAllMessages(values); @@ -1655,13 +1897,16 @@ public Builder addAllParameterMutations( return this; } /** + * + * *
      * Parameter mutations define parameter behavior on the new event, and
      * are applied in order.
      * A maximum of 20 mutations can be applied.
      * 
* - * repeated .google.analytics.admin.v1alpha.ParameterMutation parameter_mutations = 5; + * repeated .google.analytics.admin.v1alpha.ParameterMutation parameter_mutations = 5; + * */ public Builder clearParameterMutations() { if (parameterMutationsBuilder_ == null) { @@ -1674,13 +1919,16 @@ public Builder clearParameterMutations() { return this; } /** + * + * *
      * Parameter mutations define parameter behavior on the new event, and
      * are applied in order.
      * A maximum of 20 mutations can be applied.
      * 
* - * repeated .google.analytics.admin.v1alpha.ParameterMutation parameter_mutations = 5; + * repeated .google.analytics.admin.v1alpha.ParameterMutation parameter_mutations = 5; + * */ public Builder removeParameterMutations(int index) { if (parameterMutationsBuilder_ == null) { @@ -1693,45 +1941,55 @@ public Builder removeParameterMutations(int index) { return this; } /** + * + * *
      * Parameter mutations define parameter behavior on the new event, and
      * are applied in order.
      * A maximum of 20 mutations can be applied.
      * 
* - * repeated .google.analytics.admin.v1alpha.ParameterMutation parameter_mutations = 5; + * repeated .google.analytics.admin.v1alpha.ParameterMutation parameter_mutations = 5; + * */ - public com.google.analytics.admin.v1alpha.ParameterMutation.Builder getParameterMutationsBuilder( - int index) { + public com.google.analytics.admin.v1alpha.ParameterMutation.Builder + getParameterMutationsBuilder(int index) { return getParameterMutationsFieldBuilder().getBuilder(index); } /** + * + * *
      * Parameter mutations define parameter behavior on the new event, and
      * are applied in order.
      * A maximum of 20 mutations can be applied.
      * 
* - * repeated .google.analytics.admin.v1alpha.ParameterMutation parameter_mutations = 5; + * repeated .google.analytics.admin.v1alpha.ParameterMutation parameter_mutations = 5; + * */ - public com.google.analytics.admin.v1alpha.ParameterMutationOrBuilder getParameterMutationsOrBuilder( - int index) { + public com.google.analytics.admin.v1alpha.ParameterMutationOrBuilder + getParameterMutationsOrBuilder(int index) { if (parameterMutationsBuilder_ == null) { - return parameterMutations_.get(index); } else { + return parameterMutations_.get(index); + } else { return parameterMutationsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Parameter mutations define parameter behavior on the new event, and
      * are applied in order.
      * A maximum of 20 mutations can be applied.
      * 
* - * repeated .google.analytics.admin.v1alpha.ParameterMutation parameter_mutations = 5; + * repeated .google.analytics.admin.v1alpha.ParameterMutation parameter_mutations = 5; + * */ - public java.util.List - getParameterMutationsOrBuilderList() { + public java.util.List + getParameterMutationsOrBuilderList() { if (parameterMutationsBuilder_ != null) { return parameterMutationsBuilder_.getMessageOrBuilderList(); } else { @@ -1739,51 +1997,68 @@ public com.google.analytics.admin.v1alpha.ParameterMutationOrBuilder getParamete } } /** + * + * *
      * Parameter mutations define parameter behavior on the new event, and
      * are applied in order.
      * A maximum of 20 mutations can be applied.
      * 
* - * repeated .google.analytics.admin.v1alpha.ParameterMutation parameter_mutations = 5; + * repeated .google.analytics.admin.v1alpha.ParameterMutation parameter_mutations = 5; + * */ - public com.google.analytics.admin.v1alpha.ParameterMutation.Builder addParameterMutationsBuilder() { - return getParameterMutationsFieldBuilder().addBuilder( - com.google.analytics.admin.v1alpha.ParameterMutation.getDefaultInstance()); + public com.google.analytics.admin.v1alpha.ParameterMutation.Builder + addParameterMutationsBuilder() { + return getParameterMutationsFieldBuilder() + .addBuilder(com.google.analytics.admin.v1alpha.ParameterMutation.getDefaultInstance()); } /** + * + * *
      * Parameter mutations define parameter behavior on the new event, and
      * are applied in order.
      * A maximum of 20 mutations can be applied.
      * 
* - * repeated .google.analytics.admin.v1alpha.ParameterMutation parameter_mutations = 5; + * repeated .google.analytics.admin.v1alpha.ParameterMutation parameter_mutations = 5; + * */ - public com.google.analytics.admin.v1alpha.ParameterMutation.Builder addParameterMutationsBuilder( - int index) { - return getParameterMutationsFieldBuilder().addBuilder( - index, com.google.analytics.admin.v1alpha.ParameterMutation.getDefaultInstance()); + public com.google.analytics.admin.v1alpha.ParameterMutation.Builder + addParameterMutationsBuilder(int index) { + return getParameterMutationsFieldBuilder() + .addBuilder( + index, com.google.analytics.admin.v1alpha.ParameterMutation.getDefaultInstance()); } /** + * + * *
      * Parameter mutations define parameter behavior on the new event, and
      * are applied in order.
      * A maximum of 20 mutations can be applied.
      * 
* - * repeated .google.analytics.admin.v1alpha.ParameterMutation parameter_mutations = 5; + * repeated .google.analytics.admin.v1alpha.ParameterMutation parameter_mutations = 5; + * */ - public java.util.List - getParameterMutationsBuilderList() { + public java.util.List + getParameterMutationsBuilderList() { return getParameterMutationsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.ParameterMutation, com.google.analytics.admin.v1alpha.ParameterMutation.Builder, com.google.analytics.admin.v1alpha.ParameterMutationOrBuilder> + com.google.analytics.admin.v1alpha.ParameterMutation, + com.google.analytics.admin.v1alpha.ParameterMutation.Builder, + com.google.analytics.admin.v1alpha.ParameterMutationOrBuilder> getParameterMutationsFieldBuilder() { if (parameterMutationsBuilder_ == null) { - parameterMutationsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.ParameterMutation, com.google.analytics.admin.v1alpha.ParameterMutation.Builder, com.google.analytics.admin.v1alpha.ParameterMutationOrBuilder>( + parameterMutationsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.analytics.admin.v1alpha.ParameterMutation, + com.google.analytics.admin.v1alpha.ParameterMutation.Builder, + com.google.analytics.admin.v1alpha.ParameterMutationOrBuilder>( parameterMutations_, ((bitField0_ & 0x00000010) != 0), getParentForChildren(), @@ -1792,9 +2067,9 @@ public com.google.analytics.admin.v1alpha.ParameterMutation.Builder addParameter } return parameterMutationsBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1804,12 +2079,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.EventCreateRule) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.EventCreateRule) private static final com.google.analytics.admin.v1alpha.EventCreateRule DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.EventCreateRule(); } @@ -1818,27 +2093,27 @@ public static com.google.analytics.admin.v1alpha.EventCreateRule getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public EventCreateRule parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public EventCreateRule parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1853,6 +2128,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1alpha.EventCreateRule 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/EventCreateRuleName.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/EventCreateRuleName.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/EventCreateRuleName.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/EventCreateRuleName.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/EventCreateRuleOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/EventCreateRuleOrBuilder.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/EventCreateRuleOrBuilder.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/EventCreateRuleOrBuilder.java index 14bbe3daa2d5..6649f49957af 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/EventCreateRuleOrBuilder.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/EventCreateRuleOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/event_create_and_edit.proto package com.google.analytics.admin.v1alpha; -public interface EventCreateRuleOrBuilder extends +public interface EventCreateRuleOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.EventCreateRule) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Output only. Resource name for this EventCreateRule resource.
    * Format:
@@ -15,10 +33,13 @@ public interface EventCreateRuleOrBuilder extends
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Output only. Resource name for this EventCreateRule resource.
    * Format:
@@ -26,12 +47,14 @@ public interface EventCreateRuleOrBuilder 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 name of the new event to be created.
    *
@@ -42,10 +65,13 @@ public interface EventCreateRuleOrBuilder extends
    * 
* * string destination_event = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The destinationEvent. */ java.lang.String getDestinationEvent(); /** + * + * *
    * Required. The name of the new event to be created.
    *
@@ -56,61 +82,82 @@ public interface EventCreateRuleOrBuilder extends
    * 
* * string destination_event = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for destinationEvent. */ - com.google.protobuf.ByteString - getDestinationEventBytes(); + com.google.protobuf.ByteString getDestinationEventBytes(); /** + * + * *
    * Required. Must have at least one condition, and can have up to 10 max.
    * Conditions on the source event must match for this rule to be applied.
    * 
* - * repeated .google.analytics.admin.v1alpha.MatchingCondition event_conditions = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.MatchingCondition event_conditions = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ - java.util.List - getEventConditionsList(); + java.util.List getEventConditionsList(); /** + * + * *
    * Required. Must have at least one condition, and can have up to 10 max.
    * Conditions on the source event must match for this rule to be applied.
    * 
* - * repeated .google.analytics.admin.v1alpha.MatchingCondition event_conditions = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.MatchingCondition event_conditions = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.analytics.admin.v1alpha.MatchingCondition getEventConditions(int index); /** + * + * *
    * Required. Must have at least one condition, and can have up to 10 max.
    * Conditions on the source event must match for this rule to be applied.
    * 
* - * repeated .google.analytics.admin.v1alpha.MatchingCondition event_conditions = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.MatchingCondition event_conditions = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ int getEventConditionsCount(); /** + * + * *
    * Required. Must have at least one condition, and can have up to 10 max.
    * Conditions on the source event must match for this rule to be applied.
    * 
* - * repeated .google.analytics.admin.v1alpha.MatchingCondition event_conditions = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.MatchingCondition event_conditions = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ - java.util.List + java.util.List getEventConditionsOrBuilderList(); /** + * + * *
    * Required. Must have at least one condition, and can have up to 10 max.
    * Conditions on the source event must match for this rule to be applied.
    * 
* - * repeated .google.analytics.admin.v1alpha.MatchingCondition event_conditions = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.analytics.admin.v1alpha.MatchingCondition event_conditions = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.analytics.admin.v1alpha.MatchingConditionOrBuilder getEventConditionsOrBuilder( int index); /** + * + * *
    * If true, the source parameters are copied to the new event.
    * If false, or unset, all non-internal parameters are not copied from the
@@ -119,60 +166,75 @@ com.google.analytics.admin.v1alpha.MatchingConditionOrBuilder getEventConditions
    * 
* * bool source_copy_parameters = 4; + * * @return The sourceCopyParameters. */ boolean getSourceCopyParameters(); /** + * + * *
    * Parameter mutations define parameter behavior on the new event, and
    * are applied in order.
    * A maximum of 20 mutations can be applied.
    * 
* - * repeated .google.analytics.admin.v1alpha.ParameterMutation parameter_mutations = 5; + * repeated .google.analytics.admin.v1alpha.ParameterMutation parameter_mutations = 5; + * */ - java.util.List - getParameterMutationsList(); + java.util.List getParameterMutationsList(); /** + * + * *
    * Parameter mutations define parameter behavior on the new event, and
    * are applied in order.
    * A maximum of 20 mutations can be applied.
    * 
* - * repeated .google.analytics.admin.v1alpha.ParameterMutation parameter_mutations = 5; + * repeated .google.analytics.admin.v1alpha.ParameterMutation parameter_mutations = 5; + * */ com.google.analytics.admin.v1alpha.ParameterMutation getParameterMutations(int index); /** + * + * *
    * Parameter mutations define parameter behavior on the new event, and
    * are applied in order.
    * A maximum of 20 mutations can be applied.
    * 
* - * repeated .google.analytics.admin.v1alpha.ParameterMutation parameter_mutations = 5; + * repeated .google.analytics.admin.v1alpha.ParameterMutation parameter_mutations = 5; + * */ int getParameterMutationsCount(); /** + * + * *
    * Parameter mutations define parameter behavior on the new event, and
    * are applied in order.
    * A maximum of 20 mutations can be applied.
    * 
* - * repeated .google.analytics.admin.v1alpha.ParameterMutation parameter_mutations = 5; + * repeated .google.analytics.admin.v1alpha.ParameterMutation parameter_mutations = 5; + * */ - java.util.List + java.util.List getParameterMutationsOrBuilderList(); /** + * + * *
    * Parameter mutations define parameter behavior on the new event, and
    * are applied in order.
    * A maximum of 20 mutations can be applied.
    * 
* - * repeated .google.analytics.admin.v1alpha.ParameterMutation parameter_mutations = 5; + * repeated .google.analytics.admin.v1alpha.ParameterMutation parameter_mutations = 5; + * */ com.google.analytics.admin.v1alpha.ParameterMutationOrBuilder getParameterMutationsOrBuilder( 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/EventMapping.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/EventMapping.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/EventMapping.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/EventMapping.java index 29d492d2a7e3..6cfab547e40d 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/EventMapping.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/EventMapping.java @@ -1,59 +1,82 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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; /** + * + * *
  * Event setting conditions to match an event.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.EventMapping} */ -public final class EventMapping extends - com.google.protobuf.GeneratedMessageV3 implements +public final class EventMapping extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.EventMapping) EventMappingOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use EventMapping.newBuilder() to construct. private EventMapping(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private EventMapping() { eventName_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new EventMapping(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_EventMapping_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.ResourcesProto + .internal_static_google_analytics_admin_v1alpha_EventMapping_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_EventMapping_fieldAccessorTable + return com.google.analytics.admin.v1alpha.ResourcesProto + .internal_static_google_analytics_admin_v1alpha_EventMapping_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.EventMapping.class, com.google.analytics.admin.v1alpha.EventMapping.Builder.class); + com.google.analytics.admin.v1alpha.EventMapping.class, + com.google.analytics.admin.v1alpha.EventMapping.Builder.class); } private int bitField0_; public static final int EVENT_NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object eventName_ = ""; /** + * + * *
    * Required. Name of the GA4 event. It must always be set.
    * The max allowed display name length is 40 UTF-16 code units.
    * 
* * string event_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The eventName. */ @java.lang.Override @@ -62,30 +85,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; } } /** + * + * *
    * Required. Name of the GA4 event. It must always be set.
    * The max allowed display name length is 40 UTF-16 code units.
    * 
* * 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 { @@ -96,6 +119,8 @@ public java.lang.String getEventName() { public static final int MIN_EVENT_COUNT_FIELD_NUMBER = 2; private long minEventCount_ = 0L; /** + * + * *
    * At least one of the following four min/max values must be set. The
    * values set will be ANDed together to qualify an event.
@@ -104,6 +129,7 @@ public java.lang.String getEventName() {
    * 
* * optional int64 min_event_count = 2; + * * @return Whether the minEventCount field is set. */ @java.lang.Override @@ -111,6 +137,8 @@ public boolean hasMinEventCount() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
    * At least one of the following four min/max values must be set. The
    * values set will be ANDed together to qualify an event.
@@ -119,6 +147,7 @@ public boolean hasMinEventCount() {
    * 
* * optional int64 min_event_count = 2; + * * @return The minEventCount. */ @java.lang.Override @@ -129,12 +158,15 @@ public long getMinEventCount() { public static final int MAX_EVENT_COUNT_FIELD_NUMBER = 3; private long maxEventCount_ = 0L; /** + * + * *
    * The maximum number of times the event occurred. If not set, maximum event
    * count won't be checked.
    * 
* * optional int64 max_event_count = 3; + * * @return Whether the maxEventCount field is set. */ @java.lang.Override @@ -142,12 +174,15 @@ public boolean hasMaxEventCount() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
    * The maximum number of times the event occurred. If not set, maximum event
    * count won't be checked.
    * 
* * optional int64 max_event_count = 3; + * * @return The maxEventCount. */ @java.lang.Override @@ -158,6 +193,8 @@ public long getMaxEventCount() { public static final int MIN_EVENT_VALUE_FIELD_NUMBER = 4; private double minEventValue_ = 0D; /** + * + * *
    * The minimum revenue generated due to the event. Revenue currency will be
    * defined at the property level. If not set, minimum event value won't be
@@ -165,6 +202,7 @@ public long getMaxEventCount() {
    * 
* * optional double min_event_value = 4; + * * @return Whether the minEventValue field is set. */ @java.lang.Override @@ -172,6 +210,8 @@ public boolean hasMinEventValue() { return ((bitField0_ & 0x00000004) != 0); } /** + * + * *
    * The minimum revenue generated due to the event. Revenue currency will be
    * defined at the property level. If not set, minimum event value won't be
@@ -179,6 +219,7 @@ public boolean hasMinEventValue() {
    * 
* * optional double min_event_value = 4; + * * @return The minEventValue. */ @java.lang.Override @@ -189,6 +230,8 @@ public double getMinEventValue() { public static final int MAX_EVENT_VALUE_FIELD_NUMBER = 5; private double maxEventValue_ = 0D; /** + * + * *
    * The maximum revenue generated due to the event. Revenue currency will be
    * defined at the property level. If not set, maximum event value won't be
@@ -196,6 +239,7 @@ public double getMinEventValue() {
    * 
* * optional double max_event_value = 5; + * * @return Whether the maxEventValue field is set. */ @java.lang.Override @@ -203,6 +247,8 @@ public boolean hasMaxEventValue() { return ((bitField0_ & 0x00000008) != 0); } /** + * + * *
    * The maximum revenue generated due to the event. Revenue currency will be
    * defined at the property level. If not set, maximum event value won't be
@@ -210,6 +256,7 @@ public boolean hasMaxEventValue() {
    * 
* * optional double max_event_value = 5; + * * @return The maxEventValue. */ @java.lang.Override @@ -218,6 +265,7 @@ public double getMaxEventValue() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -229,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(eventName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, eventName_); } @@ -259,20 +306,16 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, eventName_); } if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(2, minEventCount_); + size += com.google.protobuf.CodedOutputStream.computeInt64Size(2, minEventCount_); } if (((bitField0_ & 0x00000002) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(3, maxEventCount_); + size += com.google.protobuf.CodedOutputStream.computeInt64Size(3, maxEventCount_); } if (((bitField0_ & 0x00000004) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeDoubleSize(4, minEventValue_); + size += com.google.protobuf.CodedOutputStream.computeDoubleSize(4, minEventValue_); } if (((bitField0_ & 0x00000008) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeDoubleSize(5, maxEventValue_); + size += com.google.protobuf.CodedOutputStream.computeDoubleSize(5, maxEventValue_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -282,36 +325,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.EventMapping)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.EventMapping other = (com.google.analytics.admin.v1alpha.EventMapping) obj; + com.google.analytics.admin.v1alpha.EventMapping other = + (com.google.analytics.admin.v1alpha.EventMapping) obj; - if (!getEventName() - .equals(other.getEventName())) return false; + if (!getEventName().equals(other.getEventName())) return false; if (hasMinEventCount() != other.hasMinEventCount()) return false; if (hasMinEventCount()) { - if (getMinEventCount() - != other.getMinEventCount()) return false; + if (getMinEventCount() != other.getMinEventCount()) return false; } if (hasMaxEventCount() != other.hasMaxEventCount()) return false; if (hasMaxEventCount()) { - if (getMaxEventCount() - != other.getMaxEventCount()) return false; + if (getMaxEventCount() != other.getMaxEventCount()) return false; } if (hasMinEventValue() != other.hasMinEventValue()) return false; if (hasMinEventValue()) { if (java.lang.Double.doubleToLongBits(getMinEventValue()) - != java.lang.Double.doubleToLongBits( - other.getMinEventValue())) return false; + != java.lang.Double.doubleToLongBits(other.getMinEventValue())) return false; } if (hasMaxEventValue() != other.hasMaxEventValue()) return false; if (hasMaxEventValue()) { if (java.lang.Double.doubleToLongBits(getMaxEventValue()) - != java.lang.Double.doubleToLongBits( - other.getMaxEventValue())) return false; + != java.lang.Double.doubleToLongBits(other.getMaxEventValue())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -328,155 +367,161 @@ public int hashCode() { hash = (53 * hash) + getEventName().hashCode(); if (hasMinEventCount()) { hash = (37 * hash) + MIN_EVENT_COUNT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getMinEventCount()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getMinEventCount()); } if (hasMaxEventCount()) { hash = (37 * hash) + MAX_EVENT_COUNT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getMaxEventCount()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getMaxEventCount()); } if (hasMinEventValue()) { hash = (37 * hash) + MIN_EVENT_VALUE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - java.lang.Double.doubleToLongBits(getMinEventValue())); + hash = + (53 * hash) + + com.google.protobuf.Internal.hashLong( + java.lang.Double.doubleToLongBits(getMinEventValue())); } if (hasMaxEventValue()) { hash = (37 * hash) + MAX_EVENT_VALUE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - java.lang.Double.doubleToLongBits(getMaxEventValue())); + hash = + (53 * hash) + + com.google.protobuf.Internal.hashLong( + java.lang.Double.doubleToLongBits(getMaxEventValue())); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.analytics.admin.v1alpha.EventMapping parseFrom( - java.nio.ByteBuffer data) + public static com.google.analytics.admin.v1alpha.EventMapping parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.EventMapping parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.EventMapping parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.EventMapping parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.EventMapping parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.EventMapping parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.EventMapping 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.EventMapping parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.EventMapping parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.EventMapping parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.analytics.admin.v1alpha.EventMapping parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.EventMapping parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.EventMapping parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.analytics.admin.v1alpha.EventMapping prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Event setting conditions to match an event.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.EventMapping} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.EventMapping) com.google.analytics.admin.v1alpha.EventMappingOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_EventMapping_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.ResourcesProto + .internal_static_google_analytics_admin_v1alpha_EventMapping_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_EventMapping_fieldAccessorTable + return com.google.analytics.admin.v1alpha.ResourcesProto + .internal_static_google_analytics_admin_v1alpha_EventMapping_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.EventMapping.class, com.google.analytics.admin.v1alpha.EventMapping.Builder.class); + com.google.analytics.admin.v1alpha.EventMapping.class, + com.google.analytics.admin.v1alpha.EventMapping.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.EventMapping.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(); @@ -490,9 +535,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_EventMapping_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1alpha.ResourcesProto + .internal_static_google_analytics_admin_v1alpha_EventMapping_descriptor; } @java.lang.Override @@ -511,8 +556,11 @@ public com.google.analytics.admin.v1alpha.EventMapping build() { @java.lang.Override public com.google.analytics.admin.v1alpha.EventMapping buildPartial() { - com.google.analytics.admin.v1alpha.EventMapping result = new com.google.analytics.admin.v1alpha.EventMapping(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.analytics.admin.v1alpha.EventMapping result = + new com.google.analytics.admin.v1alpha.EventMapping(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -546,38 +594,39 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.EventMapping 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.EventMapping) { - return mergeFrom((com.google.analytics.admin.v1alpha.EventMapping)other); + return mergeFrom((com.google.analytics.admin.v1alpha.EventMapping) other); } else { super.mergeFrom(other); return this; @@ -585,7 +634,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1alpha.EventMapping other) { - if (other == com.google.analytics.admin.v1alpha.EventMapping.getDefaultInstance()) return this; + if (other == com.google.analytics.admin.v1alpha.EventMapping.getDefaultInstance()) + return this; if (!other.getEventName().isEmpty()) { eventName_ = other.eventName_; bitField0_ |= 0x00000001; @@ -629,37 +679,43 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - eventName_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: { - minEventCount_ = input.readInt64(); - bitField0_ |= 0x00000002; - break; - } // case 16 - case 24: { - maxEventCount_ = input.readInt64(); - bitField0_ |= 0x00000004; - break; - } // case 24 - case 33: { - minEventValue_ = input.readDouble(); - bitField0_ |= 0x00000008; - break; - } // case 33 - case 41: { - maxEventValue_ = input.readDouble(); - bitField0_ |= 0x00000010; - break; - } // case 41 - 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: + { + minEventCount_ = input.readInt64(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 24: + { + maxEventCount_ = input.readInt64(); + bitField0_ |= 0x00000004; + break; + } // case 24 + case 33: + { + minEventValue_ = input.readDouble(); + bitField0_ |= 0x00000008; + break; + } // case 33 + case 41: + { + maxEventValue_ = input.readDouble(); + bitField0_ |= 0x00000010; + break; + } // case 41 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -669,23 +725,26 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object eventName_ = ""; /** + * + * *
      * Required. Name of the GA4 event. It must always be set.
      * The max allowed display name length is 40 UTF-16 code units.
      * 
* * 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; @@ -694,21 +753,22 @@ public java.lang.String getEventName() { } } /** + * + * *
      * Required. Name of the GA4 event. It must always be set.
      * The max allowed display name length is 40 UTF-16 code units.
      * 
* * 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 { @@ -716,30 +776,37 @@ public java.lang.String getEventName() { } } /** + * + * *
      * Required. Name of the GA4 event. It must always be set.
      * The max allowed display name length is 40 UTF-16 code units.
      * 
* * 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. Name of the GA4 event. It must always be set.
      * The max allowed display name length is 40 UTF-16 code units.
      * 
* * string event_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearEventName() { @@ -749,18 +816,22 @@ public Builder clearEventName() { return this; } /** + * + * *
      * Required. Name of the GA4 event. It must always be set.
      * The max allowed display name length is 40 UTF-16 code units.
      * 
* * 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; @@ -768,8 +839,10 @@ public Builder setEventNameBytes( return this; } - private long minEventCount_ ; + private long minEventCount_; /** + * + * *
      * At least one of the following four min/max values must be set. The
      * values set will be ANDed together to qualify an event.
@@ -778,6 +851,7 @@ public Builder setEventNameBytes(
      * 
* * optional int64 min_event_count = 2; + * * @return Whether the minEventCount field is set. */ @java.lang.Override @@ -785,6 +859,8 @@ public boolean hasMinEventCount() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * At least one of the following four min/max values must be set. The
      * values set will be ANDed together to qualify an event.
@@ -793,6 +869,7 @@ public boolean hasMinEventCount() {
      * 
* * optional int64 min_event_count = 2; + * * @return The minEventCount. */ @java.lang.Override @@ -800,6 +877,8 @@ public long getMinEventCount() { return minEventCount_; } /** + * + * *
      * At least one of the following four min/max values must be set. The
      * values set will be ANDed together to qualify an event.
@@ -808,6 +887,7 @@ public long getMinEventCount() {
      * 
* * optional int64 min_event_count = 2; + * * @param value The minEventCount to set. * @return This builder for chaining. */ @@ -819,6 +899,8 @@ public Builder setMinEventCount(long value) { return this; } /** + * + * *
      * At least one of the following four min/max values must be set. The
      * values set will be ANDed together to qualify an event.
@@ -827,6 +909,7 @@ public Builder setMinEventCount(long value) {
      * 
* * optional int64 min_event_count = 2; + * * @return This builder for chaining. */ public Builder clearMinEventCount() { @@ -836,14 +919,17 @@ public Builder clearMinEventCount() { return this; } - private long maxEventCount_ ; + private long maxEventCount_; /** + * + * *
      * The maximum number of times the event occurred. If not set, maximum event
      * count won't be checked.
      * 
* * optional int64 max_event_count = 3; + * * @return Whether the maxEventCount field is set. */ @java.lang.Override @@ -851,12 +937,15 @@ public boolean hasMaxEventCount() { return ((bitField0_ & 0x00000004) != 0); } /** + * + * *
      * The maximum number of times the event occurred. If not set, maximum event
      * count won't be checked.
      * 
* * optional int64 max_event_count = 3; + * * @return The maxEventCount. */ @java.lang.Override @@ -864,12 +953,15 @@ public long getMaxEventCount() { return maxEventCount_; } /** + * + * *
      * The maximum number of times the event occurred. If not set, maximum event
      * count won't be checked.
      * 
* * optional int64 max_event_count = 3; + * * @param value The maxEventCount to set. * @return This builder for chaining. */ @@ -881,12 +973,15 @@ public Builder setMaxEventCount(long value) { return this; } /** + * + * *
      * The maximum number of times the event occurred. If not set, maximum event
      * count won't be checked.
      * 
* * optional int64 max_event_count = 3; + * * @return This builder for chaining. */ public Builder clearMaxEventCount() { @@ -896,8 +991,10 @@ public Builder clearMaxEventCount() { return this; } - private double minEventValue_ ; + private double minEventValue_; /** + * + * *
      * The minimum revenue generated due to the event. Revenue currency will be
      * defined at the property level. If not set, minimum event value won't be
@@ -905,6 +1002,7 @@ public Builder clearMaxEventCount() {
      * 
* * optional double min_event_value = 4; + * * @return Whether the minEventValue field is set. */ @java.lang.Override @@ -912,6 +1010,8 @@ public boolean hasMinEventValue() { return ((bitField0_ & 0x00000008) != 0); } /** + * + * *
      * The minimum revenue generated due to the event. Revenue currency will be
      * defined at the property level. If not set, minimum event value won't be
@@ -919,6 +1019,7 @@ public boolean hasMinEventValue() {
      * 
* * optional double min_event_value = 4; + * * @return The minEventValue. */ @java.lang.Override @@ -926,6 +1027,8 @@ public double getMinEventValue() { return minEventValue_; } /** + * + * *
      * The minimum revenue generated due to the event. Revenue currency will be
      * defined at the property level. If not set, minimum event value won't be
@@ -933,6 +1036,7 @@ public double getMinEventValue() {
      * 
* * optional double min_event_value = 4; + * * @param value The minEventValue to set. * @return This builder for chaining. */ @@ -944,6 +1048,8 @@ public Builder setMinEventValue(double value) { return this; } /** + * + * *
      * The minimum revenue generated due to the event. Revenue currency will be
      * defined at the property level. If not set, minimum event value won't be
@@ -951,6 +1057,7 @@ public Builder setMinEventValue(double value) {
      * 
* * optional double min_event_value = 4; + * * @return This builder for chaining. */ public Builder clearMinEventValue() { @@ -960,8 +1067,10 @@ public Builder clearMinEventValue() { return this; } - private double maxEventValue_ ; + private double maxEventValue_; /** + * + * *
      * The maximum revenue generated due to the event. Revenue currency will be
      * defined at the property level. If not set, maximum event value won't be
@@ -969,6 +1078,7 @@ public Builder clearMinEventValue() {
      * 
* * optional double max_event_value = 5; + * * @return Whether the maxEventValue field is set. */ @java.lang.Override @@ -976,6 +1086,8 @@ public boolean hasMaxEventValue() { return ((bitField0_ & 0x00000010) != 0); } /** + * + * *
      * The maximum revenue generated due to the event. Revenue currency will be
      * defined at the property level. If not set, maximum event value won't be
@@ -983,6 +1095,7 @@ public boolean hasMaxEventValue() {
      * 
* * optional double max_event_value = 5; + * * @return The maxEventValue. */ @java.lang.Override @@ -990,6 +1103,8 @@ public double getMaxEventValue() { return maxEventValue_; } /** + * + * *
      * The maximum revenue generated due to the event. Revenue currency will be
      * defined at the property level. If not set, maximum event value won't be
@@ -997,6 +1112,7 @@ public double getMaxEventValue() {
      * 
* * optional double max_event_value = 5; + * * @param value The maxEventValue to set. * @return This builder for chaining. */ @@ -1008,6 +1124,8 @@ public Builder setMaxEventValue(double value) { return this; } /** + * + * *
      * The maximum revenue generated due to the event. Revenue currency will be
      * defined at the property level. If not set, maximum event value won't be
@@ -1015,6 +1133,7 @@ public Builder setMaxEventValue(double value) {
      * 
* * optional double max_event_value = 5; + * * @return This builder for chaining. */ public Builder clearMaxEventValue() { @@ -1023,9 +1142,9 @@ public Builder clearMaxEventValue() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1035,12 +1154,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.EventMapping) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.EventMapping) private static final com.google.analytics.admin.v1alpha.EventMapping DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.EventMapping(); } @@ -1049,27 +1168,27 @@ public static com.google.analytics.admin.v1alpha.EventMapping getDefaultInstance return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public EventMapping parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public EventMapping parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1084,6 +1203,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1alpha.EventMapping 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/EventMappingOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/EventMappingOrBuilder.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/EventMappingOrBuilder.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/EventMappingOrBuilder.java index 1b4e9525cf14..f00d313b5ecd 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/EventMappingOrBuilder.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/EventMappingOrBuilder.java @@ -1,35 +1,58 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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 EventMappingOrBuilder extends +public interface EventMappingOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.EventMapping) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. Name of the GA4 event. It must always be set.
    * The max allowed display name length is 40 UTF-16 code units.
    * 
* * string event_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The eventName. */ java.lang.String getEventName(); /** + * + * *
    * Required. Name of the GA4 event. It must always be set.
    * The max allowed display name length is 40 UTF-16 code units.
    * 
* * string event_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for eventName. */ - com.google.protobuf.ByteString - getEventNameBytes(); + com.google.protobuf.ByteString getEventNameBytes(); /** + * + * *
    * At least one of the following four min/max values must be set. The
    * values set will be ANDed together to qualify an event.
@@ -38,10 +61,13 @@ public interface EventMappingOrBuilder extends
    * 
* * optional int64 min_event_count = 2; + * * @return Whether the minEventCount field is set. */ boolean hasMinEventCount(); /** + * + * *
    * At least one of the following four min/max values must be set. The
    * values set will be ANDed together to qualify an event.
@@ -50,32 +76,41 @@ public interface EventMappingOrBuilder extends
    * 
* * optional int64 min_event_count = 2; + * * @return The minEventCount. */ long getMinEventCount(); /** + * + * *
    * The maximum number of times the event occurred. If not set, maximum event
    * count won't be checked.
    * 
* * optional int64 max_event_count = 3; + * * @return Whether the maxEventCount field is set. */ boolean hasMaxEventCount(); /** + * + * *
    * The maximum number of times the event occurred. If not set, maximum event
    * count won't be checked.
    * 
* * optional int64 max_event_count = 3; + * * @return The maxEventCount. */ long getMaxEventCount(); /** + * + * *
    * The minimum revenue generated due to the event. Revenue currency will be
    * defined at the property level. If not set, minimum event value won't be
@@ -83,10 +118,13 @@ public interface EventMappingOrBuilder extends
    * 
* * optional double min_event_value = 4; + * * @return Whether the minEventValue field is set. */ boolean hasMinEventValue(); /** + * + * *
    * The minimum revenue generated due to the event. Revenue currency will be
    * defined at the property level. If not set, minimum event value won't be
@@ -94,11 +132,14 @@ public interface EventMappingOrBuilder extends
    * 
* * optional double min_event_value = 4; + * * @return The minEventValue. */ double getMinEventValue(); /** + * + * *
    * The maximum revenue generated due to the event. Revenue currency will be
    * defined at the property level. If not set, maximum event value won't be
@@ -106,10 +147,13 @@ public interface EventMappingOrBuilder extends
    * 
* * optional double max_event_value = 5; + * * @return Whether the maxEventValue field is set. */ boolean hasMaxEventValue(); /** + * + * *
    * The maximum revenue generated due to the event. Revenue currency will be
    * defined at the property level. If not set, maximum event value won't be
@@ -117,6 +161,7 @@ public interface EventMappingOrBuilder extends
    * 
* * optional double max_event_value = 5; + * * @return The maxEventValue. */ double getMaxEventValue(); 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 4eb348778f2c..3f7cb037ded1 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,64 +1,85 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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_ = ""; description_ = ""; - dimensionNames_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - metricNames_ = - com.google.protobuf.LazyStringArrayList.emptyList(); + dimensionNames_ = com.google.protobuf.LazyStringArrayList.emptyList(); + metricNames_ = com.google.protobuf.LazyStringArrayList.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ExpandedDataSet(); } - 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 @@ -67,30 +88,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 { @@ -99,15 +120,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 @@ -116,30 +141,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 { @@ -148,15 +173,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 @@ -165,30 +194,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 { @@ -197,10 +226,13 @@ public java.lang.String getDescription() { } public static final int DIMENSION_NAMES_FIELD_NUMBER = 4; + @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList dimensionNames_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** + * + * *
    * Immutable. The list of dimensions included in the ExpandedDataSet.
    * See the [API
@@ -209,13 +241,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
@@ -224,12 +258,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
@@ -238,6 +275,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. */ @@ -245,6 +283,8 @@ public java.lang.String getDimensionNames(int index) { return dimensionNames_.get(index); } /** + * + * *
    * Immutable. The list of dimensions included in the ExpandedDataSet.
    * See the [API
@@ -253,19 +293,22 @@ 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.LazyStringArrayList metricNames_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** + * + * *
    * Immutable. The list of metrics included in the ExpandedDataSet.
    * See the [API
@@ -274,13 +317,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
@@ -289,12 +334,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
@@ -303,6 +351,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. */ @@ -310,6 +359,8 @@ public java.lang.String getMetricNames(int index) { return metricNames_.get(index); } /** + * + * *
    * Immutable. The list of metrics included in the ExpandedDataSet.
    * See the [API
@@ -318,24 +369,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 chance 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 @@ -343,42 +400,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 chance 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 chance 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 @@ -386,32 +463,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; @@ -423,8 +514,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -481,12 +571,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; @@ -496,32 +587,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; @@ -562,131 +648,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(); @@ -694,10 +784,8 @@ public Builder clear() { name_ = ""; displayName_ = ""; description_ = ""; - dimensionNames_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - metricNames_ = - com.google.protobuf.LazyStringArrayList.emptyList(); + dimensionNames_ = com.google.protobuf.LazyStringArrayList.emptyList(); + metricNames_ = com.google.protobuf.LazyStringArrayList.emptyList(); dimensionFilterExpression_ = null; if (dimensionFilterExpressionBuilder_ != null) { dimensionFilterExpressionBuilder_.dispose(); @@ -712,9 +800,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 @@ -733,8 +821,11 @@ 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); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.analytics.admin.v1alpha.ExpandedDataSet result = + new com.google.analytics.admin.v1alpha.ExpandedDataSet(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -759,14 +850,16 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.ExpandedDataSet re result.metricNames_ = metricNames_; } 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(); } } @@ -774,38 +867,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; @@ -813,7 +907,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; @@ -881,53 +976,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) { @@ -937,23 +1038,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; @@ -962,21 +1066,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 { @@ -984,30 +1089,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() { @@ -1017,18 +1129,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; @@ -1038,19 +1154,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; @@ -1059,21 +1177,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 { @@ -1081,30 +1200,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() { @@ -1114,18 +1240,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; @@ -1135,19 +1265,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; @@ -1156,21 +1288,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 { @@ -1178,30 +1311,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() { @@ -1211,18 +1351,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; @@ -1232,6 +1376,7 @@ public Builder setDescriptionBytes( private com.google.protobuf.LazyStringArrayList dimensionNames_ = com.google.protobuf.LazyStringArrayList.emptyList(); + private void ensureDimensionNamesIsMutable() { if (!dimensionNames_.isModifiable()) { dimensionNames_ = new com.google.protobuf.LazyStringArrayList(dimensionNames_); @@ -1239,6 +1384,8 @@ private void ensureDimensionNamesIsMutable() { bitField0_ |= 0x00000008; } /** + * + * *
      * Immutable. The list of dimensions included in the ExpandedDataSet.
      * See the [API
@@ -1247,14 +1394,16 @@ 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() { dimensionNames_.makeImmutable(); return dimensionNames_; } /** + * + * *
      * Immutable. The list of dimensions included in the ExpandedDataSet.
      * See the [API
@@ -1263,12 +1412,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
@@ -1277,6 +1429,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. */ @@ -1284,6 +1437,8 @@ public java.lang.String getDimensionNames(int index) { return dimensionNames_.get(index); } /** + * + * *
      * Immutable. The list of dimensions included in the ExpandedDataSet.
      * See the [API
@@ -1292,14 +1447,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
@@ -1308,13 +1465,15 @@ 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); bitField0_ |= 0x00000008; @@ -1322,6 +1481,8 @@ public Builder setDimensionNames( return this; } /** + * + * *
      * Immutable. The list of dimensions included in the ExpandedDataSet.
      * See the [API
@@ -1330,12 +1491,14 @@ 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); bitField0_ |= 0x00000008; @@ -1343,6 +1506,8 @@ public Builder addDimensionNames( return this; } /** + * + * *
      * Immutable. The list of dimensions included in the ExpandedDataSet.
      * See the [API
@@ -1351,19 +1516,20 @@ 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_); bitField0_ |= 0x00000008; onChanged(); return this; } /** + * + * *
      * Immutable. The list of dimensions included in the ExpandedDataSet.
      * See the [API
@@ -1372,16 +1538,19 @@ public Builder addAllDimensionNames(
      * 
* * repeated string dimension_names = 4 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return This builder for chaining. */ public Builder clearDimensionNames() { - dimensionNames_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000008);; + dimensionNames_ = com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000008); + ; onChanged(); return this; } /** + * + * *
      * Immutable. The list of dimensions included in the ExpandedDataSet.
      * See the [API
@@ -1390,12 +1559,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); @@ -1406,6 +1577,7 @@ public Builder addDimensionNamesBytes( private com.google.protobuf.LazyStringArrayList metricNames_ = com.google.protobuf.LazyStringArrayList.emptyList(); + private void ensureMetricNamesIsMutable() { if (!metricNames_.isModifiable()) { metricNames_ = new com.google.protobuf.LazyStringArrayList(metricNames_); @@ -1413,6 +1585,8 @@ private void ensureMetricNamesIsMutable() { bitField0_ |= 0x00000010; } /** + * + * *
      * Immutable. The list of metrics included in the ExpandedDataSet.
      * See the [API
@@ -1421,14 +1595,16 @@ 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() { metricNames_.makeImmutable(); return metricNames_; } /** + * + * *
      * Immutable. The list of metrics included in the ExpandedDataSet.
      * See the [API
@@ -1437,12 +1613,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
@@ -1451,6 +1630,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. */ @@ -1458,6 +1638,8 @@ public java.lang.String getMetricNames(int index) { return metricNames_.get(index); } /** + * + * *
      * Immutable. The list of metrics included in the ExpandedDataSet.
      * See the [API
@@ -1466,14 +1648,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
@@ -1482,13 +1666,15 @@ 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); bitField0_ |= 0x00000010; @@ -1496,6 +1682,8 @@ public Builder setMetricNames( return this; } /** + * + * *
      * Immutable. The list of metrics included in the ExpandedDataSet.
      * See the [API
@@ -1504,12 +1692,14 @@ 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); bitField0_ |= 0x00000010; @@ -1517,6 +1707,8 @@ public Builder addMetricNames( return this; } /** + * + * *
      * Immutable. The list of metrics included in the ExpandedDataSet.
      * See the [API
@@ -1525,19 +1717,20 @@ 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_); bitField0_ |= 0x00000010; onChanged(); return this; } /** + * + * *
      * Immutable. The list of metrics included in the ExpandedDataSet.
      * See the [API
@@ -1546,16 +1739,19 @@ public Builder addAllMetricNames(
      * 
* * repeated string metric_names = 5 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return This builder for chaining. */ public Builder clearMetricNames() { - metricNames_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000010);; + metricNames_ = com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000010); + ; onChanged(); return this; } /** + * + * *
      * Immutable. The list of metrics included in the ExpandedDataSet.
      * See the [API
@@ -1564,12 +1760,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); @@ -1578,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 chance 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 chance 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 chance 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(); @@ -1634,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 chance 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 { @@ -1654,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 chance 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; @@ -1679,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 chance 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); @@ -1698,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 chance 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 chance 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 chance 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_; @@ -1753,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) { @@ -1804,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) { @@ -1823,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; @@ -1847,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); @@ -1865,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; @@ -1878,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); } @@ -1926,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(); } @@ -1940,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; @@ -1975,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 b65db9dc358f..5347c3bdac36 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,92 +1,129 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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(); } - 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.
@@ -95,26 +132,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_ = ""; @@ -122,34 +163,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(); } - 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
        * 
@@ -158,6 +204,8 @@ public enum MatchType */ MATCH_TYPE_UNSPECIFIED(0), /** + * + * *
        * Exact match of the string value.
        * 
@@ -166,6 +214,8 @@ public enum MatchType */ EXACT(1), /** + * + * *
        * Contains the string value.
        * 
@@ -177,6 +227,8 @@ public enum MatchType ; /** + * + * *
        * Unspecified
        * 
@@ -185,6 +237,8 @@ public enum MatchType */ public static final int MATCH_TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
        * Exact match of the string value.
        * 
@@ -193,6 +247,8 @@ public enum MatchType */ public static final int EXACT_VALUE = 1; /** + * + * *
        * Contains the string value.
        * 
@@ -201,7 +257,6 @@ public enum MatchType */ public static final int CONTAINS_VALUE = 2; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -226,49 +281,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; @@ -288,38 +345,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 @@ -328,29 +407,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 { @@ -361,6 +440,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.
@@ -369,6 +450,7 @@ public java.lang.String getValue() {
      * 
* * bool case_sensitive = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The caseSensitive. */ @java.lang.Override @@ -377,6 +459,7 @@ public boolean getCaseSensitive() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -388,9 +471,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_)) { @@ -408,16 +493,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; @@ -427,18 +513,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; } @@ -455,97 +540,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 @@ -555,39 +645,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(); @@ -599,19 +693,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); } @@ -620,13 +717,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_; @@ -643,46 +744,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()); } @@ -720,27 +829,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) { @@ -750,26 +863,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. */ @@ -780,28 +905,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(); } @@ -811,11 +953,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() { @@ -827,18 +974,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; @@ -847,20 +996,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 { @@ -868,28 +1018,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() { @@ -899,17 +1056,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; @@ -917,8 +1078,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.
@@ -927,6 +1090,7 @@ public Builder setValueBytes(
        * 
* * bool case_sensitive = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The caseSensitive. */ @java.lang.Override @@ -934,6 +1098,8 @@ public boolean getCaseSensitive() { return caseSensitive_; } /** + * + * *
        * Optional. If true, the match is case-sensitive. If false, the match is
        * case-insensitive.
@@ -942,6 +1108,7 @@ public boolean getCaseSensitive() {
        * 
* * bool case_sensitive = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The caseSensitive to set. * @return This builder for chaining. */ @@ -953,6 +1120,8 @@ public Builder setCaseSensitive(boolean value) { return this; } /** + * + * *
        * Optional. If true, the match is case-sensitive. If false, the match is
        * case-insensitive.
@@ -961,6 +1130,7 @@ public Builder setCaseSensitive(boolean value) {
        * 
* * bool case_sensitive = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearCaseSensitive() { @@ -969,6 +1139,7 @@ public Builder clearCaseSensitive() { onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -981,41 +1152,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; @@ -1027,62 +1202,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.
@@ -1090,87 +1278,100 @@ 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.emptyList(); + values_ = com.google.protobuf.LazyStringArrayList.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new InListFilter(); } - 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.LazyStringArrayList values_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** + * + * *
      * 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. */ @@ -1178,23 +1379,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.
@@ -1202,6 +1407,7 @@ public java.lang.String getValues(int index) {
      * 
* * bool case_sensitive = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The caseSensitive. */ @java.lang.Override @@ -1210,6 +1416,7 @@ public boolean getCaseSensitive() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1221,8 +1428,7 @@ public final boolean isInitialized() { } @java.lang.Override - 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)); } @@ -1247,8 +1453,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; @@ -1258,17 +1463,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; } @@ -1285,97 +1489,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 @@ -1385,63 +1594,69 @@ 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(); bitField0_ = 0; - values_ = - com.google.protobuf.LazyStringArrayList.emptyList(); + values_ = com.google.protobuf.LazyStringArrayList.emptyList(); 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; + 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); } @@ -1450,13 +1665,17 @@ 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); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.analytics.admin.v1alpha.ExpandedDataSetFilter.InListFilter result = + new com.google.analytics.admin.v1alpha.ExpandedDataSetFilter.InListFilter(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - 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_ & 0x00000001) != 0)) { values_.makeImmutable(); @@ -1471,46 +1690,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_; @@ -1550,23 +1777,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) { @@ -1576,10 +1806,12 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private com.google.protobuf.LazyStringArrayList values_ = com.google.protobuf.LazyStringArrayList.emptyList(); + private void ensureValuesIsMutable() { if (!values_.isModifiable()) { values_ = new com.google.protobuf.LazyStringArrayList(values_); @@ -1587,38 +1819,46 @@ private void ensureValuesIsMutable() { 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() { values_.makeImmutable(); 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. */ @@ -1626,33 +1866,39 @@ 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); bitField0_ |= 0x00000001; @@ -1660,18 +1906,22 @@ public Builder setValues( 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); bitField0_ |= 0x00000001; @@ -1679,53 +1929,61 @@ public Builder addValues( 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_); 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]; + * * @return This builder for chaining. */ public Builder clearValues() { - values_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000001);; + values_ = com.google.protobuf.LazyStringArrayList.emptyList(); + 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(); } + public Builder addValuesBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); ensureValuesIsMutable(); values_.add(value); @@ -1734,8 +1992,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.
@@ -1743,6 +2003,7 @@ public Builder addValuesBytes(
        * 
* * bool case_sensitive = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The caseSensitive. */ @java.lang.Override @@ -1750,6 +2011,8 @@ public boolean getCaseSensitive() { return caseSensitive_; } /** + * + * *
        * Optional. If true, the match is case-sensitive. If false, the match is
        * case-insensitive.
@@ -1757,6 +2020,7 @@ public boolean getCaseSensitive() {
        * 
* * bool case_sensitive = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The caseSensitive to set. * @return This builder for chaining. */ @@ -1768,6 +2032,8 @@ public Builder setCaseSensitive(boolean value) { return this; } /** + * + * *
        * Optional. If true, the match is case-sensitive. If false, the match is
        * case-insensitive.
@@ -1775,6 +2041,7 @@ public Builder setCaseSensitive(boolean value) {
        * 
* * bool case_sensitive = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearCaseSensitive() { @@ -1783,6 +2050,7 @@ public Builder clearCaseSensitive() { onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1795,41 +2063,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; @@ -1841,22 +2113,26 @@ 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; + @SuppressWarnings("serial") 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; } @@ -1872,30 +2148,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 @@ -1903,43 +2186,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 @@ -1947,46 +2244,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 @@ -1995,29 +2306,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 { @@ -2026,6 +2337,7 @@ public java.lang.String getFieldName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2037,16 +2349,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); } @@ -2061,12 +2374,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; @@ -2076,24 +2393,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: @@ -2129,131 +2444,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(); @@ -2271,9 +2591,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 @@ -2292,8 +2612,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; @@ -2306,15 +2629,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(); } } @@ -2323,38 +2645,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; @@ -2362,24 +2685,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(); @@ -2407,31 +2734,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) { @@ -2441,12 +2768,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() { @@ -2459,13 +2786,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 @@ -2473,11 +2807,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 @@ -2486,22 +2824,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(); @@ -2515,14 +2859,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(); @@ -2533,18 +2881,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; } @@ -2560,11 +2918,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) { @@ -2583,49 +2944,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()); @@ -2637,14 +3017,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 @@ -2652,12 +3039,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 @@ -2666,23 +3057,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(); @@ -2696,15 +3093,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(); @@ -2715,19 +3116,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; } @@ -2743,12 +3154,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) { @@ -2767,52 +3181,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()); @@ -2825,18 +3258,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; @@ -2845,20 +3280,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 { @@ -2866,28 +3302,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() { @@ -2897,26 +3340,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); } @@ -2926,12 +3373,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(); } @@ -2940,27 +3387,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; @@ -2975,6 +3422,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 6136e82c9a1d..7969c9474dbc 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,58 +1,81 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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(); } - 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; + @SuppressWarnings("serial") 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; } @@ -68,26 +91,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
@@ -96,6 +125,7 @@ public int getNumber() {
    * 
* * .google.analytics.admin.v1alpha.ExpandedDataSetFilterExpressionList and_group = 1; + * * @return Whether the andGroup field is set. */ @java.lang.Override @@ -103,6 +133,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
@@ -111,16 +143,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
@@ -131,22 +167,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 (that is, 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 @@ -154,47 +196,58 @@ public boolean hasNotExpression() { return exprCase_ == 2; } /** + * + * *
    * A filter expression to be NOT'ed (that is, 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 (that is, 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 @@ -202,22 +255,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.
@@ -228,12 +286,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;
@@ -245,13 +304,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_);
@@ -266,16 +326,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;
@@ -285,26 +348,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:
@@ -342,131 +403,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(); @@ -486,14 +554,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 @@ -507,30 +577,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(); } } @@ -539,62 +611,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(); @@ -622,33 +703,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) { @@ -658,12 +737,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() { @@ -676,8 +755,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
@@ -685,7 +769,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 @@ -693,6 +779,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
@@ -700,7 +788,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 @@ -709,15 +799,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
@@ -725,9 +819,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(); @@ -741,6 +837,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
@@ -748,10 +846,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(); @@ -762,6 +862,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
@@ -769,14 +871,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; } @@ -792,6 +902,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
@@ -799,7 +911,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) { @@ -818,6 +931,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
@@ -825,12 +940,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
@@ -838,20 +957,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
@@ -859,17 +983,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()); @@ -881,15 +1013,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 (that is, 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 @@ -897,13 +1036,17 @@ public boolean hasNotExpression() { return exprCase_ == 2; } /** + * + * *
      * A filter expression to be NOT'ed (that is, 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 @@ -912,24 +1055,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 (that is, 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(); @@ -943,16 +1092,20 @@ public Builder setNotExpression(com.google.analytics.admin.v1alpha.ExpandedDataS return this; } /** + * + * *
      * A filter expression to be NOT'ed (that is, 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(); @@ -963,20 +1116,29 @@ public Builder setNotExpression( return this; } /** + * + * *
      * A filter expression to be NOT'ed (that is, 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; } @@ -992,13 +1154,16 @@ public Builder mergeNotExpression(com.google.analytics.admin.v1alpha.ExpandedDat return this; } /** + * + * *
      * A filter expression to be NOT'ed (that is, 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) { @@ -1017,55 +1182,74 @@ public Builder clearNotExpression() { return this; } /** + * + * *
      * A filter expression to be NOT'ed (that is, 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 (that is, 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 (that is, 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()); @@ -1077,14 +1261,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 @@ -1092,12 +1282,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 @@ -1115,6 +1308,8 @@ public com.google.analytics.admin.v1alpha.ExpandedDataSetFilter getFilter() { } } /** + * + * *
      * A filter on a single dimension. This cannot be set on the top
      * level ExpandedDataSetFilterExpression.
@@ -1136,6 +1331,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.
@@ -1155,6 +1352,8 @@ public Builder setFilter(
       return this;
     }
     /**
+     *
+     *
      * 
      * A filter on a single dimension. This cannot be set on the top
      * level ExpandedDataSetFilterExpression.
@@ -1164,10 +1363,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;
         }
@@ -1183,6 +1386,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.
@@ -1207,6 +1412,8 @@ public Builder clearFilter() {
       return this;
     }
     /**
+     *
+     *
      * 
      * A filter on a single dimension. This cannot be set on the top
      * level ExpandedDataSetFilterExpression.
@@ -1218,6 +1425,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.
@@ -1237,6 +1446,8 @@ public com.google.analytics.admin.v1alpha.ExpandedDataSetFilterOrBuilder getFilt
       }
     }
     /**
+     *
+     *
      * 
      * A filter on a single dimension. This cannot be set on the top
      * level ExpandedDataSetFilterExpression.
@@ -1245,14 +1456,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());
@@ -1262,9 +1478,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);
     }
 
@@ -1274,41 +1490,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;
@@ -1320,9 +1538,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 58%
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 d1c638f59a02..aff16eca85f7 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,110 +1,157 @@
+/*
+ * Copyright 2023 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for 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(); } - 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; @@ -116,8 +163,7 @@ public final boolean isInitialized() { } @java.lang.Override - 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)); } @@ -131,8 +177,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; @@ -142,15 +188,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; } @@ -172,131 +218,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(); @@ -312,19 +365,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); } @@ -333,14 +389,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_); @@ -352,7 +412,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_; } @@ -360,46 +421,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()) { @@ -418,9 +484,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_); } @@ -452,25 +519,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) { @@ -480,28 +549,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 { @@ -509,11 +591,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) { @@ -523,13 +609,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 { @@ -537,11 +628,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) { @@ -558,14 +653,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()); @@ -576,13 +677,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(); @@ -596,11 +702,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) { @@ -617,14 +727,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()); @@ -635,14 +750,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()); @@ -653,18 +774,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); @@ -672,11 +798,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) { @@ -689,11 +819,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) { @@ -706,39 +840,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 { @@ -746,45 +894,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(), @@ -793,9 +966,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); } @@ -805,41 +978,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; @@ -851,9 +1026,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..fec8ad5d52de --- /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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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 6afa8a21b35e..38352b1f1b26 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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 (that is, 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 (that is, 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 (that is, 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 22720c6357dc..b4e2203adcc6 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 2023 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for 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(); 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/ExpandedDataSetName.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ExpandedDataSetName.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/ExpandedDataSetName.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ExpandedDataSetName.java 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 1edd3f5a05a8..f86efee6ad2b 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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 chance 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 chance 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 chance 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..5145cfc49881 --- /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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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\"\254\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\030\n\nfi" + + "eld_name\030\001 \001(\tB\004\342A\001\002\032\353\001\n\014StringFilter\022f\n" + + "\nmatch_type\030\001 \001(\0162L.google.analytics.adm" + + "in.v1alpha.ExpandedDataSetFilter.StringF" + + "ilter.MatchTypeB\004\342A\001\002\022\023\n\005value\030\002 \001(\tB\004\342A" + + "\001\002\022\034\n\016case_sensitive\030\003 \001(\010B\004\342A\001\001\"@\n\tMatc" + + "hType\022\032\n\026MATCH_TYPE_UNSPECIFIED\020\000\022\t\n\005EXA" + + "CT\020\001\022\014\n\010CONTAINS\020\002\032B\n\014InListFilter\022\024\n\006va" + + "lues\030\001 \003(\tB\004\342A\001\002\022\034\n\016case_sensitive\030\002 \001(\010" + + "B\004\342A\001\001B\014\n\none_filter\"\247\002\n\037ExpandedDataSet" + + "FilterExpression\022X\n\tand_group\030\001 \001(\0132C.go" + + "ogle.analytics.admin.v1alpha.ExpandedDat" + + "aSetFilterExpressionListH\000\022Y\n\016not_expres" + + "sion\030\002 \001(\0132?.google.analytics.admin.v1al" + + "pha.ExpandedDataSetFilterExpressionH\000\022G\n" + + "\006filter\030\003 \001(\01325.google.analytics.admin.v" + + "1alpha.ExpandedDataSetFilterH\000B\006\n\004expr\"\202" + + "\001\n#ExpandedDataSetFilterExpressionList\022[" + + "\n\022filter_expressions\030\001 \003(\0132?.google.anal" + + "ytics.admin.v1alpha.ExpandedDataSetFilte" + + "rExpression\"\271\003\n\017ExpandedDataSet\022\022\n\004name\030" + + "\001 \001(\tB\004\342A\001\003\022\032\n\014display_name\030\002 \001(\tB\004\342A\001\002\022" + + "\031\n\013description\030\003 \001(\tB\004\342A\001\001\022\035\n\017dimension_" + + "names\030\004 \003(\tB\004\342A\001\005\022\032\n\014metric_names\030\005 \003(\tB" + + "\004\342A\001\005\022j\n\033dimension_filter_expression\030\006 \001" + + "(\0132?.google.analytics.admin.v1alpha.Expa" + + "ndedDataSetFilterExpressionB\004\342A\001\005\022D\n\032dat" + + "a_collection_start_time\030\007 \001(\0132\032.google.p" + + "rotobuf.TimestampB\004\342A\001\003:n\352Ak\n-analyticsa" + + "dmin.googleapis.com/ExpandedDataSet\022:pro" + + "perties/{property}/expandedDataSets/{exp" + + "anded_data_set}B|\n\"com.google.analytics." + + "admin.v1alphaB\024ExpandedDataSetProtoP\001Z>c" + + "loud.google.com/go/analytics/admin/apiv1" + + "alpha/adminpb;adminpbb\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 57% 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 f957f8bddec5..ec32f376496d 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,52 +1,77 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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(); } - 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.
@@ -55,6 +80,7 @@ protected java.lang.Object newInstance(
    * 
* * string property = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The property. */ @java.lang.Override @@ -63,14 +89,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.
@@ -79,16 +106,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 { @@ -97,6 +123,7 @@ public java.lang.String getProperty() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -108,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(property_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, property_); } @@ -133,15 +159,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; } @@ -160,132 +188,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) 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 + 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) 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 + parseDelimitedFrom( + java.io.InputStream input, 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) 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( + 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(); @@ -295,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_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); } @@ -315,14 +360,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_; @@ -333,46 +383,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; @@ -404,17 +461,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) { @@ -424,10 +483,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.
@@ -436,13 +498,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; @@ -451,6 +513,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.
@@ -459,15 +523,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 { @@ -475,6 +538,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.
@@ -483,18 +548,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.
@@ -503,6 +572,7 @@ public Builder setProperty(
      * 
* * string property = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearProperty() { @@ -512,6 +582,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.
@@ -520,21 +592,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); } @@ -544,55 +618,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..566aace89b63 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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 756901299234..c4b1905a233e 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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,46 +28,53 @@
  *
  * 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();
   }
 
-  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 @@ -59,6 +83,7 @@ public boolean getOptOut() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -70,8 +95,7 @@ public final boolean isInitialized() { } @java.lang.Override - public 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_); } @@ -85,8 +109,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; @@ -96,15 +119,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; } @@ -117,140 +142,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) 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 + 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) 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 + parseDelimitedFrom( + java.io.InputStream input, 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) 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( + 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(); @@ -260,19 +298,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); } @@ -280,14 +321,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_; @@ -298,46 +344,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()); } @@ -367,17 +421,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) { @@ -387,15 +443,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 @@ -403,11 +463,14 @@ 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. */ @@ -419,11 +482,14 @@ public Builder setOptOut(boolean value) { return this; } /** + * + * *
      * The opt out status for the UA property.
      * 
* * bool opt_out = 1; + * * @return This builder for chaining. */ public Builder clearOptOut() { @@ -432,9 +498,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); } @@ -444,55 +510,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..04b0b60d0ead --- /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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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/FetchConnectedGa4PropertyRequest.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/FetchConnectedGa4PropertyRequest.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/FetchConnectedGa4PropertyRequest.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/FetchConnectedGa4PropertyRequest.java index f292be93eb5a..cefd7087ee1a 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/FetchConnectedGa4PropertyRequest.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/FetchConnectedGa4PropertyRequest.java @@ -1,52 +1,75 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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 looking up GA4 property connected to a UA property.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.FetchConnectedGa4PropertyRequest} */ -public final class FetchConnectedGa4PropertyRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class FetchConnectedGa4PropertyRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.FetchConnectedGa4PropertyRequest) FetchConnectedGa4PropertyRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use FetchConnectedGa4PropertyRequest.newBuilder() to construct. - private FetchConnectedGa4PropertyRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private FetchConnectedGa4PropertyRequest( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private FetchConnectedGa4PropertyRequest() { property_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new FetchConnectedGa4PropertyRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_FetchConnectedGa4PropertyRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_FetchConnectedGa4PropertyRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_FetchConnectedGa4PropertyRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_FetchConnectedGa4PropertyRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.FetchConnectedGa4PropertyRequest.class, com.google.analytics.admin.v1alpha.FetchConnectedGa4PropertyRequest.Builder.class); + com.google.analytics.admin.v1alpha.FetchConnectedGa4PropertyRequest.class, + com.google.analytics.admin.v1alpha.FetchConnectedGa4PropertyRequest.Builder.class); } public static final int PROPERTY_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object property_ = ""; /** + * + * *
    * Required. The UA property for which to look up the connected GA4 property.
    * Note this request uses the
@@ -55,7 +78,10 @@ protected java.lang.Object newInstance(
    * Example: properties/1234
    * 
* - * 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 @@ -64,14 +90,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 for which to look up the connected GA4 property.
    * Note this request uses the
@@ -80,17 +107,18 @@ public java.lang.String getProperty() {
    * Example: properties/1234
    * 
* - * 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 { @@ -99,6 +127,7 @@ public java.lang.String getProperty() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -110,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(property_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, property_); } @@ -135,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.FetchConnectedGa4PropertyRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.FetchConnectedGa4PropertyRequest other = (com.google.analytics.admin.v1alpha.FetchConnectedGa4PropertyRequest) obj; + com.google.analytics.admin.v1alpha.FetchConnectedGa4PropertyRequest other = + (com.google.analytics.admin.v1alpha.FetchConnectedGa4PropertyRequest) obj; - if (!getProperty() - .equals(other.getProperty())) return false; + if (!getProperty().equals(other.getProperty())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -163,131 +191,138 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.FetchConnectedGa4PropertyRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.FetchConnectedGa4PropertyRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.FetchConnectedGa4PropertyRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.FetchConnectedGa4PropertyRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.FetchConnectedGa4PropertyRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.analytics.admin.v1alpha.FetchConnectedGa4PropertyRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.FetchConnectedGa4PropertyRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.FetchConnectedGa4PropertyRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.FetchConnectedGa4PropertyRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.FetchConnectedGa4PropertyRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.FetchConnectedGa4PropertyRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.FetchConnectedGa4PropertyRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.FetchConnectedGa4PropertyRequest parseDelimitedFrom( - java.io.InputStream input, - 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.FetchConnectedGa4PropertyRequest + parseDelimitedFrom( + java.io.InputStream input, 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.FetchConnectedGa4PropertyRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.FetchConnectedGa4PropertyRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1alpha.FetchConnectedGa4PropertyRequest prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1alpha.FetchConnectedGa4PropertyRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder 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 looking up GA4 property connected to a UA property.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.FetchConnectedGa4PropertyRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.FetchConnectedGa4PropertyRequest) com.google.analytics.admin.v1alpha.FetchConnectedGa4PropertyRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_FetchConnectedGa4PropertyRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_FetchConnectedGa4PropertyRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_FetchConnectedGa4PropertyRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_FetchConnectedGa4PropertyRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.FetchConnectedGa4PropertyRequest.class, com.google.analytics.admin.v1alpha.FetchConnectedGa4PropertyRequest.Builder.class); + com.google.analytics.admin.v1alpha.FetchConnectedGa4PropertyRequest.class, + com.google.analytics.admin.v1alpha.FetchConnectedGa4PropertyRequest.Builder.class); } - // Construct using com.google.analytics.admin.v1alpha.FetchConnectedGa4PropertyRequest.newBuilder() - private Builder() { - - } + // Construct using + // com.google.analytics.admin.v1alpha.FetchConnectedGa4PropertyRequest.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(); @@ -297,14 +332,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_FetchConnectedGa4PropertyRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_FetchConnectedGa4PropertyRequest_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.FetchConnectedGa4PropertyRequest getDefaultInstanceForType() { - return com.google.analytics.admin.v1alpha.FetchConnectedGa4PropertyRequest.getDefaultInstance(); + public com.google.analytics.admin.v1alpha.FetchConnectedGa4PropertyRequest + getDefaultInstanceForType() { + return com.google.analytics.admin.v1alpha.FetchConnectedGa4PropertyRequest + .getDefaultInstance(); } @java.lang.Override @@ -318,13 +355,17 @@ public com.google.analytics.admin.v1alpha.FetchConnectedGa4PropertyRequest build @java.lang.Override public com.google.analytics.admin.v1alpha.FetchConnectedGa4PropertyRequest buildPartial() { - com.google.analytics.admin.v1alpha.FetchConnectedGa4PropertyRequest result = new com.google.analytics.admin.v1alpha.FetchConnectedGa4PropertyRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.analytics.admin.v1alpha.FetchConnectedGa4PropertyRequest result = + new com.google.analytics.admin.v1alpha.FetchConnectedGa4PropertyRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.analytics.admin.v1alpha.FetchConnectedGa4PropertyRequest result) { + private void buildPartial0( + com.google.analytics.admin.v1alpha.FetchConnectedGa4PropertyRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.property_ = property_; @@ -335,46 +376,51 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.FetchConnectedGa4P public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.analytics.admin.v1alpha.FetchConnectedGa4PropertyRequest) { - return mergeFrom((com.google.analytics.admin.v1alpha.FetchConnectedGa4PropertyRequest)other); + return mergeFrom( + (com.google.analytics.admin.v1alpha.FetchConnectedGa4PropertyRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.analytics.admin.v1alpha.FetchConnectedGa4PropertyRequest other) { - if (other == com.google.analytics.admin.v1alpha.FetchConnectedGa4PropertyRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.analytics.admin.v1alpha.FetchConnectedGa4PropertyRequest other) { + if (other + == com.google.analytics.admin.v1alpha.FetchConnectedGa4PropertyRequest + .getDefaultInstance()) return this; if (!other.getProperty().isEmpty()) { property_ = other.property_; bitField0_ |= 0x00000001; @@ -406,17 +452,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) { @@ -426,10 +474,13 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object property_ = ""; /** + * + * *
      * Required. The UA property for which to look up the connected GA4 property.
      * Note this request uses the
@@ -438,14 +489,16 @@ public Builder mergeFrom(
      * Example: properties/1234
      * 
* - * 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; @@ -454,6 +507,8 @@ public java.lang.String getProperty() { } } /** + * + * *
      * Required. The UA property for which to look up the connected GA4 property.
      * Note this request uses the
@@ -462,16 +517,17 @@ public java.lang.String getProperty() {
      * Example: properties/1234
      * 
* - * 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 { @@ -479,6 +535,8 @@ public java.lang.String getProperty() { } } /** + * + * *
      * Required. The UA property for which to look up the connected GA4 property.
      * Note this request uses the
@@ -487,19 +545,25 @@ public java.lang.String getProperty() {
      * Example: properties/1234
      * 
* - * 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 UA property for which to look up the connected GA4 property.
      * Note this request uses the
@@ -508,7 +572,10 @@ public Builder setProperty(
      * Example: properties/1234
      * 
* - * 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() { @@ -518,6 +585,8 @@ public Builder clearProperty() { return this; } /** + * + * *
      * Required. The UA property for which to look up the connected GA4 property.
      * Note this request uses the
@@ -526,22 +595,26 @@ public Builder clearProperty() {
      * Example: properties/1234
      * 
* - * 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; onChanged(); return this; } + @java.lang.Override - 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,41 +624,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.FetchConnectedGa4PropertyRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.FetchConnectedGa4PropertyRequest) - private static final com.google.analytics.admin.v1alpha.FetchConnectedGa4PropertyRequest DEFAULT_INSTANCE; + private static final com.google.analytics.admin.v1alpha.FetchConnectedGa4PropertyRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.FetchConnectedGa4PropertyRequest(); } - public static com.google.analytics.admin.v1alpha.FetchConnectedGa4PropertyRequest getDefaultInstance() { + public static com.google.analytics.admin.v1alpha.FetchConnectedGa4PropertyRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public FetchConnectedGa4PropertyRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public FetchConnectedGa4PropertyRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -597,9 +672,8 @@ public com.google.protobuf.Parser getParserFor } @java.lang.Override - public com.google.analytics.admin.v1alpha.FetchConnectedGa4PropertyRequest getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.FetchConnectedGa4PropertyRequest + 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/FetchConnectedGa4PropertyRequestOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/FetchConnectedGa4PropertyRequestOrBuilder.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/FetchConnectedGa4PropertyRequestOrBuilder.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/FetchConnectedGa4PropertyRequestOrBuilder.java index f90e15ef05ad..f6e09f097ac6 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/FetchConnectedGa4PropertyRequestOrBuilder.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/FetchConnectedGa4PropertyRequestOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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 FetchConnectedGa4PropertyRequestOrBuilder extends +public interface FetchConnectedGa4PropertyRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.FetchConnectedGa4PropertyRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The UA property for which to look up the connected GA4 property.
    * Note this request uses the
@@ -16,11 +34,16 @@ public interface FetchConnectedGa4PropertyRequestOrBuilder extends
    * Example: properties/1234
    * 
* - * 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 UA property for which to look up the connected GA4 property.
    * Note this request uses the
@@ -29,9 +52,11 @@ public interface FetchConnectedGa4PropertyRequestOrBuilder extends
    * Example: properties/1234
    * 
* - * 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(); } diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/FetchConnectedGa4PropertyResponse.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/FetchConnectedGa4PropertyResponse.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/FetchConnectedGa4PropertyResponse.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/FetchConnectedGa4PropertyResponse.java index 069c96a43105..e68fb4f1d7a2 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/FetchConnectedGa4PropertyResponse.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/FetchConnectedGa4PropertyResponse.java @@ -1,52 +1,75 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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 for looking up GA4 property connected to a UA property.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.FetchConnectedGa4PropertyResponse} */ -public final class FetchConnectedGa4PropertyResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class FetchConnectedGa4PropertyResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.FetchConnectedGa4PropertyResponse) FetchConnectedGa4PropertyResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use FetchConnectedGa4PropertyResponse.newBuilder() to construct. - private FetchConnectedGa4PropertyResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private FetchConnectedGa4PropertyResponse( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private FetchConnectedGa4PropertyResponse() { property_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new FetchConnectedGa4PropertyResponse(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_FetchConnectedGa4PropertyResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_FetchConnectedGa4PropertyResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_FetchConnectedGa4PropertyResponse_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_FetchConnectedGa4PropertyResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.FetchConnectedGa4PropertyResponse.class, com.google.analytics.admin.v1alpha.FetchConnectedGa4PropertyResponse.Builder.class); + com.google.analytics.admin.v1alpha.FetchConnectedGa4PropertyResponse.class, + com.google.analytics.admin.v1alpha.FetchConnectedGa4PropertyResponse.Builder.class); } public static final int PROPERTY_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object property_ = ""; /** + * + * *
    * The GA4 property connected to the UA property. An empty string is returned
    * when there is no connected GA4 property.
@@ -55,6 +78,7 @@ protected java.lang.Object newInstance(
    * 
* * string property = 1 [(.google.api.resource_reference) = { ... } + * * @return The property. */ @java.lang.Override @@ -63,14 +87,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; } } /** + * + * *
    * The GA4 property connected to the UA property. An empty string is returned
    * when there is no connected GA4 property.
@@ -79,16 +104,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 { @@ -97,6 +121,7 @@ public java.lang.String getProperty() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -108,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(property_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, property_); } @@ -133,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.FetchConnectedGa4PropertyResponse)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.FetchConnectedGa4PropertyResponse other = (com.google.analytics.admin.v1alpha.FetchConnectedGa4PropertyResponse) obj; + com.google.analytics.admin.v1alpha.FetchConnectedGa4PropertyResponse other = + (com.google.analytics.admin.v1alpha.FetchConnectedGa4PropertyResponse) obj; - if (!getProperty() - .equals(other.getProperty())) return false; + if (!getProperty().equals(other.getProperty())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -161,131 +185,138 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.FetchConnectedGa4PropertyResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.FetchConnectedGa4PropertyResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.FetchConnectedGa4PropertyResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.FetchConnectedGa4PropertyResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.FetchConnectedGa4PropertyResponse parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.analytics.admin.v1alpha.FetchConnectedGa4PropertyResponse parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.FetchConnectedGa4PropertyResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.FetchConnectedGa4PropertyResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.FetchConnectedGa4PropertyResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.FetchConnectedGa4PropertyResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.FetchConnectedGa4PropertyResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.FetchConnectedGa4PropertyResponse + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.FetchConnectedGa4PropertyResponse parseDelimitedFrom( - java.io.InputStream input, - 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.FetchConnectedGa4PropertyResponse + parseDelimitedFrom( + java.io.InputStream input, 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.FetchConnectedGa4PropertyResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.FetchConnectedGa4PropertyResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1alpha.FetchConnectedGa4PropertyResponse prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1alpha.FetchConnectedGa4PropertyResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 for looking up GA4 property connected to a UA property.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.FetchConnectedGa4PropertyResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.FetchConnectedGa4PropertyResponse) com.google.analytics.admin.v1alpha.FetchConnectedGa4PropertyResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_FetchConnectedGa4PropertyResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_FetchConnectedGa4PropertyResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_FetchConnectedGa4PropertyResponse_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_FetchConnectedGa4PropertyResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.FetchConnectedGa4PropertyResponse.class, com.google.analytics.admin.v1alpha.FetchConnectedGa4PropertyResponse.Builder.class); + com.google.analytics.admin.v1alpha.FetchConnectedGa4PropertyResponse.class, + com.google.analytics.admin.v1alpha.FetchConnectedGa4PropertyResponse.Builder.class); } - // Construct using com.google.analytics.admin.v1alpha.FetchConnectedGa4PropertyResponse.newBuilder() - private Builder() { - - } + // Construct using + // com.google.analytics.admin.v1alpha.FetchConnectedGa4PropertyResponse.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(); @@ -295,14 +326,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_FetchConnectedGa4PropertyResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_FetchConnectedGa4PropertyResponse_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.FetchConnectedGa4PropertyResponse getDefaultInstanceForType() { - return com.google.analytics.admin.v1alpha.FetchConnectedGa4PropertyResponse.getDefaultInstance(); + public com.google.analytics.admin.v1alpha.FetchConnectedGa4PropertyResponse + getDefaultInstanceForType() { + return com.google.analytics.admin.v1alpha.FetchConnectedGa4PropertyResponse + .getDefaultInstance(); } @java.lang.Override @@ -316,13 +349,17 @@ public com.google.analytics.admin.v1alpha.FetchConnectedGa4PropertyResponse buil @java.lang.Override public com.google.analytics.admin.v1alpha.FetchConnectedGa4PropertyResponse buildPartial() { - com.google.analytics.admin.v1alpha.FetchConnectedGa4PropertyResponse result = new com.google.analytics.admin.v1alpha.FetchConnectedGa4PropertyResponse(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.analytics.admin.v1alpha.FetchConnectedGa4PropertyResponse result = + new com.google.analytics.admin.v1alpha.FetchConnectedGa4PropertyResponse(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.analytics.admin.v1alpha.FetchConnectedGa4PropertyResponse result) { + private void buildPartial0( + com.google.analytics.admin.v1alpha.FetchConnectedGa4PropertyResponse result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.property_ = property_; @@ -333,46 +370,51 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.FetchConnectedGa4P public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.analytics.admin.v1alpha.FetchConnectedGa4PropertyResponse) { - return mergeFrom((com.google.analytics.admin.v1alpha.FetchConnectedGa4PropertyResponse)other); + return mergeFrom( + (com.google.analytics.admin.v1alpha.FetchConnectedGa4PropertyResponse) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.analytics.admin.v1alpha.FetchConnectedGa4PropertyResponse other) { - if (other == com.google.analytics.admin.v1alpha.FetchConnectedGa4PropertyResponse.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.analytics.admin.v1alpha.FetchConnectedGa4PropertyResponse other) { + if (other + == com.google.analytics.admin.v1alpha.FetchConnectedGa4PropertyResponse + .getDefaultInstance()) return this; if (!other.getProperty().isEmpty()) { property_ = other.property_; bitField0_ |= 0x00000001; @@ -404,17 +446,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) { @@ -424,10 +468,13 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object property_ = ""; /** + * + * *
      * The GA4 property connected to the UA property. An empty string is returned
      * when there is no connected GA4 property.
@@ -436,13 +483,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; @@ -451,6 +498,8 @@ public java.lang.String getProperty() { } } /** + * + * *
      * The GA4 property connected to the UA property. An empty string is returned
      * when there is no connected GA4 property.
@@ -459,15 +508,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 { @@ -475,6 +523,8 @@ public java.lang.String getProperty() { } } /** + * + * *
      * The GA4 property connected to the UA property. An empty string is returned
      * when there is no connected GA4 property.
@@ -483,18 +533,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; } /** + * + * *
      * The GA4 property connected to the UA property. An empty string is returned
      * when there is no connected GA4 property.
@@ -503,6 +557,7 @@ public Builder setProperty(
      * 
* * string property = 1 [(.google.api.resource_reference) = { ... } + * * @return This builder for chaining. */ public Builder clearProperty() { @@ -512,6 +567,8 @@ public Builder clearProperty() { return this; } /** + * + * *
      * The GA4 property connected to the UA property. An empty string is returned
      * when there is no connected GA4 property.
@@ -520,21 +577,23 @@ 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; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -544,41 +603,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.FetchConnectedGa4PropertyResponse) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.FetchConnectedGa4PropertyResponse) - private static final com.google.analytics.admin.v1alpha.FetchConnectedGa4PropertyResponse DEFAULT_INSTANCE; + private static final com.google.analytics.admin.v1alpha.FetchConnectedGa4PropertyResponse + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.FetchConnectedGa4PropertyResponse(); } - public static com.google.analytics.admin.v1alpha.FetchConnectedGa4PropertyResponse getDefaultInstance() { + public static com.google.analytics.admin.v1alpha.FetchConnectedGa4PropertyResponse + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public FetchConnectedGa4PropertyResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public FetchConnectedGa4PropertyResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -590,9 +651,8 @@ public com.google.protobuf.Parser getParserFo } @java.lang.Override - public com.google.analytics.admin.v1alpha.FetchConnectedGa4PropertyResponse getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.FetchConnectedGa4PropertyResponse + 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/FetchConnectedGa4PropertyResponseOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/FetchConnectedGa4PropertyResponseOrBuilder.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/FetchConnectedGa4PropertyResponseOrBuilder.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/FetchConnectedGa4PropertyResponseOrBuilder.java index 56ca73c7838f..fb766d728b96 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/FetchConnectedGa4PropertyResponseOrBuilder.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/FetchConnectedGa4PropertyResponseOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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 FetchConnectedGa4PropertyResponseOrBuilder extends +public interface FetchConnectedGa4PropertyResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.FetchConnectedGa4PropertyResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The GA4 property connected to the UA property. An empty string is returned
    * when there is no connected GA4 property.
@@ -16,10 +34,13 @@ public interface FetchConnectedGa4PropertyResponseOrBuilder extends
    * 
* * string property = 1 [(.google.api.resource_reference) = { ... } + * * @return The property. */ java.lang.String getProperty(); /** + * + * *
    * The GA4 property connected to the UA property. An empty string is returned
    * when there is no connected GA4 property.
@@ -28,8 +49,8 @@ public interface FetchConnectedGa4PropertyResponseOrBuilder extends
    * 
* * string property = 1 [(.google.api.resource_reference) = { ... } + * * @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/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 cd98be8dc15c..9ac91cd5ba48 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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,33 +44,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(); } - 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 @@ -61,29 +84,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 { @@ -92,9 +115,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
@@ -106,6 +132,7 @@ public java.lang.String getName() {
    * 
* * string project = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return The project. */ @java.lang.Override @@ -114,14 +141,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
@@ -133,16 +161,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 { @@ -153,11 +180,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 @@ -165,11 +196,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 @@ -177,11 +212,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() { @@ -189,6 +227,7 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -200,8 +239,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -227,8 +265,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; @@ -238,21 +275,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; @@ -278,132 +313,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(); @@ -419,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_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 @@ -440,8 +479,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; } @@ -455,9 +497,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(); } } @@ -465,38 +505,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; @@ -504,7 +545,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; @@ -544,29 +586,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) { @@ -576,22 +620,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; @@ -600,20 +647,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 { @@ -621,28 +669,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() { @@ -652,17 +707,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; @@ -672,6 +731,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 +744,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 +759,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
@@ -709,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 { @@ -725,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
@@ -736,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
@@ -759,6 +827,7 @@ public Builder setProject(
      * 
* * string project = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return This builder for chaining. */ public Builder clearProject() { @@ -768,6 +837,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
@@ -779,12 +850,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; @@ -794,39 +867,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) { @@ -842,14 +934,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 { @@ -860,17 +955,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; @@ -883,11 +982,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); @@ -900,11 +1003,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; @@ -912,43 +1019,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); } @@ -958,12 +1077,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(); } @@ -972,27 +1091,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; @@ -1007,6 +1126,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 9a5ea8689d20..8c85a7b3a40f 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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
@@ -39,10 +62,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
@@ -54,35 +80,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/GetAccessBindingRequest.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetAccessBindingRequest.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/GetAccessBindingRequest.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetAccessBindingRequest.java index 2f167a083dec..014e5cd3df22 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetAccessBindingRequest.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetAccessBindingRequest.java @@ -1,52 +1,74 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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 GetAccessBinding RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.GetAccessBindingRequest} */ -public final class GetAccessBindingRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GetAccessBindingRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.GetAccessBindingRequest) GetAccessBindingRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetAccessBindingRequest.newBuilder() to construct. private GetAccessBindingRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetAccessBindingRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetAccessBindingRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_GetAccessBindingRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_GetAccessBindingRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_GetAccessBindingRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_GetAccessBindingRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.GetAccessBindingRequest.class, com.google.analytics.admin.v1alpha.GetAccessBindingRequest.Builder.class); + com.google.analytics.admin.v1alpha.GetAccessBindingRequest.class, + com.google.analytics.admin.v1alpha.GetAccessBindingRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Required. The name of the access binding to retrieve.
    * Formats:
@@ -54,7 +76,10 @@ protected java.lang.Object newInstance(
    * - properties/{property}/accessBindings/{accessBinding}
    * 
* - * string name = 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 @@ -63,14 +88,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 access binding to retrieve.
    * Formats:
@@ -78,17 +104,18 @@ public java.lang.String getName() {
    * - properties/{property}/accessBindings/{accessBinding}
    * 
* - * string name = 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 { @@ -97,6 +124,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -108,8 +136,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -133,15 +160,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.GetAccessBindingRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.GetAccessBindingRequest other = (com.google.analytics.admin.v1alpha.GetAccessBindingRequest) obj; + com.google.analytics.admin.v1alpha.GetAccessBindingRequest other = + (com.google.analytics.admin.v1alpha.GetAccessBindingRequest) 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,131 +188,136 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.GetAccessBindingRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.GetAccessBindingRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.GetAccessBindingRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.GetAccessBindingRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.GetAccessBindingRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.GetAccessBindingRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.GetAccessBindingRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.GetAccessBindingRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.GetAccessBindingRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.GetAccessBindingRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.GetAccessBindingRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.analytics.admin.v1alpha.GetAccessBindingRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.GetAccessBindingRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.GetAccessBindingRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1alpha.GetAccessBindingRequest prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1alpha.GetAccessBindingRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder 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 GetAccessBinding RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.GetAccessBindingRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.GetAccessBindingRequest) com.google.analytics.admin.v1alpha.GetAccessBindingRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_GetAccessBindingRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_GetAccessBindingRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_GetAccessBindingRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_GetAccessBindingRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.GetAccessBindingRequest.class, com.google.analytics.admin.v1alpha.GetAccessBindingRequest.Builder.class); + com.google.analytics.admin.v1alpha.GetAccessBindingRequest.class, + com.google.analytics.admin.v1alpha.GetAccessBindingRequest.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.GetAccessBindingRequest.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 +327,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_GetAccessBindingRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_GetAccessBindingRequest_descriptor; } @java.lang.Override @@ -316,8 +348,11 @@ public com.google.analytics.admin.v1alpha.GetAccessBindingRequest build() { @java.lang.Override public com.google.analytics.admin.v1alpha.GetAccessBindingRequest buildPartial() { - com.google.analytics.admin.v1alpha.GetAccessBindingRequest result = new com.google.analytics.admin.v1alpha.GetAccessBindingRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.analytics.admin.v1alpha.GetAccessBindingRequest result = + new com.google.analytics.admin.v1alpha.GetAccessBindingRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -333,38 +368,39 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.GetAccessBindingRe public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.analytics.admin.v1alpha.GetAccessBindingRequest) { - return mergeFrom((com.google.analytics.admin.v1alpha.GetAccessBindingRequest)other); + return mergeFrom((com.google.analytics.admin.v1alpha.GetAccessBindingRequest) other); } else { super.mergeFrom(other); return this; @@ -372,7 +408,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1alpha.GetAccessBindingRequest other) { - if (other == com.google.analytics.admin.v1alpha.GetAccessBindingRequest.getDefaultInstance()) return this; + if (other == com.google.analytics.admin.v1alpha.GetAccessBindingRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -404,17 +441,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) { @@ -424,10 +463,13 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Required. The name of the access binding to retrieve.
      * Formats:
@@ -435,14 +477,16 @@ public Builder mergeFrom(
      * - properties/{property}/accessBindings/{accessBinding}
      * 
* - * string name = 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,6 +495,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the access binding to retrieve.
      * Formats:
@@ -458,16 +504,17 @@ public java.lang.String getName() {
      * - properties/{property}/accessBindings/{accessBinding}
      * 
* - * string name = 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 { @@ -475,6 +522,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the access binding to retrieve.
      * Formats:
@@ -482,19 +531,25 @@ public java.lang.String getName() {
      * - properties/{property}/accessBindings/{accessBinding}
      * 
* - * 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 access binding to retrieve.
      * Formats:
@@ -502,7 +557,10 @@ public Builder setName(
      * - properties/{property}/accessBindings/{accessBinding}
      * 
* - * string 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() { @@ -512,6 +570,8 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. The name of the access binding to retrieve.
      * Formats:
@@ -519,22 +579,26 @@ public Builder clearName() {
      * - properties/{property}/accessBindings/{accessBinding}
      * 
* - * 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); } @@ -544,12 +608,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.GetAccessBindingRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.GetAccessBindingRequest) private static final com.google.analytics.admin.v1alpha.GetAccessBindingRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.GetAccessBindingRequest(); } @@ -558,27 +622,27 @@ public static com.google.analytics.admin.v1alpha.GetAccessBindingRequest getDefa return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetAccessBindingRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetAccessBindingRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.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,6 +657,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1alpha.GetAccessBindingRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetAccessBindingRequestOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetAccessBindingRequestOrBuilder.java new file mode 100644 index 000000000000..8948f421f6b0 --- /dev/null +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetAccessBindingRequestOrBuilder.java @@ -0,0 +1,60 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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 GetAccessBindingRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.GetAccessBindingRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The name of the access binding to retrieve.
+   * Formats:
+   * - accounts/{account}/accessBindings/{accessBinding}
+   * - properties/{property}/accessBindings/{accessBinding}
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The name of the access binding to retrieve.
+   * Formats:
+   * - accounts/{account}/accessBindings/{accessBinding}
+   * - properties/{property}/accessBindings/{accessBinding}
+   * 
+ * + * + * 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/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 f02e611be1e7..5f00623fb8d2 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,59 +1,84 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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(); } - 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 @@ -62,31 +87,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 { @@ -95,6 +122,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -106,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(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -131,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.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; } @@ -159,131 +186,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(); @@ -293,9 +324,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 @@ -314,8 +345,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; } @@ -331,38 +365,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; @@ -370,7 +405,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; @@ -402,17 +438,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) { @@ -422,24 +460,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; @@ -448,22 +491,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 { @@ -471,32 +517,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() { @@ -506,28 +563,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); } @@ -537,12 +600,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(); } @@ -551,27 +614,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; @@ -586,6 +649,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..2b36922cd2e9 --- /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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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/GetAdSenseLinkRequest.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetAdSenseLinkRequest.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/GetAdSenseLinkRequest.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetAdSenseLinkRequest.java index 1b4728e858ab..300ba6516d22 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetAdSenseLinkRequest.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetAdSenseLinkRequest.java @@ -1,59 +1,84 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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 to be passed to GetAdSenseLink method.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.GetAdSenseLinkRequest} */ -public final class GetAdSenseLinkRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GetAdSenseLinkRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.GetAdSenseLinkRequest) GetAdSenseLinkRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetAdSenseLinkRequest.newBuilder() to construct. private GetAdSenseLinkRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetAdSenseLinkRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetAdSenseLinkRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_GetAdSenseLinkRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_GetAdSenseLinkRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_GetAdSenseLinkRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_GetAdSenseLinkRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.GetAdSenseLinkRequest.class, com.google.analytics.admin.v1alpha.GetAdSenseLinkRequest.Builder.class); + com.google.analytics.admin.v1alpha.GetAdSenseLinkRequest.class, + com.google.analytics.admin.v1alpha.GetAdSenseLinkRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Required. Unique identifier for the AdSense Link requested.
    * Format: properties/{propertyId}/adSenseLinks/{linkId}
    * Example: properties/1234/adSenseLinks/5678
    * 
* - * string name = 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 @@ -62,31 +87,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. Unique identifier for the AdSense Link requested.
    * Format: properties/{propertyId}/adSenseLinks/{linkId}
    * Example: properties/1234/adSenseLinks/5678
    * 
* - * string name = 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 { @@ -95,6 +122,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -106,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(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -131,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.GetAdSenseLinkRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.GetAdSenseLinkRequest other = (com.google.analytics.admin.v1alpha.GetAdSenseLinkRequest) obj; + com.google.analytics.admin.v1alpha.GetAdSenseLinkRequest other = + (com.google.analytics.admin.v1alpha.GetAdSenseLinkRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -159,131 +186,136 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.GetAdSenseLinkRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.GetAdSenseLinkRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.GetAdSenseLinkRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.GetAdSenseLinkRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.GetAdSenseLinkRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.GetAdSenseLinkRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.GetAdSenseLinkRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.GetAdSenseLinkRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.GetAdSenseLinkRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.GetAdSenseLinkRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.GetAdSenseLinkRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.analytics.admin.v1alpha.GetAdSenseLinkRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.GetAdSenseLinkRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.GetAdSenseLinkRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1alpha.GetAdSenseLinkRequest prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1alpha.GetAdSenseLinkRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder 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 to be passed to GetAdSenseLink method.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.GetAdSenseLinkRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.GetAdSenseLinkRequest) com.google.analytics.admin.v1alpha.GetAdSenseLinkRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_GetAdSenseLinkRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_GetAdSenseLinkRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_GetAdSenseLinkRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_GetAdSenseLinkRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.GetAdSenseLinkRequest.class, com.google.analytics.admin.v1alpha.GetAdSenseLinkRequest.Builder.class); + com.google.analytics.admin.v1alpha.GetAdSenseLinkRequest.class, + com.google.analytics.admin.v1alpha.GetAdSenseLinkRequest.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.GetAdSenseLinkRequest.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(); @@ -293,9 +325,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_GetAdSenseLinkRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_GetAdSenseLinkRequest_descriptor; } @java.lang.Override @@ -314,8 +346,11 @@ public com.google.analytics.admin.v1alpha.GetAdSenseLinkRequest build() { @java.lang.Override public com.google.analytics.admin.v1alpha.GetAdSenseLinkRequest buildPartial() { - com.google.analytics.admin.v1alpha.GetAdSenseLinkRequest result = new com.google.analytics.admin.v1alpha.GetAdSenseLinkRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.analytics.admin.v1alpha.GetAdSenseLinkRequest result = + new com.google.analytics.admin.v1alpha.GetAdSenseLinkRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -331,38 +366,39 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.GetAdSenseLinkRequ public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.analytics.admin.v1alpha.GetAdSenseLinkRequest) { - return mergeFrom((com.google.analytics.admin.v1alpha.GetAdSenseLinkRequest)other); + return mergeFrom((com.google.analytics.admin.v1alpha.GetAdSenseLinkRequest) other); } else { super.mergeFrom(other); return this; @@ -370,7 +406,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1alpha.GetAdSenseLinkRequest other) { - if (other == com.google.analytics.admin.v1alpha.GetAdSenseLinkRequest.getDefaultInstance()) return this; + if (other == com.google.analytics.admin.v1alpha.GetAdSenseLinkRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -402,17 +439,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) { @@ -422,24 +461,29 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Required. Unique identifier for the AdSense Link requested.
      * Format: properties/{propertyId}/adSenseLinks/{linkId}
      * Example: properties/1234/adSenseLinks/5678
      * 
* - * string name = 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,22 +492,25 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. Unique identifier for the AdSense Link requested.
      * Format: properties/{propertyId}/adSenseLinks/{linkId}
      * Example: properties/1234/adSenseLinks/5678
      * 
* - * string name = 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 { @@ -471,32 +518,43 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. Unique identifier for the AdSense Link requested.
      * Format: properties/{propertyId}/adSenseLinks/{linkId}
      * Example: properties/1234/adSenseLinks/5678
      * 
* - * 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. Unique identifier for the AdSense Link requested.
      * Format: properties/{propertyId}/adSenseLinks/{linkId}
      * Example: properties/1234/adSenseLinks/5678
      * 
* - * string 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() { @@ -506,28 +564,34 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. Unique identifier for the AdSense Link requested.
      * Format: properties/{propertyId}/adSenseLinks/{linkId}
      * Example: properties/1234/adSenseLinks/5678
      * 
* - * 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); } @@ -537,12 +601,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.GetAdSenseLinkRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.GetAdSenseLinkRequest) private static final com.google.analytics.admin.v1alpha.GetAdSenseLinkRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.GetAdSenseLinkRequest(); } @@ -551,27 +615,27 @@ public static com.google.analytics.admin.v1alpha.GetAdSenseLinkRequest getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetAdSenseLinkRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetAdSenseLinkRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.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,6 +650,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1alpha.GetAdSenseLinkRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetAdSenseLinkRequestOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetAdSenseLinkRequestOrBuilder.java new file mode 100644 index 000000000000..9d895b32052f --- /dev/null +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetAdSenseLinkRequestOrBuilder.java @@ -0,0 +1,58 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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 GetAdSenseLinkRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.GetAdSenseLinkRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. Unique identifier for the AdSense Link requested.
+   * Format: properties/{propertyId}/adSenseLinks/{linkId}
+   * Example: properties/1234/adSenseLinks/5678
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. Unique identifier for the AdSense Link requested.
+   * Format: properties/{propertyId}/adSenseLinks/{linkId}
+   * Example: properties/1234/adSenseLinks/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/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 c3ecbeb40037..c8d701c176ae 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,58 +1,83 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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(); } - 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 @@ -61,30 +86,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 { @@ -93,6 +120,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -104,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(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -129,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.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; } @@ -157,131 +184,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(); @@ -291,13 +323,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(); } @@ -312,13 +345,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_; @@ -329,46 +366,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; @@ -400,17 +441,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) { @@ -420,23 +463,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; @@ -445,21 +493,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 { @@ -467,30 +518,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() { @@ -500,27 +562,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); } @@ -530,41 +598,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; @@ -576,9 +646,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..0190ddf86706 --- /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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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 542accf11345..328562059e54 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,58 +1,83 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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(); } - 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 @@ -61,30 +86,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 { @@ -93,6 +120,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -104,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(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -129,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.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; } @@ -157,131 +184,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(); @@ -291,9 +323,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 @@ -312,8 +344,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; } @@ -329,38 +364,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; @@ -368,7 +404,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; @@ -400,17 +437,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) { @@ -420,23 +459,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; @@ -445,21 +489,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 { @@ -467,30 +514,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() { @@ -500,27 +558,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); } @@ -530,12 +594,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(); } @@ -544,27 +608,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; @@ -579,6 +643,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..e96a1d3a303d --- /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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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 2a75c04d4f6d..2ddaebe221c2 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,59 +1,84 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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(); } - 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 @@ -62,31 +87,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 { @@ -95,6 +122,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -106,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(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -131,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.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; } @@ -159,131 +186,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(); @@ -293,9 +325,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 @@ -314,8 +346,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; } @@ -331,38 +366,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; @@ -370,7 +406,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; @@ -402,17 +439,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) { @@ -422,24 +461,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; @@ -448,22 +492,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 { @@ -471,32 +518,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() { @@ -506,28 +564,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); } @@ -537,12 +601,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(); } @@ -551,27 +615,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; @@ -586,6 +650,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..17f78869bec1 --- /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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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/GetChannelGroupRequest.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetChannelGroupRequest.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/GetChannelGroupRequest.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetChannelGroupRequest.java index cfc39d1dfca0..5a9863dde176 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetChannelGroupRequest.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetChannelGroupRequest.java @@ -1,58 +1,83 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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 GetChannelGroup RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.GetChannelGroupRequest} */ -public final class GetChannelGroupRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GetChannelGroupRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.GetChannelGroupRequest) GetChannelGroupRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetChannelGroupRequest.newBuilder() to construct. private GetChannelGroupRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetChannelGroupRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetChannelGroupRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_GetChannelGroupRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_GetChannelGroupRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_GetChannelGroupRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_GetChannelGroupRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.GetChannelGroupRequest.class, com.google.analytics.admin.v1alpha.GetChannelGroupRequest.Builder.class); + com.google.analytics.admin.v1alpha.GetChannelGroupRequest.class, + com.google.analytics.admin.v1alpha.GetChannelGroupRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Required. The ChannelGroup to get.
    * Example format: properties/1234/channelGroups/5678
    * 
* - * string name = 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 @@ -61,30 +86,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 ChannelGroup to get.
    * Example format: properties/1234/channelGroups/5678
    * 
* - * string name = 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 { @@ -93,6 +120,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -104,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(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -129,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.GetChannelGroupRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.GetChannelGroupRequest other = (com.google.analytics.admin.v1alpha.GetChannelGroupRequest) obj; + com.google.analytics.admin.v1alpha.GetChannelGroupRequest other = + (com.google.analytics.admin.v1alpha.GetChannelGroupRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -157,131 +184,136 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.GetChannelGroupRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.GetChannelGroupRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.GetChannelGroupRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.GetChannelGroupRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.GetChannelGroupRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.GetChannelGroupRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.GetChannelGroupRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.GetChannelGroupRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.GetChannelGroupRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.GetChannelGroupRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.GetChannelGroupRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.analytics.admin.v1alpha.GetChannelGroupRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.GetChannelGroupRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.GetChannelGroupRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1alpha.GetChannelGroupRequest prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1alpha.GetChannelGroupRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder 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 GetChannelGroup RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.GetChannelGroupRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.GetChannelGroupRequest) com.google.analytics.admin.v1alpha.GetChannelGroupRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_GetChannelGroupRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_GetChannelGroupRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_GetChannelGroupRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_GetChannelGroupRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.GetChannelGroupRequest.class, com.google.analytics.admin.v1alpha.GetChannelGroupRequest.Builder.class); + com.google.analytics.admin.v1alpha.GetChannelGroupRequest.class, + com.google.analytics.admin.v1alpha.GetChannelGroupRequest.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.GetChannelGroupRequest.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(); @@ -291,9 +323,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_GetChannelGroupRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_GetChannelGroupRequest_descriptor; } @java.lang.Override @@ -312,8 +344,11 @@ public com.google.analytics.admin.v1alpha.GetChannelGroupRequest build() { @java.lang.Override public com.google.analytics.admin.v1alpha.GetChannelGroupRequest buildPartial() { - com.google.analytics.admin.v1alpha.GetChannelGroupRequest result = new com.google.analytics.admin.v1alpha.GetChannelGroupRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.analytics.admin.v1alpha.GetChannelGroupRequest result = + new com.google.analytics.admin.v1alpha.GetChannelGroupRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -329,38 +364,39 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.GetChannelGroupReq public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.analytics.admin.v1alpha.GetChannelGroupRequest) { - return mergeFrom((com.google.analytics.admin.v1alpha.GetChannelGroupRequest)other); + return mergeFrom((com.google.analytics.admin.v1alpha.GetChannelGroupRequest) other); } else { super.mergeFrom(other); return this; @@ -368,7 +404,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1alpha.GetChannelGroupRequest other) { - if (other == com.google.analytics.admin.v1alpha.GetChannelGroupRequest.getDefaultInstance()) return this; + if (other == com.google.analytics.admin.v1alpha.GetChannelGroupRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -400,17 +437,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) { @@ -420,23 +459,28 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Required. The ChannelGroup to get.
      * Example format: properties/1234/channelGroups/5678
      * 
* - * string name = 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,21 +489,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The ChannelGroup to get.
      * Example format: properties/1234/channelGroups/5678
      * 
* - * string name = 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 { @@ -467,30 +514,41 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The ChannelGroup to get.
      * Example format: properties/1234/channelGroups/5678
      * 
* - * 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 ChannelGroup to get.
      * Example format: properties/1234/channelGroups/5678
      * 
* - * string 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() { @@ -500,27 +558,33 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. The ChannelGroup to get.
      * Example format: properties/1234/channelGroups/5678
      * 
* - * 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); } @@ -530,12 +594,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.GetChannelGroupRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.GetChannelGroupRequest) private static final com.google.analytics.admin.v1alpha.GetChannelGroupRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.GetChannelGroupRequest(); } @@ -544,27 +608,27 @@ public static com.google.analytics.admin.v1alpha.GetChannelGroupRequest getDefau return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetChannelGroupRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetChannelGroupRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.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,6 +643,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1alpha.GetChannelGroupRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetChannelGroupRequestOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetChannelGroupRequestOrBuilder.java new file mode 100644 index 000000000000..1279b748dab6 --- /dev/null +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetChannelGroupRequestOrBuilder.java @@ -0,0 +1,56 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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 GetChannelGroupRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.GetChannelGroupRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The ChannelGroup to get.
+   * Example format: properties/1234/channelGroups/5678
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The ChannelGroup to get.
+   * Example format: properties/1234/channelGroups/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/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 5fb13120bdf1..3d012a227c04 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,59 +1,84 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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(); } - 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 @@ -62,31 +87,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 { @@ -95,6 +122,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -106,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(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -131,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.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; } @@ -159,131 +186,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(); @@ -293,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_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(); } @@ -314,13 +347,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_; @@ -331,38 +368,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; @@ -370,7 +408,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; @@ -402,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) { @@ -422,24 +464,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; @@ -448,22 +495,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 { @@ -471,32 +521,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() { @@ -506,28 +567,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); } @@ -537,12 +604,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(); } @@ -551,27 +619,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; @@ -586,6 +654,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..dbe3d4cb2074 --- /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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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 01dd1af1c28c..4985e9d63656 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,58 +1,83 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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(); } - 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 @@ -61,30 +86,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 { @@ -93,6 +120,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -104,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(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -129,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.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; } @@ -157,131 +184,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(); @@ -291,13 +323,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(); } @@ -312,13 +345,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_; @@ -329,38 +366,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; @@ -368,7 +406,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; @@ -400,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) { @@ -420,23 +462,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; @@ -445,21 +492,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 { @@ -467,30 +517,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() { @@ -500,27 +561,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); } @@ -530,12 +597,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(); } @@ -544,27 +612,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; @@ -579,6 +647,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..3445a49b9e96 --- /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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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 c42f2e95bac0..14e623f930c0 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,58 +1,83 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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(); } - 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 @@ -61,30 +86,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 { @@ -93,6 +120,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -104,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(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -129,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.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; } @@ -157,131 +184,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(); @@ -291,9 +323,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 @@ -312,8 +344,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; } @@ -329,38 +364,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; @@ -368,7 +404,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; @@ -400,17 +437,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) { @@ -420,23 +459,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; @@ -445,21 +489,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 { @@ -467,30 +514,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() { @@ -500,27 +558,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); } @@ -530,12 +594,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(); } @@ -544,27 +608,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; @@ -579,6 +643,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..9f8f24aea63f --- /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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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/GetDataRedactionSettingsRequest.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetDataRedactionSettingsRequest.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/GetDataRedactionSettingsRequest.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetDataRedactionSettingsRequest.java index 1efa00fbfd57..4dc8e309e8b9 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetDataRedactionSettingsRequest.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetDataRedactionSettingsRequest.java @@ -1,52 +1,75 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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 GetDataRedactionSettings RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.GetDataRedactionSettingsRequest} */ -public final class GetDataRedactionSettingsRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GetDataRedactionSettingsRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.GetDataRedactionSettingsRequest) GetDataRedactionSettingsRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetDataRedactionSettingsRequest.newBuilder() to construct. - private GetDataRedactionSettingsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private GetDataRedactionSettingsRequest( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetDataRedactionSettingsRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetDataRedactionSettingsRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_GetDataRedactionSettingsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_GetDataRedactionSettingsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_GetDataRedactionSettingsRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_GetDataRedactionSettingsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.GetDataRedactionSettingsRequest.class, com.google.analytics.admin.v1alpha.GetDataRedactionSettingsRequest.Builder.class); + com.google.analytics.admin.v1alpha.GetDataRedactionSettingsRequest.class, + com.google.analytics.admin.v1alpha.GetDataRedactionSettingsRequest.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:
@@ -54,7 +77,10 @@ protected java.lang.Object newInstance(
    * Example: "properties/1000/dataStreams/2000/dataRedactionSettings"
    * 
* - * string name = 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 @@ -63,14 +89,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:
@@ -78,17 +105,18 @@ public java.lang.String getName() {
    * Example: "properties/1000/dataStreams/2000/dataRedactionSettings"
    * 
* - * string name = 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 { @@ -97,6 +125,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -108,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_); } @@ -133,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.GetDataRedactionSettingsRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.GetDataRedactionSettingsRequest other = (com.google.analytics.admin.v1alpha.GetDataRedactionSettingsRequest) obj; + com.google.analytics.admin.v1alpha.GetDataRedactionSettingsRequest other = + (com.google.analytics.admin.v1alpha.GetDataRedactionSettingsRequest) 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,131 +189,138 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.GetDataRedactionSettingsRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.GetDataRedactionSettingsRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.GetDataRedactionSettingsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.GetDataRedactionSettingsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.GetDataRedactionSettingsRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.analytics.admin.v1alpha.GetDataRedactionSettingsRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.GetDataRedactionSettingsRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.GetDataRedactionSettingsRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.GetDataRedactionSettingsRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.GetDataRedactionSettingsRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.GetDataRedactionSettingsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.GetDataRedactionSettingsRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.GetDataRedactionSettingsRequest parseDelimitedFrom( - java.io.InputStream input, - 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.GetDataRedactionSettingsRequest + parseDelimitedFrom( + java.io.InputStream input, 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.GetDataRedactionSettingsRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.GetDataRedactionSettingsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1alpha.GetDataRedactionSettingsRequest prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1alpha.GetDataRedactionSettingsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder 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 GetDataRedactionSettings RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.GetDataRedactionSettingsRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.GetDataRedactionSettingsRequest) com.google.analytics.admin.v1alpha.GetDataRedactionSettingsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_GetDataRedactionSettingsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_GetDataRedactionSettingsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_GetDataRedactionSettingsRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_GetDataRedactionSettingsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.GetDataRedactionSettingsRequest.class, com.google.analytics.admin.v1alpha.GetDataRedactionSettingsRequest.Builder.class); + com.google.analytics.admin.v1alpha.GetDataRedactionSettingsRequest.class, + com.google.analytics.admin.v1alpha.GetDataRedactionSettingsRequest.Builder.class); } - // Construct using com.google.analytics.admin.v1alpha.GetDataRedactionSettingsRequest.newBuilder() - private Builder() { - - } + // Construct using + // com.google.analytics.admin.v1alpha.GetDataRedactionSettingsRequest.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(); @@ -295,14 +330,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_GetDataRedactionSettingsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_GetDataRedactionSettingsRequest_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.GetDataRedactionSettingsRequest getDefaultInstanceForType() { - return com.google.analytics.admin.v1alpha.GetDataRedactionSettingsRequest.getDefaultInstance(); + public com.google.analytics.admin.v1alpha.GetDataRedactionSettingsRequest + getDefaultInstanceForType() { + return com.google.analytics.admin.v1alpha.GetDataRedactionSettingsRequest + .getDefaultInstance(); } @java.lang.Override @@ -316,13 +353,17 @@ public com.google.analytics.admin.v1alpha.GetDataRedactionSettingsRequest build( @java.lang.Override public com.google.analytics.admin.v1alpha.GetDataRedactionSettingsRequest buildPartial() { - com.google.analytics.admin.v1alpha.GetDataRedactionSettingsRequest result = new com.google.analytics.admin.v1alpha.GetDataRedactionSettingsRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.analytics.admin.v1alpha.GetDataRedactionSettingsRequest result = + new com.google.analytics.admin.v1alpha.GetDataRedactionSettingsRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.analytics.admin.v1alpha.GetDataRedactionSettingsRequest result) { + private void buildPartial0( + com.google.analytics.admin.v1alpha.GetDataRedactionSettingsRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.name_ = name_; @@ -333,46 +374,51 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.GetDataRedactionSe public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.analytics.admin.v1alpha.GetDataRedactionSettingsRequest) { - return mergeFrom((com.google.analytics.admin.v1alpha.GetDataRedactionSettingsRequest)other); + return mergeFrom( + (com.google.analytics.admin.v1alpha.GetDataRedactionSettingsRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.analytics.admin.v1alpha.GetDataRedactionSettingsRequest other) { - if (other == com.google.analytics.admin.v1alpha.GetDataRedactionSettingsRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.analytics.admin.v1alpha.GetDataRedactionSettingsRequest other) { + if (other + == com.google.analytics.admin.v1alpha.GetDataRedactionSettingsRequest + .getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -404,17 +450,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) { @@ -424,10 +472,13 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Required. The name of the settings to lookup.
      * Format:
@@ -435,14 +486,16 @@ public Builder mergeFrom(
      * Example: "properties/1000/dataStreams/2000/dataRedactionSettings"
      * 
* - * string name = 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,6 +504,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the settings to lookup.
      * Format:
@@ -458,16 +513,17 @@ public java.lang.String getName() {
      * Example: "properties/1000/dataStreams/2000/dataRedactionSettings"
      * 
* - * string name = 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 { @@ -475,6 +531,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the settings to lookup.
      * Format:
@@ -482,19 +540,25 @@ public java.lang.String getName() {
      * Example: "properties/1000/dataStreams/2000/dataRedactionSettings"
      * 
* - * 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:
@@ -502,7 +566,10 @@ public Builder setName(
      * Example: "properties/1000/dataStreams/2000/dataRedactionSettings"
      * 
* - * string 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() { @@ -512,6 +579,8 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. The name of the settings to lookup.
      * Format:
@@ -519,22 +588,26 @@ public Builder clearName() {
      * Example: "properties/1000/dataStreams/2000/dataRedactionSettings"
      * 
* - * 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); } @@ -544,41 +617,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.GetDataRedactionSettingsRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.GetDataRedactionSettingsRequest) - private static final com.google.analytics.admin.v1alpha.GetDataRedactionSettingsRequest DEFAULT_INSTANCE; + private static final com.google.analytics.admin.v1alpha.GetDataRedactionSettingsRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.GetDataRedactionSettingsRequest(); } - public static com.google.analytics.admin.v1alpha.GetDataRedactionSettingsRequest getDefaultInstance() { + public static com.google.analytics.admin.v1alpha.GetDataRedactionSettingsRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetDataRedactionSettingsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetDataRedactionSettingsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -590,9 +665,8 @@ public com.google.protobuf.Parser getParserForT } @java.lang.Override - public com.google.analytics.admin.v1alpha.GetDataRedactionSettingsRequest getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.GetDataRedactionSettingsRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetDataRedactionSettingsRequestOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetDataRedactionSettingsRequestOrBuilder.java new file mode 100644 index 000000000000..ca43a6cc64fe --- /dev/null +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetDataRedactionSettingsRequestOrBuilder.java @@ -0,0 +1,60 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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 GetDataRedactionSettingsRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.GetDataRedactionSettingsRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The name of the settings to lookup.
+   * Format:
+   * properties/{property}/dataStreams/{data_stream}/dataRedactionSettings
+   * Example: "properties/1000/dataStreams/2000/dataRedactionSettings"
+   * 
+ * + * + * 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}/dataStreams/{data_stream}/dataRedactionSettings
+   * Example: "properties/1000/dataStreams/2000/dataRedactionSettings"
+   * 
+ * + * + * 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 cbf2a4275208..3a500fb6f2a4 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,52 +1,75 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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(); } - 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:
@@ -54,7 +77,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 @@ -63,14 +89,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:
@@ -78,17 +105,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 { @@ -97,6 +125,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -108,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_); } @@ -133,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.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; } @@ -161,131 +189,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(); @@ -295,14 +330,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 @@ -316,13 +353,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_; @@ -333,46 +374,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; @@ -404,17 +450,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) { @@ -424,10 +472,13 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Required. The name of the settings to lookup.
      * Format:
@@ -435,14 +486,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; @@ -451,6 +504,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the settings to lookup.
      * Format:
@@ -458,16 +513,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 { @@ -475,6 +531,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the settings to lookup.
      * Format:
@@ -482,19 +540,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:
@@ -502,7 +566,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() { @@ -512,6 +579,8 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. The name of the settings to lookup.
      * Format:
@@ -519,22 +588,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); } @@ -544,41 +617,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; @@ -590,9 +665,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..57bee4e278ad --- /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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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 53916d766f48..e7dfc8938d6a 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,59 +1,84 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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(); } - 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 @@ -62,31 +87,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 { @@ -95,6 +122,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -106,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(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -131,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.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; } @@ -159,131 +186,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(); @@ -293,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_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(); } @@ -314,13 +347,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_; @@ -331,46 +368,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; @@ -402,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) { @@ -422,24 +465,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; @@ -448,22 +496,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 { @@ -471,32 +522,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() { @@ -506,28 +568,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); } @@ -537,41 +605,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; @@ -583,9 +653,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..ef934afa5d19 --- /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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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 94d40b1cb4f8..bca9a8eea412 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,58 +1,83 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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(); } - 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 @@ -61,30 +86,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 { @@ -93,6 +120,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -104,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(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -129,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.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; } @@ -157,131 +184,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(); @@ -291,9 +323,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 @@ -312,8 +344,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; } @@ -329,38 +364,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; @@ -368,7 +404,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; @@ -400,17 +437,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) { @@ -420,23 +459,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; @@ -445,21 +489,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 { @@ -467,30 +514,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() { @@ -500,27 +558,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); } @@ -530,12 +594,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(); } @@ -544,27 +608,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; @@ -579,6 +643,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..1c0347dac286 --- /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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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 c7858af027b9..0bb91ae38fe5 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,58 +1,88 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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(); } - 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 @@ -61,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 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 { @@ -93,6 +125,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -104,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_); } @@ -129,15 +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.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; } @@ -156,132 +190,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) 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 + 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) 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 + parseDelimitedFrom( + java.io.InputStream input, 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) 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( + 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(); @@ -291,19 +341,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); } @@ -311,14 +365,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_; @@ -329,46 +389,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; @@ -400,17 +468,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) { @@ -420,23 +490,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; @@ -445,21 +520,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 { @@ -467,30 +545,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() { @@ -500,27 +589,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); } @@ -530,55 +625,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..436297e24048 --- /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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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 40fc6580b5c8..f1c71a8a1bdd 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,58 +1,86 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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(); } - 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 @@ -61,30 +89,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 { @@ -93,6 +123,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -104,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_); } @@ -129,15 +159,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; } @@ -156,132 +187,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) 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 + 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) 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 + parseDelimitedFrom( + java.io.InputStream input, 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) 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( + 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(); @@ -291,19 +335,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); } @@ -311,14 +358,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_; @@ -329,46 +381,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; @@ -400,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) { @@ -420,23 +480,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; @@ -445,21 +510,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 { @@ -467,30 +535,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() { @@ -500,27 +579,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); } @@ -530,41 +615,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; @@ -576,9 +664,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..500070dadc70 --- /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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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/GetEnhancedMeasurementSettingsRequest.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetEnhancedMeasurementSettingsRequest.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/GetEnhancedMeasurementSettingsRequest.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetEnhancedMeasurementSettingsRequest.java index 644c955b0520..258ec16cc5fe 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetEnhancedMeasurementSettingsRequest.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetEnhancedMeasurementSettingsRequest.java @@ -1,52 +1,76 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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 GetEnhancedMeasurementSettings RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.GetEnhancedMeasurementSettingsRequest} */ -public final class GetEnhancedMeasurementSettingsRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GetEnhancedMeasurementSettingsRequest + extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.GetEnhancedMeasurementSettingsRequest) GetEnhancedMeasurementSettingsRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetEnhancedMeasurementSettingsRequest.newBuilder() to construct. - private GetEnhancedMeasurementSettingsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private GetEnhancedMeasurementSettingsRequest( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetEnhancedMeasurementSettingsRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetEnhancedMeasurementSettingsRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_GetEnhancedMeasurementSettingsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_GetEnhancedMeasurementSettingsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_GetEnhancedMeasurementSettingsRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_GetEnhancedMeasurementSettingsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.GetEnhancedMeasurementSettingsRequest.class, com.google.analytics.admin.v1alpha.GetEnhancedMeasurementSettingsRequest.Builder.class); + com.google.analytics.admin.v1alpha.GetEnhancedMeasurementSettingsRequest.class, + com.google.analytics.admin.v1alpha.GetEnhancedMeasurementSettingsRequest.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:
@@ -54,7 +78,10 @@ protected java.lang.Object newInstance(
    * Example: "properties/1000/dataStreams/2000/enhancedMeasurementSettings"
    * 
* - * string name = 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 @@ -63,14 +90,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:
@@ -78,17 +106,18 @@ public java.lang.String getName() {
    * Example: "properties/1000/dataStreams/2000/enhancedMeasurementSettings"
    * 
* - * string name = 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 { @@ -97,6 +126,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -108,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_); } @@ -133,15 +162,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.GetEnhancedMeasurementSettingsRequest)) { + if (!(obj + instanceof com.google.analytics.admin.v1alpha.GetEnhancedMeasurementSettingsRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.GetEnhancedMeasurementSettingsRequest other = (com.google.analytics.admin.v1alpha.GetEnhancedMeasurementSettingsRequest) obj; + com.google.analytics.admin.v1alpha.GetEnhancedMeasurementSettingsRequest other = + (com.google.analytics.admin.v1alpha.GetEnhancedMeasurementSettingsRequest) 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,131 +191,139 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.GetEnhancedMeasurementSettingsRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.GetEnhancedMeasurementSettingsRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.GetEnhancedMeasurementSettingsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.GetEnhancedMeasurementSettingsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.GetEnhancedMeasurementSettingsRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.analytics.admin.v1alpha.GetEnhancedMeasurementSettingsRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.GetEnhancedMeasurementSettingsRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.GetEnhancedMeasurementSettingsRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.GetEnhancedMeasurementSettingsRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.GetEnhancedMeasurementSettingsRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.GetEnhancedMeasurementSettingsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.GetEnhancedMeasurementSettingsRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.GetEnhancedMeasurementSettingsRequest parseDelimitedFrom( - java.io.InputStream input, - 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.GetEnhancedMeasurementSettingsRequest + parseDelimitedFrom( + java.io.InputStream input, 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.GetEnhancedMeasurementSettingsRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.GetEnhancedMeasurementSettingsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1alpha.GetEnhancedMeasurementSettingsRequest prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1alpha.GetEnhancedMeasurementSettingsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder 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 GetEnhancedMeasurementSettings RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.GetEnhancedMeasurementSettingsRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.GetEnhancedMeasurementSettingsRequest) com.google.analytics.admin.v1alpha.GetEnhancedMeasurementSettingsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_GetEnhancedMeasurementSettingsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_GetEnhancedMeasurementSettingsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_GetEnhancedMeasurementSettingsRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_GetEnhancedMeasurementSettingsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.GetEnhancedMeasurementSettingsRequest.class, com.google.analytics.admin.v1alpha.GetEnhancedMeasurementSettingsRequest.Builder.class); + com.google.analytics.admin.v1alpha.GetEnhancedMeasurementSettingsRequest.class, + com.google.analytics.admin.v1alpha.GetEnhancedMeasurementSettingsRequest.Builder + .class); } - // Construct using com.google.analytics.admin.v1alpha.GetEnhancedMeasurementSettingsRequest.newBuilder() - private Builder() { - - } + // Construct using + // com.google.analytics.admin.v1alpha.GetEnhancedMeasurementSettingsRequest.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(); @@ -295,19 +333,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_GetEnhancedMeasurementSettingsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_GetEnhancedMeasurementSettingsRequest_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.GetEnhancedMeasurementSettingsRequest getDefaultInstanceForType() { - return com.google.analytics.admin.v1alpha.GetEnhancedMeasurementSettingsRequest.getDefaultInstance(); + public com.google.analytics.admin.v1alpha.GetEnhancedMeasurementSettingsRequest + getDefaultInstanceForType() { + return com.google.analytics.admin.v1alpha.GetEnhancedMeasurementSettingsRequest + .getDefaultInstance(); } @java.lang.Override public com.google.analytics.admin.v1alpha.GetEnhancedMeasurementSettingsRequest build() { - com.google.analytics.admin.v1alpha.GetEnhancedMeasurementSettingsRequest result = buildPartial(); + com.google.analytics.admin.v1alpha.GetEnhancedMeasurementSettingsRequest result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -316,13 +357,17 @@ public com.google.analytics.admin.v1alpha.GetEnhancedMeasurementSettingsRequest @java.lang.Override public com.google.analytics.admin.v1alpha.GetEnhancedMeasurementSettingsRequest buildPartial() { - com.google.analytics.admin.v1alpha.GetEnhancedMeasurementSettingsRequest result = new com.google.analytics.admin.v1alpha.GetEnhancedMeasurementSettingsRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.analytics.admin.v1alpha.GetEnhancedMeasurementSettingsRequest result = + new com.google.analytics.admin.v1alpha.GetEnhancedMeasurementSettingsRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.analytics.admin.v1alpha.GetEnhancedMeasurementSettingsRequest result) { + private void buildPartial0( + com.google.analytics.admin.v1alpha.GetEnhancedMeasurementSettingsRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.name_ = name_; @@ -333,46 +378,52 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.GetEnhancedMeasure public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.analytics.admin.v1alpha.GetEnhancedMeasurementSettingsRequest) { - return mergeFrom((com.google.analytics.admin.v1alpha.GetEnhancedMeasurementSettingsRequest)other); + if (other + instanceof com.google.analytics.admin.v1alpha.GetEnhancedMeasurementSettingsRequest) { + return mergeFrom( + (com.google.analytics.admin.v1alpha.GetEnhancedMeasurementSettingsRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.analytics.admin.v1alpha.GetEnhancedMeasurementSettingsRequest other) { - if (other == com.google.analytics.admin.v1alpha.GetEnhancedMeasurementSettingsRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.analytics.admin.v1alpha.GetEnhancedMeasurementSettingsRequest other) { + if (other + == com.google.analytics.admin.v1alpha.GetEnhancedMeasurementSettingsRequest + .getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -404,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) { @@ -424,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:
@@ -435,14 +491,16 @@ public Builder mergeFrom(
      * Example: "properties/1000/dataStreams/2000/enhancedMeasurementSettings"
      * 
* - * string name = 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,6 +509,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the settings to lookup.
      * Format:
@@ -458,16 +518,17 @@ public java.lang.String getName() {
      * Example: "properties/1000/dataStreams/2000/enhancedMeasurementSettings"
      * 
* - * string name = 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 { @@ -475,6 +536,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the settings to lookup.
      * Format:
@@ -482,19 +545,25 @@ public java.lang.String getName() {
      * Example: "properties/1000/dataStreams/2000/enhancedMeasurementSettings"
      * 
* - * 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:
@@ -502,7 +571,10 @@ public Builder setName(
      * Example: "properties/1000/dataStreams/2000/enhancedMeasurementSettings"
      * 
* - * string 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() { @@ -512,6 +584,8 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. The name of the settings to lookup.
      * Format:
@@ -519,22 +593,26 @@ public Builder clearName() {
      * Example: "properties/1000/dataStreams/2000/enhancedMeasurementSettings"
      * 
* - * 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); } @@ -544,41 +622,44 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.GetEnhancedMeasurementSettingsRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.GetEnhancedMeasurementSettingsRequest) - private static final com.google.analytics.admin.v1alpha.GetEnhancedMeasurementSettingsRequest DEFAULT_INSTANCE; + private static final com.google.analytics.admin.v1alpha.GetEnhancedMeasurementSettingsRequest + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.GetEnhancedMeasurementSettingsRequest(); + DEFAULT_INSTANCE = + new com.google.analytics.admin.v1alpha.GetEnhancedMeasurementSettingsRequest(); } - public static com.google.analytics.admin.v1alpha.GetEnhancedMeasurementSettingsRequest getDefaultInstance() { + public static com.google.analytics.admin.v1alpha.GetEnhancedMeasurementSettingsRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetEnhancedMeasurementSettingsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetEnhancedMeasurementSettingsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -590,9 +671,8 @@ public com.google.protobuf.Parser getPars } @java.lang.Override - public com.google.analytics.admin.v1alpha.GetEnhancedMeasurementSettingsRequest getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.GetEnhancedMeasurementSettingsRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetEnhancedMeasurementSettingsRequestOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetEnhancedMeasurementSettingsRequestOrBuilder.java new file mode 100644 index 000000000000..c170df0861c0 --- /dev/null +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetEnhancedMeasurementSettingsRequestOrBuilder.java @@ -0,0 +1,60 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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 GetEnhancedMeasurementSettingsRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.GetEnhancedMeasurementSettingsRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The name of the settings to lookup.
+   * Format:
+   * properties/{property}/dataStreams/{data_stream}/enhancedMeasurementSettings
+   * Example: "properties/1000/dataStreams/2000/enhancedMeasurementSettings"
+   * 
+ * + * + * 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}/dataStreams/{data_stream}/enhancedMeasurementSettings
+   * Example: "properties/1000/dataStreams/2000/enhancedMeasurementSettings"
+   * 
+ * + * + * 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/GetEventCreateRuleRequest.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetEventCreateRuleRequest.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/GetEventCreateRuleRequest.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetEventCreateRuleRequest.java index fc78e79a04f9..1e2a675cfdd7 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetEventCreateRuleRequest.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetEventCreateRuleRequest.java @@ -1,58 +1,83 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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 GetEventCreateRule RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.GetEventCreateRuleRequest} */ -public final class GetEventCreateRuleRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GetEventCreateRuleRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.GetEventCreateRuleRequest) GetEventCreateRuleRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetEventCreateRuleRequest.newBuilder() to construct. private GetEventCreateRuleRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetEventCreateRuleRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetEventCreateRuleRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_GetEventCreateRuleRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_GetEventCreateRuleRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_GetEventCreateRuleRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_GetEventCreateRuleRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.GetEventCreateRuleRequest.class, com.google.analytics.admin.v1alpha.GetEventCreateRuleRequest.Builder.class); + com.google.analytics.admin.v1alpha.GetEventCreateRuleRequest.class, + com.google.analytics.admin.v1alpha.GetEventCreateRuleRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Required. The name of the EventCreateRule to get.
    * Example format: properties/123/dataStreams/456/eventCreateRules/789
    * 
* - * string name = 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 @@ -61,30 +86,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 EventCreateRule to get.
    * Example format: properties/123/dataStreams/456/eventCreateRules/789
    * 
* - * string name = 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 { @@ -93,6 +120,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -104,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(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -129,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.GetEventCreateRuleRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.GetEventCreateRuleRequest other = (com.google.analytics.admin.v1alpha.GetEventCreateRuleRequest) obj; + com.google.analytics.admin.v1alpha.GetEventCreateRuleRequest other = + (com.google.analytics.admin.v1alpha.GetEventCreateRuleRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -157,131 +184,136 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.GetEventCreateRuleRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.GetEventCreateRuleRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.GetEventCreateRuleRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.GetEventCreateRuleRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.GetEventCreateRuleRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.GetEventCreateRuleRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.GetEventCreateRuleRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.GetEventCreateRuleRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.GetEventCreateRuleRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.GetEventCreateRuleRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.GetEventCreateRuleRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.analytics.admin.v1alpha.GetEventCreateRuleRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.GetEventCreateRuleRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.GetEventCreateRuleRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1alpha.GetEventCreateRuleRequest prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1alpha.GetEventCreateRuleRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder 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 GetEventCreateRule RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.GetEventCreateRuleRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.GetEventCreateRuleRequest) com.google.analytics.admin.v1alpha.GetEventCreateRuleRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_GetEventCreateRuleRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_GetEventCreateRuleRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_GetEventCreateRuleRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_GetEventCreateRuleRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.GetEventCreateRuleRequest.class, com.google.analytics.admin.v1alpha.GetEventCreateRuleRequest.Builder.class); + com.google.analytics.admin.v1alpha.GetEventCreateRuleRequest.class, + com.google.analytics.admin.v1alpha.GetEventCreateRuleRequest.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.GetEventCreateRuleRequest.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(); @@ -291,13 +323,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_GetEventCreateRuleRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_GetEventCreateRuleRequest_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.GetEventCreateRuleRequest getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.GetEventCreateRuleRequest + getDefaultInstanceForType() { return com.google.analytics.admin.v1alpha.GetEventCreateRuleRequest.getDefaultInstance(); } @@ -312,13 +345,17 @@ public com.google.analytics.admin.v1alpha.GetEventCreateRuleRequest build() { @java.lang.Override public com.google.analytics.admin.v1alpha.GetEventCreateRuleRequest buildPartial() { - com.google.analytics.admin.v1alpha.GetEventCreateRuleRequest result = new com.google.analytics.admin.v1alpha.GetEventCreateRuleRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.analytics.admin.v1alpha.GetEventCreateRuleRequest result = + new com.google.analytics.admin.v1alpha.GetEventCreateRuleRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.analytics.admin.v1alpha.GetEventCreateRuleRequest result) { + private void buildPartial0( + com.google.analytics.admin.v1alpha.GetEventCreateRuleRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.name_ = name_; @@ -329,38 +366,39 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.GetEventCreateRule public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.analytics.admin.v1alpha.GetEventCreateRuleRequest) { - return mergeFrom((com.google.analytics.admin.v1alpha.GetEventCreateRuleRequest)other); + return mergeFrom((com.google.analytics.admin.v1alpha.GetEventCreateRuleRequest) other); } else { super.mergeFrom(other); return this; @@ -368,7 +406,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1alpha.GetEventCreateRuleRequest other) { - if (other == com.google.analytics.admin.v1alpha.GetEventCreateRuleRequest.getDefaultInstance()) return this; + if (other + == com.google.analytics.admin.v1alpha.GetEventCreateRuleRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -400,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) { @@ -420,23 +462,28 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Required. The name of the EventCreateRule to get.
      * Example format: properties/123/dataStreams/456/eventCreateRules/789
      * 
* - * string name = 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,21 +492,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the EventCreateRule to get.
      * Example format: properties/123/dataStreams/456/eventCreateRules/789
      * 
* - * string name = 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 { @@ -467,30 +517,41 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the EventCreateRule to get.
      * Example format: properties/123/dataStreams/456/eventCreateRules/789
      * 
* - * 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 EventCreateRule to get.
      * Example format: properties/123/dataStreams/456/eventCreateRules/789
      * 
* - * string 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() { @@ -500,27 +561,33 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. The name of the EventCreateRule to get.
      * Example format: properties/123/dataStreams/456/eventCreateRules/789
      * 
* - * 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); } @@ -530,12 +597,13 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.GetEventCreateRuleRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.GetEventCreateRuleRequest) - private static final com.google.analytics.admin.v1alpha.GetEventCreateRuleRequest DEFAULT_INSTANCE; + private static final com.google.analytics.admin.v1alpha.GetEventCreateRuleRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.GetEventCreateRuleRequest(); } @@ -544,27 +612,27 @@ public static com.google.analytics.admin.v1alpha.GetEventCreateRuleRequest getDe return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetEventCreateRuleRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetEventCreateRuleRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.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,6 +647,4 @@ public com.google.protobuf.Parser getParserForType() public com.google.analytics.admin.v1alpha.GetEventCreateRuleRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetEventCreateRuleRequestOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetEventCreateRuleRequestOrBuilder.java new file mode 100644 index 000000000000..90f919469605 --- /dev/null +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetEventCreateRuleRequestOrBuilder.java @@ -0,0 +1,56 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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 GetEventCreateRuleRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.GetEventCreateRuleRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The name of the EventCreateRule to get.
+   * Example format: properties/123/dataStreams/456/eventCreateRules/789
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The name of the EventCreateRule to get.
+   * Example format: properties/123/dataStreams/456/eventCreateRules/789
+   * 
+ * + * + * 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/GetExpandedDataSetRequest.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetExpandedDataSetRequest.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/GetExpandedDataSetRequest.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetExpandedDataSetRequest.java index bdfc57d64591..4544ada52ccd 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetExpandedDataSetRequest.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetExpandedDataSetRequest.java @@ -1,58 +1,83 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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 GetExpandedDataSet RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.GetExpandedDataSetRequest} */ -public final class GetExpandedDataSetRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GetExpandedDataSetRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.GetExpandedDataSetRequest) GetExpandedDataSetRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetExpandedDataSetRequest.newBuilder() to construct. private GetExpandedDataSetRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetExpandedDataSetRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetExpandedDataSetRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_GetExpandedDataSetRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_GetExpandedDataSetRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_GetExpandedDataSetRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_GetExpandedDataSetRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.GetExpandedDataSetRequest.class, com.google.analytics.admin.v1alpha.GetExpandedDataSetRequest.Builder.class); + com.google.analytics.admin.v1alpha.GetExpandedDataSetRequest.class, + com.google.analytics.admin.v1alpha.GetExpandedDataSetRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Required. The name of the ExpandedDataSet to get.
    * Example format: properties/1234/expandedDataSets/5678
    * 
* - * string name = 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 @@ -61,30 +86,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 ExpandedDataSet to get.
    * Example format: properties/1234/expandedDataSets/5678
    * 
* - * string name = 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 { @@ -93,6 +120,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -104,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(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -129,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.GetExpandedDataSetRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.GetExpandedDataSetRequest other = (com.google.analytics.admin.v1alpha.GetExpandedDataSetRequest) obj; + com.google.analytics.admin.v1alpha.GetExpandedDataSetRequest other = + (com.google.analytics.admin.v1alpha.GetExpandedDataSetRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -157,131 +184,136 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.GetExpandedDataSetRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.GetExpandedDataSetRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.GetExpandedDataSetRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.GetExpandedDataSetRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.GetExpandedDataSetRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.GetExpandedDataSetRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.GetExpandedDataSetRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.GetExpandedDataSetRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.GetExpandedDataSetRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.GetExpandedDataSetRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.GetExpandedDataSetRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.analytics.admin.v1alpha.GetExpandedDataSetRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.GetExpandedDataSetRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.GetExpandedDataSetRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1alpha.GetExpandedDataSetRequest prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1alpha.GetExpandedDataSetRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder 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 GetExpandedDataSet RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.GetExpandedDataSetRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.GetExpandedDataSetRequest) com.google.analytics.admin.v1alpha.GetExpandedDataSetRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_GetExpandedDataSetRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_GetExpandedDataSetRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_GetExpandedDataSetRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_GetExpandedDataSetRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.GetExpandedDataSetRequest.class, com.google.analytics.admin.v1alpha.GetExpandedDataSetRequest.Builder.class); + com.google.analytics.admin.v1alpha.GetExpandedDataSetRequest.class, + com.google.analytics.admin.v1alpha.GetExpandedDataSetRequest.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.GetExpandedDataSetRequest.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(); @@ -291,13 +323,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_GetExpandedDataSetRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_GetExpandedDataSetRequest_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.GetExpandedDataSetRequest getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.GetExpandedDataSetRequest + getDefaultInstanceForType() { return com.google.analytics.admin.v1alpha.GetExpandedDataSetRequest.getDefaultInstance(); } @@ -312,13 +345,17 @@ public com.google.analytics.admin.v1alpha.GetExpandedDataSetRequest build() { @java.lang.Override public com.google.analytics.admin.v1alpha.GetExpandedDataSetRequest buildPartial() { - com.google.analytics.admin.v1alpha.GetExpandedDataSetRequest result = new com.google.analytics.admin.v1alpha.GetExpandedDataSetRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.analytics.admin.v1alpha.GetExpandedDataSetRequest result = + new com.google.analytics.admin.v1alpha.GetExpandedDataSetRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.analytics.admin.v1alpha.GetExpandedDataSetRequest result) { + private void buildPartial0( + com.google.analytics.admin.v1alpha.GetExpandedDataSetRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.name_ = name_; @@ -329,38 +366,39 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.GetExpandedDataSet public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.analytics.admin.v1alpha.GetExpandedDataSetRequest) { - return mergeFrom((com.google.analytics.admin.v1alpha.GetExpandedDataSetRequest)other); + return mergeFrom((com.google.analytics.admin.v1alpha.GetExpandedDataSetRequest) other); } else { super.mergeFrom(other); return this; @@ -368,7 +406,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1alpha.GetExpandedDataSetRequest other) { - if (other == com.google.analytics.admin.v1alpha.GetExpandedDataSetRequest.getDefaultInstance()) return this; + if (other + == com.google.analytics.admin.v1alpha.GetExpandedDataSetRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -400,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) { @@ -420,23 +462,28 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Required. The name of the ExpandedDataSet to get.
      * Example format: properties/1234/expandedDataSets/5678
      * 
* - * string name = 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,21 +492,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the ExpandedDataSet to get.
      * Example format: properties/1234/expandedDataSets/5678
      * 
* - * string name = 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 { @@ -467,30 +517,41 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the ExpandedDataSet to get.
      * Example format: properties/1234/expandedDataSets/5678
      * 
* - * 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 ExpandedDataSet to get.
      * Example format: properties/1234/expandedDataSets/5678
      * 
* - * string 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() { @@ -500,27 +561,33 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. The name of the ExpandedDataSet to get.
      * Example format: properties/1234/expandedDataSets/5678
      * 
* - * 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); } @@ -530,12 +597,13 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.GetExpandedDataSetRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.GetExpandedDataSetRequest) - private static final com.google.analytics.admin.v1alpha.GetExpandedDataSetRequest DEFAULT_INSTANCE; + private static final com.google.analytics.admin.v1alpha.GetExpandedDataSetRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.GetExpandedDataSetRequest(); } @@ -544,27 +612,27 @@ public static com.google.analytics.admin.v1alpha.GetExpandedDataSetRequest getDe return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetExpandedDataSetRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetExpandedDataSetRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.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,6 +647,4 @@ public com.google.protobuf.Parser getParserForType() public com.google.analytics.admin.v1alpha.GetExpandedDataSetRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetExpandedDataSetRequestOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetExpandedDataSetRequestOrBuilder.java new file mode 100644 index 000000000000..16722515a256 --- /dev/null +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetExpandedDataSetRequestOrBuilder.java @@ -0,0 +1,56 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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 GetExpandedDataSetRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.GetExpandedDataSetRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The name of the ExpandedDataSet to get.
+   * Example format: properties/1234/expandedDataSets/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 ExpandedDataSet to get.
+   * Example format: properties/1234/expandedDataSets/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 f26c6125e51f..86fe80b44640 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,52 +1,74 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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(); } - 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.
@@ -54,7 +76,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 @@ -63,14 +88,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.
@@ -78,17 +104,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 { @@ -97,6 +124,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -108,8 +136,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -133,15 +160,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; } @@ -161,131 +188,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(); @@ -295,9 +327,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 @@ -316,8 +348,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; } @@ -333,38 +368,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; @@ -372,7 +408,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; @@ -404,17 +441,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) { @@ -424,10 +463,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.
@@ -435,14 +477,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; @@ -451,6 +495,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.
@@ -458,16 +504,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 { @@ -475,6 +522,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.
@@ -482,19 +531,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.
@@ -502,7 +557,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() { @@ -512,6 +570,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.
@@ -519,22 +579,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); } @@ -544,12 +608,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(); } @@ -558,27 +622,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; @@ -593,6 +657,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..1bcb842f3db2 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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 c28310edf07e..9d216148cec2 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,58 +1,84 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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(); } - 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 @@ -61,30 +87,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 { @@ -93,6 +121,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -104,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(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -129,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.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; } @@ -157,131 +185,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(); @@ -291,14 +326,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 @@ -312,13 +349,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_; @@ -329,46 +370,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; @@ -400,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) { @@ -420,23 +468,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; @@ -445,21 +498,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 { @@ -467,30 +523,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() { @@ -500,27 +567,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); } @@ -530,41 +603,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; @@ -576,9 +651,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..105ec474bfbb --- /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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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 68edfcd2cad6..ddbb75b57412 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,59 +1,86 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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(); } - 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 @@ -62,31 +89,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 { @@ -95,6 +124,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -106,8 +136,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -131,15 +160,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; } @@ -159,131 +188,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(); @@ -293,19 +329,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); } @@ -314,13 +353,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_; @@ -331,46 +374,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; @@ -402,17 +450,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) { @@ -422,24 +472,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; @@ -448,22 +503,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 { @@ -471,32 +529,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() { @@ -506,28 +575,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); } @@ -537,41 +612,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; @@ -583,9 +660,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..b34ce7b2a7a1 --- /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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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 026d71f7f0f6..604472856672 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,59 +1,84 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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(); } - 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 @@ -62,31 +87,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 { @@ -95,6 +122,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -106,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(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -131,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.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; } @@ -159,131 +186,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(); @@ -293,9 +325,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 @@ -314,8 +346,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; } @@ -331,38 +366,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; @@ -370,7 +406,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; @@ -402,17 +439,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) { @@ -422,24 +461,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; @@ -448,22 +492,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 { @@ -471,32 +518,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() { @@ -506,28 +564,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); } @@ -537,12 +601,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(); } @@ -551,27 +615,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; @@ -586,6 +650,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..90e39d7e5e23 --- /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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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/GetRollupPropertySourceLinkRequest.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetRollupPropertySourceLinkRequest.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/GetRollupPropertySourceLinkRequest.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetRollupPropertySourceLinkRequest.java index 5bcf894c8555..56815f11e4e2 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetRollupPropertySourceLinkRequest.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetRollupPropertySourceLinkRequest.java @@ -1,52 +1,75 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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 GetRollupPropertySourceLink RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.GetRollupPropertySourceLinkRequest} */ -public final class GetRollupPropertySourceLinkRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GetRollupPropertySourceLinkRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.GetRollupPropertySourceLinkRequest) GetRollupPropertySourceLinkRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetRollupPropertySourceLinkRequest.newBuilder() to construct. - private GetRollupPropertySourceLinkRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private GetRollupPropertySourceLinkRequest( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetRollupPropertySourceLinkRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetRollupPropertySourceLinkRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_GetRollupPropertySourceLinkRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_GetRollupPropertySourceLinkRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_GetRollupPropertySourceLinkRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_GetRollupPropertySourceLinkRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.GetRollupPropertySourceLinkRequest.class, com.google.analytics.admin.v1alpha.GetRollupPropertySourceLinkRequest.Builder.class); + com.google.analytics.admin.v1alpha.GetRollupPropertySourceLinkRequest.class, + com.google.analytics.admin.v1alpha.GetRollupPropertySourceLinkRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Required. The name of the roll-up property source link to lookup.
    * Format:
@@ -54,7 +77,10 @@ protected java.lang.Object newInstance(
    * Example: properties/123/rollupPropertySourceLinks/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 @@ -63,14 +89,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 roll-up property source link to lookup.
    * Format:
@@ -78,17 +105,18 @@ public java.lang.String getName() {
    * Example: properties/123/rollupPropertySourceLinks/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 { @@ -97,6 +125,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -108,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_); } @@ -133,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.GetRollupPropertySourceLinkRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.GetRollupPropertySourceLinkRequest other = (com.google.analytics.admin.v1alpha.GetRollupPropertySourceLinkRequest) obj; + com.google.analytics.admin.v1alpha.GetRollupPropertySourceLinkRequest other = + (com.google.analytics.admin.v1alpha.GetRollupPropertySourceLinkRequest) 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,131 +189,138 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.GetRollupPropertySourceLinkRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.GetRollupPropertySourceLinkRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.GetRollupPropertySourceLinkRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.GetRollupPropertySourceLinkRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.GetRollupPropertySourceLinkRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.analytics.admin.v1alpha.GetRollupPropertySourceLinkRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.GetRollupPropertySourceLinkRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.GetRollupPropertySourceLinkRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.GetRollupPropertySourceLinkRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.GetRollupPropertySourceLinkRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.GetRollupPropertySourceLinkRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.GetRollupPropertySourceLinkRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.GetRollupPropertySourceLinkRequest parseDelimitedFrom( - java.io.InputStream input, - 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.GetRollupPropertySourceLinkRequest + parseDelimitedFrom( + java.io.InputStream input, 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.GetRollupPropertySourceLinkRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.GetRollupPropertySourceLinkRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1alpha.GetRollupPropertySourceLinkRequest prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1alpha.GetRollupPropertySourceLinkRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder 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 GetRollupPropertySourceLink RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.GetRollupPropertySourceLinkRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.GetRollupPropertySourceLinkRequest) com.google.analytics.admin.v1alpha.GetRollupPropertySourceLinkRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_GetRollupPropertySourceLinkRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_GetRollupPropertySourceLinkRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_GetRollupPropertySourceLinkRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_GetRollupPropertySourceLinkRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.GetRollupPropertySourceLinkRequest.class, com.google.analytics.admin.v1alpha.GetRollupPropertySourceLinkRequest.Builder.class); + com.google.analytics.admin.v1alpha.GetRollupPropertySourceLinkRequest.class, + com.google.analytics.admin.v1alpha.GetRollupPropertySourceLinkRequest.Builder.class); } - // Construct using com.google.analytics.admin.v1alpha.GetRollupPropertySourceLinkRequest.newBuilder() - private Builder() { - - } + // Construct using + // com.google.analytics.admin.v1alpha.GetRollupPropertySourceLinkRequest.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(); @@ -295,14 +330,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_GetRollupPropertySourceLinkRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_GetRollupPropertySourceLinkRequest_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.GetRollupPropertySourceLinkRequest getDefaultInstanceForType() { - return com.google.analytics.admin.v1alpha.GetRollupPropertySourceLinkRequest.getDefaultInstance(); + public com.google.analytics.admin.v1alpha.GetRollupPropertySourceLinkRequest + getDefaultInstanceForType() { + return com.google.analytics.admin.v1alpha.GetRollupPropertySourceLinkRequest + .getDefaultInstance(); } @java.lang.Override @@ -316,13 +353,17 @@ public com.google.analytics.admin.v1alpha.GetRollupPropertySourceLinkRequest bui @java.lang.Override public com.google.analytics.admin.v1alpha.GetRollupPropertySourceLinkRequest buildPartial() { - com.google.analytics.admin.v1alpha.GetRollupPropertySourceLinkRequest result = new com.google.analytics.admin.v1alpha.GetRollupPropertySourceLinkRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.analytics.admin.v1alpha.GetRollupPropertySourceLinkRequest result = + new com.google.analytics.admin.v1alpha.GetRollupPropertySourceLinkRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.analytics.admin.v1alpha.GetRollupPropertySourceLinkRequest result) { + private void buildPartial0( + com.google.analytics.admin.v1alpha.GetRollupPropertySourceLinkRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.name_ = name_; @@ -333,46 +374,51 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.GetRollupPropertyS public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.analytics.admin.v1alpha.GetRollupPropertySourceLinkRequest) { - return mergeFrom((com.google.analytics.admin.v1alpha.GetRollupPropertySourceLinkRequest)other); + return mergeFrom( + (com.google.analytics.admin.v1alpha.GetRollupPropertySourceLinkRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.analytics.admin.v1alpha.GetRollupPropertySourceLinkRequest other) { - if (other == com.google.analytics.admin.v1alpha.GetRollupPropertySourceLinkRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.analytics.admin.v1alpha.GetRollupPropertySourceLinkRequest other) { + if (other + == com.google.analytics.admin.v1alpha.GetRollupPropertySourceLinkRequest + .getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -404,17 +450,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) { @@ -424,10 +472,13 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Required. The name of the roll-up property source link to lookup.
      * Format:
@@ -435,14 +486,16 @@ public Builder mergeFrom(
      * Example: properties/123/rollupPropertySourceLinks/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,6 +504,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the roll-up property source link to lookup.
      * Format:
@@ -458,16 +513,17 @@ public java.lang.String getName() {
      * Example: properties/123/rollupPropertySourceLinks/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 { @@ -475,6 +531,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the roll-up property source link to lookup.
      * Format:
@@ -482,19 +540,25 @@ public java.lang.String getName() {
      * Example: properties/123/rollupPropertySourceLinks/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 roll-up property source link to lookup.
      * Format:
@@ -502,7 +566,10 @@ public Builder setName(
      * Example: properties/123/rollupPropertySourceLinks/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() { @@ -512,6 +579,8 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. The name of the roll-up property source link to lookup.
      * Format:
@@ -519,22 +588,26 @@ public Builder clearName() {
      * Example: properties/123/rollupPropertySourceLinks/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); } @@ -544,41 +617,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.GetRollupPropertySourceLinkRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.GetRollupPropertySourceLinkRequest) - private static final com.google.analytics.admin.v1alpha.GetRollupPropertySourceLinkRequest DEFAULT_INSTANCE; + private static final com.google.analytics.admin.v1alpha.GetRollupPropertySourceLinkRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.GetRollupPropertySourceLinkRequest(); } - public static com.google.analytics.admin.v1alpha.GetRollupPropertySourceLinkRequest getDefaultInstance() { + public static com.google.analytics.admin.v1alpha.GetRollupPropertySourceLinkRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetRollupPropertySourceLinkRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetRollupPropertySourceLinkRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -590,9 +665,8 @@ public com.google.protobuf.Parser getParserF } @java.lang.Override - public com.google.analytics.admin.v1alpha.GetRollupPropertySourceLinkRequest getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.GetRollupPropertySourceLinkRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetRollupPropertySourceLinkRequestOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetRollupPropertySourceLinkRequestOrBuilder.java new file mode 100644 index 000000000000..2dfe1507bae7 --- /dev/null +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetRollupPropertySourceLinkRequestOrBuilder.java @@ -0,0 +1,60 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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 GetRollupPropertySourceLinkRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.GetRollupPropertySourceLinkRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The name of the roll-up property source link to lookup.
+   * Format:
+   * properties/{property_id}/rollupPropertySourceLinks/{rollup_property_source_link_id}
+   * Example: properties/123/rollupPropertySourceLinks/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 roll-up property source link to lookup.
+   * Format:
+   * properties/{property_id}/rollupPropertySourceLinks/{rollup_property_source_link_id}
+   * Example: properties/123/rollupPropertySourceLinks/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/GetSKAdNetworkConversionValueSchemaRequest.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetSKAdNetworkConversionValueSchemaRequest.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/GetSKAdNetworkConversionValueSchemaRequest.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetSKAdNetworkConversionValueSchemaRequest.java index 5be4b09c6d89..1a8f3ea37119 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetSKAdNetworkConversionValueSchemaRequest.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetSKAdNetworkConversionValueSchemaRequest.java @@ -1,59 +1,87 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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 GetSKAdNetworkConversionValueSchema RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.GetSKAdNetworkConversionValueSchemaRequest} */ -public final class GetSKAdNetworkConversionValueSchemaRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GetSKAdNetworkConversionValueSchemaRequest + extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.GetSKAdNetworkConversionValueSchemaRequest) GetSKAdNetworkConversionValueSchemaRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetSKAdNetworkConversionValueSchemaRequest.newBuilder() to construct. - private GetSKAdNetworkConversionValueSchemaRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private GetSKAdNetworkConversionValueSchemaRequest( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetSKAdNetworkConversionValueSchemaRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetSKAdNetworkConversionValueSchemaRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_GetSKAdNetworkConversionValueSchemaRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_GetSKAdNetworkConversionValueSchemaRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_GetSKAdNetworkConversionValueSchemaRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_GetSKAdNetworkConversionValueSchemaRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.GetSKAdNetworkConversionValueSchemaRequest.class, com.google.analytics.admin.v1alpha.GetSKAdNetworkConversionValueSchemaRequest.Builder.class); + com.google.analytics.admin.v1alpha.GetSKAdNetworkConversionValueSchemaRequest.class, + com.google.analytics.admin.v1alpha.GetSKAdNetworkConversionValueSchemaRequest.Builder + .class); } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Required. The resource name of SKAdNetwork conversion value schema to look
    * up. Format:
    * properties/{property}/dataStreams/{dataStream}/sKAdNetworkConversionValueSchema/{skadnetwork_conversion_value_schema}
    * 
* - * string name = 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 @@ -62,31 +90,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 SKAdNetwork conversion value schema to look
    * up. Format:
    * properties/{property}/dataStreams/{dataStream}/sKAdNetworkConversionValueSchema/{skadnetwork_conversion_value_schema}
    * 
* - * string name = 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 { @@ -95,6 +125,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -106,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_); } @@ -131,15 +161,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.GetSKAdNetworkConversionValueSchemaRequest)) { + if (!(obj + instanceof com.google.analytics.admin.v1alpha.GetSKAdNetworkConversionValueSchemaRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.GetSKAdNetworkConversionValueSchemaRequest other = (com.google.analytics.admin.v1alpha.GetSKAdNetworkConversionValueSchemaRequest) obj; + com.google.analytics.admin.v1alpha.GetSKAdNetworkConversionValueSchemaRequest other = + (com.google.analytics.admin.v1alpha.GetSKAdNetworkConversionValueSchemaRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -158,132 +189,145 @@ public int hashCode() { return hash; } - public static com.google.analytics.admin.v1alpha.GetSKAdNetworkConversionValueSchemaRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.analytics.admin.v1alpha.GetSKAdNetworkConversionValueSchemaRequest + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.GetSKAdNetworkConversionValueSchemaRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.analytics.admin.v1alpha.GetSKAdNetworkConversionValueSchemaRequest + 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.GetSKAdNetworkConversionValueSchemaRequest parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.analytics.admin.v1alpha.GetSKAdNetworkConversionValueSchemaRequest + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.GetSKAdNetworkConversionValueSchemaRequest parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.analytics.admin.v1alpha.GetSKAdNetworkConversionValueSchemaRequest + parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.GetSKAdNetworkConversionValueSchemaRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.analytics.admin.v1alpha.GetSKAdNetworkConversionValueSchemaRequest + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.GetSKAdNetworkConversionValueSchemaRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.analytics.admin.v1alpha.GetSKAdNetworkConversionValueSchemaRequest + 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.GetSKAdNetworkConversionValueSchemaRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.GetSKAdNetworkConversionValueSchemaRequest + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.GetSKAdNetworkConversionValueSchemaRequest 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.GetSKAdNetworkConversionValueSchemaRequest + 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.GetSKAdNetworkConversionValueSchemaRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.GetSKAdNetworkConversionValueSchemaRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.GetSKAdNetworkConversionValueSchemaRequest parseDelimitedFrom( - java.io.InputStream input, - 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.GetSKAdNetworkConversionValueSchemaRequest + parseDelimitedFrom( + java.io.InputStream input, 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.GetSKAdNetworkConversionValueSchemaRequest 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.GetSKAdNetworkConversionValueSchemaRequest + 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.GetSKAdNetworkConversionValueSchemaRequest 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.GetSKAdNetworkConversionValueSchemaRequest + 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.GetSKAdNetworkConversionValueSchemaRequest prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1alpha.GetSKAdNetworkConversionValueSchemaRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder 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 GetSKAdNetworkConversionValueSchema RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.GetSKAdNetworkConversionValueSchemaRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.GetSKAdNetworkConversionValueSchemaRequest) com.google.analytics.admin.v1alpha.GetSKAdNetworkConversionValueSchemaRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_GetSKAdNetworkConversionValueSchemaRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_GetSKAdNetworkConversionValueSchemaRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_GetSKAdNetworkConversionValueSchemaRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_GetSKAdNetworkConversionValueSchemaRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.GetSKAdNetworkConversionValueSchemaRequest.class, com.google.analytics.admin.v1alpha.GetSKAdNetworkConversionValueSchemaRequest.Builder.class); + com.google.analytics.admin.v1alpha.GetSKAdNetworkConversionValueSchemaRequest.class, + com.google.analytics.admin.v1alpha.GetSKAdNetworkConversionValueSchemaRequest.Builder + .class); } - // Construct using com.google.analytics.admin.v1alpha.GetSKAdNetworkConversionValueSchemaRequest.newBuilder() - private Builder() { - - } + // Construct using + // com.google.analytics.admin.v1alpha.GetSKAdNetworkConversionValueSchemaRequest.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(); @@ -293,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_GetSKAdNetworkConversionValueSchemaRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_GetSKAdNetworkConversionValueSchemaRequest_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.GetSKAdNetworkConversionValueSchemaRequest getDefaultInstanceForType() { - return com.google.analytics.admin.v1alpha.GetSKAdNetworkConversionValueSchemaRequest.getDefaultInstance(); + public com.google.analytics.admin.v1alpha.GetSKAdNetworkConversionValueSchemaRequest + getDefaultInstanceForType() { + return com.google.analytics.admin.v1alpha.GetSKAdNetworkConversionValueSchemaRequest + .getDefaultInstance(); } @java.lang.Override public com.google.analytics.admin.v1alpha.GetSKAdNetworkConversionValueSchemaRequest build() { - com.google.analytics.admin.v1alpha.GetSKAdNetworkConversionValueSchemaRequest result = buildPartial(); + com.google.analytics.admin.v1alpha.GetSKAdNetworkConversionValueSchemaRequest result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -313,14 +360,19 @@ public com.google.analytics.admin.v1alpha.GetSKAdNetworkConversionValueSchemaReq } @java.lang.Override - public com.google.analytics.admin.v1alpha.GetSKAdNetworkConversionValueSchemaRequest buildPartial() { - com.google.analytics.admin.v1alpha.GetSKAdNetworkConversionValueSchemaRequest result = new com.google.analytics.admin.v1alpha.GetSKAdNetworkConversionValueSchemaRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + public com.google.analytics.admin.v1alpha.GetSKAdNetworkConversionValueSchemaRequest + buildPartial() { + com.google.analytics.admin.v1alpha.GetSKAdNetworkConversionValueSchemaRequest result = + new com.google.analytics.admin.v1alpha.GetSKAdNetworkConversionValueSchemaRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.analytics.admin.v1alpha.GetSKAdNetworkConversionValueSchemaRequest result) { + private void buildPartial0( + com.google.analytics.admin.v1alpha.GetSKAdNetworkConversionValueSchemaRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.name_ = name_; @@ -331,46 +383,53 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.GetSKAdNetworkConv public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.analytics.admin.v1alpha.GetSKAdNetworkConversionValueSchemaRequest) { - return mergeFrom((com.google.analytics.admin.v1alpha.GetSKAdNetworkConversionValueSchemaRequest)other); + if (other + instanceof + com.google.analytics.admin.v1alpha.GetSKAdNetworkConversionValueSchemaRequest) { + return mergeFrom( + (com.google.analytics.admin.v1alpha.GetSKAdNetworkConversionValueSchemaRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.analytics.admin.v1alpha.GetSKAdNetworkConversionValueSchemaRequest other) { - if (other == com.google.analytics.admin.v1alpha.GetSKAdNetworkConversionValueSchemaRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.analytics.admin.v1alpha.GetSKAdNetworkConversionValueSchemaRequest other) { + if (other + == com.google.analytics.admin.v1alpha.GetSKAdNetworkConversionValueSchemaRequest + .getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -402,17 +461,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) { @@ -422,24 +483,29 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Required. The resource name of SKAdNetwork conversion value schema to look
      * up. Format:
      * properties/{property}/dataStreams/{dataStream}/sKAdNetworkConversionValueSchema/{skadnetwork_conversion_value_schema}
      * 
* - * string name = 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,22 +514,25 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The resource name of SKAdNetwork conversion value schema to look
      * up. Format:
      * properties/{property}/dataStreams/{dataStream}/sKAdNetworkConversionValueSchema/{skadnetwork_conversion_value_schema}
      * 
* - * string name = 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 { @@ -471,32 +540,43 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The resource name of SKAdNetwork conversion value schema to look
      * up. Format:
      * properties/{property}/dataStreams/{dataStream}/sKAdNetworkConversionValueSchema/{skadnetwork_conversion_value_schema}
      * 
* - * 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 SKAdNetwork conversion value schema to look
      * up. Format:
      * properties/{property}/dataStreams/{dataStream}/sKAdNetworkConversionValueSchema/{skadnetwork_conversion_value_schema}
      * 
* - * string 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() { @@ -506,28 +586,34 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. The resource name of SKAdNetwork conversion value schema to look
      * up. Format:
      * properties/{property}/dataStreams/{dataStream}/sKAdNetworkConversionValueSchema/{skadnetwork_conversion_value_schema}
      * 
* - * 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); } @@ -537,41 +623,46 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.GetSKAdNetworkConversionValueSchemaRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.GetSKAdNetworkConversionValueSchemaRequest) - private static final com.google.analytics.admin.v1alpha.GetSKAdNetworkConversionValueSchemaRequest DEFAULT_INSTANCE; + private static final com.google.analytics.admin.v1alpha.GetSKAdNetworkConversionValueSchemaRequest + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.GetSKAdNetworkConversionValueSchemaRequest(); + DEFAULT_INSTANCE = + new com.google.analytics.admin.v1alpha.GetSKAdNetworkConversionValueSchemaRequest(); } - public static com.google.analytics.admin.v1alpha.GetSKAdNetworkConversionValueSchemaRequest getDefaultInstance() { + public static com.google.analytics.admin.v1alpha.GetSKAdNetworkConversionValueSchemaRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetSKAdNetworkConversionValueSchemaRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - 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 GetSKAdNetworkConversionValueSchemaRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -583,9 +674,8 @@ public com.google.protobuf.Parser ge } @java.lang.Override - public com.google.analytics.admin.v1alpha.GetSKAdNetworkConversionValueSchemaRequest getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.GetSKAdNetworkConversionValueSchemaRequest + 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/GetSKAdNetworkConversionValueSchemaRequestOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetSKAdNetworkConversionValueSchemaRequestOrBuilder.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/GetSKAdNetworkConversionValueSchemaRequestOrBuilder.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetSKAdNetworkConversionValueSchemaRequestOrBuilder.java index ec0542cd75c3..25029821821c 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetSKAdNetworkConversionValueSchemaRequestOrBuilder.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetSKAdNetworkConversionValueSchemaRequestOrBuilder.java @@ -1,33 +1,58 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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 GetSKAdNetworkConversionValueSchemaRequestOrBuilder extends +public interface GetSKAdNetworkConversionValueSchemaRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.GetSKAdNetworkConversionValueSchemaRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The resource name of SKAdNetwork conversion value schema to look
    * up. Format:
    * properties/{property}/dataStreams/{dataStream}/sKAdNetworkConversionValueSchema/{skadnetwork_conversion_value_schema}
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Required. The resource name of SKAdNetwork conversion value schema to look
    * up. Format:
    * properties/{property}/dataStreams/{dataStream}/sKAdNetworkConversionValueSchema/{skadnetwork_conversion_value_schema}
    * 
* - * string name = 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/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 70c675ec82d2..83f288b1e7ff 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,58 +1,83 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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(); } - 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 @@ -61,30 +86,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 { @@ -93,6 +120,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -104,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(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -129,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.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; } @@ -157,131 +184,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(); @@ -291,13 +323,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(); } @@ -312,13 +345,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_; @@ -329,38 +366,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; @@ -368,7 +406,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; @@ -400,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) { @@ -420,23 +462,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; @@ -445,21 +492,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 { @@ -467,30 +517,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() { @@ -500,27 +561,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); } @@ -530,12 +597,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(); } @@ -544,27 +612,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; @@ -579,6 +647,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..68f325589e38 --- /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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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/GetSubpropertyEventFilterRequest.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetSubpropertyEventFilterRequest.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/GetSubpropertyEventFilterRequest.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetSubpropertyEventFilterRequest.java index f188bd76eea6..4feef93da8cd 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetSubpropertyEventFilterRequest.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetSubpropertyEventFilterRequest.java @@ -1,52 +1,75 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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 GetSubpropertyEventFilter RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.GetSubpropertyEventFilterRequest} */ -public final class GetSubpropertyEventFilterRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GetSubpropertyEventFilterRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.GetSubpropertyEventFilterRequest) GetSubpropertyEventFilterRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetSubpropertyEventFilterRequest.newBuilder() to construct. - private GetSubpropertyEventFilterRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private GetSubpropertyEventFilterRequest( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetSubpropertyEventFilterRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetSubpropertyEventFilterRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_GetSubpropertyEventFilterRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_GetSubpropertyEventFilterRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_GetSubpropertyEventFilterRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_GetSubpropertyEventFilterRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.GetSubpropertyEventFilterRequest.class, com.google.analytics.admin.v1alpha.GetSubpropertyEventFilterRequest.Builder.class); + com.google.analytics.admin.v1alpha.GetSubpropertyEventFilterRequest.class, + com.google.analytics.admin.v1alpha.GetSubpropertyEventFilterRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Required. Resource name of the subproperty event filter to lookup.
    * Format:
@@ -54,7 +77,10 @@ protected java.lang.Object newInstance(
    * Example: properties/123/subpropertyEventFilters/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 @@ -63,14 +89,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. Resource name of the subproperty event filter to lookup.
    * Format:
@@ -78,17 +105,18 @@ public java.lang.String getName() {
    * Example: properties/123/subpropertyEventFilters/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 { @@ -97,6 +125,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -108,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_); } @@ -133,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.GetSubpropertyEventFilterRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.GetSubpropertyEventFilterRequest other = (com.google.analytics.admin.v1alpha.GetSubpropertyEventFilterRequest) obj; + com.google.analytics.admin.v1alpha.GetSubpropertyEventFilterRequest other = + (com.google.analytics.admin.v1alpha.GetSubpropertyEventFilterRequest) 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,131 +189,138 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.GetSubpropertyEventFilterRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.GetSubpropertyEventFilterRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.GetSubpropertyEventFilterRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.GetSubpropertyEventFilterRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.GetSubpropertyEventFilterRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.analytics.admin.v1alpha.GetSubpropertyEventFilterRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.GetSubpropertyEventFilterRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.GetSubpropertyEventFilterRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.GetSubpropertyEventFilterRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.GetSubpropertyEventFilterRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.GetSubpropertyEventFilterRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.GetSubpropertyEventFilterRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.GetSubpropertyEventFilterRequest parseDelimitedFrom( - java.io.InputStream input, - 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.GetSubpropertyEventFilterRequest + parseDelimitedFrom( + java.io.InputStream input, 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.GetSubpropertyEventFilterRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.GetSubpropertyEventFilterRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1alpha.GetSubpropertyEventFilterRequest prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1alpha.GetSubpropertyEventFilterRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder 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 GetSubpropertyEventFilter RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.GetSubpropertyEventFilterRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.GetSubpropertyEventFilterRequest) com.google.analytics.admin.v1alpha.GetSubpropertyEventFilterRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_GetSubpropertyEventFilterRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_GetSubpropertyEventFilterRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_GetSubpropertyEventFilterRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_GetSubpropertyEventFilterRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.GetSubpropertyEventFilterRequest.class, com.google.analytics.admin.v1alpha.GetSubpropertyEventFilterRequest.Builder.class); + com.google.analytics.admin.v1alpha.GetSubpropertyEventFilterRequest.class, + com.google.analytics.admin.v1alpha.GetSubpropertyEventFilterRequest.Builder.class); } - // Construct using com.google.analytics.admin.v1alpha.GetSubpropertyEventFilterRequest.newBuilder() - private Builder() { - - } + // Construct using + // com.google.analytics.admin.v1alpha.GetSubpropertyEventFilterRequest.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(); @@ -295,14 +330,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_GetSubpropertyEventFilterRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_GetSubpropertyEventFilterRequest_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.GetSubpropertyEventFilterRequest getDefaultInstanceForType() { - return com.google.analytics.admin.v1alpha.GetSubpropertyEventFilterRequest.getDefaultInstance(); + public com.google.analytics.admin.v1alpha.GetSubpropertyEventFilterRequest + getDefaultInstanceForType() { + return com.google.analytics.admin.v1alpha.GetSubpropertyEventFilterRequest + .getDefaultInstance(); } @java.lang.Override @@ -316,13 +353,17 @@ public com.google.analytics.admin.v1alpha.GetSubpropertyEventFilterRequest build @java.lang.Override public com.google.analytics.admin.v1alpha.GetSubpropertyEventFilterRequest buildPartial() { - com.google.analytics.admin.v1alpha.GetSubpropertyEventFilterRequest result = new com.google.analytics.admin.v1alpha.GetSubpropertyEventFilterRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.analytics.admin.v1alpha.GetSubpropertyEventFilterRequest result = + new com.google.analytics.admin.v1alpha.GetSubpropertyEventFilterRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.analytics.admin.v1alpha.GetSubpropertyEventFilterRequest result) { + private void buildPartial0( + com.google.analytics.admin.v1alpha.GetSubpropertyEventFilterRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.name_ = name_; @@ -333,46 +374,51 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.GetSubpropertyEven public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.analytics.admin.v1alpha.GetSubpropertyEventFilterRequest) { - return mergeFrom((com.google.analytics.admin.v1alpha.GetSubpropertyEventFilterRequest)other); + return mergeFrom( + (com.google.analytics.admin.v1alpha.GetSubpropertyEventFilterRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.analytics.admin.v1alpha.GetSubpropertyEventFilterRequest other) { - if (other == com.google.analytics.admin.v1alpha.GetSubpropertyEventFilterRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.analytics.admin.v1alpha.GetSubpropertyEventFilterRequest other) { + if (other + == com.google.analytics.admin.v1alpha.GetSubpropertyEventFilterRequest + .getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -404,17 +450,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) { @@ -424,10 +472,13 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Required. Resource name of the subproperty event filter to lookup.
      * Format:
@@ -435,14 +486,16 @@ public Builder mergeFrom(
      * Example: properties/123/subpropertyEventFilters/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,6 +504,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. Resource name of the subproperty event filter to lookup.
      * Format:
@@ -458,16 +513,17 @@ public java.lang.String getName() {
      * Example: properties/123/subpropertyEventFilters/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 { @@ -475,6 +531,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. Resource name of the subproperty event filter to lookup.
      * Format:
@@ -482,19 +540,25 @@ public java.lang.String getName() {
      * Example: properties/123/subpropertyEventFilters/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. Resource name of the subproperty event filter to lookup.
      * Format:
@@ -502,7 +566,10 @@ public Builder setName(
      * Example: properties/123/subpropertyEventFilters/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() { @@ -512,6 +579,8 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. Resource name of the subproperty event filter to lookup.
      * Format:
@@ -519,22 +588,26 @@ public Builder clearName() {
      * Example: properties/123/subpropertyEventFilters/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); } @@ -544,41 +617,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.GetSubpropertyEventFilterRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.GetSubpropertyEventFilterRequest) - private static final com.google.analytics.admin.v1alpha.GetSubpropertyEventFilterRequest DEFAULT_INSTANCE; + private static final com.google.analytics.admin.v1alpha.GetSubpropertyEventFilterRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.GetSubpropertyEventFilterRequest(); } - public static com.google.analytics.admin.v1alpha.GetSubpropertyEventFilterRequest getDefaultInstance() { + public static com.google.analytics.admin.v1alpha.GetSubpropertyEventFilterRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetSubpropertyEventFilterRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetSubpropertyEventFilterRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -590,9 +665,8 @@ public com.google.protobuf.Parser getParserFor } @java.lang.Override - public com.google.analytics.admin.v1alpha.GetSubpropertyEventFilterRequest getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.GetSubpropertyEventFilterRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetSubpropertyEventFilterRequestOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetSubpropertyEventFilterRequestOrBuilder.java new file mode 100644 index 000000000000..64a6c5aef7f4 --- /dev/null +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetSubpropertyEventFilterRequestOrBuilder.java @@ -0,0 +1,60 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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 GetSubpropertyEventFilterRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.GetSubpropertyEventFilterRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. Resource name of the subproperty event filter to lookup.
+   * Format:
+   * properties/property_id/subpropertyEventFilters/subproperty_event_filter
+   * Example: properties/123/subpropertyEventFilters/456
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. Resource name of the subproperty event filter to lookup.
+   * Format:
+   * properties/property_id/subpropertyEventFilters/subproperty_event_filter
+   * Example: properties/123/subpropertyEventFilters/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/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 50c6254a0bdf..99c18f1a40c6 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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,28 +45,32 @@ private GlobalSiteTag() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new GlobalSiteTag();
   }
 
-  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
@@ -56,6 +78,7 @@ protected java.lang.Object newInstance(
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ @java.lang.Override @@ -64,14 +87,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
@@ -79,16 +103,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 { @@ -97,15 +120,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 @@ -114,30 +141,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 { @@ -146,6 +173,7 @@ public java.lang.String getSnippet() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -157,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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -188,17 +215,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; } @@ -219,99 +245,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.
@@ -319,33 +350,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();
@@ -356,9 +386,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
@@ -377,8 +407,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;
     }
@@ -397,38 +430,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;
@@ -436,7 +470,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;
@@ -473,22 +508,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) {
@@ -498,10 +536,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
@@ -509,13 +550,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; @@ -524,6 +565,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. Resource name for this GlobalSiteTag resource.
      * Format: properties/{property_id}/dataStreams/{stream_id}/globalSiteTag
@@ -531,15 +574,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 { @@ -547,6 +589,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. Resource name for this GlobalSiteTag resource.
      * Format: properties/{property_id}/dataStreams/{stream_id}/globalSiteTag
@@ -554,18 +598,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
@@ -573,6 +621,7 @@ public Builder setName(
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearName() { @@ -582,6 +631,8 @@ public Builder clearName() { return this; } /** + * + * *
      * Output only. Resource name for this GlobalSiteTag resource.
      * Format: properties/{property_id}/dataStreams/{stream_id}/globalSiteTag
@@ -589,12 +640,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; @@ -604,19 +657,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; @@ -625,21 +680,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 { @@ -647,30 +703,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() { @@ -680,27 +743,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); } @@ -710,12 +777,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(); } @@ -724,27 +791,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; @@ -759,6 +826,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..bf464d0f0ad4 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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 25c2cd60d081..f9fd1d7b0e33 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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,28 +45,32 @@ private GoogleAdsLink() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GoogleAdsLink(); } - 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}
@@ -57,6 +79,7 @@ protected java.lang.Object newInstance(
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ @java.lang.Override @@ -65,14 +88,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}
@@ -81,16 +105,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 { @@ -99,14 +122,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 @@ -115,29 +142,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 { @@ -148,11 +175,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 @@ -163,6 +193,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
@@ -171,6 +203,7 @@ public boolean getCanManageClients() {
    * 
* * .google.protobuf.BoolValue ads_personalization_enabled = 5; + * * @return Whether the adsPersonalizationEnabled field is set. */ @java.lang.Override @@ -178,6 +211,8 @@ public boolean hasAdsPersonalizationEnabled() { return adsPersonalizationEnabled_ != null; } /** + * + * *
    * Enable personalized advertising features with this integration.
    * Automatically publish my Google Analytics audience lists and Google
@@ -186,13 +221,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
@@ -204,17 +244,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 @@ -222,11 +268,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 @@ -234,11 +284,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() { @@ -248,11 +301,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 @@ -260,11 +317,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 @@ -272,11 +333,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() { @@ -284,15 +348,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 @@ -301,30 +369,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 { @@ -333,6 +401,7 @@ public java.lang.String getCreatorEmailAddress() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -344,8 +413,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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,20 +451,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_); @@ -409,36 +475,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; } @@ -455,8 +516,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(); @@ -476,132 +536,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(); @@ -629,9 +693,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 @@ -650,8 +714,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; } @@ -668,19 +735,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_; @@ -691,38 +755,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; @@ -730,7 +795,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; @@ -784,53 +850,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) { @@ -840,10 +909,13 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Output only. Format:
      * properties/{propertyId}/googleAdsLinks/{googleAdsLinkId}
@@ -852,13 +924,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 +939,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. Format:
      * properties/{propertyId}/googleAdsLinks/{googleAdsLinkId}
@@ -875,15 +949,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 { @@ -891,6 +964,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. Format:
      * properties/{propertyId}/googleAdsLinks/{googleAdsLinkId}
@@ -899,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}
@@ -919,6 +998,7 @@ public Builder setName(
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearName() { @@ -928,6 +1008,8 @@ public Builder clearName() { return this; } /** + * + * *
      * Output only. Format:
      * properties/{propertyId}/googleAdsLinks/{googleAdsLinkId}
@@ -936,12 +1018,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; @@ -951,18 +1035,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; @@ -971,20 +1057,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 { @@ -992,28 +1079,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() { @@ -1023,17 +1117,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; @@ -1041,13 +1139,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 @@ -1055,11 +1156,14 @@ 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. */ @@ -1071,11 +1175,14 @@ public Builder setCanManageClients(boolean value) { 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() { @@ -1087,8 +1194,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
@@ -1097,12 +1209,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
@@ -1111,16 +1226,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
@@ -1144,6 +1264,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
@@ -1165,6 +1287,8 @@ public Builder setAdsPersonalizationEnabled(
       return this;
     }
     /**
+     *
+     *
      * 
      * Enable personalized advertising features with this integration.
      * Automatically publish my Google Analytics audience lists and Google
@@ -1176,9 +1300,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;
@@ -1191,6 +1315,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
@@ -1211,6 +1337,8 @@ public Builder clearAdsPersonalizationEnabled() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Enable personalized advertising features with this integration.
      * Automatically publish my Google Analytics audience lists and Google
@@ -1226,6 +1354,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
@@ -1239,11 +1369,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
@@ -1254,14 +1387,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_;
@@ -1269,39 +1405,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) { @@ -1317,14 +1472,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 { @@ -1335,17 +1493,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; @@ -1358,11 +1520,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); @@ -1375,11 +1541,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; @@ -1387,36 +1557,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_; @@ -1424,39 +1606,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) { @@ -1472,14 +1673,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 { @@ -1490,17 +1694,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; @@ -1513,11 +1721,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); @@ -1530,11 +1742,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; @@ -1542,36 +1758,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_; @@ -1579,19 +1807,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; @@ -1600,21 +1830,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 { @@ -1622,30 +1853,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() { @@ -1655,27 +1893,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); } @@ -1685,12 +1927,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(); } @@ -1699,27 +1941,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; @@ -1734,6 +1976,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 90c5e4d693b7..ae36017c5290 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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}
@@ -16,10 +34,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}
@@ -28,42 +49,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
@@ -72,10 +103,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
@@ -84,10 +118,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
@@ -100,78 +137,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 3978b2f3dabc..e244222b9aed 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,18 +1,36 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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.
  * 
* * 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
@@ -23,6 +41,8 @@ public enum GoogleSignalsConsent
    */
   GOOGLE_SIGNALS_CONSENT_UNSPECIFIED(0),
   /**
+   *
+   *
    * 
    * Terms of service have been accepted
    * 
@@ -31,6 +51,8 @@ public enum GoogleSignalsConsent */ GOOGLE_SIGNALS_CONSENT_CONSENTED(2), /** + * + * *
    * Terms of service have not been accepted
    * 
@@ -42,6 +64,8 @@ public enum GoogleSignalsConsent ; /** + * + * *
    * Google Signals consent value defaults to
    * GOOGLE_SIGNALS_CONSENT_UNSPECIFIED.  This will be treated as
@@ -52,6 +76,8 @@ public enum GoogleSignalsConsent
    */
   public static final int GOOGLE_SIGNALS_CONSENT_UNSPECIFIED_VALUE = 0;
   /**
+   *
+   *
    * 
    * Terms of service have been accepted
    * 
@@ -60,6 +86,8 @@ public enum GoogleSignalsConsent */ public static final int GOOGLE_SIGNALS_CONSENT_CONSENTED_VALUE = 2; /** + * + * *
    * Terms of service have not been accepted
    * 
@@ -68,7 +96,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( @@ -93,10 +120,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; } } @@ -104,28 +135,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); } @@ -134,8 +165,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; @@ -151,4 +181,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 a5d3802371f0..ee29908041e1 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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,28 +45,32 @@ private GoogleSignalsSettings() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GoogleSignalsSettings(); } - 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
@@ -56,6 +78,7 @@ protected java.lang.Object newInstance(
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ @java.lang.Override @@ -64,14 +87,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
@@ -79,16 +103,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 { @@ -99,56 +122,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; @@ -160,15 +210,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); @@ -183,13 +237,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; @@ -199,15 +256,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; @@ -233,131 +290,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(); @@ -369,9 +431,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 @@ -390,8 +452,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; } @@ -413,38 +478,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; @@ -452,7 +518,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; @@ -490,27 +557,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) { @@ -520,10 +591,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
@@ -531,13 +605,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; @@ -546,6 +620,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. Resource name of this setting.
      * Format: properties/{property_id}/googleSignalsSettings
@@ -553,15 +629,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 { @@ -569,6 +644,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. Resource name of this setting.
      * Format: properties/{property_id}/googleSignalsSettings
@@ -576,18 +653,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
@@ -595,6 +676,7 @@ public Builder setName(
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearName() { @@ -604,6 +686,8 @@ public Builder clearName() { return this; } /** + * + * *
      * Output only. Resource name of this setting.
      * Format: properties/{property_id}/googleSignalsSettings
@@ -611,12 +695,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; @@ -626,22 +712,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. */ @@ -652,24 +745,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. */ @@ -683,11 +785,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() { @@ -699,22 +804,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. */ @@ -725,24 +841,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. */ @@ -756,11 +885,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() { @@ -769,9 +903,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); } @@ -781,12 +915,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(); } @@ -795,27 +929,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; @@ -830,6 +964,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..fcc1ac90bbca 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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 98d0920433e0..bb0912eda1b9 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,18 +1,36 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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.
  * 
* * 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.
@@ -22,6 +40,8 @@ public enum GoogleSignalsState
    */
   GOOGLE_SIGNALS_STATE_UNSPECIFIED(0),
   /**
+   *
+   *
    * 
    * Google Signals is enabled.
    * 
@@ -30,6 +50,8 @@ public enum GoogleSignalsState */ GOOGLE_SIGNALS_ENABLED(1), /** + * + * *
    * Google Signals is disabled.
    * 
@@ -41,6 +63,8 @@ public enum GoogleSignalsState ; /** + * + * *
    * Google Signals status defaults to GOOGLE_SIGNALS_STATE_UNSPECIFIED to
    * represent that the user has not made an explicit choice.
@@ -50,6 +74,8 @@ public enum GoogleSignalsState
    */
   public static final int GOOGLE_SIGNALS_STATE_UNSPECIFIED_VALUE = 0;
   /**
+   *
+   *
    * 
    * Google Signals is enabled.
    * 
@@ -58,6 +84,8 @@ public enum GoogleSignalsState */ public static final int GOOGLE_SIGNALS_ENABLED_VALUE = 1; /** + * + * *
    * Google Signals is disabled.
    * 
@@ -66,7 +94,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( @@ -91,39 +118,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); } @@ -132,8 +162,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; @@ -149,4 +178,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/GroupingRule.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GroupingRule.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/GroupingRule.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GroupingRule.java index f89e4ab7f867..ba4491b6a903 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GroupingRule.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GroupingRule.java @@ -1,57 +1,80 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/channel_group.proto package com.google.analytics.admin.v1alpha; /** + * + * *
  * The rules that govern how traffic is grouped into one channel.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.GroupingRule} */ -public final class GroupingRule extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GroupingRule extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.GroupingRule) GroupingRuleOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GroupingRule.newBuilder() to construct. private GroupingRule(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GroupingRule() { displayName_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GroupingRule(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.ChannelGroupProto.internal_static_google_analytics_admin_v1alpha_GroupingRule_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.ChannelGroupProto + .internal_static_google_analytics_admin_v1alpha_GroupingRule_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.ChannelGroupProto.internal_static_google_analytics_admin_v1alpha_GroupingRule_fieldAccessorTable + return com.google.analytics.admin.v1alpha.ChannelGroupProto + .internal_static_google_analytics_admin_v1alpha_GroupingRule_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.GroupingRule.class, com.google.analytics.admin.v1alpha.GroupingRule.Builder.class); + com.google.analytics.admin.v1alpha.GroupingRule.class, + com.google.analytics.admin.v1alpha.GroupingRule.Builder.class); } public static final int DISPLAY_NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object displayName_ = ""; /** + * + * *
    * Required. Customer defined display name for the channel.
    * 
* * string display_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The displayName. */ @java.lang.Override @@ -60,29 +83,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. Customer defined display name for the channel.
    * 
* * string display_name = 1 [(.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 { @@ -93,11 +116,16 @@ public java.lang.String getDisplayName() { public static final int EXPRESSION_FIELD_NUMBER = 2; private com.google.analytics.admin.v1alpha.ChannelGroupFilterExpression expression_; /** + * + * *
    * Required. The Filter Expression that defines the Grouping Rule.
    * 
* - * .google.analytics.admin.v1alpha.ChannelGroupFilterExpression expression = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.ChannelGroupFilterExpression expression = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the expression field is set. */ @java.lang.Override @@ -105,30 +133,45 @@ public boolean hasExpression() { return expression_ != null; } /** + * + * *
    * Required. The Filter Expression that defines the Grouping Rule.
    * 
* - * .google.analytics.admin.v1alpha.ChannelGroupFilterExpression expression = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.ChannelGroupFilterExpression expression = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The expression. */ @java.lang.Override public com.google.analytics.admin.v1alpha.ChannelGroupFilterExpression getExpression() { - return expression_ == null ? com.google.analytics.admin.v1alpha.ChannelGroupFilterExpression.getDefaultInstance() : expression_; + return expression_ == null + ? com.google.analytics.admin.v1alpha.ChannelGroupFilterExpression.getDefaultInstance() + : expression_; } /** + * + * *
    * Required. The Filter Expression that defines the Grouping Rule.
    * 
* - * .google.analytics.admin.v1alpha.ChannelGroupFilterExpression expression = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.ChannelGroupFilterExpression expression = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public com.google.analytics.admin.v1alpha.ChannelGroupFilterExpressionOrBuilder getExpressionOrBuilder() { - return expression_ == null ? com.google.analytics.admin.v1alpha.ChannelGroupFilterExpression.getDefaultInstance() : expression_; + public com.google.analytics.admin.v1alpha.ChannelGroupFilterExpressionOrBuilder + getExpressionOrBuilder() { + return expression_ == null + ? com.google.analytics.admin.v1alpha.ChannelGroupFilterExpression.getDefaultInstance() + : expression_; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -140,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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, displayName_); } @@ -161,8 +203,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, displayName_); } if (expression_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getExpression()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getExpression()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -172,19 +213,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.GroupingRule)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.GroupingRule other = (com.google.analytics.admin.v1alpha.GroupingRule) obj; + com.google.analytics.admin.v1alpha.GroupingRule other = + (com.google.analytics.admin.v1alpha.GroupingRule) obj; - if (!getDisplayName() - .equals(other.getDisplayName())) return false; + if (!getDisplayName().equals(other.getDisplayName())) return false; if (hasExpression() != other.hasExpression()) return false; if (hasExpression()) { - if (!getExpression() - .equals(other.getExpression())) return false; + if (!getExpression().equals(other.getExpression())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -208,132 +248,136 @@ public int hashCode() { return hash; } - public static com.google.analytics.admin.v1alpha.GroupingRule parseFrom( - java.nio.ByteBuffer data) + public static com.google.analytics.admin.v1alpha.GroupingRule parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.GroupingRule parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.GroupingRule parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.GroupingRule parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.GroupingRule parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.GroupingRule parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.GroupingRule 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.GroupingRule parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.GroupingRule parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.GroupingRule parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.analytics.admin.v1alpha.GroupingRule parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.GroupingRule parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.GroupingRule parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.analytics.admin.v1alpha.GroupingRule prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 rules that govern how traffic is grouped into one channel.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.GroupingRule} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.GroupingRule) com.google.analytics.admin.v1alpha.GroupingRuleOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.ChannelGroupProto.internal_static_google_analytics_admin_v1alpha_GroupingRule_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.ChannelGroupProto + .internal_static_google_analytics_admin_v1alpha_GroupingRule_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.ChannelGroupProto.internal_static_google_analytics_admin_v1alpha_GroupingRule_fieldAccessorTable + return com.google.analytics.admin.v1alpha.ChannelGroupProto + .internal_static_google_analytics_admin_v1alpha_GroupingRule_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.GroupingRule.class, com.google.analytics.admin.v1alpha.GroupingRule.Builder.class); + com.google.analytics.admin.v1alpha.GroupingRule.class, + com.google.analytics.admin.v1alpha.GroupingRule.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.GroupingRule.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(); @@ -348,9 +392,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.analytics.admin.v1alpha.ChannelGroupProto.internal_static_google_analytics_admin_v1alpha_GroupingRule_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1alpha.ChannelGroupProto + .internal_static_google_analytics_admin_v1alpha_GroupingRule_descriptor; } @java.lang.Override @@ -369,8 +413,11 @@ public com.google.analytics.admin.v1alpha.GroupingRule build() { @java.lang.Override public com.google.analytics.admin.v1alpha.GroupingRule buildPartial() { - com.google.analytics.admin.v1alpha.GroupingRule result = new com.google.analytics.admin.v1alpha.GroupingRule(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.analytics.admin.v1alpha.GroupingRule result = + new com.google.analytics.admin.v1alpha.GroupingRule(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -381,9 +428,7 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.GroupingRule resul result.displayName_ = displayName_; } if (((from_bitField0_ & 0x00000002) != 0)) { - result.expression_ = expressionBuilder_ == null - ? expression_ - : expressionBuilder_.build(); + result.expression_ = expressionBuilder_ == null ? expression_ : expressionBuilder_.build(); } } @@ -391,38 +436,39 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.GroupingRule 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.GroupingRule) { - return mergeFrom((com.google.analytics.admin.v1alpha.GroupingRule)other); + return mergeFrom((com.google.analytics.admin.v1alpha.GroupingRule) other); } else { super.mergeFrom(other); return this; @@ -430,7 +476,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1alpha.GroupingRule other) { - if (other == com.google.analytics.admin.v1alpha.GroupingRule.getDefaultInstance()) return this; + if (other == com.google.analytics.admin.v1alpha.GroupingRule.getDefaultInstance()) + return this; if (!other.getDisplayName().isEmpty()) { displayName_ = other.displayName_; bitField0_ |= 0x00000001; @@ -465,24 +512,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - displayName_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - input.readMessage( - getExpressionFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + displayName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + input.readMessage(getExpressionFieldBuilder().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) { @@ -492,22 +540,25 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object displayName_ = ""; /** + * + * *
      * Required. Customer defined display name for the channel.
      * 
* * string display_name = 1 [(.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; @@ -516,20 +567,21 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * Required. Customer defined display name for the channel.
      * 
* * string display_name = 1 [(.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 { @@ -537,28 +589,35 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * Required. Customer defined display name for the channel.
      * 
* * string display_name = 1 [(.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_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. Customer defined display name for the channel.
      * 
* * string display_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearDisplayName() { @@ -568,17 +627,21 @@ public Builder clearDisplayName() { return this; } /** + * + * *
      * Required. Customer defined display name for the channel.
      * 
* * string display_name = 1 [(.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_ |= 0x00000001; @@ -588,41 +651,61 @@ public Builder setDisplayNameBytes( private com.google.analytics.admin.v1alpha.ChannelGroupFilterExpression expression_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.ChannelGroupFilterExpression, com.google.analytics.admin.v1alpha.ChannelGroupFilterExpression.Builder, com.google.analytics.admin.v1alpha.ChannelGroupFilterExpressionOrBuilder> expressionBuilder_; + com.google.analytics.admin.v1alpha.ChannelGroupFilterExpression, + com.google.analytics.admin.v1alpha.ChannelGroupFilterExpression.Builder, + com.google.analytics.admin.v1alpha.ChannelGroupFilterExpressionOrBuilder> + expressionBuilder_; /** + * + * *
      * Required. The Filter Expression that defines the Grouping Rule.
      * 
* - * .google.analytics.admin.v1alpha.ChannelGroupFilterExpression expression = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.ChannelGroupFilterExpression expression = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the expression field is set. */ public boolean hasExpression() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * Required. The Filter Expression that defines the Grouping Rule.
      * 
* - * .google.analytics.admin.v1alpha.ChannelGroupFilterExpression expression = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.ChannelGroupFilterExpression expression = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The expression. */ public com.google.analytics.admin.v1alpha.ChannelGroupFilterExpression getExpression() { if (expressionBuilder_ == null) { - return expression_ == null ? com.google.analytics.admin.v1alpha.ChannelGroupFilterExpression.getDefaultInstance() : expression_; + return expression_ == null + ? com.google.analytics.admin.v1alpha.ChannelGroupFilterExpression.getDefaultInstance() + : expression_; } else { return expressionBuilder_.getMessage(); } } /** + * + * *
      * Required. The Filter Expression that defines the Grouping Rule.
      * 
* - * .google.analytics.admin.v1alpha.ChannelGroupFilterExpression expression = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.ChannelGroupFilterExpression expression = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setExpression(com.google.analytics.admin.v1alpha.ChannelGroupFilterExpression value) { + public Builder setExpression( + com.google.analytics.admin.v1alpha.ChannelGroupFilterExpression value) { if (expressionBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -636,11 +719,15 @@ public Builder setExpression(com.google.analytics.admin.v1alpha.ChannelGroupFilt return this; } /** + * + * *
      * Required. The Filter Expression that defines the Grouping Rule.
      * 
* - * .google.analytics.admin.v1alpha.ChannelGroupFilterExpression expression = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.ChannelGroupFilterExpression expression = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setExpression( com.google.analytics.admin.v1alpha.ChannelGroupFilterExpression.Builder builderForValue) { @@ -654,17 +741,24 @@ public Builder setExpression( return this; } /** + * + * *
      * Required. The Filter Expression that defines the Grouping Rule.
      * 
* - * .google.analytics.admin.v1alpha.ChannelGroupFilterExpression expression = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.ChannelGroupFilterExpression expression = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder mergeExpression(com.google.analytics.admin.v1alpha.ChannelGroupFilterExpression value) { + public Builder mergeExpression( + com.google.analytics.admin.v1alpha.ChannelGroupFilterExpression value) { if (expressionBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) && - expression_ != null && - expression_ != com.google.analytics.admin.v1alpha.ChannelGroupFilterExpression.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) + && expression_ != null + && expression_ + != com.google.analytics.admin.v1alpha.ChannelGroupFilterExpression + .getDefaultInstance()) { getExpressionBuilder().mergeFrom(value); } else { expression_ = value; @@ -677,11 +771,15 @@ public Builder mergeExpression(com.google.analytics.admin.v1alpha.ChannelGroupFi return this; } /** + * + * *
      * Required. The Filter Expression that defines the Grouping Rule.
      * 
* - * .google.analytics.admin.v1alpha.ChannelGroupFilterExpression expression = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.ChannelGroupFilterExpression expression = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearExpression() { bitField0_ = (bitField0_ & ~0x00000002); @@ -694,55 +792,73 @@ public Builder clearExpression() { return this; } /** + * + * *
      * Required. The Filter Expression that defines the Grouping Rule.
      * 
* - * .google.analytics.admin.v1alpha.ChannelGroupFilterExpression expression = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.ChannelGroupFilterExpression expression = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.analytics.admin.v1alpha.ChannelGroupFilterExpression.Builder getExpressionBuilder() { + public com.google.analytics.admin.v1alpha.ChannelGroupFilterExpression.Builder + getExpressionBuilder() { bitField0_ |= 0x00000002; onChanged(); return getExpressionFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The Filter Expression that defines the Grouping Rule.
      * 
* - * .google.analytics.admin.v1alpha.ChannelGroupFilterExpression expression = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.ChannelGroupFilterExpression expression = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.analytics.admin.v1alpha.ChannelGroupFilterExpressionOrBuilder getExpressionOrBuilder() { + public com.google.analytics.admin.v1alpha.ChannelGroupFilterExpressionOrBuilder + getExpressionOrBuilder() { if (expressionBuilder_ != null) { return expressionBuilder_.getMessageOrBuilder(); } else { - return expression_ == null ? - com.google.analytics.admin.v1alpha.ChannelGroupFilterExpression.getDefaultInstance() : expression_; + return expression_ == null + ? com.google.analytics.admin.v1alpha.ChannelGroupFilterExpression.getDefaultInstance() + : expression_; } } /** + * + * *
      * Required. The Filter Expression that defines the Grouping Rule.
      * 
* - * .google.analytics.admin.v1alpha.ChannelGroupFilterExpression expression = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.ChannelGroupFilterExpression expression = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.ChannelGroupFilterExpression, com.google.analytics.admin.v1alpha.ChannelGroupFilterExpression.Builder, com.google.analytics.admin.v1alpha.ChannelGroupFilterExpressionOrBuilder> + com.google.analytics.admin.v1alpha.ChannelGroupFilterExpression, + com.google.analytics.admin.v1alpha.ChannelGroupFilterExpression.Builder, + com.google.analytics.admin.v1alpha.ChannelGroupFilterExpressionOrBuilder> getExpressionFieldBuilder() { if (expressionBuilder_ == null) { - expressionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.ChannelGroupFilterExpression, com.google.analytics.admin.v1alpha.ChannelGroupFilterExpression.Builder, com.google.analytics.admin.v1alpha.ChannelGroupFilterExpressionOrBuilder>( - getExpression(), - getParentForChildren(), - isClean()); + expressionBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1alpha.ChannelGroupFilterExpression, + com.google.analytics.admin.v1alpha.ChannelGroupFilterExpression.Builder, + com.google.analytics.admin.v1alpha.ChannelGroupFilterExpressionOrBuilder>( + getExpression(), getParentForChildren(), isClean()); expression_ = null; } return expressionBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -752,12 +868,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.GroupingRule) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.GroupingRule) private static final com.google.analytics.admin.v1alpha.GroupingRule DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.GroupingRule(); } @@ -766,27 +882,27 @@ public static com.google.analytics.admin.v1alpha.GroupingRule getDefaultInstance return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GroupingRule parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GroupingRule parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.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,6 +917,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1alpha.GroupingRule 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/GroupingRuleOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GroupingRuleOrBuilder.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/GroupingRuleOrBuilder.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GroupingRuleOrBuilder.java index b97407c46b95..946ec0e0136b 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GroupingRuleOrBuilder.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GroupingRuleOrBuilder.java @@ -1,56 +1,91 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/channel_group.proto package com.google.analytics.admin.v1alpha; -public interface GroupingRuleOrBuilder extends +public interface GroupingRuleOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.GroupingRule) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. Customer defined display name for the channel.
    * 
* * string display_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The displayName. */ java.lang.String getDisplayName(); /** + * + * *
    * Required. Customer defined display name for the channel.
    * 
* * string display_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for displayName. */ - com.google.protobuf.ByteString - getDisplayNameBytes(); + com.google.protobuf.ByteString getDisplayNameBytes(); /** + * + * *
    * Required. The Filter Expression that defines the Grouping Rule.
    * 
* - * .google.analytics.admin.v1alpha.ChannelGroupFilterExpression expression = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.ChannelGroupFilterExpression expression = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the expression field is set. */ boolean hasExpression(); /** + * + * *
    * Required. The Filter Expression that defines the Grouping Rule.
    * 
* - * .google.analytics.admin.v1alpha.ChannelGroupFilterExpression expression = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.ChannelGroupFilterExpression expression = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The expression. */ com.google.analytics.admin.v1alpha.ChannelGroupFilterExpression getExpression(); /** + * + * *
    * Required. The Filter Expression that defines the Grouping Rule.
    * 
* - * .google.analytics.admin.v1alpha.ChannelGroupFilterExpression expression = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.ChannelGroupFilterExpression expression = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.analytics.admin.v1alpha.ChannelGroupFilterExpressionOrBuilder getExpressionOrBuilder(); } 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..a6f3c85175d9 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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..ae5e8b43b3dc 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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..240be65d8d69 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 2023 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for 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 40655163700f..e4bcd25ea590 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 2023 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for 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,59 +45,81 @@ private LinkProposalStatusDetails() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new LinkProposalStatusDetails(); } - 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 @@ -88,29 +128,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 { @@ -121,30 +161,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; @@ -156,15 +212,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); @@ -176,16 +236,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; @@ -195,16 +259,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; @@ -229,131 +293,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(); @@ -365,13 +434,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(); } @@ -386,13 +456,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_; @@ -409,38 +483,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; @@ -448,7 +523,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()); } @@ -486,27 +563,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) { @@ -516,26 +597,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. */ @@ -546,28 +639,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(); } @@ -577,11 +686,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() { @@ -593,18 +707,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; @@ -613,20 +729,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 { @@ -634,28 +751,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() { @@ -665,17 +789,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; @@ -685,22 +813,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. */ @@ -711,28 +850,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(); } @@ -742,11 +895,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() { @@ -755,9 +913,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); } @@ -767,12 +925,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(); } @@ -781,27 +940,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; @@ -816,6 +975,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..7cf2ea5b5081 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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/ListAccessBindingsRequest.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAccessBindingsRequest.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/ListAccessBindingsRequest.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAccessBindingsRequest.java index 9f871a4e4674..79c407c76eb5 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAccessBindingsRequest.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAccessBindingsRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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 ListAccessBindings RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.ListAccessBindingsRequest} */ -public final class ListAccessBindingsRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListAccessBindingsRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.ListAccessBindingsRequest) ListAccessBindingsRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListAccessBindingsRequest.newBuilder() to construct. private ListAccessBindingsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListAccessBindingsRequest() { parent_ = ""; pageToken_ = ""; @@ -26,35 +44,42 @@ private ListAccessBindingsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListAccessBindingsRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListAccessBindingsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ListAccessBindingsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListAccessBindingsRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ListAccessBindingsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.ListAccessBindingsRequest.class, com.google.analytics.admin.v1alpha.ListAccessBindingsRequest.Builder.class); + com.google.analytics.admin.v1alpha.ListAccessBindingsRequest.class, + com.google.analytics.admin.v1alpha.ListAccessBindingsRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** + * + * *
    * Required. Formats:
    * - accounts/{account}
    * - properties/{property}
    * 
* - * string parent = 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 @@ -63,31 +88,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. Formats:
    * - accounts/{account}
    * - properties/{property}
    * 
* - * string parent = 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,6 +125,8 @@ public java.lang.String getParent() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_ = 0; /** + * + * *
    * The maximum number of access bindings to return.
    * The service may return fewer than this value.
@@ -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 `ListAccessBindings` 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 `ListAccessBindings` 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.ListAccessBindingsRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.ListAccessBindingsRequest other = (com.google.analytics.admin.v1alpha.ListAccessBindingsRequest) obj; + com.google.analytics.admin.v1alpha.ListAccessBindingsRequest other = + (com.google.analytics.admin.v1alpha.ListAccessBindingsRequest) 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,131 +283,136 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.ListAccessBindingsRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.ListAccessBindingsRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.ListAccessBindingsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.ListAccessBindingsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.ListAccessBindingsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.ListAccessBindingsRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.ListAccessBindingsRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.ListAccessBindingsRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.ListAccessBindingsRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.ListAccessBindingsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.ListAccessBindingsRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.analytics.admin.v1alpha.ListAccessBindingsRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.ListAccessBindingsRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.ListAccessBindingsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1alpha.ListAccessBindingsRequest prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1alpha.ListAccessBindingsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder 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 ListAccessBindings RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.ListAccessBindingsRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.ListAccessBindingsRequest) com.google.analytics.admin.v1alpha.ListAccessBindingsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListAccessBindingsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ListAccessBindingsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListAccessBindingsRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ListAccessBindingsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.ListAccessBindingsRequest.class, com.google.analytics.admin.v1alpha.ListAccessBindingsRequest.Builder.class); + com.google.analytics.admin.v1alpha.ListAccessBindingsRequest.class, + com.google.analytics.admin.v1alpha.ListAccessBindingsRequest.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.ListAccessBindingsRequest.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 +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_ListAccessBindingsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ListAccessBindingsRequest_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.ListAccessBindingsRequest getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.ListAccessBindingsRequest + getDefaultInstanceForType() { return com.google.analytics.admin.v1alpha.ListAccessBindingsRequest.getDefaultInstance(); } @@ -409,13 +446,17 @@ public com.google.analytics.admin.v1alpha.ListAccessBindingsRequest build() { @java.lang.Override public com.google.analytics.admin.v1alpha.ListAccessBindingsRequest buildPartial() { - com.google.analytics.admin.v1alpha.ListAccessBindingsRequest result = new com.google.analytics.admin.v1alpha.ListAccessBindingsRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.analytics.admin.v1alpha.ListAccessBindingsRequest result = + new com.google.analytics.admin.v1alpha.ListAccessBindingsRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.analytics.admin.v1alpha.ListAccessBindingsRequest result) { + private void buildPartial0( + com.google.analytics.admin.v1alpha.ListAccessBindingsRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.parent_ = parent_; @@ -432,38 +473,39 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.ListAccessBindings public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.analytics.admin.v1alpha.ListAccessBindingsRequest) { - return mergeFrom((com.google.analytics.admin.v1alpha.ListAccessBindingsRequest)other); + return mergeFrom((com.google.analytics.admin.v1alpha.ListAccessBindingsRequest) other); } else { super.mergeFrom(other); return this; @@ -471,7 +513,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1alpha.ListAccessBindingsRequest other) { - if (other == com.google.analytics.admin.v1alpha.ListAccessBindingsRequest.getDefaultInstance()) return this; + if (other + == com.google.analytics.admin.v1alpha.ListAccessBindingsRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -511,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) { @@ -541,24 +589,29 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object parent_ = ""; /** + * + * *
      * Required. Formats:
      * - accounts/{account}
      * - properties/{property}
      * 
* - * string parent = 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,22 +620,25 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. Formats:
      * - accounts/{account}
      * - properties/{property}
      * 
* - * string parent = 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 { @@ -590,32 +646,43 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. Formats:
      * - accounts/{account}
      * - properties/{property}
      * 
* - * 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. Formats:
      * - accounts/{account}
      * - properties/{property}
      * 
* - * string 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() { @@ -625,19 +692,25 @@ public Builder clearParent() { return this; } /** + * + * *
      * Required. Formats:
      * - accounts/{account}
      * - properties/{property}
      * 
* - * 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; @@ -645,8 +718,10 @@ public Builder setParentBytes( return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * The maximum number of access bindings to return.
      * The service may return fewer than this value.
@@ -655,6 +730,7 @@ public Builder setParentBytes(
      * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -662,6 +738,8 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * The maximum number of access bindings to return.
      * The service may return fewer than this value.
@@ -670,6 +748,7 @@ public int getPageSize() {
      * 
* * int32 page_size = 2; + * * @param value The pageSize to set. * @return This builder for chaining. */ @@ -681,6 +760,8 @@ public Builder setPageSize(int value) { return this; } /** + * + * *
      * The maximum number of access bindings to return.
      * The service may return fewer than this value.
@@ -689,6 +770,7 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2; + * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -700,6 +782,8 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * A page token, received from a previous `ListAccessBindings` call.
      * Provide this to retrieve the subsequent page.
@@ -708,13 +792,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; @@ -723,6 +807,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * A page token, received from a previous `ListAccessBindings` call.
      * Provide this to retrieve the subsequent page.
@@ -731,15 +817,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 { @@ -747,6 +832,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * A page token, received from a previous `ListAccessBindings` call.
      * Provide this to retrieve the subsequent page.
@@ -755,18 +842,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 `ListAccessBindings` call.
      * Provide this to retrieve the subsequent page.
@@ -775,6 +866,7 @@ public Builder setPageToken(
      * 
* * string page_token = 3; + * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -784,6 +876,8 @@ public Builder clearPageToken() { return this; } /** + * + * *
      * A page token, received from a previous `ListAccessBindings` call.
      * Provide this to retrieve the subsequent page.
@@ -792,21 +886,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); } @@ -816,12 +912,13 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.ListAccessBindingsRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.ListAccessBindingsRequest) - private static final com.google.analytics.admin.v1alpha.ListAccessBindingsRequest DEFAULT_INSTANCE; + private static final com.google.analytics.admin.v1alpha.ListAccessBindingsRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.ListAccessBindingsRequest(); } @@ -830,27 +927,27 @@ public static com.google.analytics.admin.v1alpha.ListAccessBindingsRequest getDe return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListAccessBindingsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListAccessBindingsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -865,6 +962,4 @@ public com.google.protobuf.Parser getParserForType() public com.google.analytics.admin.v1alpha.ListAccessBindingsRequest 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/ListAccessBindingsRequestOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAccessBindingsRequestOrBuilder.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/ListAccessBindingsRequestOrBuilder.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAccessBindingsRequestOrBuilder.java index 151b678caf6c..419574021f4f 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAccessBindingsRequestOrBuilder.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAccessBindingsRequestOrBuilder.java @@ -1,37 +1,64 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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 ListAccessBindingsRequestOrBuilder extends +public interface ListAccessBindingsRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.ListAccessBindingsRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. Formats:
    * - accounts/{account}
    * - properties/{property}
    * 
* - * string parent = 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. Formats:
    * - accounts/{account}
    * - properties/{property}
    * 
* - * string parent = 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 access bindings to return.
    * The service may return fewer than this value.
@@ -40,11 +67,14 @@ public interface ListAccessBindingsRequestOrBuilder extends
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * A page token, received from a previous `ListAccessBindings` call.
    * Provide this to retrieve the subsequent page.
@@ -53,10 +83,13 @@ public interface ListAccessBindingsRequestOrBuilder extends
    * 
* * string page_token = 3; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * A page token, received from a previous `ListAccessBindings` call.
    * Provide this to retrieve the subsequent page.
@@ -65,8 +98,8 @@ public interface ListAccessBindingsRequestOrBuilder 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/ListAccessBindingsResponse.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAccessBindingsResponse.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/ListAccessBindingsResponse.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAccessBindingsResponse.java index 3d36a3892a45..7145e8732525 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAccessBindingsResponse.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAccessBindingsResponse.java @@ -1,24 +1,42 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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 ListAccessBindings RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.ListAccessBindingsResponse} */ -public final class ListAccessBindingsResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListAccessBindingsResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.ListAccessBindingsResponse) ListAccessBindingsResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListAccessBindingsResponse.newBuilder() to construct. private ListAccessBindingsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListAccessBindingsResponse() { accessBindings_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -26,28 +44,32 @@ private ListAccessBindingsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListAccessBindingsResponse(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListAccessBindingsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ListAccessBindingsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListAccessBindingsResponse_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ListAccessBindingsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.ListAccessBindingsResponse.class, com.google.analytics.admin.v1alpha.ListAccessBindingsResponse.Builder.class); + com.google.analytics.admin.v1alpha.ListAccessBindingsResponse.class, + com.google.analytics.admin.v1alpha.ListAccessBindingsResponse.Builder.class); } public static final int ACCESS_BINDINGS_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private java.util.List accessBindings_; /** + * + * *
    * List of AccessBindings. These will be ordered stably, but in an arbitrary
    * order.
@@ -60,6 +82,8 @@ public java.util.List getAcces
     return accessBindings_;
   }
   /**
+   *
+   *
    * 
    * List of AccessBindings. These will be ordered stably, but in an arbitrary
    * order.
@@ -68,11 +92,13 @@ public java.util.List getAcces
    * repeated .google.analytics.admin.v1alpha.AccessBinding access_bindings = 1;
    */
   @java.lang.Override
-  public java.util.List 
+  public java.util.List
       getAccessBindingsOrBuilderList() {
     return accessBindings_;
   }
   /**
+   *
+   *
    * 
    * List of AccessBindings. These will be ordered stably, but in an arbitrary
    * order.
@@ -85,6 +111,8 @@ public int getAccessBindingsCount() {
     return accessBindings_.size();
   }
   /**
+   *
+   *
    * 
    * List of AccessBindings. These will be ordered stably, but in an arbitrary
    * order.
@@ -97,6 +125,8 @@ public com.google.analytics.admin.v1alpha.AccessBinding getAccessBindings(int in
     return accessBindings_.get(index);
   }
   /**
+   *
+   *
    * 
    * List of AccessBindings. These will be ordered stably, but in an arbitrary
    * order.
@@ -111,15 +141,19 @@ public com.google.analytics.admin.v1alpha.AccessBindingOrBuilder getAccessBindin
   }
 
   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 < accessBindings_.size(); i++) { output.writeMessage(1, accessBindings_.get(i)); } @@ -189,8 +223,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < accessBindings_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, accessBindings_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, accessBindings_.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.ListAccessBindingsResponse)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.ListAccessBindingsResponse other = (com.google.analytics.admin.v1alpha.ListAccessBindingsResponse) obj; + com.google.analytics.admin.v1alpha.ListAccessBindingsResponse other = + (com.google.analytics.admin.v1alpha.ListAccessBindingsResponse) obj; - if (!getAccessBindingsList() - .equals(other.getAccessBindingsList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; + if (!getAccessBindingsList().equals(other.getAccessBindingsList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -237,131 +269,136 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.ListAccessBindingsResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.ListAccessBindingsResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.ListAccessBindingsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.ListAccessBindingsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.ListAccessBindingsResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.ListAccessBindingsResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.ListAccessBindingsResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.ListAccessBindingsResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.ListAccessBindingsResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.ListAccessBindingsResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.ListAccessBindingsResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.analytics.admin.v1alpha.ListAccessBindingsResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.ListAccessBindingsResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.ListAccessBindingsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1alpha.ListAccessBindingsResponse prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1alpha.ListAccessBindingsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 ListAccessBindings RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.ListAccessBindingsResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.ListAccessBindingsResponse) com.google.analytics.admin.v1alpha.ListAccessBindingsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListAccessBindingsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ListAccessBindingsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListAccessBindingsResponse_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ListAccessBindingsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.ListAccessBindingsResponse.class, com.google.analytics.admin.v1alpha.ListAccessBindingsResponse.Builder.class); + com.google.analytics.admin.v1alpha.ListAccessBindingsResponse.class, + com.google.analytics.admin.v1alpha.ListAccessBindingsResponse.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.ListAccessBindingsResponse.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,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_ListAccessBindingsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ListAccessBindingsResponse_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.ListAccessBindingsResponse getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.ListAccessBindingsResponse + getDefaultInstanceForType() { return com.google.analytics.admin.v1alpha.ListAccessBindingsResponse.getDefaultInstance(); } @@ -399,14 +437,18 @@ public com.google.analytics.admin.v1alpha.ListAccessBindingsResponse build() { @java.lang.Override public com.google.analytics.admin.v1alpha.ListAccessBindingsResponse buildPartial() { - com.google.analytics.admin.v1alpha.ListAccessBindingsResponse result = new com.google.analytics.admin.v1alpha.ListAccessBindingsResponse(this); + com.google.analytics.admin.v1alpha.ListAccessBindingsResponse result = + new com.google.analytics.admin.v1alpha.ListAccessBindingsResponse(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartialRepeatedFields(com.google.analytics.admin.v1alpha.ListAccessBindingsResponse result) { + private void buildPartialRepeatedFields( + com.google.analytics.admin.v1alpha.ListAccessBindingsResponse result) { if (accessBindingsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { accessBindings_ = java.util.Collections.unmodifiableList(accessBindings_); @@ -418,7 +460,8 @@ private void buildPartialRepeatedFields(com.google.analytics.admin.v1alpha.ListA } } - private void buildPartial0(com.google.analytics.admin.v1alpha.ListAccessBindingsResponse result) { + private void buildPartial0( + com.google.analytics.admin.v1alpha.ListAccessBindingsResponse result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000002) != 0)) { result.nextPageToken_ = nextPageToken_; @@ -429,38 +472,39 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.ListAccessBindings public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.analytics.admin.v1alpha.ListAccessBindingsResponse) { - return mergeFrom((com.google.analytics.admin.v1alpha.ListAccessBindingsResponse)other); + return mergeFrom((com.google.analytics.admin.v1alpha.ListAccessBindingsResponse) other); } else { super.mergeFrom(other); return this; @@ -468,7 +512,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1alpha.ListAccessBindingsResponse other) { - if (other == com.google.analytics.admin.v1alpha.ListAccessBindingsResponse.getDefaultInstance()) return this; + if (other + == com.google.analytics.admin.v1alpha.ListAccessBindingsResponse.getDefaultInstance()) + return this; if (accessBindingsBuilder_ == null) { if (!other.accessBindings_.isEmpty()) { if (accessBindings_.isEmpty()) { @@ -487,9 +533,10 @@ public Builder mergeFrom(com.google.analytics.admin.v1alpha.ListAccessBindingsRe accessBindingsBuilder_ = null; accessBindings_ = other.accessBindings_; bitField0_ = (bitField0_ & ~0x00000001); - accessBindingsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getAccessBindingsFieldBuilder() : null; + accessBindingsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getAccessBindingsFieldBuilder() + : null; } else { accessBindingsBuilder_.addAllMessages(other.accessBindings_); } @@ -526,30 +573,33 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - com.google.analytics.admin.v1alpha.AccessBinding m = - input.readMessage( - com.google.analytics.admin.v1alpha.AccessBinding.parser(), - extensionRegistry); - if (accessBindingsBuilder_ == null) { - ensureAccessBindingsIsMutable(); - accessBindings_.add(m); - } else { - accessBindingsBuilder_.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.AccessBinding m = + input.readMessage( + com.google.analytics.admin.v1alpha.AccessBinding.parser(), + extensionRegistry); + if (accessBindingsBuilder_ == null) { + ensureAccessBindingsIsMutable(); + accessBindings_.add(m); + } else { + accessBindingsBuilder_.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) { @@ -559,21 +609,30 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.util.List accessBindings_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureAccessBindingsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - accessBindings_ = new java.util.ArrayList(accessBindings_); + accessBindings_ = + new java.util.ArrayList( + accessBindings_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.AccessBinding, com.google.analytics.admin.v1alpha.AccessBinding.Builder, com.google.analytics.admin.v1alpha.AccessBindingOrBuilder> accessBindingsBuilder_; + com.google.analytics.admin.v1alpha.AccessBinding, + com.google.analytics.admin.v1alpha.AccessBinding.Builder, + com.google.analytics.admin.v1alpha.AccessBindingOrBuilder> + accessBindingsBuilder_; /** + * + * *
      * List of AccessBindings. These will be ordered stably, but in an arbitrary
      * order.
@@ -581,7 +640,8 @@ private void ensureAccessBindingsIsMutable() {
      *
      * repeated .google.analytics.admin.v1alpha.AccessBinding access_bindings = 1;
      */
-    public java.util.List getAccessBindingsList() {
+    public java.util.List
+        getAccessBindingsList() {
       if (accessBindingsBuilder_ == null) {
         return java.util.Collections.unmodifiableList(accessBindings_);
       } else {
@@ -589,6 +649,8 @@ public java.util.List getAcces
       }
     }
     /**
+     *
+     *
      * 
      * List of AccessBindings. These will be ordered stably, but in an arbitrary
      * order.
@@ -604,6 +666,8 @@ public int getAccessBindingsCount() {
       }
     }
     /**
+     *
+     *
      * 
      * List of AccessBindings. These will be ordered stably, but in an arbitrary
      * order.
@@ -619,6 +683,8 @@ public com.google.analytics.admin.v1alpha.AccessBinding getAccessBindings(int in
       }
     }
     /**
+     *
+     *
      * 
      * List of AccessBindings. These will be ordered stably, but in an arbitrary
      * order.
@@ -641,6 +707,8 @@ public Builder setAccessBindings(
       return this;
     }
     /**
+     *
+     *
      * 
      * List of AccessBindings. These will be ordered stably, but in an arbitrary
      * order.
@@ -660,6 +728,8 @@ public Builder setAccessBindings(
       return this;
     }
     /**
+     *
+     *
      * 
      * List of AccessBindings. These will be ordered stably, but in an arbitrary
      * order.
@@ -681,6 +751,8 @@ public Builder addAccessBindings(com.google.analytics.admin.v1alpha.AccessBindin
       return this;
     }
     /**
+     *
+     *
      * 
      * List of AccessBindings. These will be ordered stably, but in an arbitrary
      * order.
@@ -703,6 +775,8 @@ public Builder addAccessBindings(
       return this;
     }
     /**
+     *
+     *
      * 
      * List of AccessBindings. These will be ordered stably, but in an arbitrary
      * order.
@@ -722,6 +796,8 @@ public Builder addAccessBindings(
       return this;
     }
     /**
+     *
+     *
      * 
      * List of AccessBindings. These will be ordered stably, but in an arbitrary
      * order.
@@ -741,6 +817,8 @@ public Builder addAccessBindings(
       return this;
     }
     /**
+     *
+     *
      * 
      * List of AccessBindings. These will be ordered stably, but in an arbitrary
      * order.
@@ -752,8 +830,7 @@ public Builder addAllAccessBindings(
         java.lang.Iterable values) {
       if (accessBindingsBuilder_ == null) {
         ensureAccessBindingsIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(
-            values, accessBindings_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, accessBindings_);
         onChanged();
       } else {
         accessBindingsBuilder_.addAllMessages(values);
@@ -761,6 +838,8 @@ public Builder addAllAccessBindings(
       return this;
     }
     /**
+     *
+     *
      * 
      * List of AccessBindings. These will be ordered stably, but in an arbitrary
      * order.
@@ -779,6 +858,8 @@ public Builder clearAccessBindings() {
       return this;
     }
     /**
+     *
+     *
      * 
      * List of AccessBindings. These will be ordered stably, but in an arbitrary
      * order.
@@ -797,6 +878,8 @@ public Builder removeAccessBindings(int index) {
       return this;
     }
     /**
+     *
+     *
      * 
      * List of AccessBindings. These will be ordered stably, but in an arbitrary
      * order.
@@ -809,6 +892,8 @@ public com.google.analytics.admin.v1alpha.AccessBinding.Builder getAccessBinding
       return getAccessBindingsFieldBuilder().getBuilder(index);
     }
     /**
+     *
+     *
      * 
      * List of AccessBindings. These will be ordered stably, but in an arbitrary
      * order.
@@ -819,11 +904,14 @@ public com.google.analytics.admin.v1alpha.AccessBinding.Builder getAccessBinding
     public com.google.analytics.admin.v1alpha.AccessBindingOrBuilder getAccessBindingsOrBuilder(
         int index) {
       if (accessBindingsBuilder_ == null) {
-        return accessBindings_.get(index);  } else {
+        return accessBindings_.get(index);
+      } else {
         return accessBindingsBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
+     *
+     *
      * 
      * List of AccessBindings. These will be ordered stably, but in an arbitrary
      * order.
@@ -831,8 +919,8 @@ public com.google.analytics.admin.v1alpha.AccessBindingOrBuilder getAccessBindin
      *
      * repeated .google.analytics.admin.v1alpha.AccessBinding access_bindings = 1;
      */
-    public java.util.List 
-         getAccessBindingsOrBuilderList() {
+    public java.util.List
+        getAccessBindingsOrBuilderList() {
       if (accessBindingsBuilder_ != null) {
         return accessBindingsBuilder_.getMessageOrBuilderList();
       } else {
@@ -840,6 +928,8 @@ public com.google.analytics.admin.v1alpha.AccessBindingOrBuilder getAccessBindin
       }
     }
     /**
+     *
+     *
      * 
      * List of AccessBindings. These will be ordered stably, but in an arbitrary
      * order.
@@ -848,10 +938,12 @@ public com.google.analytics.admin.v1alpha.AccessBindingOrBuilder getAccessBindin
      * repeated .google.analytics.admin.v1alpha.AccessBinding access_bindings = 1;
      */
     public com.google.analytics.admin.v1alpha.AccessBinding.Builder addAccessBindingsBuilder() {
-      return getAccessBindingsFieldBuilder().addBuilder(
-          com.google.analytics.admin.v1alpha.AccessBinding.getDefaultInstance());
+      return getAccessBindingsFieldBuilder()
+          .addBuilder(com.google.analytics.admin.v1alpha.AccessBinding.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * List of AccessBindings. These will be ordered stably, but in an arbitrary
      * order.
@@ -861,10 +953,12 @@ public com.google.analytics.admin.v1alpha.AccessBinding.Builder addAccessBinding
      */
     public com.google.analytics.admin.v1alpha.AccessBinding.Builder addAccessBindingsBuilder(
         int index) {
-      return getAccessBindingsFieldBuilder().addBuilder(
-          index, com.google.analytics.admin.v1alpha.AccessBinding.getDefaultInstance());
+      return getAccessBindingsFieldBuilder()
+          .addBuilder(index, com.google.analytics.admin.v1alpha.AccessBinding.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * List of AccessBindings. These will be ordered stably, but in an arbitrary
      * order.
@@ -872,16 +966,22 @@ public com.google.analytics.admin.v1alpha.AccessBinding.Builder addAccessBinding
      *
      * repeated .google.analytics.admin.v1alpha.AccessBinding access_bindings = 1;
      */
-    public java.util.List 
-         getAccessBindingsBuilderList() {
+    public java.util.List
+        getAccessBindingsBuilderList() {
       return getAccessBindingsFieldBuilder().getBuilderList();
     }
+
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.analytics.admin.v1alpha.AccessBinding, com.google.analytics.admin.v1alpha.AccessBinding.Builder, com.google.analytics.admin.v1alpha.AccessBindingOrBuilder> 
+            com.google.analytics.admin.v1alpha.AccessBinding,
+            com.google.analytics.admin.v1alpha.AccessBinding.Builder,
+            com.google.analytics.admin.v1alpha.AccessBindingOrBuilder>
         getAccessBindingsFieldBuilder() {
       if (accessBindingsBuilder_ == null) {
-        accessBindingsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.analytics.admin.v1alpha.AccessBinding, com.google.analytics.admin.v1alpha.AccessBinding.Builder, com.google.analytics.admin.v1alpha.AccessBindingOrBuilder>(
+        accessBindingsBuilder_ =
+            new com.google.protobuf.RepeatedFieldBuilderV3<
+                com.google.analytics.admin.v1alpha.AccessBinding,
+                com.google.analytics.admin.v1alpha.AccessBinding.Builder,
+                com.google.analytics.admin.v1alpha.AccessBindingOrBuilder>(
                 accessBindings_,
                 ((bitField0_ & 0x00000001) != 0),
                 getParentForChildren(),
@@ -893,19 +993,21 @@ public com.google.analytics.admin.v1alpha.AccessBinding.Builder addAccessBinding
 
     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; @@ -914,21 +1016,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 { @@ -936,30 +1039,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() { @@ -969,27 +1079,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); } @@ -999,12 +1113,13 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.ListAccessBindingsResponse) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.ListAccessBindingsResponse) - private static final com.google.analytics.admin.v1alpha.ListAccessBindingsResponse DEFAULT_INSTANCE; + private static final com.google.analytics.admin.v1alpha.ListAccessBindingsResponse + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.ListAccessBindingsResponse(); } @@ -1013,27 +1128,27 @@ public static com.google.analytics.admin.v1alpha.ListAccessBindingsResponse getD return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListAccessBindingsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListAccessBindingsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1048,6 +1163,4 @@ public com.google.protobuf.Parser getParserForType() public com.google.analytics.admin.v1alpha.ListAccessBindingsResponse 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/ListAccessBindingsResponseOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAccessBindingsResponseOrBuilder.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/ListAccessBindingsResponseOrBuilder.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAccessBindingsResponseOrBuilder.java index cc6da37ab0a0..37dbb4b9c1ab 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAccessBindingsResponseOrBuilder.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAccessBindingsResponseOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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 ListAccessBindingsResponseOrBuilder extends +public interface ListAccessBindingsResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.ListAccessBindingsResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * List of AccessBindings. These will be ordered stably, but in an arbitrary
    * order.
@@ -15,9 +33,10 @@ public interface ListAccessBindingsResponseOrBuilder extends
    *
    * repeated .google.analytics.admin.v1alpha.AccessBinding access_bindings = 1;
    */
-  java.util.List 
-      getAccessBindingsList();
+  java.util.List getAccessBindingsList();
   /**
+   *
+   *
    * 
    * List of AccessBindings. These will be ordered stably, but in an arbitrary
    * order.
@@ -27,6 +46,8 @@ public interface ListAccessBindingsResponseOrBuilder extends
    */
   com.google.analytics.admin.v1alpha.AccessBinding getAccessBindings(int index);
   /**
+   *
+   *
    * 
    * List of AccessBindings. These will be ordered stably, but in an arbitrary
    * order.
@@ -36,6 +57,8 @@ public interface ListAccessBindingsResponseOrBuilder extends
    */
   int getAccessBindingsCount();
   /**
+   *
+   *
    * 
    * List of AccessBindings. These will be ordered stably, but in an arbitrary
    * order.
@@ -43,9 +66,11 @@ public interface ListAccessBindingsResponseOrBuilder extends
    *
    * repeated .google.analytics.admin.v1alpha.AccessBinding access_bindings = 1;
    */
-  java.util.List 
+  java.util.List
       getAccessBindingsOrBuilderList();
   /**
+   *
+   *
    * 
    * List of AccessBindings. These will be ordered stably, but in an arbitrary
    * order.
@@ -53,28 +78,32 @@ public interface ListAccessBindingsResponseOrBuilder extends
    *
    * repeated .google.analytics.admin.v1alpha.AccessBinding access_bindings = 1;
    */
-  com.google.analytics.admin.v1alpha.AccessBindingOrBuilder getAccessBindingsOrBuilder(
-      int index);
+  com.google.analytics.admin.v1alpha.AccessBindingOrBuilder getAccessBindingsOrBuilder(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/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 7d7fdbb74624..0d0b8bbfb0eb 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,51 +1,72 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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(); } - 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.
@@ -54,6 +75,7 @@ protected java.lang.Object newInstance(
    * 
* * int32 page_size = 1; + * * @return The pageSize. */ @java.lang.Override @@ -62,9 +84,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.
@@ -73,6 +98,7 @@ public int getPageSize() {
    * 
* * string page_token = 2; + * * @return The pageToken. */ @java.lang.Override @@ -81,14 +107,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.
@@ -97,16 +124,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 { @@ -115,6 +141,7 @@ public java.lang.String getPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -126,8 +153,7 @@ public final boolean isInitialized() { } @java.lang.Override - public 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_); } @@ -144,8 +170,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_); @@ -158,17 +183,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; } @@ -190,131 +214,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(); @@ -325,13 +354,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(); } @@ -346,13 +376,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_; @@ -366,38 +400,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; @@ -405,7 +440,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()); } @@ -440,22 +477,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) { @@ -465,10 +505,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.
@@ -477,6 +520,7 @@ public Builder mergeFrom(
      * 
* * int32 page_size = 1; + * * @return The pageSize. */ @java.lang.Override @@ -484,6 +528,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.
@@ -492,6 +538,7 @@ public int getPageSize() {
      * 
* * int32 page_size = 1; + * * @param value The pageSize to set. * @return This builder for chaining. */ @@ -503,6 +550,8 @@ public Builder setPageSize(int value) { return this; } /** + * + * *
      * The maximum number of AccountSummary resources to return. The service may
      * return fewer than this value, even if there are additional pages.
@@ -511,6 +560,7 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 1; + * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -522,6 +572,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.
@@ -530,13 +582,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; @@ -545,6 +597,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * A page token, received from a previous `ListAccountSummaries` call.
      * Provide this to retrieve the subsequent page.
@@ -553,15 +607,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 { @@ -569,6 +622,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * A page token, received from a previous `ListAccountSummaries` call.
      * Provide this to retrieve the subsequent page.
@@ -577,18 +632,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.
@@ -597,6 +656,7 @@ public Builder setPageToken(
      * 
* * string page_token = 2; + * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -606,6 +666,8 @@ public Builder clearPageToken() { return this; } /** + * + * *
      * A page token, received from a previous `ListAccountSummaries` call.
      * Provide this to retrieve the subsequent page.
@@ -614,21 +676,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); } @@ -638,41 +702,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; @@ -684,9 +750,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..201d0ed53b44 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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 2ca6213a43cc..90a0f75c3aba 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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,28 +44,32 @@ private ListAccountSummariesResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListAccountSummariesResponse(); } - 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.
    * 
@@ -55,10 +77,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.
    * 
@@ -66,11 +91,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.
    * 
@@ -82,6 +109,8 @@ public int getAccountSummariesCount() { return accountSummaries_.size(); } /** + * + * *
    * Account summaries of all accounts the caller has access to.
    * 
@@ -93,6 +122,8 @@ public com.google.analytics.admin.v1alpha.AccountSummary getAccountSummaries(int return accountSummaries_.get(index); } /** + * + * *
    * Account summaries of all accounts the caller has access to.
    * 
@@ -106,15 +137,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 @@ -123,30 +158,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 { @@ -155,6 +190,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -166,8 +202,7 @@ public final boolean isInitialized() { } @java.lang.Override - 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)); } @@ -184,8 +219,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_); @@ -198,17 +232,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; } @@ -232,131 +265,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(); @@ -373,13 +411,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(); } @@ -394,14 +433,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_); @@ -413,7 +456,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_; @@ -424,46 +468,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()) { @@ -482,9 +530,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_); } @@ -521,30 +570,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) { @@ -554,28 +606,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 { @@ -583,6 +645,8 @@ public java.util.List getAcco } } /** + * + * *
      * Account summaries of all accounts the caller has access to.
      * 
@@ -597,6 +661,8 @@ public int getAccountSummariesCount() { } } /** + * + * *
      * Account summaries of all accounts the caller has access to.
      * 
@@ -611,6 +677,8 @@ public com.google.analytics.admin.v1alpha.AccountSummary getAccountSummaries(int } } /** + * + * *
      * Account summaries of all accounts the caller has access to.
      * 
@@ -632,6 +700,8 @@ public Builder setAccountSummaries( return this; } /** + * + * *
      * Account summaries of all accounts the caller has access to.
      * 
@@ -650,6 +720,8 @@ public Builder setAccountSummaries( return this; } /** + * + * *
      * Account summaries of all accounts the caller has access to.
      * 
@@ -670,6 +742,8 @@ public Builder addAccountSummaries(com.google.analytics.admin.v1alpha.AccountSum return this; } /** + * + * *
      * Account summaries of all accounts the caller has access to.
      * 
@@ -691,6 +765,8 @@ public Builder addAccountSummaries( return this; } /** + * + * *
      * Account summaries of all accounts the caller has access to.
      * 
@@ -709,6 +785,8 @@ public Builder addAccountSummaries( return this; } /** + * + * *
      * Account summaries of all accounts the caller has access to.
      * 
@@ -727,6 +805,8 @@ public Builder addAccountSummaries( return this; } /** + * + * *
      * Account summaries of all accounts the caller has access to.
      * 
@@ -737,8 +817,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); @@ -746,6 +825,8 @@ public Builder addAllAccountSummaries( return this; } /** + * + * *
      * Account summaries of all accounts the caller has access to.
      * 
@@ -763,6 +844,8 @@ public Builder clearAccountSummaries() { return this; } /** + * + * *
      * Account summaries of all accounts the caller has access to.
      * 
@@ -780,6 +863,8 @@ public Builder removeAccountSummaries(int index) { return this; } /** + * + * *
      * Account summaries of all accounts the caller has access to.
      * 
@@ -791,6 +876,8 @@ public com.google.analytics.admin.v1alpha.AccountSummary.Builder getAccountSumma return getAccountSummariesFieldBuilder().getBuilder(index); } /** + * + * *
      * Account summaries of all accounts the caller has access to.
      * 
@@ -800,19 +887,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 { @@ -820,6 +910,8 @@ public com.google.analytics.admin.v1alpha.AccountSummaryOrBuilder getAccountSumm } } /** + * + * *
      * Account summaries of all accounts the caller has access to.
      * 
@@ -827,10 +919,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.
      * 
@@ -839,26 +933,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(), @@ -870,19 +973,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; @@ -891,21 +996,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 { @@ -913,30 +1019,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() { @@ -946,27 +1059,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); } @@ -976,41 +1093,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; @@ -1022,9 +1141,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..2263b90d86b4 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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 355790b7ba9a..df955bcf2baa 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,51 +1,72 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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(); } - 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.
@@ -54,6 +75,7 @@ protected java.lang.Object newInstance(
    * 
* * int32 page_size = 1; + * * @return The pageSize. */ @java.lang.Override @@ -62,9 +84,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.
@@ -73,6 +98,7 @@ public int getPageSize() {
    * 
* * string page_token = 2; + * * @return The pageToken. */ @java.lang.Override @@ -81,14 +107,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.
@@ -97,16 +124,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 { @@ -117,6 +143,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
@@ -124,6 +152,7 @@ public java.lang.String getPageToken() {
    * 
* * bool show_deleted = 3; + * * @return The showDeleted. */ @java.lang.Override @@ -132,6 +161,7 @@ public boolean getShowDeleted() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -143,8 +173,7 @@ public final boolean isInitialized() { } @java.lang.Override - public 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_); } @@ -164,15 +193,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; @@ -182,19 +209,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; } @@ -211,139 +236,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(); @@ -355,9 +384,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 @@ -376,8 +405,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; } @@ -399,38 +431,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; @@ -438,7 +471,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()); } @@ -476,27 +510,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) { @@ -506,10 +544,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.
@@ -518,6 +559,7 @@ public Builder mergeFrom(
      * 
* * int32 page_size = 1; + * * @return The pageSize. */ @java.lang.Override @@ -525,6 +567,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.
@@ -533,6 +577,7 @@ public int getPageSize() {
      * 
* * int32 page_size = 1; + * * @param value The pageSize to set. * @return This builder for chaining. */ @@ -544,6 +589,8 @@ public Builder setPageSize(int value) { return this; } /** + * + * *
      * The maximum number of resources to return. The service may return
      * fewer than this value, even if there are additional pages.
@@ -552,6 +599,7 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 1; + * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -563,6 +611,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.
@@ -571,13 +621,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; @@ -586,6 +636,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * A page token, received from a previous `ListAccounts` call.
      * Provide this to retrieve the subsequent page.
@@ -594,15 +646,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 { @@ -610,6 +661,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * A page token, received from a previous `ListAccounts` call.
      * Provide this to retrieve the subsequent page.
@@ -618,18 +671,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.
@@ -638,6 +695,7 @@ public Builder setPageToken(
      * 
* * string page_token = 2; + * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -647,6 +705,8 @@ public Builder clearPageToken() { return this; } /** + * + * *
      * A page token, received from a previous `ListAccounts` call.
      * Provide this to retrieve the subsequent page.
@@ -655,12 +715,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; @@ -668,8 +730,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
@@ -677,6 +741,7 @@ public Builder setPageTokenBytes(
      * 
* * bool show_deleted = 3; + * * @return The showDeleted. */ @java.lang.Override @@ -684,6 +749,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
@@ -691,6 +758,7 @@ public boolean getShowDeleted() {
      * 
* * bool show_deleted = 3; + * * @param value The showDeleted to set. * @return This builder for chaining. */ @@ -702,6 +770,8 @@ public Builder setShowDeleted(boolean value) { return this; } /** + * + * *
      * Whether to include soft-deleted (ie: "trashed") Accounts in the
      * results. Accounts can be inspected to determine whether they are deleted or
@@ -709,6 +779,7 @@ public Builder setShowDeleted(boolean value) {
      * 
* * bool show_deleted = 3; + * * @return This builder for chaining. */ public Builder clearShowDeleted() { @@ -717,9 +788,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); } @@ -729,12 +800,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(); } @@ -743,27 +814,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; @@ -778,6 +849,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..969dd3329aeb 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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 621f1ab632a3..18ee9f2c683a 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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,28 +44,32 @@ private ListAccountsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListAccountsResponse(); } - 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.
    * 
@@ -59,6 +81,8 @@ public java.util.List getAccountsLis return accounts_; } /** + * + * *
    * Results that were accessible to the caller.
    * 
@@ -66,11 +90,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.
    * 
@@ -82,6 +108,8 @@ public int getAccountsCount() { return accounts_.size(); } /** + * + * *
    * Results that were accessible to the caller.
    * 
@@ -93,6 +121,8 @@ public com.google.analytics.admin.v1alpha.Account getAccounts(int index) { return accounts_.get(index); } /** + * + * *
    * Results that were accessible to the caller.
    * 
@@ -100,21 +130,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 @@ -123,30 +156,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 { @@ -155,6 +188,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -166,8 +200,7 @@ public final boolean isInitialized() { } @java.lang.Override - 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)); } @@ -184,8 +217,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_); @@ -198,17 +230,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; } @@ -232,131 +263,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(); @@ -373,9 +409,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 @@ -394,14 +430,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_); @@ -424,38 +464,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; @@ -463,7 +504,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()) { @@ -482,9 +524,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_); } @@ -521,30 +564,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) { @@ -554,21 +599,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.
      * 
@@ -583,6 +635,8 @@ public java.util.List getAccountsLis } } /** + * + * *
      * Results that were accessible to the caller.
      * 
@@ -597,6 +651,8 @@ public int getAccountsCount() { } } /** + * + * *
      * Results that were accessible to the caller.
      * 
@@ -611,14 +667,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(); @@ -632,6 +689,8 @@ public Builder setAccounts( return this; } /** + * + * *
      * Results that were accessible to the caller.
      * 
@@ -650,6 +709,8 @@ public Builder setAccounts( return this; } /** + * + * *
      * Results that were accessible to the caller.
      * 
@@ -670,14 +731,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(); @@ -691,14 +753,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()); @@ -709,6 +772,8 @@ public Builder addAccounts( return this; } /** + * + * *
      * Results that were accessible to the caller.
      * 
@@ -727,6 +792,8 @@ public Builder addAccounts( return this; } /** + * + * *
      * Results that were accessible to the caller.
      * 
@@ -737,8 +804,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); @@ -746,6 +812,8 @@ public Builder addAllAccounts( return this; } /** + * + * *
      * Results that were accessible to the caller.
      * 
@@ -763,6 +831,8 @@ public Builder clearAccounts() { return this; } /** + * + * *
      * Results that were accessible to the caller.
      * 
@@ -780,39 +850,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 { @@ -820,6 +895,8 @@ public com.google.analytics.admin.v1alpha.AccountOrBuilder getAccountsOrBuilder( } } /** + * + * *
      * Results that were accessible to the caller.
      * 
@@ -827,42 +904,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_; @@ -870,19 +953,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; @@ -891,21 +976,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 { @@ -913,30 +999,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() { @@ -946,27 +1039,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); } @@ -976,12 +1073,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(); } @@ -990,27 +1087,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; @@ -1025,6 +1122,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..e75b84bf18a1 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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/ListAdSenseLinksRequest.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAdSenseLinksRequest.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/ListAdSenseLinksRequest.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAdSenseLinksRequest.java index 1d886d26572b..b630c9d0f9eb 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAdSenseLinksRequest.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAdSenseLinksRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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 to be passed to ListAdSenseLinks method.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.ListAdSenseLinksRequest} */ -public final class ListAdSenseLinksRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListAdSenseLinksRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.ListAdSenseLinksRequest) ListAdSenseLinksRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListAdSenseLinksRequest.newBuilder() to construct. private ListAdSenseLinksRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListAdSenseLinksRequest() { parent_ = ""; pageToken_ = ""; @@ -26,35 +44,42 @@ private ListAdSenseLinksRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListAdSenseLinksRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListAdSenseLinksRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ListAdSenseLinksRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListAdSenseLinksRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ListAdSenseLinksRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.ListAdSenseLinksRequest.class, com.google.analytics.admin.v1alpha.ListAdSenseLinksRequest.Builder.class); + com.google.analytics.admin.v1alpha.ListAdSenseLinksRequest.class, + com.google.analytics.admin.v1alpha.ListAdSenseLinksRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** + * + * *
    * Required. Resource name of the parent property.
    * Format: properties/{propertyId}
    * 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 @@ -63,31 +88,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. Resource name of the parent property.
    * Format: properties/{propertyId}
    * 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 { @@ -98,6 +125,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.
@@ -105,6 +134,7 @@ public java.lang.String getParent() {
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -113,9 +143,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 `ListAdSenseLinks` 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 `ListAdSenseLinks` 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.ListAdSenseLinksRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.ListAdSenseLinksRequest other = (com.google.analytics.admin.v1alpha.ListAdSenseLinksRequest) obj; + com.google.analytics.admin.v1alpha.ListAdSenseLinksRequest other = + (com.google.analytics.admin.v1alpha.ListAdSenseLinksRequest) 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,131 +284,136 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.ListAdSenseLinksRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.ListAdSenseLinksRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.ListAdSenseLinksRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.ListAdSenseLinksRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.ListAdSenseLinksRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.ListAdSenseLinksRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.ListAdSenseLinksRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.ListAdSenseLinksRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.ListAdSenseLinksRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.ListAdSenseLinksRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.ListAdSenseLinksRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.analytics.admin.v1alpha.ListAdSenseLinksRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.ListAdSenseLinksRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.ListAdSenseLinksRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1alpha.ListAdSenseLinksRequest prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1alpha.ListAdSenseLinksRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder 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 to be passed to ListAdSenseLinks method.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.ListAdSenseLinksRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.ListAdSenseLinksRequest) com.google.analytics.admin.v1alpha.ListAdSenseLinksRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListAdSenseLinksRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ListAdSenseLinksRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListAdSenseLinksRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ListAdSenseLinksRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.ListAdSenseLinksRequest.class, com.google.analytics.admin.v1alpha.ListAdSenseLinksRequest.Builder.class); + com.google.analytics.admin.v1alpha.ListAdSenseLinksRequest.class, + com.google.analytics.admin.v1alpha.ListAdSenseLinksRequest.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.ListAdSenseLinksRequest.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 +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_ListAdSenseLinksRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ListAdSenseLinksRequest_descriptor; } @java.lang.Override @@ -410,8 +446,11 @@ public com.google.analytics.admin.v1alpha.ListAdSenseLinksRequest build() { @java.lang.Override public com.google.analytics.admin.v1alpha.ListAdSenseLinksRequest buildPartial() { - com.google.analytics.admin.v1alpha.ListAdSenseLinksRequest result = new com.google.analytics.admin.v1alpha.ListAdSenseLinksRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.analytics.admin.v1alpha.ListAdSenseLinksRequest result = + new com.google.analytics.admin.v1alpha.ListAdSenseLinksRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -433,38 +472,39 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.ListAdSenseLinksRe public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.analytics.admin.v1alpha.ListAdSenseLinksRequest) { - return mergeFrom((com.google.analytics.admin.v1alpha.ListAdSenseLinksRequest)other); + return mergeFrom((com.google.analytics.admin.v1alpha.ListAdSenseLinksRequest) other); } else { super.mergeFrom(other); return this; @@ -472,7 +512,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1alpha.ListAdSenseLinksRequest other) { - if (other == com.google.analytics.admin.v1alpha.ListAdSenseLinksRequest.getDefaultInstance()) return this; + if (other == com.google.analytics.admin.v1alpha.ListAdSenseLinksRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -512,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) { @@ -542,24 +587,29 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object parent_ = ""; /** + * + * *
      * Required. Resource name of the parent property.
      * Format: properties/{propertyId}
      * 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; @@ -568,22 +618,25 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. Resource name of the parent property.
      * Format: properties/{propertyId}
      * 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 { @@ -591,32 +644,43 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. Resource name of the parent property.
      * Format: properties/{propertyId}
      * 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. Resource name of the parent property.
      * Format: properties/{propertyId}
      * 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() { @@ -626,19 +690,25 @@ public Builder clearParent() { return this; } /** + * + * *
      * Required. Resource name of the parent property.
      * Format: properties/{propertyId}
      * 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; @@ -646,8 +716,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.
@@ -655,6 +727,7 @@ public Builder setParentBytes(
      * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -662,6 +735,8 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * The maximum number of resources to return.
      * If unspecified, at most 50 resources will be returned.
@@ -669,6 +744,7 @@ public int getPageSize() {
      * 
* * int32 page_size = 2; + * * @param value The pageSize to set. * @return This builder for chaining. */ @@ -680,6 +756,8 @@ public Builder setPageSize(int value) { return this; } /** + * + * *
      * The maximum number of resources to return.
      * If unspecified, at most 50 resources will be returned.
@@ -687,6 +765,7 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2; + * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -698,6 +777,8 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * A page token received from a previous `ListAdSenseLinks` call.
      * Provide this to retrieve the subsequent page.
@@ -707,13 +788,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 +803,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * A page token received from a previous `ListAdSenseLinks` call.
      * Provide this to retrieve the subsequent page.
@@ -731,15 +814,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 { @@ -747,6 +829,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * A page token received from a previous `ListAdSenseLinks` call.
      * Provide this to retrieve the subsequent page.
@@ -756,18 +840,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 `ListAdSenseLinks` call.
      * Provide this to retrieve the subsequent page.
@@ -777,6 +865,7 @@ public Builder setPageToken(
      * 
* * string page_token = 3; + * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -786,6 +875,8 @@ public Builder clearPageToken() { return this; } /** + * + * *
      * A page token received from a previous `ListAdSenseLinks` call.
      * Provide this to retrieve the subsequent page.
@@ -795,21 +886,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 +912,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.ListAdSenseLinksRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.ListAdSenseLinksRequest) private static final com.google.analytics.admin.v1alpha.ListAdSenseLinksRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.ListAdSenseLinksRequest(); } @@ -833,27 +926,27 @@ public static com.google.analytics.admin.v1alpha.ListAdSenseLinksRequest getDefa return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListAdSenseLinksRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListAdSenseLinksRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.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 +961,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1alpha.ListAdSenseLinksRequest 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/ListAdSenseLinksRequestOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAdSenseLinksRequestOrBuilder.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/ListAdSenseLinksRequestOrBuilder.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAdSenseLinksRequestOrBuilder.java index 0a3566d45861..0966a9a6dce5 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAdSenseLinksRequestOrBuilder.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAdSenseLinksRequestOrBuilder.java @@ -1,37 +1,64 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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 ListAdSenseLinksRequestOrBuilder extends +public interface ListAdSenseLinksRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.ListAdSenseLinksRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. Resource name of the parent property.
    * Format: properties/{propertyId}
    * 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. Resource name of the parent property.
    * Format: properties/{propertyId}
    * 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.
    * If unspecified, at most 50 resources will be returned.
@@ -39,11 +66,14 @@ public interface ListAdSenseLinksRequestOrBuilder extends
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * A page token received from a previous `ListAdSenseLinks` call.
    * Provide this to retrieve the subsequent page.
@@ -53,10 +83,13 @@ public interface ListAdSenseLinksRequestOrBuilder extends
    * 
* * string page_token = 3; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * A page token received from a previous `ListAdSenseLinks` call.
    * Provide this to retrieve the subsequent page.
@@ -66,8 +99,8 @@ public interface ListAdSenseLinksRequestOrBuilder 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/ListAdSenseLinksResponse.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAdSenseLinksResponse.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/ListAdSenseLinksResponse.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAdSenseLinksResponse.java index c737a41553ec..19028bbf761f 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAdSenseLinksResponse.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAdSenseLinksResponse.java @@ -1,24 +1,42 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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 ListAdSenseLinks method.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.ListAdSenseLinksResponse} */ -public final class ListAdSenseLinksResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListAdSenseLinksResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.ListAdSenseLinksResponse) ListAdSenseLinksResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListAdSenseLinksResponse.newBuilder() to construct. private ListAdSenseLinksResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListAdSenseLinksResponse() { adsenseLinks_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -26,28 +44,32 @@ private ListAdSenseLinksResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListAdSenseLinksResponse(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListAdSenseLinksResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ListAdSenseLinksResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListAdSenseLinksResponse_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ListAdSenseLinksResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.ListAdSenseLinksResponse.class, com.google.analytics.admin.v1alpha.ListAdSenseLinksResponse.Builder.class); + com.google.analytics.admin.v1alpha.ListAdSenseLinksResponse.class, + com.google.analytics.admin.v1alpha.ListAdSenseLinksResponse.Builder.class); } public static final int ADSENSE_LINKS_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private java.util.List adsenseLinks_; /** + * + * *
    * List of AdSenseLinks.
    * 
@@ -59,6 +81,8 @@ public java.util.List getAdsense return adsenseLinks_; } /** + * + * *
    * List of AdSenseLinks.
    * 
@@ -66,11 +90,13 @@ public java.util.List getAdsense * repeated .google.analytics.admin.v1alpha.AdSenseLink adsense_links = 1; */ @java.lang.Override - public java.util.List + public java.util.List getAdsenseLinksOrBuilderList() { return adsenseLinks_; } /** + * + * *
    * List of AdSenseLinks.
    * 
@@ -82,6 +108,8 @@ public int getAdsenseLinksCount() { return adsenseLinks_.size(); } /** + * + * *
    * List of AdSenseLinks.
    * 
@@ -93,6 +121,8 @@ public com.google.analytics.admin.v1alpha.AdSenseLink getAdsenseLinks(int index) return adsenseLinks_.get(index); } /** + * + * *
    * List of AdSenseLinks.
    * 
@@ -106,15 +136,19 @@ public com.google.analytics.admin.v1alpha.AdSenseLinkOrBuilder getAdsenseLinksOr } 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 @@ -123,30 +157,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 { @@ -155,6 +189,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -166,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 { for (int i = 0; i < adsenseLinks_.size(); i++) { output.writeMessage(1, adsenseLinks_.get(i)); } @@ -184,8 +218,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < adsenseLinks_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, adsenseLinks_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, adsenseLinks_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -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.ListAdSenseLinksResponse)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.ListAdSenseLinksResponse other = (com.google.analytics.admin.v1alpha.ListAdSenseLinksResponse) obj; + com.google.analytics.admin.v1alpha.ListAdSenseLinksResponse other = + (com.google.analytics.admin.v1alpha.ListAdSenseLinksResponse) obj; - if (!getAdsenseLinksList() - .equals(other.getAdsenseLinksList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; + if (!getAdsenseLinksList().equals(other.getAdsenseLinksList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -232,131 +264,136 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.ListAdSenseLinksResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.ListAdSenseLinksResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.ListAdSenseLinksResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.ListAdSenseLinksResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.ListAdSenseLinksResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.ListAdSenseLinksResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.ListAdSenseLinksResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.ListAdSenseLinksResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.ListAdSenseLinksResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.ListAdSenseLinksResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.ListAdSenseLinksResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.analytics.admin.v1alpha.ListAdSenseLinksResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.ListAdSenseLinksResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.ListAdSenseLinksResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1alpha.ListAdSenseLinksResponse prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1alpha.ListAdSenseLinksResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 ListAdSenseLinks method.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.ListAdSenseLinksResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.ListAdSenseLinksResponse) com.google.analytics.admin.v1alpha.ListAdSenseLinksResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListAdSenseLinksResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ListAdSenseLinksResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListAdSenseLinksResponse_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ListAdSenseLinksResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.ListAdSenseLinksResponse.class, com.google.analytics.admin.v1alpha.ListAdSenseLinksResponse.Builder.class); + com.google.analytics.admin.v1alpha.ListAdSenseLinksResponse.class, + com.google.analytics.admin.v1alpha.ListAdSenseLinksResponse.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.ListAdSenseLinksResponse.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 +410,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_ListAdSenseLinksResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ListAdSenseLinksResponse_descriptor; } @java.lang.Override @@ -394,14 +431,18 @@ public com.google.analytics.admin.v1alpha.ListAdSenseLinksResponse build() { @java.lang.Override public com.google.analytics.admin.v1alpha.ListAdSenseLinksResponse buildPartial() { - com.google.analytics.admin.v1alpha.ListAdSenseLinksResponse result = new com.google.analytics.admin.v1alpha.ListAdSenseLinksResponse(this); + com.google.analytics.admin.v1alpha.ListAdSenseLinksResponse result = + new com.google.analytics.admin.v1alpha.ListAdSenseLinksResponse(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartialRepeatedFields(com.google.analytics.admin.v1alpha.ListAdSenseLinksResponse result) { + private void buildPartialRepeatedFields( + com.google.analytics.admin.v1alpha.ListAdSenseLinksResponse result) { if (adsenseLinksBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { adsenseLinks_ = java.util.Collections.unmodifiableList(adsenseLinks_); @@ -424,38 +465,39 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.ListAdSenseLinksRe public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.analytics.admin.v1alpha.ListAdSenseLinksResponse) { - return mergeFrom((com.google.analytics.admin.v1alpha.ListAdSenseLinksResponse)other); + return mergeFrom((com.google.analytics.admin.v1alpha.ListAdSenseLinksResponse) other); } else { super.mergeFrom(other); return this; @@ -463,7 +505,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1alpha.ListAdSenseLinksResponse other) { - if (other == com.google.analytics.admin.v1alpha.ListAdSenseLinksResponse.getDefaultInstance()) return this; + if (other == com.google.analytics.admin.v1alpha.ListAdSenseLinksResponse.getDefaultInstance()) + return this; if (adsenseLinksBuilder_ == null) { if (!other.adsenseLinks_.isEmpty()) { if (adsenseLinks_.isEmpty()) { @@ -482,9 +525,10 @@ public Builder mergeFrom(com.google.analytics.admin.v1alpha.ListAdSenseLinksResp adsenseLinksBuilder_ = null; adsenseLinks_ = other.adsenseLinks_; bitField0_ = (bitField0_ & ~0x00000001); - adsenseLinksBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getAdsenseLinksFieldBuilder() : null; + adsenseLinksBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getAdsenseLinksFieldBuilder() + : null; } else { adsenseLinksBuilder_.addAllMessages(other.adsenseLinks_); } @@ -521,30 +565,32 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - com.google.analytics.admin.v1alpha.AdSenseLink m = - input.readMessage( - com.google.analytics.admin.v1alpha.AdSenseLink.parser(), - extensionRegistry); - if (adsenseLinksBuilder_ == null) { - ensureAdsenseLinksIsMutable(); - adsenseLinks_.add(m); - } else { - adsenseLinksBuilder_.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.AdSenseLink m = + input.readMessage( + com.google.analytics.admin.v1alpha.AdSenseLink.parser(), extensionRegistry); + if (adsenseLinksBuilder_ == null) { + ensureAdsenseLinksIsMutable(); + adsenseLinks_.add(m); + } else { + adsenseLinksBuilder_.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) { @@ -554,21 +600,29 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.util.List adsenseLinks_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureAdsenseLinksIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - adsenseLinks_ = new java.util.ArrayList(adsenseLinks_); + adsenseLinks_ = + new java.util.ArrayList(adsenseLinks_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.AdSenseLink, com.google.analytics.admin.v1alpha.AdSenseLink.Builder, com.google.analytics.admin.v1alpha.AdSenseLinkOrBuilder> adsenseLinksBuilder_; + com.google.analytics.admin.v1alpha.AdSenseLink, + com.google.analytics.admin.v1alpha.AdSenseLink.Builder, + com.google.analytics.admin.v1alpha.AdSenseLinkOrBuilder> + adsenseLinksBuilder_; /** + * + * *
      * List of AdSenseLinks.
      * 
@@ -583,6 +637,8 @@ public java.util.List getAdsense } } /** + * + * *
      * List of AdSenseLinks.
      * 
@@ -597,6 +653,8 @@ public int getAdsenseLinksCount() { } } /** + * + * *
      * List of AdSenseLinks.
      * 
@@ -611,6 +669,8 @@ public com.google.analytics.admin.v1alpha.AdSenseLink getAdsenseLinks(int index) } } /** + * + * *
      * List of AdSenseLinks.
      * 
@@ -632,6 +692,8 @@ public Builder setAdsenseLinks( return this; } /** + * + * *
      * List of AdSenseLinks.
      * 
@@ -650,6 +712,8 @@ public Builder setAdsenseLinks( return this; } /** + * + * *
      * List of AdSenseLinks.
      * 
@@ -670,6 +734,8 @@ public Builder addAdsenseLinks(com.google.analytics.admin.v1alpha.AdSenseLink va return this; } /** + * + * *
      * List of AdSenseLinks.
      * 
@@ -691,6 +757,8 @@ public Builder addAdsenseLinks( return this; } /** + * + * *
      * List of AdSenseLinks.
      * 
@@ -709,6 +777,8 @@ public Builder addAdsenseLinks( return this; } /** + * + * *
      * List of AdSenseLinks.
      * 
@@ -727,6 +797,8 @@ public Builder addAdsenseLinks( return this; } /** + * + * *
      * List of AdSenseLinks.
      * 
@@ -737,8 +809,7 @@ public Builder addAllAdsenseLinks( java.lang.Iterable values) { if (adsenseLinksBuilder_ == null) { ensureAdsenseLinksIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, adsenseLinks_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, adsenseLinks_); onChanged(); } else { adsenseLinksBuilder_.addAllMessages(values); @@ -746,6 +817,8 @@ public Builder addAllAdsenseLinks( return this; } /** + * + * *
      * List of AdSenseLinks.
      * 
@@ -763,6 +836,8 @@ public Builder clearAdsenseLinks() { return this; } /** + * + * *
      * List of AdSenseLinks.
      * 
@@ -780,6 +855,8 @@ public Builder removeAdsenseLinks(int index) { return this; } /** + * + * *
      * List of AdSenseLinks.
      * 
@@ -791,6 +868,8 @@ public com.google.analytics.admin.v1alpha.AdSenseLink.Builder getAdsenseLinksBui return getAdsenseLinksFieldBuilder().getBuilder(index); } /** + * + * *
      * List of AdSenseLinks.
      * 
@@ -800,19 +879,22 @@ public com.google.analytics.admin.v1alpha.AdSenseLink.Builder getAdsenseLinksBui public com.google.analytics.admin.v1alpha.AdSenseLinkOrBuilder getAdsenseLinksOrBuilder( int index) { if (adsenseLinksBuilder_ == null) { - return adsenseLinks_.get(index); } else { + return adsenseLinks_.get(index); + } else { return adsenseLinksBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * List of AdSenseLinks.
      * 
* * repeated .google.analytics.admin.v1alpha.AdSenseLink adsense_links = 1; */ - public java.util.List - getAdsenseLinksOrBuilderList() { + public java.util.List + getAdsenseLinksOrBuilderList() { if (adsenseLinksBuilder_ != null) { return adsenseLinksBuilder_.getMessageOrBuilderList(); } else { @@ -820,6 +902,8 @@ public com.google.analytics.admin.v1alpha.AdSenseLinkOrBuilder getAdsenseLinksOr } } /** + * + * *
      * List of AdSenseLinks.
      * 
@@ -827,10 +911,12 @@ public com.google.analytics.admin.v1alpha.AdSenseLinkOrBuilder getAdsenseLinksOr * repeated .google.analytics.admin.v1alpha.AdSenseLink adsense_links = 1; */ public com.google.analytics.admin.v1alpha.AdSenseLink.Builder addAdsenseLinksBuilder() { - return getAdsenseLinksFieldBuilder().addBuilder( - com.google.analytics.admin.v1alpha.AdSenseLink.getDefaultInstance()); + return getAdsenseLinksFieldBuilder() + .addBuilder(com.google.analytics.admin.v1alpha.AdSenseLink.getDefaultInstance()); } /** + * + * *
      * List of AdSenseLinks.
      * 
@@ -839,30 +925,35 @@ public com.google.analytics.admin.v1alpha.AdSenseLink.Builder addAdsenseLinksBui */ public com.google.analytics.admin.v1alpha.AdSenseLink.Builder addAdsenseLinksBuilder( int index) { - return getAdsenseLinksFieldBuilder().addBuilder( - index, com.google.analytics.admin.v1alpha.AdSenseLink.getDefaultInstance()); + return getAdsenseLinksFieldBuilder() + .addBuilder(index, com.google.analytics.admin.v1alpha.AdSenseLink.getDefaultInstance()); } /** + * + * *
      * List of AdSenseLinks.
      * 
* * repeated .google.analytics.admin.v1alpha.AdSenseLink adsense_links = 1; */ - public java.util.List - getAdsenseLinksBuilderList() { + public java.util.List + getAdsenseLinksBuilderList() { return getAdsenseLinksFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.AdSenseLink, com.google.analytics.admin.v1alpha.AdSenseLink.Builder, com.google.analytics.admin.v1alpha.AdSenseLinkOrBuilder> + com.google.analytics.admin.v1alpha.AdSenseLink, + com.google.analytics.admin.v1alpha.AdSenseLink.Builder, + com.google.analytics.admin.v1alpha.AdSenseLinkOrBuilder> getAdsenseLinksFieldBuilder() { if (adsenseLinksBuilder_ == null) { - adsenseLinksBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.AdSenseLink, com.google.analytics.admin.v1alpha.AdSenseLink.Builder, com.google.analytics.admin.v1alpha.AdSenseLinkOrBuilder>( - adsenseLinks_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + adsenseLinksBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.analytics.admin.v1alpha.AdSenseLink, + com.google.analytics.admin.v1alpha.AdSenseLink.Builder, + com.google.analytics.admin.v1alpha.AdSenseLinkOrBuilder>( + adsenseLinks_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); adsenseLinks_ = null; } return adsenseLinksBuilder_; @@ -870,19 +961,21 @@ public com.google.analytics.admin.v1alpha.AdSenseLink.Builder addAdsenseLinksBui 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; @@ -891,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 { @@ -913,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() { @@ -946,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); } @@ -976,12 +1081,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.ListAdSenseLinksResponse) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.ListAdSenseLinksResponse) private static final com.google.analytics.admin.v1alpha.ListAdSenseLinksResponse DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.ListAdSenseLinksResponse(); } @@ -990,27 +1095,27 @@ public static com.google.analytics.admin.v1alpha.ListAdSenseLinksResponse getDef return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListAdSenseLinksResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListAdSenseLinksResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.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,6 +1130,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1alpha.ListAdSenseLinksResponse 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/ListAdSenseLinksResponseOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAdSenseLinksResponseOrBuilder.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/ListAdSenseLinksResponseOrBuilder.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAdSenseLinksResponseOrBuilder.java index 505e17d4f51f..0fa3125d02cf 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAdSenseLinksResponseOrBuilder.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListAdSenseLinksResponseOrBuilder.java @@ -1,22 +1,41 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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 ListAdSenseLinksResponseOrBuilder extends +public interface ListAdSenseLinksResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.ListAdSenseLinksResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * List of AdSenseLinks.
    * 
* * repeated .google.analytics.admin.v1alpha.AdSenseLink adsense_links = 1; */ - java.util.List - getAdsenseLinksList(); + java.util.List getAdsenseLinksList(); /** + * + * *
    * List of AdSenseLinks.
    * 
@@ -25,6 +44,8 @@ public interface ListAdSenseLinksResponseOrBuilder extends */ com.google.analytics.admin.v1alpha.AdSenseLink getAdsenseLinks(int index); /** + * + * *
    * List of AdSenseLinks.
    * 
@@ -33,43 +54,51 @@ public interface ListAdSenseLinksResponseOrBuilder extends */ int getAdsenseLinksCount(); /** + * + * *
    * List of AdSenseLinks.
    * 
* * repeated .google.analytics.admin.v1alpha.AdSenseLink adsense_links = 1; */ - java.util.List + java.util.List getAdsenseLinksOrBuilderList(); /** + * + * *
    * List of AdSenseLinks.
    * 
* * repeated .google.analytics.admin.v1alpha.AdSenseLink adsense_links = 1; */ - com.google.analytics.admin.v1alpha.AdSenseLinkOrBuilder getAdsenseLinksOrBuilder( - int index); + com.google.analytics.admin.v1alpha.AdSenseLinkOrBuilder getAdsenseLinksOrBuilder(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 315ca775b669..494069a94587 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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,33 +44,40 @@ private ListAudiencesRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListAudiencesRequest(); } - 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 @@ -61,29 +86,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 { @@ -94,6 +121,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.
@@ -101,6 +130,7 @@ public java.lang.String getParent() {
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -109,9 +139,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.
@@ -121,6 +154,7 @@ public int getPageSize() {
    * 
* * string page_token = 3; + * * @return The pageToken. */ @java.lang.Override @@ -129,14 +163,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.
@@ -146,16 +181,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 { @@ -164,6 +198,7 @@ public java.lang.String getPageToken() { } 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 { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -199,8 +233,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_); @@ -213,19 +246,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; } @@ -249,131 +280,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(); @@ -385,9 +421,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 @@ -406,8 +442,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; } @@ -429,38 +468,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; @@ -468,7 +508,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; @@ -508,27 +549,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) { @@ -538,22 +583,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; @@ -562,20 +612,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 { @@ -583,28 +636,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() { @@ -614,17 +678,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; @@ -632,8 +702,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.
@@ -641,6 +713,7 @@ public Builder setParentBytes(
      * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -648,6 +721,8 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * The maximum number of resources to return.
      * If unspecified, at most 50 resources will be returned.
@@ -655,6 +730,7 @@ public int getPageSize() {
      * 
* * int32 page_size = 2; + * * @param value The pageSize to set. * @return This builder for chaining. */ @@ -666,6 +742,8 @@ public Builder setPageSize(int value) { return this; } /** + * + * *
      * The maximum number of resources to return.
      * If unspecified, at most 50 resources will be returned.
@@ -673,6 +751,7 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2; + * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -684,6 +763,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 +774,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 +789,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * A page token, received from a previous `ListAudiences` call. Provide this
      * to retrieve the subsequent page.
@@ -717,15 +800,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 { @@ -733,6 +815,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * A page token, received from a previous `ListAudiences` call. Provide this
      * to retrieve the subsequent page.
@@ -742,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.
@@ -763,6 +851,7 @@ public Builder setPageToken(
      * 
* * string page_token = 3; + * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -772,6 +861,8 @@ public Builder clearPageToken() { return this; } /** + * + * *
      * A page token, received from a previous `ListAudiences` call. Provide this
      * to retrieve the subsequent page.
@@ -781,21 +872,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 +898,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(); } @@ -819,27 +912,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; @@ -854,6 +947,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 60% 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 7db03b263617..603da8ecbd0a 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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.
@@ -49,10 +79,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.
@@ -62,8 +95,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 da795654b375..f9a780b9322d 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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,28 +44,32 @@ private ListAudiencesResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListAudiencesResponse(); } - 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.
    * 
@@ -59,6 +81,8 @@ public java.util.List getAudiencesL return audiences_; } /** + * + * *
    * List of Audiences.
    * 
@@ -66,11 +90,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.
    * 
@@ -82,6 +108,8 @@ public int getAudiencesCount() { return audiences_.size(); } /** + * + * *
    * List of Audiences.
    * 
@@ -93,6 +121,8 @@ public com.google.analytics.admin.v1alpha.Audience getAudiences(int index) { return audiences_.get(index); } /** + * + * *
    * List of Audiences.
    * 
@@ -100,21 +130,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 @@ -123,30 +156,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 { @@ -155,6 +188,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -166,8 +200,7 @@ public final boolean isInitialized() { } @java.lang.Override - 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)); } @@ -184,8 +217,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_); @@ -198,17 +230,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; } @@ -232,131 +263,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(); @@ -373,9 +409,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 @@ -394,14 +430,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_); @@ -424,38 +464,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; @@ -463,7 +504,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()) { @@ -482,9 +524,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_); } @@ -521,30 +564,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) { @@ -554,21 +599,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.
      * 
@@ -583,6 +636,8 @@ public java.util.List getAudiencesL } } /** + * + * *
      * List of Audiences.
      * 
@@ -597,6 +652,8 @@ public int getAudiencesCount() { } } /** + * + * *
      * List of Audiences.
      * 
@@ -611,14 +668,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(); @@ -632,6 +690,8 @@ public Builder setAudiences( return this; } /** + * + * *
      * List of Audiences.
      * 
@@ -650,6 +710,8 @@ public Builder setAudiences( return this; } /** + * + * *
      * List of Audiences.
      * 
@@ -670,14 +732,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(); @@ -691,6 +754,8 @@ public Builder addAudiences( return this; } /** + * + * *
      * List of Audiences.
      * 
@@ -709,6 +774,8 @@ public Builder addAudiences( return this; } /** + * + * *
      * List of Audiences.
      * 
@@ -727,6 +794,8 @@ public Builder addAudiences( return this; } /** + * + * *
      * List of Audiences.
      * 
@@ -737,8 +806,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); @@ -746,6 +814,8 @@ public Builder addAllAudiences( return this; } /** + * + * *
      * List of Audiences.
      * 
@@ -763,6 +833,8 @@ public Builder clearAudiences() { return this; } /** + * + * *
      * List of Audiences.
      * 
@@ -780,39 +852,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 { @@ -820,6 +897,8 @@ public com.google.analytics.admin.v1alpha.AudienceOrBuilder getAudiencesOrBuilde } } /** + * + * *
      * List of Audiences.
      * 
@@ -827,42 +906,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_; @@ -870,19 +955,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; @@ -891,21 +978,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 { @@ -913,30 +1001,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() { @@ -946,27 +1041,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); } @@ -976,12 +1075,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(); } @@ -990,27 +1089,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; @@ -1025,6 +1124,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..afcd1c842cf6 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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 3a71053ed04f..10c6c34ab41a 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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,35 +44,42 @@ private ListBigQueryLinksRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListBigQueryLinksRequest(); } - 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 @@ -63,31 +88,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 { @@ -98,6 +125,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.
@@ -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 `ListBigQueryLinks` 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 `ListBigQueryLinks` 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.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; } @@ -252,131 +283,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(); @@ -388,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_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 @@ -409,8 +445,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; } @@ -432,38 +471,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; @@ -471,7 +511,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; @@ -511,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) { @@ -541,24 +586,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; @@ -567,22 +617,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 { @@ -590,32 +643,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() { @@ -625,19 +689,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; @@ -645,8 +715,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.
@@ -655,6 +727,7 @@ public Builder setParentBytes(
      * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -662,6 +735,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.
@@ -670,6 +745,7 @@ public int getPageSize() {
      * 
* * int32 page_size = 2; + * * @param value The pageSize to set. * @return This builder for chaining. */ @@ -681,6 +757,8 @@ public Builder setPageSize(int value) { return this; } /** + * + * *
      * The maximum number of resources to return. The service may return
      * fewer than this value, even if there are additional pages.
@@ -689,6 +767,7 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2; + * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -700,6 +779,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.
@@ -708,13 +789,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; @@ -723,6 +804,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * A page token, received from a previous `ListBigQueryLinks` call.
      * Provide this to retrieve the subsequent page.
@@ -731,15 +814,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 { @@ -747,6 +829,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * A page token, received from a previous `ListBigQueryLinks` call.
      * Provide this to retrieve the subsequent page.
@@ -755,18 +839,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.
@@ -775,6 +863,7 @@ public Builder setPageToken(
      * 
* * string page_token = 3; + * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -784,6 +873,8 @@ public Builder clearPageToken() { return this; } /** + * + * *
      * A page token, received from a previous `ListBigQueryLinks` call.
      * Provide this to retrieve the subsequent page.
@@ -792,21 +883,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); } @@ -816,12 +909,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(); } @@ -830,27 +923,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; @@ -865,6 +958,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..74fe3d46c4d1 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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 61017613a554..9eb63ed3b711 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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,28 +44,32 @@ private ListBigQueryLinksResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListBigQueryLinksResponse(); } - 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.
    * 
@@ -59,6 +81,8 @@ public java.util.List getBigque return bigqueryLinks_; } /** + * + * *
    * List of BigQueryLinks.
    * 
@@ -66,11 +90,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.
    * 
@@ -82,6 +108,8 @@ public int getBigqueryLinksCount() { return bigqueryLinks_.size(); } /** + * + * *
    * List of BigQueryLinks.
    * 
@@ -93,6 +121,8 @@ public com.google.analytics.admin.v1alpha.BigQueryLink getBigqueryLinks(int inde return bigqueryLinks_.get(index); } /** + * + * *
    * List of BigQueryLinks.
    * 
@@ -106,15 +136,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 @@ -123,30 +157,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 { @@ -155,6 +189,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -166,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 { for (int i = 0; i < bigqueryLinks_.size(); i++) { output.writeMessage(1, bigqueryLinks_.get(i)); } @@ -184,8 +218,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_); @@ -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.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; } @@ -232,131 +264,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(); @@ -373,13 +410,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(); } @@ -394,14 +432,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_); @@ -413,7 +455,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_; @@ -424,38 +467,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; @@ -463,7 +507,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()) { @@ -482,9 +528,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_); } @@ -521,30 +568,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) { @@ -554,21 +604,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.
      * 
@@ -583,6 +642,8 @@ public java.util.List getBigque } } /** + * + * *
      * List of BigQueryLinks.
      * 
@@ -597,6 +658,8 @@ public int getBigqueryLinksCount() { } } /** + * + * *
      * List of BigQueryLinks.
      * 
@@ -611,6 +674,8 @@ public com.google.analytics.admin.v1alpha.BigQueryLink getBigqueryLinks(int inde } } /** + * + * *
      * List of BigQueryLinks.
      * 
@@ -632,6 +697,8 @@ public Builder setBigqueryLinks( return this; } /** + * + * *
      * List of BigQueryLinks.
      * 
@@ -650,6 +717,8 @@ public Builder setBigqueryLinks( return this; } /** + * + * *
      * List of BigQueryLinks.
      * 
@@ -670,6 +739,8 @@ public Builder addBigqueryLinks(com.google.analytics.admin.v1alpha.BigQueryLink return this; } /** + * + * *
      * List of BigQueryLinks.
      * 
@@ -691,6 +762,8 @@ public Builder addBigqueryLinks( return this; } /** + * + * *
      * List of BigQueryLinks.
      * 
@@ -709,6 +782,8 @@ public Builder addBigqueryLinks( return this; } /** + * + * *
      * List of BigQueryLinks.
      * 
@@ -727,6 +802,8 @@ public Builder addBigqueryLinks( return this; } /** + * + * *
      * List of BigQueryLinks.
      * 
@@ -737,8 +814,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); @@ -746,6 +822,8 @@ public Builder addAllBigqueryLinks( return this; } /** + * + * *
      * List of BigQueryLinks.
      * 
@@ -763,6 +841,8 @@ public Builder clearBigqueryLinks() { return this; } /** + * + * *
      * List of BigQueryLinks.
      * 
@@ -780,6 +860,8 @@ public Builder removeBigqueryLinks(int index) { return this; } /** + * + * *
      * List of BigQueryLinks.
      * 
@@ -791,6 +873,8 @@ public com.google.analytics.admin.v1alpha.BigQueryLink.Builder getBigqueryLinksB return getBigqueryLinksFieldBuilder().getBuilder(index); } /** + * + * *
      * List of BigQueryLinks.
      * 
@@ -800,19 +884,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 { @@ -820,6 +907,8 @@ public com.google.analytics.admin.v1alpha.BigQueryLinkOrBuilder getBigqueryLinks } } /** + * + * *
      * List of BigQueryLinks.
      * 
@@ -827,10 +916,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.
      * 
@@ -839,26 +930,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(), @@ -870,19 +969,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; @@ -891,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 { @@ -913,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() { @@ -946,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); } @@ -976,12 +1089,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(); } @@ -990,27 +1104,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; @@ -1025,6 +1139,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..816a811414b7 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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/ListChannelGroupsRequest.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListChannelGroupsRequest.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/ListChannelGroupsRequest.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListChannelGroupsRequest.java index 0475f164d425..c2170a264ad7 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListChannelGroupsRequest.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListChannelGroupsRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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 ListChannelGroups RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.ListChannelGroupsRequest} */ -public final class ListChannelGroupsRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListChannelGroupsRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.ListChannelGroupsRequest) ListChannelGroupsRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListChannelGroupsRequest.newBuilder() to construct. private ListChannelGroupsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListChannelGroupsRequest() { parent_ = ""; pageToken_ = ""; @@ -26,34 +44,41 @@ private ListChannelGroupsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListChannelGroupsRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListChannelGroupsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ListChannelGroupsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListChannelGroupsRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ListChannelGroupsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.ListChannelGroupsRequest.class, com.google.analytics.admin.v1alpha.ListChannelGroupsRequest.Builder.class); + com.google.analytics.admin.v1alpha.ListChannelGroupsRequest.class, + com.google.analytics.admin.v1alpha.ListChannelGroupsRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** + * + * *
    * Required. The property for which to list ChannelGroups.
    * Example format: properties/1234
    * 
* - * string parent = 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 @@ -62,30 +87,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 property for which to list ChannelGroups.
    * Example format: properties/1234
    * 
* - * string parent = 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,6 +123,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.
@@ -103,6 +132,7 @@ public java.lang.String getParent() {
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -111,9 +141,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 `ListChannelGroups` call. Provide
    * this to retrieve the subsequent page.
@@ -123,6 +156,7 @@ public int getPageSize() {
    * 
* * string page_token = 3; + * * @return The pageToken. */ @java.lang.Override @@ -131,14 +165,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 `ListChannelGroups` call. Provide
    * this to retrieve the subsequent page.
@@ -148,16 +183,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 { @@ -166,6 +200,7 @@ public java.lang.String getPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -177,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 { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -201,8 +235,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_); @@ -215,19 +248,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.ListChannelGroupsRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.ListChannelGroupsRequest other = (com.google.analytics.admin.v1alpha.ListChannelGroupsRequest) obj; + com.google.analytics.admin.v1alpha.ListChannelGroupsRequest other = + (com.google.analytics.admin.v1alpha.ListChannelGroupsRequest) 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; } @@ -251,131 +282,136 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.ListChannelGroupsRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.ListChannelGroupsRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.ListChannelGroupsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.ListChannelGroupsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.ListChannelGroupsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.ListChannelGroupsRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.ListChannelGroupsRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.ListChannelGroupsRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.ListChannelGroupsRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.ListChannelGroupsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.ListChannelGroupsRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.analytics.admin.v1alpha.ListChannelGroupsRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.ListChannelGroupsRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.ListChannelGroupsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1alpha.ListChannelGroupsRequest prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1alpha.ListChannelGroupsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder 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 ListChannelGroups RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.ListChannelGroupsRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.ListChannelGroupsRequest) com.google.analytics.admin.v1alpha.ListChannelGroupsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListChannelGroupsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ListChannelGroupsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListChannelGroupsRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ListChannelGroupsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.ListChannelGroupsRequest.class, com.google.analytics.admin.v1alpha.ListChannelGroupsRequest.Builder.class); + com.google.analytics.admin.v1alpha.ListChannelGroupsRequest.class, + com.google.analytics.admin.v1alpha.ListChannelGroupsRequest.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.ListChannelGroupsRequest.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 +423,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_ListChannelGroupsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ListChannelGroupsRequest_descriptor; } @java.lang.Override @@ -408,8 +444,11 @@ public com.google.analytics.admin.v1alpha.ListChannelGroupsRequest build() { @java.lang.Override public com.google.analytics.admin.v1alpha.ListChannelGroupsRequest buildPartial() { - com.google.analytics.admin.v1alpha.ListChannelGroupsRequest result = new com.google.analytics.admin.v1alpha.ListChannelGroupsRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.analytics.admin.v1alpha.ListChannelGroupsRequest result = + new com.google.analytics.admin.v1alpha.ListChannelGroupsRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -431,38 +470,39 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.ListChannelGroupsR public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.analytics.admin.v1alpha.ListChannelGroupsRequest) { - return mergeFrom((com.google.analytics.admin.v1alpha.ListChannelGroupsRequest)other); + return mergeFrom((com.google.analytics.admin.v1alpha.ListChannelGroupsRequest) other); } else { super.mergeFrom(other); return this; @@ -470,7 +510,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1alpha.ListChannelGroupsRequest other) { - if (other == com.google.analytics.admin.v1alpha.ListChannelGroupsRequest.getDefaultInstance()) return this; + if (other == com.google.analytics.admin.v1alpha.ListChannelGroupsRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -510,27 +551,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,23 +585,28 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The property for which to list ChannelGroups.
      * Example format: properties/1234
      * 
* - * string parent = 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,21 +615,24 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The property for which to list ChannelGroups.
      * Example format: properties/1234
      * 
* - * string parent = 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 { @@ -587,30 +640,41 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The property for which to list ChannelGroups.
      * Example format: properties/1234
      * 
* - * 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 property for which to list ChannelGroups.
      * Example format: properties/1234
      * 
* - * string 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,18 +684,24 @@ public Builder clearParent() { return this; } /** + * + * *
      * Required. The property for which to list ChannelGroups.
      * Example format: properties/1234
      * 
* - * 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; @@ -639,8 +709,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.
@@ -648,6 +720,7 @@ public Builder setParentBytes(
      * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -655,6 +728,8 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * The maximum number of resources to return.
      * If unspecified, at most 50 resources will be returned.
@@ -662,6 +737,7 @@ public int getPageSize() {
      * 
* * int32 page_size = 2; + * * @param value The pageSize to set. * @return This builder for chaining. */ @@ -673,6 +749,8 @@ public Builder setPageSize(int value) { return this; } /** + * + * *
      * The maximum number of resources to return.
      * If unspecified, at most 50 resources will be returned.
@@ -680,6 +758,7 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2; + * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -691,6 +770,8 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * A page token, received from a previous `ListChannelGroups` call. Provide
      * this to retrieve the subsequent page.
@@ -700,13 +781,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 +796,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * A page token, received from a previous `ListChannelGroups` call. Provide
      * this to retrieve the subsequent page.
@@ -724,15 +807,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 +822,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * A page token, received from a previous `ListChannelGroups` call. Provide
      * this to retrieve the subsequent page.
@@ -749,18 +833,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 `ListChannelGroups` call. Provide
      * this to retrieve the subsequent page.
@@ -770,6 +858,7 @@ public Builder setPageToken(
      * 
* * string page_token = 3; + * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -779,6 +868,8 @@ public Builder clearPageToken() { return this; } /** + * + * *
      * A page token, received from a previous `ListChannelGroups` call. Provide
      * this to retrieve the subsequent page.
@@ -788,21 +879,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 +905,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.ListChannelGroupsRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.ListChannelGroupsRequest) private static final com.google.analytics.admin.v1alpha.ListChannelGroupsRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.ListChannelGroupsRequest(); } @@ -826,27 +919,27 @@ public static com.google.analytics.admin.v1alpha.ListChannelGroupsRequest getDef return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListChannelGroupsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListChannelGroupsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.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 +954,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1alpha.ListChannelGroupsRequest 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/ListChannelGroupsRequestOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListChannelGroupsRequestOrBuilder.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/ListChannelGroupsRequestOrBuilder.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListChannelGroupsRequestOrBuilder.java index ede1437f31af..e92c6092c7ae 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListChannelGroupsRequestOrBuilder.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListChannelGroupsRequestOrBuilder.java @@ -1,35 +1,62 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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 ListChannelGroupsRequestOrBuilder extends +public interface ListChannelGroupsRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.ListChannelGroupsRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The property for which to list ChannelGroups.
    * Example format: properties/1234
    * 
* - * string parent = 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 property for which to list ChannelGroups.
    * Example format: properties/1234
    * 
* - * string parent = 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 ListChannelGroupsRequestOrBuilder extends
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * A page token, received from a previous `ListChannelGroups` call. Provide
    * this to retrieve the subsequent page.
@@ -51,10 +81,13 @@ public interface ListChannelGroupsRequestOrBuilder extends
    * 
* * string page_token = 3; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * A page token, received from a previous `ListChannelGroups` call. Provide
    * this to retrieve the subsequent page.
@@ -64,8 +97,8 @@ public interface ListChannelGroupsRequestOrBuilder 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/ListChannelGroupsResponse.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListChannelGroupsResponse.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/ListChannelGroupsResponse.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListChannelGroupsResponse.java index 11f909eea7fe..f637fd22e88b 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListChannelGroupsResponse.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListChannelGroupsResponse.java @@ -1,24 +1,42 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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 ListChannelGroups RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.ListChannelGroupsResponse} */ -public final class ListChannelGroupsResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListChannelGroupsResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.ListChannelGroupsResponse) ListChannelGroupsResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListChannelGroupsResponse.newBuilder() to construct. private ListChannelGroupsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListChannelGroupsResponse() { channelGroups_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -26,28 +44,32 @@ private ListChannelGroupsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListChannelGroupsResponse(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListChannelGroupsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ListChannelGroupsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListChannelGroupsResponse_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ListChannelGroupsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.ListChannelGroupsResponse.class, com.google.analytics.admin.v1alpha.ListChannelGroupsResponse.Builder.class); + com.google.analytics.admin.v1alpha.ListChannelGroupsResponse.class, + com.google.analytics.admin.v1alpha.ListChannelGroupsResponse.Builder.class); } public static final int CHANNEL_GROUPS_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private java.util.List channelGroups_; /** + * + * *
    * List of ChannelGroup. These will be ordered stably, but in an arbitrary
    * order.
@@ -60,6 +82,8 @@ public java.util.List getChanne
     return channelGroups_;
   }
   /**
+   *
+   *
    * 
    * List of ChannelGroup. These will be ordered stably, but in an arbitrary
    * order.
@@ -68,11 +92,13 @@ public java.util.List getChanne
    * repeated .google.analytics.admin.v1alpha.ChannelGroup channel_groups = 1;
    */
   @java.lang.Override
-  public java.util.List 
+  public java.util.List
       getChannelGroupsOrBuilderList() {
     return channelGroups_;
   }
   /**
+   *
+   *
    * 
    * List of ChannelGroup. These will be ordered stably, but in an arbitrary
    * order.
@@ -85,6 +111,8 @@ public int getChannelGroupsCount() {
     return channelGroups_.size();
   }
   /**
+   *
+   *
    * 
    * List of ChannelGroup. These will be ordered stably, but in an arbitrary
    * order.
@@ -97,6 +125,8 @@ public com.google.analytics.admin.v1alpha.ChannelGroup getChannelGroups(int inde
     return channelGroups_.get(index);
   }
   /**
+   *
+   *
    * 
    * List of ChannelGroup. These will be ordered stably, but in an arbitrary
    * order.
@@ -111,15 +141,19 @@ public com.google.analytics.admin.v1alpha.ChannelGroupOrBuilder getChannelGroups
   }
 
   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 < channelGroups_.size(); i++) { output.writeMessage(1, channelGroups_.get(i)); } @@ -189,8 +223,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < channelGroups_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, channelGroups_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, channelGroups_.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.ListChannelGroupsResponse)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.ListChannelGroupsResponse other = (com.google.analytics.admin.v1alpha.ListChannelGroupsResponse) obj; + com.google.analytics.admin.v1alpha.ListChannelGroupsResponse other = + (com.google.analytics.admin.v1alpha.ListChannelGroupsResponse) obj; - if (!getChannelGroupsList() - .equals(other.getChannelGroupsList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; + if (!getChannelGroupsList().equals(other.getChannelGroupsList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -237,131 +269,136 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.ListChannelGroupsResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.ListChannelGroupsResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.ListChannelGroupsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.ListChannelGroupsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.ListChannelGroupsResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.ListChannelGroupsResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.ListChannelGroupsResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.ListChannelGroupsResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.ListChannelGroupsResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.ListChannelGroupsResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.ListChannelGroupsResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.analytics.admin.v1alpha.ListChannelGroupsResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.ListChannelGroupsResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.ListChannelGroupsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1alpha.ListChannelGroupsResponse prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1alpha.ListChannelGroupsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 ListChannelGroups RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.ListChannelGroupsResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.ListChannelGroupsResponse) com.google.analytics.admin.v1alpha.ListChannelGroupsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListChannelGroupsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ListChannelGroupsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListChannelGroupsResponse_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ListChannelGroupsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.ListChannelGroupsResponse.class, com.google.analytics.admin.v1alpha.ListChannelGroupsResponse.Builder.class); + com.google.analytics.admin.v1alpha.ListChannelGroupsResponse.class, + com.google.analytics.admin.v1alpha.ListChannelGroupsResponse.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.ListChannelGroupsResponse.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,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_ListChannelGroupsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ListChannelGroupsResponse_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.ListChannelGroupsResponse getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.ListChannelGroupsResponse + getDefaultInstanceForType() { return com.google.analytics.admin.v1alpha.ListChannelGroupsResponse.getDefaultInstance(); } @@ -399,14 +437,18 @@ public com.google.analytics.admin.v1alpha.ListChannelGroupsResponse build() { @java.lang.Override public com.google.analytics.admin.v1alpha.ListChannelGroupsResponse buildPartial() { - com.google.analytics.admin.v1alpha.ListChannelGroupsResponse result = new com.google.analytics.admin.v1alpha.ListChannelGroupsResponse(this); + com.google.analytics.admin.v1alpha.ListChannelGroupsResponse result = + new com.google.analytics.admin.v1alpha.ListChannelGroupsResponse(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartialRepeatedFields(com.google.analytics.admin.v1alpha.ListChannelGroupsResponse result) { + private void buildPartialRepeatedFields( + com.google.analytics.admin.v1alpha.ListChannelGroupsResponse result) { if (channelGroupsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { channelGroups_ = java.util.Collections.unmodifiableList(channelGroups_); @@ -418,7 +460,8 @@ private void buildPartialRepeatedFields(com.google.analytics.admin.v1alpha.ListC } } - private void buildPartial0(com.google.analytics.admin.v1alpha.ListChannelGroupsResponse result) { + private void buildPartial0( + com.google.analytics.admin.v1alpha.ListChannelGroupsResponse result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000002) != 0)) { result.nextPageToken_ = nextPageToken_; @@ -429,38 +472,39 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.ListChannelGroupsR public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.analytics.admin.v1alpha.ListChannelGroupsResponse) { - return mergeFrom((com.google.analytics.admin.v1alpha.ListChannelGroupsResponse)other); + return mergeFrom((com.google.analytics.admin.v1alpha.ListChannelGroupsResponse) other); } else { super.mergeFrom(other); return this; @@ -468,7 +512,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1alpha.ListChannelGroupsResponse other) { - if (other == com.google.analytics.admin.v1alpha.ListChannelGroupsResponse.getDefaultInstance()) return this; + if (other + == com.google.analytics.admin.v1alpha.ListChannelGroupsResponse.getDefaultInstance()) + return this; if (channelGroupsBuilder_ == null) { if (!other.channelGroups_.isEmpty()) { if (channelGroups_.isEmpty()) { @@ -487,9 +533,10 @@ public Builder mergeFrom(com.google.analytics.admin.v1alpha.ListChannelGroupsRes channelGroupsBuilder_ = null; channelGroups_ = other.channelGroups_; bitField0_ = (bitField0_ & ~0x00000001); - channelGroupsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getChannelGroupsFieldBuilder() : null; + channelGroupsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getChannelGroupsFieldBuilder() + : null; } else { channelGroupsBuilder_.addAllMessages(other.channelGroups_); } @@ -526,30 +573,33 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - com.google.analytics.admin.v1alpha.ChannelGroup m = - input.readMessage( - com.google.analytics.admin.v1alpha.ChannelGroup.parser(), - extensionRegistry); - if (channelGroupsBuilder_ == null) { - ensureChannelGroupsIsMutable(); - channelGroups_.add(m); - } else { - channelGroupsBuilder_.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.ChannelGroup m = + input.readMessage( + com.google.analytics.admin.v1alpha.ChannelGroup.parser(), + extensionRegistry); + if (channelGroupsBuilder_ == null) { + ensureChannelGroupsIsMutable(); + channelGroups_.add(m); + } else { + channelGroupsBuilder_.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) { @@ -559,21 +609,30 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.util.List channelGroups_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureChannelGroupsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - channelGroups_ = new java.util.ArrayList(channelGroups_); + channelGroups_ = + new java.util.ArrayList( + channelGroups_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.ChannelGroup, com.google.analytics.admin.v1alpha.ChannelGroup.Builder, com.google.analytics.admin.v1alpha.ChannelGroupOrBuilder> channelGroupsBuilder_; + com.google.analytics.admin.v1alpha.ChannelGroup, + com.google.analytics.admin.v1alpha.ChannelGroup.Builder, + com.google.analytics.admin.v1alpha.ChannelGroupOrBuilder> + channelGroupsBuilder_; /** + * + * *
      * List of ChannelGroup. These will be ordered stably, but in an arbitrary
      * order.
@@ -589,6 +648,8 @@ public java.util.List getChanne
       }
     }
     /**
+     *
+     *
      * 
      * List of ChannelGroup. These will be ordered stably, but in an arbitrary
      * order.
@@ -604,6 +665,8 @@ public int getChannelGroupsCount() {
       }
     }
     /**
+     *
+     *
      * 
      * List of ChannelGroup. These will be ordered stably, but in an arbitrary
      * order.
@@ -619,6 +682,8 @@ public com.google.analytics.admin.v1alpha.ChannelGroup getChannelGroups(int inde
       }
     }
     /**
+     *
+     *
      * 
      * List of ChannelGroup. These will be ordered stably, but in an arbitrary
      * order.
@@ -641,6 +706,8 @@ public Builder setChannelGroups(
       return this;
     }
     /**
+     *
+     *
      * 
      * List of ChannelGroup. These will be ordered stably, but in an arbitrary
      * order.
@@ -660,6 +727,8 @@ public Builder setChannelGroups(
       return this;
     }
     /**
+     *
+     *
      * 
      * List of ChannelGroup. These will be ordered stably, but in an arbitrary
      * order.
@@ -681,6 +750,8 @@ public Builder addChannelGroups(com.google.analytics.admin.v1alpha.ChannelGroup
       return this;
     }
     /**
+     *
+     *
      * 
      * List of ChannelGroup. These will be ordered stably, but in an arbitrary
      * order.
@@ -703,6 +774,8 @@ public Builder addChannelGroups(
       return this;
     }
     /**
+     *
+     *
      * 
      * List of ChannelGroup. These will be ordered stably, but in an arbitrary
      * order.
@@ -722,6 +795,8 @@ public Builder addChannelGroups(
       return this;
     }
     /**
+     *
+     *
      * 
      * List of ChannelGroup. These will be ordered stably, but in an arbitrary
      * order.
@@ -741,6 +816,8 @@ public Builder addChannelGroups(
       return this;
     }
     /**
+     *
+     *
      * 
      * List of ChannelGroup. These will be ordered stably, but in an arbitrary
      * order.
@@ -752,8 +829,7 @@ public Builder addAllChannelGroups(
         java.lang.Iterable values) {
       if (channelGroupsBuilder_ == null) {
         ensureChannelGroupsIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(
-            values, channelGroups_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, channelGroups_);
         onChanged();
       } else {
         channelGroupsBuilder_.addAllMessages(values);
@@ -761,6 +837,8 @@ public Builder addAllChannelGroups(
       return this;
     }
     /**
+     *
+     *
      * 
      * List of ChannelGroup. These will be ordered stably, but in an arbitrary
      * order.
@@ -779,6 +857,8 @@ public Builder clearChannelGroups() {
       return this;
     }
     /**
+     *
+     *
      * 
      * List of ChannelGroup. These will be ordered stably, but in an arbitrary
      * order.
@@ -797,6 +877,8 @@ public Builder removeChannelGroups(int index) {
       return this;
     }
     /**
+     *
+     *
      * 
      * List of ChannelGroup. These will be ordered stably, but in an arbitrary
      * order.
@@ -809,6 +891,8 @@ public com.google.analytics.admin.v1alpha.ChannelGroup.Builder getChannelGroupsB
       return getChannelGroupsFieldBuilder().getBuilder(index);
     }
     /**
+     *
+     *
      * 
      * List of ChannelGroup. These will be ordered stably, but in an arbitrary
      * order.
@@ -819,11 +903,14 @@ public com.google.analytics.admin.v1alpha.ChannelGroup.Builder getChannelGroupsB
     public com.google.analytics.admin.v1alpha.ChannelGroupOrBuilder getChannelGroupsOrBuilder(
         int index) {
       if (channelGroupsBuilder_ == null) {
-        return channelGroups_.get(index);  } else {
+        return channelGroups_.get(index);
+      } else {
         return channelGroupsBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
+     *
+     *
      * 
      * List of ChannelGroup. These will be ordered stably, but in an arbitrary
      * order.
@@ -831,8 +918,8 @@ public com.google.analytics.admin.v1alpha.ChannelGroupOrBuilder getChannelGroups
      *
      * repeated .google.analytics.admin.v1alpha.ChannelGroup channel_groups = 1;
      */
-    public java.util.List 
-         getChannelGroupsOrBuilderList() {
+    public java.util.List
+        getChannelGroupsOrBuilderList() {
       if (channelGroupsBuilder_ != null) {
         return channelGroupsBuilder_.getMessageOrBuilderList();
       } else {
@@ -840,6 +927,8 @@ public com.google.analytics.admin.v1alpha.ChannelGroupOrBuilder getChannelGroups
       }
     }
     /**
+     *
+     *
      * 
      * List of ChannelGroup. These will be ordered stably, but in an arbitrary
      * order.
@@ -848,10 +937,12 @@ public com.google.analytics.admin.v1alpha.ChannelGroupOrBuilder getChannelGroups
      * repeated .google.analytics.admin.v1alpha.ChannelGroup channel_groups = 1;
      */
     public com.google.analytics.admin.v1alpha.ChannelGroup.Builder addChannelGroupsBuilder() {
-      return getChannelGroupsFieldBuilder().addBuilder(
-          com.google.analytics.admin.v1alpha.ChannelGroup.getDefaultInstance());
+      return getChannelGroupsFieldBuilder()
+          .addBuilder(com.google.analytics.admin.v1alpha.ChannelGroup.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * List of ChannelGroup. These will be ordered stably, but in an arbitrary
      * order.
@@ -861,10 +952,12 @@ public com.google.analytics.admin.v1alpha.ChannelGroup.Builder addChannelGroupsB
      */
     public com.google.analytics.admin.v1alpha.ChannelGroup.Builder addChannelGroupsBuilder(
         int index) {
-      return getChannelGroupsFieldBuilder().addBuilder(
-          index, com.google.analytics.admin.v1alpha.ChannelGroup.getDefaultInstance());
+      return getChannelGroupsFieldBuilder()
+          .addBuilder(index, com.google.analytics.admin.v1alpha.ChannelGroup.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * List of ChannelGroup. These will be ordered stably, but in an arbitrary
      * order.
@@ -872,16 +965,22 @@ public com.google.analytics.admin.v1alpha.ChannelGroup.Builder addChannelGroupsB
      *
      * repeated .google.analytics.admin.v1alpha.ChannelGroup channel_groups = 1;
      */
-    public java.util.List 
-         getChannelGroupsBuilderList() {
+    public java.util.List
+        getChannelGroupsBuilderList() {
       return getChannelGroupsFieldBuilder().getBuilderList();
     }
+
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.analytics.admin.v1alpha.ChannelGroup, com.google.analytics.admin.v1alpha.ChannelGroup.Builder, com.google.analytics.admin.v1alpha.ChannelGroupOrBuilder> 
+            com.google.analytics.admin.v1alpha.ChannelGroup,
+            com.google.analytics.admin.v1alpha.ChannelGroup.Builder,
+            com.google.analytics.admin.v1alpha.ChannelGroupOrBuilder>
         getChannelGroupsFieldBuilder() {
       if (channelGroupsBuilder_ == null) {
-        channelGroupsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.analytics.admin.v1alpha.ChannelGroup, com.google.analytics.admin.v1alpha.ChannelGroup.Builder, com.google.analytics.admin.v1alpha.ChannelGroupOrBuilder>(
+        channelGroupsBuilder_ =
+            new com.google.protobuf.RepeatedFieldBuilderV3<
+                com.google.analytics.admin.v1alpha.ChannelGroup,
+                com.google.analytics.admin.v1alpha.ChannelGroup.Builder,
+                com.google.analytics.admin.v1alpha.ChannelGroupOrBuilder>(
                 channelGroups_,
                 ((bitField0_ & 0x00000001) != 0),
                 getParentForChildren(),
@@ -893,19 +992,21 @@ public com.google.analytics.admin.v1alpha.ChannelGroup.Builder addChannelGroupsB
 
     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; @@ -914,21 +1015,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 { @@ -936,30 +1038,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() { @@ -969,27 +1078,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); } @@ -999,12 +1112,13 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.ListChannelGroupsResponse) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.ListChannelGroupsResponse) - private static final com.google.analytics.admin.v1alpha.ListChannelGroupsResponse DEFAULT_INSTANCE; + private static final com.google.analytics.admin.v1alpha.ListChannelGroupsResponse + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.ListChannelGroupsResponse(); } @@ -1013,27 +1127,27 @@ public static com.google.analytics.admin.v1alpha.ListChannelGroupsResponse getDe return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListChannelGroupsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListChannelGroupsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1048,6 +1162,4 @@ public com.google.protobuf.Parser getParserForType() public com.google.analytics.admin.v1alpha.ListChannelGroupsResponse 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/ListChannelGroupsResponseOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListChannelGroupsResponseOrBuilder.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/ListChannelGroupsResponseOrBuilder.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListChannelGroupsResponseOrBuilder.java index 6257c578deae..b888c25882ec 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListChannelGroupsResponseOrBuilder.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListChannelGroupsResponseOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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 ListChannelGroupsResponseOrBuilder extends +public interface ListChannelGroupsResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.ListChannelGroupsResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * List of ChannelGroup. These will be ordered stably, but in an arbitrary
    * order.
@@ -15,9 +33,10 @@ public interface ListChannelGroupsResponseOrBuilder extends
    *
    * repeated .google.analytics.admin.v1alpha.ChannelGroup channel_groups = 1;
    */
-  java.util.List 
-      getChannelGroupsList();
+  java.util.List getChannelGroupsList();
   /**
+   *
+   *
    * 
    * List of ChannelGroup. These will be ordered stably, but in an arbitrary
    * order.
@@ -27,6 +46,8 @@ public interface ListChannelGroupsResponseOrBuilder extends
    */
   com.google.analytics.admin.v1alpha.ChannelGroup getChannelGroups(int index);
   /**
+   *
+   *
    * 
    * List of ChannelGroup. These will be ordered stably, but in an arbitrary
    * order.
@@ -36,6 +57,8 @@ public interface ListChannelGroupsResponseOrBuilder extends
    */
   int getChannelGroupsCount();
   /**
+   *
+   *
    * 
    * List of ChannelGroup. These will be ordered stably, but in an arbitrary
    * order.
@@ -43,9 +66,11 @@ public interface ListChannelGroupsResponseOrBuilder extends
    *
    * repeated .google.analytics.admin.v1alpha.ChannelGroup channel_groups = 1;
    */
-  java.util.List 
+  java.util.List
       getChannelGroupsOrBuilderList();
   /**
+   *
+   *
    * 
    * List of ChannelGroup. These will be ordered stably, but in an arbitrary
    * order.
@@ -53,28 +78,32 @@ public interface ListChannelGroupsResponseOrBuilder extends
    *
    * repeated .google.analytics.admin.v1alpha.ChannelGroup channel_groups = 1;
    */
-  com.google.analytics.admin.v1alpha.ChannelGroupOrBuilder getChannelGroupsOrBuilder(
-      int index);
+  com.google.analytics.admin.v1alpha.ChannelGroupOrBuilder getChannelGroupsOrBuilder(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/ListConnectedSiteTagsRequest.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListConnectedSiteTagsRequest.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/ListConnectedSiteTagsRequest.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListConnectedSiteTagsRequest.java index 57bdf63ec86c..0021fb637cf4 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListConnectedSiteTagsRequest.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListConnectedSiteTagsRequest.java @@ -1,52 +1,74 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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 ListConnectedSiteTags RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.ListConnectedSiteTagsRequest} */ -public final class ListConnectedSiteTagsRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListConnectedSiteTagsRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.ListConnectedSiteTagsRequest) ListConnectedSiteTagsRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListConnectedSiteTagsRequest.newBuilder() to construct. private ListConnectedSiteTagsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListConnectedSiteTagsRequest() { property_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListConnectedSiteTagsRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListConnectedSiteTagsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ListConnectedSiteTagsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListConnectedSiteTagsRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ListConnectedSiteTagsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.ListConnectedSiteTagsRequest.class, com.google.analytics.admin.v1alpha.ListConnectedSiteTagsRequest.Builder.class); + com.google.analytics.admin.v1alpha.ListConnectedSiteTagsRequest.class, + com.google.analytics.admin.v1alpha.ListConnectedSiteTagsRequest.Builder.class); } public static final int PROPERTY_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object property_ = ""; /** + * + * *
    * The Universal Analytics property to fetch connected site tags for.
    * This does not work on GA4 properties. A maximum of 20 connected site tags
@@ -55,6 +77,7 @@ protected java.lang.Object newInstance(
    * 
* * string property = 1; + * * @return The property. */ @java.lang.Override @@ -63,14 +86,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; } } /** + * + * *
    * The Universal Analytics property to fetch connected site tags for.
    * This does not work on GA4 properties. A maximum of 20 connected site tags
@@ -79,16 +103,15 @@ public java.lang.String getProperty() {
    * 
* * string property = 1; + * * @return The bytes for property. */ @java.lang.Override - public com.google.protobuf.ByteString - getPropertyBytes() { + public com.google.protobuf.ByteString getPropertyBytes() { java.lang.Object ref = property_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); property_ = b; return b; } else { @@ -97,6 +120,7 @@ public java.lang.String getProperty() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -108,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(property_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, property_); } @@ -133,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.ListConnectedSiteTagsRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.ListConnectedSiteTagsRequest other = (com.google.analytics.admin.v1alpha.ListConnectedSiteTagsRequest) obj; + com.google.analytics.admin.v1alpha.ListConnectedSiteTagsRequest other = + (com.google.analytics.admin.v1alpha.ListConnectedSiteTagsRequest) obj; - if (!getProperty() - .equals(other.getProperty())) return false; + if (!getProperty().equals(other.getProperty())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -161,131 +184,136 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.ListConnectedSiteTagsRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.ListConnectedSiteTagsRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.ListConnectedSiteTagsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.ListConnectedSiteTagsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.ListConnectedSiteTagsRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.analytics.admin.v1alpha.ListConnectedSiteTagsRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.ListConnectedSiteTagsRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.ListConnectedSiteTagsRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.ListConnectedSiteTagsRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.ListConnectedSiteTagsRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.ListConnectedSiteTagsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.ListConnectedSiteTagsRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.analytics.admin.v1alpha.ListConnectedSiteTagsRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.ListConnectedSiteTagsRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.ListConnectedSiteTagsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1alpha.ListConnectedSiteTagsRequest prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1alpha.ListConnectedSiteTagsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder 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 ListConnectedSiteTags RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.ListConnectedSiteTagsRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.ListConnectedSiteTagsRequest) com.google.analytics.admin.v1alpha.ListConnectedSiteTagsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListConnectedSiteTagsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ListConnectedSiteTagsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListConnectedSiteTagsRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ListConnectedSiteTagsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.ListConnectedSiteTagsRequest.class, com.google.analytics.admin.v1alpha.ListConnectedSiteTagsRequest.Builder.class); + com.google.analytics.admin.v1alpha.ListConnectedSiteTagsRequest.class, + com.google.analytics.admin.v1alpha.ListConnectedSiteTagsRequest.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.ListConnectedSiteTagsRequest.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,13 +323,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_ListConnectedSiteTagsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ListConnectedSiteTagsRequest_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.ListConnectedSiteTagsRequest getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.ListConnectedSiteTagsRequest + getDefaultInstanceForType() { return com.google.analytics.admin.v1alpha.ListConnectedSiteTagsRequest.getDefaultInstance(); } @@ -316,13 +345,17 @@ public com.google.analytics.admin.v1alpha.ListConnectedSiteTagsRequest build() { @java.lang.Override public com.google.analytics.admin.v1alpha.ListConnectedSiteTagsRequest buildPartial() { - com.google.analytics.admin.v1alpha.ListConnectedSiteTagsRequest result = new com.google.analytics.admin.v1alpha.ListConnectedSiteTagsRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.analytics.admin.v1alpha.ListConnectedSiteTagsRequest result = + new com.google.analytics.admin.v1alpha.ListConnectedSiteTagsRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.analytics.admin.v1alpha.ListConnectedSiteTagsRequest result) { + private void buildPartial0( + com.google.analytics.admin.v1alpha.ListConnectedSiteTagsRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.property_ = property_; @@ -333,46 +366,50 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.ListConnectedSiteT public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.analytics.admin.v1alpha.ListConnectedSiteTagsRequest) { - return mergeFrom((com.google.analytics.admin.v1alpha.ListConnectedSiteTagsRequest)other); + return mergeFrom((com.google.analytics.admin.v1alpha.ListConnectedSiteTagsRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.analytics.admin.v1alpha.ListConnectedSiteTagsRequest other) { - if (other == com.google.analytics.admin.v1alpha.ListConnectedSiteTagsRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.analytics.admin.v1alpha.ListConnectedSiteTagsRequest other) { + if (other + == com.google.analytics.admin.v1alpha.ListConnectedSiteTagsRequest.getDefaultInstance()) + return this; if (!other.getProperty().isEmpty()) { property_ = other.property_; bitField0_ |= 0x00000001; @@ -404,17 +441,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) { @@ -424,10 +463,13 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object property_ = ""; /** + * + * *
      * The Universal Analytics property to fetch connected site tags for.
      * This does not work on GA4 properties. A maximum of 20 connected site tags
@@ -436,13 +478,13 @@ public Builder mergeFrom(
      * 
* * string property = 1; + * * @return The property. */ public java.lang.String getProperty() { java.lang.Object ref = property_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); property_ = s; return s; @@ -451,6 +493,8 @@ public java.lang.String getProperty() { } } /** + * + * *
      * The Universal Analytics property to fetch connected site tags for.
      * This does not work on GA4 properties. A maximum of 20 connected site tags
@@ -459,15 +503,14 @@ public java.lang.String getProperty() {
      * 
* * string property = 1; + * * @return The bytes for property. */ - public com.google.protobuf.ByteString - getPropertyBytes() { + public com.google.protobuf.ByteString getPropertyBytes() { java.lang.Object ref = property_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); property_ = b; return b; } else { @@ -475,6 +518,8 @@ public java.lang.String getProperty() { } } /** + * + * *
      * The Universal Analytics property to fetch connected site tags for.
      * This does not work on GA4 properties. A maximum of 20 connected site tags
@@ -483,18 +528,22 @@ public java.lang.String getProperty() {
      * 
* * string property = 1; + * * @param value The property to set. * @return This builder for chaining. */ - public Builder setProperty( - java.lang.String value) { - 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; } /** + * + * *
      * The Universal Analytics property to fetch connected site tags for.
      * This does not work on GA4 properties. A maximum of 20 connected site tags
@@ -503,6 +552,7 @@ public Builder setProperty(
      * 
* * string property = 1; + * * @return This builder for chaining. */ public Builder clearProperty() { @@ -512,6 +562,8 @@ public Builder clearProperty() { return this; } /** + * + * *
      * The Universal Analytics property to fetch connected site tags for.
      * This does not work on GA4 properties. A maximum of 20 connected site tags
@@ -520,21 +572,23 @@ public Builder clearProperty() {
      * 
* * string property = 1; + * * @param value The bytes for property to set. * @return This builder for chaining. */ - public Builder setPropertyBytes( - com.google.protobuf.ByteString value) { - 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); } @@ -544,41 +598,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.ListConnectedSiteTagsRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.ListConnectedSiteTagsRequest) - private static final com.google.analytics.admin.v1alpha.ListConnectedSiteTagsRequest DEFAULT_INSTANCE; + private static final com.google.analytics.admin.v1alpha.ListConnectedSiteTagsRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.ListConnectedSiteTagsRequest(); } - public static com.google.analytics.admin.v1alpha.ListConnectedSiteTagsRequest getDefaultInstance() { + public static com.google.analytics.admin.v1alpha.ListConnectedSiteTagsRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListConnectedSiteTagsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListConnectedSiteTagsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -590,9 +646,8 @@ public com.google.protobuf.Parser getParserForType } @java.lang.Override - public com.google.analytics.admin.v1alpha.ListConnectedSiteTagsRequest getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.ListConnectedSiteTagsRequest + 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/ListConnectedSiteTagsRequestOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListConnectedSiteTagsRequestOrBuilder.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/ListConnectedSiteTagsRequestOrBuilder.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListConnectedSiteTagsRequestOrBuilder.java index 17d7e8636155..ff0c88bf4166 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListConnectedSiteTagsRequestOrBuilder.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListConnectedSiteTagsRequestOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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 ListConnectedSiteTagsRequestOrBuilder extends +public interface ListConnectedSiteTagsRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.ListConnectedSiteTagsRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The Universal Analytics property to fetch connected site tags for.
    * This does not work on GA4 properties. A maximum of 20 connected site tags
@@ -16,10 +34,13 @@ public interface ListConnectedSiteTagsRequestOrBuilder extends
    * 
* * string property = 1; + * * @return The property. */ java.lang.String getProperty(); /** + * + * *
    * The Universal Analytics property to fetch connected site tags for.
    * This does not work on GA4 properties. A maximum of 20 connected site tags
@@ -28,8 +49,8 @@ public interface ListConnectedSiteTagsRequestOrBuilder extends
    * 
* * string property = 1; + * * @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/ListConnectedSiteTagsResponse.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListConnectedSiteTagsResponse.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/ListConnectedSiteTagsResponse.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListConnectedSiteTagsResponse.java index 516b1c3ae49e..c57c437b58e0 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListConnectedSiteTagsResponse.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListConnectedSiteTagsResponse.java @@ -1,52 +1,74 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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 ListConnectedSiteTags RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.ListConnectedSiteTagsResponse} */ -public final class ListConnectedSiteTagsResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListConnectedSiteTagsResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.ListConnectedSiteTagsResponse) ListConnectedSiteTagsResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListConnectedSiteTagsResponse.newBuilder() to construct. private ListConnectedSiteTagsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListConnectedSiteTagsResponse() { connectedSiteTags_ = 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 ListConnectedSiteTagsResponse(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListConnectedSiteTagsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ListConnectedSiteTagsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListConnectedSiteTagsResponse_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ListConnectedSiteTagsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.ListConnectedSiteTagsResponse.class, com.google.analytics.admin.v1alpha.ListConnectedSiteTagsResponse.Builder.class); + com.google.analytics.admin.v1alpha.ListConnectedSiteTagsResponse.class, + com.google.analytics.admin.v1alpha.ListConnectedSiteTagsResponse.Builder.class); } public static final int CONNECTED_SITE_TAGS_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private java.util.List connectedSiteTags_; /** + * + * *
    * The site tags for the Universal Analytics property. A maximum of 20
    * connected site tags will be returned.
@@ -55,10 +77,13 @@ protected java.lang.Object newInstance(
    * repeated .google.analytics.admin.v1alpha.ConnectedSiteTag connected_site_tags = 1;
    */
   @java.lang.Override
-  public java.util.List getConnectedSiteTagsList() {
+  public java.util.List
+      getConnectedSiteTagsList() {
     return connectedSiteTags_;
   }
   /**
+   *
+   *
    * 
    * The site tags for the Universal Analytics property. A maximum of 20
    * connected site tags will be returned.
@@ -67,11 +92,13 @@ public java.util.List getCo
    * repeated .google.analytics.admin.v1alpha.ConnectedSiteTag connected_site_tags = 1;
    */
   @java.lang.Override
-  public java.util.List 
+  public java.util.List
       getConnectedSiteTagsOrBuilderList() {
     return connectedSiteTags_;
   }
   /**
+   *
+   *
    * 
    * The site tags for the Universal Analytics property. A maximum of 20
    * connected site tags will be returned.
@@ -84,6 +111,8 @@ public int getConnectedSiteTagsCount() {
     return connectedSiteTags_.size();
   }
   /**
+   *
+   *
    * 
    * The site tags for the Universal Analytics property. A maximum of 20
    * connected site tags will be returned.
@@ -96,6 +125,8 @@ public com.google.analytics.admin.v1alpha.ConnectedSiteTag getConnectedSiteTags(
     return connectedSiteTags_.get(index);
   }
   /**
+   *
+   *
    * 
    * The site tags for the Universal Analytics property. A maximum of 20
    * connected site tags will be returned.
@@ -110,6 +141,7 @@ public com.google.analytics.admin.v1alpha.ConnectedSiteTagOrBuilder getConnected
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -121,8 +153,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  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 < connectedSiteTags_.size(); i++) {
       output.writeMessage(1, connectedSiteTags_.get(i));
     }
@@ -136,8 +167,8 @@ public int getSerializedSize() {
 
     size = 0;
     for (int i = 0; i < connectedSiteTags_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(1, connectedSiteTags_.get(i));
+      size +=
+          com.google.protobuf.CodedOutputStream.computeMessageSize(1, connectedSiteTags_.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.ListConnectedSiteTagsResponse)) {
       return super.equals(obj);
     }
-    com.google.analytics.admin.v1alpha.ListConnectedSiteTagsResponse other = (com.google.analytics.admin.v1alpha.ListConnectedSiteTagsResponse) obj;
+    com.google.analytics.admin.v1alpha.ListConnectedSiteTagsResponse other =
+        (com.google.analytics.admin.v1alpha.ListConnectedSiteTagsResponse) obj;
 
-    if (!getConnectedSiteTagsList()
-        .equals(other.getConnectedSiteTagsList())) return false;
+    if (!getConnectedSiteTagsList().equals(other.getConnectedSiteTagsList())) return false;
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
   }
@@ -177,131 +208,136 @@ public int hashCode() {
   }
 
   public static com.google.analytics.admin.v1alpha.ListConnectedSiteTagsResponse parseFrom(
-      java.nio.ByteBuffer data)
-      throws com.google.protobuf.InvalidProtocolBufferException {
+      java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.analytics.admin.v1alpha.ListConnectedSiteTagsResponse parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.analytics.admin.v1alpha.ListConnectedSiteTagsResponse parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.analytics.admin.v1alpha.ListConnectedSiteTagsResponse parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-  public static com.google.analytics.admin.v1alpha.ListConnectedSiteTagsResponse parseFrom(byte[] data)
-      throws com.google.protobuf.InvalidProtocolBufferException {
+
+  public static com.google.analytics.admin.v1alpha.ListConnectedSiteTagsResponse parseFrom(
+      byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.analytics.admin.v1alpha.ListConnectedSiteTagsResponse parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-  public static com.google.analytics.admin.v1alpha.ListConnectedSiteTagsResponse parseFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+
+  public static com.google.analytics.admin.v1alpha.ListConnectedSiteTagsResponse parseFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.analytics.admin.v1alpha.ListConnectedSiteTagsResponse parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
-  public static com.google.analytics.admin.v1alpha.ListConnectedSiteTagsResponse parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+  public static com.google.analytics.admin.v1alpha.ListConnectedSiteTagsResponse parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
 
   public static com.google.analytics.admin.v1alpha.ListConnectedSiteTagsResponse parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.analytics.admin.v1alpha.ListConnectedSiteTagsResponse parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.analytics.admin.v1alpha.ListConnectedSiteTagsResponse parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-  public static Builder newBuilder(com.google.analytics.admin.v1alpha.ListConnectedSiteTagsResponse prototype) {
+
+  public static Builder newBuilder(
+      com.google.analytics.admin.v1alpha.ListConnectedSiteTagsResponse prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected 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 ListConnectedSiteTags RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.ListConnectedSiteTagsResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.ListConnectedSiteTagsResponse) com.google.analytics.admin.v1alpha.ListConnectedSiteTagsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListConnectedSiteTagsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ListConnectedSiteTagsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListConnectedSiteTagsResponse_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ListConnectedSiteTagsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.ListConnectedSiteTagsResponse.class, com.google.analytics.admin.v1alpha.ListConnectedSiteTagsResponse.Builder.class); + com.google.analytics.admin.v1alpha.ListConnectedSiteTagsResponse.class, + com.google.analytics.admin.v1alpha.ListConnectedSiteTagsResponse.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.ListConnectedSiteTagsResponse.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(); @@ -317,13 +353,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_ListConnectedSiteTagsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ListConnectedSiteTagsResponse_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.ListConnectedSiteTagsResponse getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.ListConnectedSiteTagsResponse + getDefaultInstanceForType() { return com.google.analytics.admin.v1alpha.ListConnectedSiteTagsResponse.getDefaultInstance(); } @@ -338,14 +375,18 @@ public com.google.analytics.admin.v1alpha.ListConnectedSiteTagsResponse build() @java.lang.Override public com.google.analytics.admin.v1alpha.ListConnectedSiteTagsResponse buildPartial() { - com.google.analytics.admin.v1alpha.ListConnectedSiteTagsResponse result = new com.google.analytics.admin.v1alpha.ListConnectedSiteTagsResponse(this); + com.google.analytics.admin.v1alpha.ListConnectedSiteTagsResponse result = + new com.google.analytics.admin.v1alpha.ListConnectedSiteTagsResponse(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartialRepeatedFields(com.google.analytics.admin.v1alpha.ListConnectedSiteTagsResponse result) { + private void buildPartialRepeatedFields( + com.google.analytics.admin.v1alpha.ListConnectedSiteTagsResponse result) { if (connectedSiteTagsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { connectedSiteTags_ = java.util.Collections.unmodifiableList(connectedSiteTags_); @@ -357,7 +398,8 @@ private void buildPartialRepeatedFields(com.google.analytics.admin.v1alpha.ListC } } - private void buildPartial0(com.google.analytics.admin.v1alpha.ListConnectedSiteTagsResponse result) { + private void buildPartial0( + com.google.analytics.admin.v1alpha.ListConnectedSiteTagsResponse result) { int from_bitField0_ = bitField0_; } @@ -365,46 +407,50 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.ListConnectedSiteT public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.analytics.admin.v1alpha.ListConnectedSiteTagsResponse) { - return mergeFrom((com.google.analytics.admin.v1alpha.ListConnectedSiteTagsResponse)other); + return mergeFrom((com.google.analytics.admin.v1alpha.ListConnectedSiteTagsResponse) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.analytics.admin.v1alpha.ListConnectedSiteTagsResponse other) { - if (other == com.google.analytics.admin.v1alpha.ListConnectedSiteTagsResponse.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.analytics.admin.v1alpha.ListConnectedSiteTagsResponse other) { + if (other + == com.google.analytics.admin.v1alpha.ListConnectedSiteTagsResponse.getDefaultInstance()) + return this; if (connectedSiteTagsBuilder_ == null) { if (!other.connectedSiteTags_.isEmpty()) { if (connectedSiteTags_.isEmpty()) { @@ -423,9 +469,10 @@ public Builder mergeFrom(com.google.analytics.admin.v1alpha.ListConnectedSiteTag connectedSiteTagsBuilder_ = null; connectedSiteTags_ = other.connectedSiteTags_; bitField0_ = (bitField0_ & ~0x00000001); - connectedSiteTagsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getConnectedSiteTagsFieldBuilder() : null; + connectedSiteTagsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getConnectedSiteTagsFieldBuilder() + : null; } else { connectedSiteTagsBuilder_.addAllMessages(other.connectedSiteTags_); } @@ -457,25 +504,27 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - com.google.analytics.admin.v1alpha.ConnectedSiteTag m = - input.readMessage( - com.google.analytics.admin.v1alpha.ConnectedSiteTag.parser(), - extensionRegistry); - if (connectedSiteTagsBuilder_ == null) { - ensureConnectedSiteTagsIsMutable(); - connectedSiteTags_.add(m); - } else { - connectedSiteTagsBuilder_.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.ConnectedSiteTag m = + input.readMessage( + com.google.analytics.admin.v1alpha.ConnectedSiteTag.parser(), + extensionRegistry); + if (connectedSiteTagsBuilder_ == null) { + ensureConnectedSiteTagsIsMutable(); + connectedSiteTags_.add(m); + } else { + connectedSiteTagsBuilder_.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) { @@ -485,29 +534,40 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.util.List connectedSiteTags_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureConnectedSiteTagsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - connectedSiteTags_ = new java.util.ArrayList(connectedSiteTags_); + connectedSiteTags_ = + new java.util.ArrayList( + connectedSiteTags_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.ConnectedSiteTag, com.google.analytics.admin.v1alpha.ConnectedSiteTag.Builder, com.google.analytics.admin.v1alpha.ConnectedSiteTagOrBuilder> connectedSiteTagsBuilder_; + com.google.analytics.admin.v1alpha.ConnectedSiteTag, + com.google.analytics.admin.v1alpha.ConnectedSiteTag.Builder, + com.google.analytics.admin.v1alpha.ConnectedSiteTagOrBuilder> + connectedSiteTagsBuilder_; /** + * + * *
      * The site tags for the Universal Analytics property. A maximum of 20
      * connected site tags will be returned.
      * 
* - * repeated .google.analytics.admin.v1alpha.ConnectedSiteTag connected_site_tags = 1; + * repeated .google.analytics.admin.v1alpha.ConnectedSiteTag connected_site_tags = 1; + * */ - public java.util.List getConnectedSiteTagsList() { + public java.util.List + getConnectedSiteTagsList() { if (connectedSiteTagsBuilder_ == null) { return java.util.Collections.unmodifiableList(connectedSiteTags_); } else { @@ -515,12 +575,15 @@ public java.util.List getCo } } /** + * + * *
      * The site tags for the Universal Analytics property. A maximum of 20
      * connected site tags will be returned.
      * 
* - * repeated .google.analytics.admin.v1alpha.ConnectedSiteTag connected_site_tags = 1; + * repeated .google.analytics.admin.v1alpha.ConnectedSiteTag connected_site_tags = 1; + * */ public int getConnectedSiteTagsCount() { if (connectedSiteTagsBuilder_ == null) { @@ -530,12 +593,15 @@ public int getConnectedSiteTagsCount() { } } /** + * + * *
      * The site tags for the Universal Analytics property. A maximum of 20
      * connected site tags will be returned.
      * 
* - * repeated .google.analytics.admin.v1alpha.ConnectedSiteTag connected_site_tags = 1; + * repeated .google.analytics.admin.v1alpha.ConnectedSiteTag connected_site_tags = 1; + * */ public com.google.analytics.admin.v1alpha.ConnectedSiteTag getConnectedSiteTags(int index) { if (connectedSiteTagsBuilder_ == null) { @@ -545,12 +611,15 @@ public com.google.analytics.admin.v1alpha.ConnectedSiteTag getConnectedSiteTags( } } /** + * + * *
      * The site tags for the Universal Analytics property. A maximum of 20
      * connected site tags will be returned.
      * 
* - * repeated .google.analytics.admin.v1alpha.ConnectedSiteTag connected_site_tags = 1; + * repeated .google.analytics.admin.v1alpha.ConnectedSiteTag connected_site_tags = 1; + * */ public Builder setConnectedSiteTags( int index, com.google.analytics.admin.v1alpha.ConnectedSiteTag value) { @@ -567,12 +636,15 @@ public Builder setConnectedSiteTags( return this; } /** + * + * *
      * The site tags for the Universal Analytics property. A maximum of 20
      * connected site tags will be returned.
      * 
* - * repeated .google.analytics.admin.v1alpha.ConnectedSiteTag connected_site_tags = 1; + * repeated .google.analytics.admin.v1alpha.ConnectedSiteTag connected_site_tags = 1; + * */ public Builder setConnectedSiteTags( int index, com.google.analytics.admin.v1alpha.ConnectedSiteTag.Builder builderForValue) { @@ -586,12 +658,15 @@ public Builder setConnectedSiteTags( return this; } /** + * + * *
      * The site tags for the Universal Analytics property. A maximum of 20
      * connected site tags will be returned.
      * 
* - * repeated .google.analytics.admin.v1alpha.ConnectedSiteTag connected_site_tags = 1; + * repeated .google.analytics.admin.v1alpha.ConnectedSiteTag connected_site_tags = 1; + * */ public Builder addConnectedSiteTags(com.google.analytics.admin.v1alpha.ConnectedSiteTag value) { if (connectedSiteTagsBuilder_ == null) { @@ -607,12 +682,15 @@ public Builder addConnectedSiteTags(com.google.analytics.admin.v1alpha.Connected return this; } /** + * + * *
      * The site tags for the Universal Analytics property. A maximum of 20
      * connected site tags will be returned.
      * 
* - * repeated .google.analytics.admin.v1alpha.ConnectedSiteTag connected_site_tags = 1; + * repeated .google.analytics.admin.v1alpha.ConnectedSiteTag connected_site_tags = 1; + * */ public Builder addConnectedSiteTags( int index, com.google.analytics.admin.v1alpha.ConnectedSiteTag value) { @@ -629,12 +707,15 @@ public Builder addConnectedSiteTags( return this; } /** + * + * *
      * The site tags for the Universal Analytics property. A maximum of 20
      * connected site tags will be returned.
      * 
* - * repeated .google.analytics.admin.v1alpha.ConnectedSiteTag connected_site_tags = 1; + * repeated .google.analytics.admin.v1alpha.ConnectedSiteTag connected_site_tags = 1; + * */ public Builder addConnectedSiteTags( com.google.analytics.admin.v1alpha.ConnectedSiteTag.Builder builderForValue) { @@ -648,12 +729,15 @@ public Builder addConnectedSiteTags( return this; } /** + * + * *
      * The site tags for the Universal Analytics property. A maximum of 20
      * connected site tags will be returned.
      * 
* - * repeated .google.analytics.admin.v1alpha.ConnectedSiteTag connected_site_tags = 1; + * repeated .google.analytics.admin.v1alpha.ConnectedSiteTag connected_site_tags = 1; + * */ public Builder addConnectedSiteTags( int index, com.google.analytics.admin.v1alpha.ConnectedSiteTag.Builder builderForValue) { @@ -667,19 +751,21 @@ public Builder addConnectedSiteTags( return this; } /** + * + * *
      * The site tags for the Universal Analytics property. A maximum of 20
      * connected site tags will be returned.
      * 
* - * repeated .google.analytics.admin.v1alpha.ConnectedSiteTag connected_site_tags = 1; + * repeated .google.analytics.admin.v1alpha.ConnectedSiteTag connected_site_tags = 1; + * */ public Builder addAllConnectedSiteTags( java.lang.Iterable values) { if (connectedSiteTagsBuilder_ == null) { ensureConnectedSiteTagsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, connectedSiteTags_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, connectedSiteTags_); onChanged(); } else { connectedSiteTagsBuilder_.addAllMessages(values); @@ -687,12 +773,15 @@ public Builder addAllConnectedSiteTags( return this; } /** + * + * *
      * The site tags for the Universal Analytics property. A maximum of 20
      * connected site tags will be returned.
      * 
* - * repeated .google.analytics.admin.v1alpha.ConnectedSiteTag connected_site_tags = 1; + * repeated .google.analytics.admin.v1alpha.ConnectedSiteTag connected_site_tags = 1; + * */ public Builder clearConnectedSiteTags() { if (connectedSiteTagsBuilder_ == null) { @@ -705,12 +794,15 @@ public Builder clearConnectedSiteTags() { return this; } /** + * + * *
      * The site tags for the Universal Analytics property. A maximum of 20
      * connected site tags will be returned.
      * 
* - * repeated .google.analytics.admin.v1alpha.ConnectedSiteTag connected_site_tags = 1; + * repeated .google.analytics.admin.v1alpha.ConnectedSiteTag connected_site_tags = 1; + * */ public Builder removeConnectedSiteTags(int index) { if (connectedSiteTagsBuilder_ == null) { @@ -723,42 +815,52 @@ public Builder removeConnectedSiteTags(int index) { return this; } /** + * + * *
      * The site tags for the Universal Analytics property. A maximum of 20
      * connected site tags will be returned.
      * 
* - * repeated .google.analytics.admin.v1alpha.ConnectedSiteTag connected_site_tags = 1; + * repeated .google.analytics.admin.v1alpha.ConnectedSiteTag connected_site_tags = 1; + * */ public com.google.analytics.admin.v1alpha.ConnectedSiteTag.Builder getConnectedSiteTagsBuilder( int index) { return getConnectedSiteTagsFieldBuilder().getBuilder(index); } /** + * + * *
      * The site tags for the Universal Analytics property. A maximum of 20
      * connected site tags will be returned.
      * 
* - * repeated .google.analytics.admin.v1alpha.ConnectedSiteTag connected_site_tags = 1; + * repeated .google.analytics.admin.v1alpha.ConnectedSiteTag connected_site_tags = 1; + * */ - public com.google.analytics.admin.v1alpha.ConnectedSiteTagOrBuilder getConnectedSiteTagsOrBuilder( - int index) { + public com.google.analytics.admin.v1alpha.ConnectedSiteTagOrBuilder + getConnectedSiteTagsOrBuilder(int index) { if (connectedSiteTagsBuilder_ == null) { - return connectedSiteTags_.get(index); } else { + return connectedSiteTags_.get(index); + } else { return connectedSiteTagsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * The site tags for the Universal Analytics property. A maximum of 20
      * connected site tags will be returned.
      * 
* - * repeated .google.analytics.admin.v1alpha.ConnectedSiteTag connected_site_tags = 1; + * repeated .google.analytics.admin.v1alpha.ConnectedSiteTag connected_site_tags = 1; + * */ - public java.util.List - getConnectedSiteTagsOrBuilderList() { + public java.util.List + getConnectedSiteTagsOrBuilderList() { if (connectedSiteTagsBuilder_ != null) { return connectedSiteTagsBuilder_.getMessageOrBuilderList(); } else { @@ -766,48 +868,65 @@ public com.google.analytics.admin.v1alpha.ConnectedSiteTagOrBuilder getConnected } } /** + * + * *
      * The site tags for the Universal Analytics property. A maximum of 20
      * connected site tags will be returned.
      * 
* - * repeated .google.analytics.admin.v1alpha.ConnectedSiteTag connected_site_tags = 1; + * repeated .google.analytics.admin.v1alpha.ConnectedSiteTag connected_site_tags = 1; + * */ - public com.google.analytics.admin.v1alpha.ConnectedSiteTag.Builder addConnectedSiteTagsBuilder() { - return getConnectedSiteTagsFieldBuilder().addBuilder( - com.google.analytics.admin.v1alpha.ConnectedSiteTag.getDefaultInstance()); + public com.google.analytics.admin.v1alpha.ConnectedSiteTag.Builder + addConnectedSiteTagsBuilder() { + return getConnectedSiteTagsFieldBuilder() + .addBuilder(com.google.analytics.admin.v1alpha.ConnectedSiteTag.getDefaultInstance()); } /** + * + * *
      * The site tags for the Universal Analytics property. A maximum of 20
      * connected site tags will be returned.
      * 
* - * repeated .google.analytics.admin.v1alpha.ConnectedSiteTag connected_site_tags = 1; + * repeated .google.analytics.admin.v1alpha.ConnectedSiteTag connected_site_tags = 1; + * */ public com.google.analytics.admin.v1alpha.ConnectedSiteTag.Builder addConnectedSiteTagsBuilder( int index) { - return getConnectedSiteTagsFieldBuilder().addBuilder( - index, com.google.analytics.admin.v1alpha.ConnectedSiteTag.getDefaultInstance()); + return getConnectedSiteTagsFieldBuilder() + .addBuilder( + index, com.google.analytics.admin.v1alpha.ConnectedSiteTag.getDefaultInstance()); } /** + * + * *
      * The site tags for the Universal Analytics property. A maximum of 20
      * connected site tags will be returned.
      * 
* - * repeated .google.analytics.admin.v1alpha.ConnectedSiteTag connected_site_tags = 1; + * repeated .google.analytics.admin.v1alpha.ConnectedSiteTag connected_site_tags = 1; + * */ - public java.util.List - getConnectedSiteTagsBuilderList() { + public java.util.List + getConnectedSiteTagsBuilderList() { return getConnectedSiteTagsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.ConnectedSiteTag, com.google.analytics.admin.v1alpha.ConnectedSiteTag.Builder, com.google.analytics.admin.v1alpha.ConnectedSiteTagOrBuilder> + com.google.analytics.admin.v1alpha.ConnectedSiteTag, + com.google.analytics.admin.v1alpha.ConnectedSiteTag.Builder, + com.google.analytics.admin.v1alpha.ConnectedSiteTagOrBuilder> getConnectedSiteTagsFieldBuilder() { if (connectedSiteTagsBuilder_ == null) { - connectedSiteTagsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.ConnectedSiteTag, com.google.analytics.admin.v1alpha.ConnectedSiteTag.Builder, com.google.analytics.admin.v1alpha.ConnectedSiteTagOrBuilder>( + connectedSiteTagsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.analytics.admin.v1alpha.ConnectedSiteTag, + com.google.analytics.admin.v1alpha.ConnectedSiteTag.Builder, + com.google.analytics.admin.v1alpha.ConnectedSiteTagOrBuilder>( connectedSiteTags_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -816,9 +935,9 @@ public com.google.analytics.admin.v1alpha.ConnectedSiteTag.Builder addConnectedS } return connectedSiteTagsBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -828,41 +947,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.ListConnectedSiteTagsResponse) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.ListConnectedSiteTagsResponse) - private static final com.google.analytics.admin.v1alpha.ListConnectedSiteTagsResponse DEFAULT_INSTANCE; + private static final com.google.analytics.admin.v1alpha.ListConnectedSiteTagsResponse + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.ListConnectedSiteTagsResponse(); } - public static com.google.analytics.admin.v1alpha.ListConnectedSiteTagsResponse getDefaultInstance() { + public static com.google.analytics.admin.v1alpha.ListConnectedSiteTagsResponse + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListConnectedSiteTagsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListConnectedSiteTagsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -874,9 +995,8 @@ public com.google.protobuf.Parser getParserForTyp } @java.lang.Override - public com.google.analytics.admin.v1alpha.ListConnectedSiteTagsResponse getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.ListConnectedSiteTagsResponse + 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/ListConnectedSiteTagsResponseOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListConnectedSiteTagsResponseOrBuilder.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/ListConnectedSiteTagsResponseOrBuilder.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListConnectedSiteTagsResponseOrBuilder.java index 6ff148c6b231..c071e2054419 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListConnectedSiteTagsResponseOrBuilder.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListConnectedSiteTagsResponseOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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 ListConnectedSiteTagsResponseOrBuilder extends +public interface ListConnectedSiteTagsResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.ListConnectedSiteTagsResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The site tags for the Universal Analytics property. A maximum of 20
    * connected site tags will be returned.
@@ -15,9 +33,10 @@ public interface ListConnectedSiteTagsResponseOrBuilder extends
    *
    * repeated .google.analytics.admin.v1alpha.ConnectedSiteTag connected_site_tags = 1;
    */
-  java.util.List 
-      getConnectedSiteTagsList();
+  java.util.List getConnectedSiteTagsList();
   /**
+   *
+   *
    * 
    * The site tags for the Universal Analytics property. A maximum of 20
    * connected site tags will be returned.
@@ -27,6 +46,8 @@ public interface ListConnectedSiteTagsResponseOrBuilder extends
    */
   com.google.analytics.admin.v1alpha.ConnectedSiteTag getConnectedSiteTags(int index);
   /**
+   *
+   *
    * 
    * The site tags for the Universal Analytics property. A maximum of 20
    * connected site tags will be returned.
@@ -36,6 +57,8 @@ public interface ListConnectedSiteTagsResponseOrBuilder extends
    */
   int getConnectedSiteTagsCount();
   /**
+   *
+   *
    * 
    * The site tags for the Universal Analytics property. A maximum of 20
    * connected site tags will be returned.
@@ -43,9 +66,11 @@ public interface ListConnectedSiteTagsResponseOrBuilder extends
    *
    * repeated .google.analytics.admin.v1alpha.ConnectedSiteTag connected_site_tags = 1;
    */
-  java.util.List 
+  java.util.List
       getConnectedSiteTagsOrBuilderList();
   /**
+   *
+   *
    * 
    * The site tags for the Universal Analytics property. A maximum of 20
    * connected site tags will be returned.
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 cb31ceb0cb39..3b141b991955 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 2023 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the 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,34 +44,41 @@ private ListConversionEventsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListConversionEventsRequest(); } - 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 @@ -62,30 +87,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 { @@ -96,6 +123,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.
@@ -103,6 +132,7 @@ public java.lang.String getParent() {
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -111,9 +141,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.
@@ -122,6 +155,7 @@ public int getPageSize() {
    * 
* * string page_token = 3; + * * @return The pageToken. */ @java.lang.Override @@ -130,14 +164,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.
@@ -146,16 +181,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 { @@ -164,6 +198,7 @@ public java.lang.String getPageToken() { } 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 { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -199,8 +233,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_); @@ -213,19 +246,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; } @@ -249,131 +280,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(); @@ -385,13 +421,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(); } @@ -406,13 +443,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_; @@ -429,38 +470,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; @@ -468,7 +510,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; @@ -508,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) { @@ -538,23 +586,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; @@ -563,21 +616,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 { @@ -585,30 +641,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() { @@ -618,18 +685,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; @@ -637,8 +710,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 +721,7 @@ public Builder setParentBytes(
      * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -653,6 +729,8 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * The maximum number of resources to return.
      * If unspecified, at most 50 resources will be returned.
@@ -660,6 +738,7 @@ public int getPageSize() {
      * 
* * int32 page_size = 2; + * * @param value The pageSize to set. * @return This builder for chaining. */ @@ -671,6 +750,8 @@ public Builder setPageSize(int value) { return this; } /** + * + * *
      * The maximum number of resources to return.
      * If unspecified, at most 50 resources will be returned.
@@ -678,6 +759,7 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2; + * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -689,6 +771,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.
@@ -697,13 +781,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 +796,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * A page token, received from a previous `ListConversionEvents` call.
      * Provide this to retrieve the subsequent page.
@@ -720,15 +806,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 +821,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * A page token, received from a previous `ListConversionEvents` call.
      * Provide this to retrieve the subsequent page.
@@ -744,18 +831,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.
@@ -764,6 +855,7 @@ public Builder setPageToken(
      * 
* * string page_token = 3; + * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -773,6 +865,8 @@ public Builder clearPageToken() { return this; } /** + * + * *
      * A page token, received from a previous `ListConversionEvents` call.
      * Provide this to retrieve the subsequent page.
@@ -781,21 +875,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,41 +901,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; @@ -851,9 +949,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..31945d3670a2 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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 197ee97e5416..0fd80deb73c0 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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,28 +44,32 @@ private ListConversionEventsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListConversionEventsResponse(); } - 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
    * 
@@ -55,10 +77,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
    * 
@@ -66,11 +91,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
    * 
@@ -82,6 +109,8 @@ public int getConversionEventsCount() { return conversionEvents_.size(); } /** + * + * *
    * The requested conversion events
    * 
@@ -93,6 +122,8 @@ public com.google.analytics.admin.v1alpha.ConversionEvent getConversionEvents(in return conversionEvents_.get(index); } /** + * + * *
    * The requested conversion events
    * 
@@ -106,15 +137,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 @@ -123,30 +158,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 { @@ -155,6 +190,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -166,8 +202,7 @@ public final boolean isInitialized() { } @java.lang.Override - 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)); } @@ -184,8 +219,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_); @@ -198,17 +232,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; } @@ -232,131 +265,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(); @@ -373,13 +411,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(); } @@ -394,14 +433,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_); @@ -413,7 +456,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_; @@ -424,46 +468,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()) { @@ -482,9 +530,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_); } @@ -521,30 +570,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) { @@ -554,28 +606,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 { @@ -583,6 +645,8 @@ public java.util.List getCon } } /** + * + * *
      * The requested conversion events
      * 
@@ -597,6 +661,8 @@ public int getConversionEventsCount() { } } /** + * + * *
      * The requested conversion events
      * 
@@ -611,6 +677,8 @@ public com.google.analytics.admin.v1alpha.ConversionEvent getConversionEvents(in } } /** + * + * *
      * The requested conversion events
      * 
@@ -632,6 +700,8 @@ public Builder setConversionEvents( return this; } /** + * + * *
      * The requested conversion events
      * 
@@ -650,6 +720,8 @@ public Builder setConversionEvents( return this; } /** + * + * *
      * The requested conversion events
      * 
@@ -670,6 +742,8 @@ public Builder addConversionEvents(com.google.analytics.admin.v1alpha.Conversion return this; } /** + * + * *
      * The requested conversion events
      * 
@@ -691,6 +765,8 @@ public Builder addConversionEvents( return this; } /** + * + * *
      * The requested conversion events
      * 
@@ -709,6 +785,8 @@ public Builder addConversionEvents( return this; } /** + * + * *
      * The requested conversion events
      * 
@@ -727,6 +805,8 @@ public Builder addConversionEvents( return this; } /** + * + * *
      * The requested conversion events
      * 
@@ -737,8 +817,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); @@ -746,6 +825,8 @@ public Builder addAllConversionEvents( return this; } /** + * + * *
      * The requested conversion events
      * 
@@ -763,6 +844,8 @@ public Builder clearConversionEvents() { return this; } /** + * + * *
      * The requested conversion events
      * 
@@ -780,6 +863,8 @@ public Builder removeConversionEvents(int index) { return this; } /** + * + * *
      * The requested conversion events
      * 
@@ -791,6 +876,8 @@ public com.google.analytics.admin.v1alpha.ConversionEvent.Builder getConversionE return getConversionEventsFieldBuilder().getBuilder(index); } /** + * + * *
      * The requested conversion events
      * 
@@ -800,19 +887,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 { @@ -820,6 +910,8 @@ public com.google.analytics.admin.v1alpha.ConversionEventOrBuilder getConversion } } /** + * + * *
      * The requested conversion events
      * 
@@ -827,10 +919,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
      * 
@@ -839,26 +933,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(), @@ -870,19 +973,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; @@ -891,21 +996,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 { @@ -913,30 +1019,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() { @@ -946,27 +1059,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); } @@ -976,41 +1093,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; @@ -1022,9 +1141,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..5b9e19cddabf 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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 67% 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 0f64b16896fb..5dbb21efab05 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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,33 +44,40 @@ private ListCustomDimensionsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListCustomDimensionsRequest(); } - 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 @@ -61,29 +86,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 { @@ -94,6 +121,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.
@@ -101,6 +130,7 @@ public java.lang.String getParent() {
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -109,9 +139,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.
@@ -121,6 +154,7 @@ public int getPageSize() {
    * 
* * string page_token = 3; + * * @return The pageToken. */ @java.lang.Override @@ -129,14 +163,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.
@@ -146,16 +181,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 { @@ -164,6 +198,7 @@ public java.lang.String getPageToken() { } 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 { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -199,8 +233,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_); @@ -213,19 +246,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; } @@ -249,131 +280,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(); @@ -385,13 +421,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(); } @@ -406,13 +443,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_; @@ -429,38 +470,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; @@ -468,7 +510,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; @@ -508,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) { @@ -538,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; @@ -562,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 { @@ -583,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() { @@ -614,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; @@ -632,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.
@@ -641,6 +716,7 @@ public Builder setParentBytes(
      * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -648,6 +724,8 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * The maximum number of resources to return.
      * If unspecified, at most 50 resources will be returned.
@@ -655,6 +733,7 @@ public int getPageSize() {
      * 
* * int32 page_size = 2; + * * @param value The pageSize to set. * @return This builder for chaining. */ @@ -666,6 +745,8 @@ public Builder setPageSize(int value) { return this; } /** + * + * *
      * The maximum number of resources to return.
      * If unspecified, at most 50 resources will be returned.
@@ -673,6 +754,7 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2; + * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -684,6 +766,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 +777,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 +792,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * A page token, received from a previous `ListCustomDimensions` call.
      * Provide this to retrieve the subsequent page.
@@ -717,15 +803,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 { @@ -733,6 +818,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * A page token, received from a previous `ListCustomDimensions` call.
      * Provide this to retrieve the subsequent page.
@@ -742,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.
@@ -763,6 +854,7 @@ public Builder setPageToken(
      * 
* * string page_token = 3; + * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -772,6 +864,8 @@ public Builder clearPageToken() { return this; } /** + * + * *
      * A page token, received from a previous `ListCustomDimensions` call.
      * Provide this to retrieve the subsequent page.
@@ -781,21 +875,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,41 +901,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; @@ -851,9 +949,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 48e94bec0693..62cc6d34b718 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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.
@@ -49,10 +79,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.
@@ -62,8 +95,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 031fa3df4583..7e8356676b4e 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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,28 +44,32 @@ private ListCustomDimensionsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListCustomDimensionsResponse(); } - 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.
    * 
@@ -55,10 +77,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.
    * 
@@ -66,11 +91,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.
    * 
@@ -82,6 +109,8 @@ public int getCustomDimensionsCount() { return customDimensions_.size(); } /** + * + * *
    * List of CustomDimensions.
    * 
@@ -93,6 +122,8 @@ public com.google.analytics.admin.v1alpha.CustomDimension getCustomDimensions(in return customDimensions_.get(index); } /** + * + * *
    * List of CustomDimensions.
    * 
@@ -106,15 +137,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 @@ -123,30 +158,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 { @@ -155,6 +190,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -166,8 +202,7 @@ public final boolean isInitialized() { } @java.lang.Override - 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)); } @@ -184,8 +219,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_); @@ -198,17 +232,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; } @@ -232,131 +265,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(); @@ -373,13 +411,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(); } @@ -394,14 +433,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_); @@ -413,7 +456,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_; @@ -424,46 +468,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()) { @@ -482,9 +530,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_); } @@ -521,30 +570,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) { @@ -554,28 +606,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 { @@ -583,6 +645,8 @@ public java.util.List getCus } } /** + * + * *
      * List of CustomDimensions.
      * 
@@ -597,6 +661,8 @@ public int getCustomDimensionsCount() { } } /** + * + * *
      * List of CustomDimensions.
      * 
@@ -611,6 +677,8 @@ public com.google.analytics.admin.v1alpha.CustomDimension getCustomDimensions(in } } /** + * + * *
      * List of CustomDimensions.
      * 
@@ -632,6 +700,8 @@ public Builder setCustomDimensions( return this; } /** + * + * *
      * List of CustomDimensions.
      * 
@@ -650,6 +720,8 @@ public Builder setCustomDimensions( return this; } /** + * + * *
      * List of CustomDimensions.
      * 
@@ -670,6 +742,8 @@ public Builder addCustomDimensions(com.google.analytics.admin.v1alpha.CustomDime return this; } /** + * + * *
      * List of CustomDimensions.
      * 
@@ -691,6 +765,8 @@ public Builder addCustomDimensions( return this; } /** + * + * *
      * List of CustomDimensions.
      * 
@@ -709,6 +785,8 @@ public Builder addCustomDimensions( return this; } /** + * + * *
      * List of CustomDimensions.
      * 
@@ -727,6 +805,8 @@ public Builder addCustomDimensions( return this; } /** + * + * *
      * List of CustomDimensions.
      * 
@@ -737,8 +817,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); @@ -746,6 +825,8 @@ public Builder addAllCustomDimensions( return this; } /** + * + * *
      * List of CustomDimensions.
      * 
@@ -763,6 +844,8 @@ public Builder clearCustomDimensions() { return this; } /** + * + * *
      * List of CustomDimensions.
      * 
@@ -780,6 +863,8 @@ public Builder removeCustomDimensions(int index) { return this; } /** + * + * *
      * List of CustomDimensions.
      * 
@@ -791,6 +876,8 @@ public com.google.analytics.admin.v1alpha.CustomDimension.Builder getCustomDimen return getCustomDimensionsFieldBuilder().getBuilder(index); } /** + * + * *
      * List of CustomDimensions.
      * 
@@ -800,19 +887,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 { @@ -820,6 +910,8 @@ public com.google.analytics.admin.v1alpha.CustomDimensionOrBuilder getCustomDime } } /** + * + * *
      * List of CustomDimensions.
      * 
@@ -827,10 +919,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.
      * 
@@ -839,26 +933,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(), @@ -870,19 +973,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; @@ -891,21 +996,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 { @@ -913,30 +1019,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() { @@ -946,27 +1059,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); } @@ -976,41 +1093,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; @@ -1022,9 +1141,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..ab2e4a1b733b 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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 a14dc840863f..7736a26acf9d 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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,33 +44,40 @@ private ListCustomMetricsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListCustomMetricsRequest(); } - 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 @@ -61,29 +86,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 { @@ -94,6 +121,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.
@@ -101,6 +130,7 @@ public java.lang.String getParent() {
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -109,9 +139,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.
@@ -121,6 +154,7 @@ public int getPageSize() {
    * 
* * string page_token = 3; + * * @return The pageToken. */ @java.lang.Override @@ -129,14 +163,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.
@@ -146,16 +181,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 { @@ -164,6 +198,7 @@ public java.lang.String getPageToken() { } 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 { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -199,8 +233,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_); @@ -213,19 +246,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; } @@ -249,131 +280,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(); @@ -385,9 +421,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 @@ -406,8 +442,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; } @@ -429,38 +468,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; @@ -468,7 +508,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; @@ -508,27 +549,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) { @@ -538,22 +583,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; @@ -562,20 +612,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 { @@ -583,28 +636,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() { @@ -614,17 +678,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; @@ -632,8 +702,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.
@@ -641,6 +713,7 @@ public Builder setParentBytes(
      * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -648,6 +721,8 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * The maximum number of resources to return.
      * If unspecified, at most 50 resources will be returned.
@@ -655,6 +730,7 @@ public int getPageSize() {
      * 
* * int32 page_size = 2; + * * @param value The pageSize to set. * @return This builder for chaining. */ @@ -666,6 +742,8 @@ public Builder setPageSize(int value) { return this; } /** + * + * *
      * The maximum number of resources to return.
      * If unspecified, at most 50 resources will be returned.
@@ -673,6 +751,7 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2; + * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -684,6 +763,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 +774,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 +789,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * A page token, received from a previous `ListCustomMetrics` call.
      * Provide this to retrieve the subsequent page.
@@ -717,15 +800,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 { @@ -733,6 +815,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * A page token, received from a previous `ListCustomMetrics` call.
      * Provide this to retrieve the subsequent page.
@@ -742,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.
@@ -763,6 +851,7 @@ public Builder setPageToken(
      * 
* * string page_token = 3; + * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -772,6 +861,8 @@ public Builder clearPageToken() { return this; } /** + * + * *
      * A page token, received from a previous `ListCustomMetrics` call.
      * Provide this to retrieve the subsequent page.
@@ -781,21 +872,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 +898,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(); } @@ -819,27 +912,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; @@ -854,6 +947,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 a35620596a30..f6a81c9d2a76 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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.
@@ -49,10 +79,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.
@@ -62,8 +95,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 4b192f798e68..81bb7e94707a 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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,28 +44,32 @@ private ListCustomMetricsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListCustomMetricsResponse(); } - 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.
    * 
@@ -59,6 +81,8 @@ public java.util.List getCustom return customMetrics_; } /** + * + * *
    * List of CustomMetrics.
    * 
@@ -66,11 +90,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.
    * 
@@ -82,6 +108,8 @@ public int getCustomMetricsCount() { return customMetrics_.size(); } /** + * + * *
    * List of CustomMetrics.
    * 
@@ -93,6 +121,8 @@ public com.google.analytics.admin.v1alpha.CustomMetric getCustomMetrics(int inde return customMetrics_.get(index); } /** + * + * *
    * List of CustomMetrics.
    * 
@@ -106,15 +136,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 @@ -123,30 +157,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 { @@ -155,6 +189,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -166,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 { for (int i = 0; i < customMetrics_.size(); i++) { output.writeMessage(1, customMetrics_.get(i)); } @@ -184,8 +218,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_); @@ -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.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; } @@ -232,131 +264,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(); @@ -373,13 +410,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(); } @@ -394,14 +432,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_); @@ -413,7 +455,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_; @@ -424,38 +467,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; @@ -463,7 +507,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()) { @@ -482,9 +528,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_); } @@ -521,30 +568,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) { @@ -554,21 +604,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.
      * 
@@ -583,6 +642,8 @@ public java.util.List getCustom } } /** + * + * *
      * List of CustomMetrics.
      * 
@@ -597,6 +658,8 @@ public int getCustomMetricsCount() { } } /** + * + * *
      * List of CustomMetrics.
      * 
@@ -611,6 +674,8 @@ public com.google.analytics.admin.v1alpha.CustomMetric getCustomMetrics(int inde } } /** + * + * *
      * List of CustomMetrics.
      * 
@@ -632,6 +697,8 @@ public Builder setCustomMetrics( return this; } /** + * + * *
      * List of CustomMetrics.
      * 
@@ -650,6 +717,8 @@ public Builder setCustomMetrics( return this; } /** + * + * *
      * List of CustomMetrics.
      * 
@@ -670,6 +739,8 @@ public Builder addCustomMetrics(com.google.analytics.admin.v1alpha.CustomMetric return this; } /** + * + * *
      * List of CustomMetrics.
      * 
@@ -691,6 +762,8 @@ public Builder addCustomMetrics( return this; } /** + * + * *
      * List of CustomMetrics.
      * 
@@ -709,6 +782,8 @@ public Builder addCustomMetrics( return this; } /** + * + * *
      * List of CustomMetrics.
      * 
@@ -727,6 +802,8 @@ public Builder addCustomMetrics( return this; } /** + * + * *
      * List of CustomMetrics.
      * 
@@ -737,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); @@ -746,6 +822,8 @@ public Builder addAllCustomMetrics( return this; } /** + * + * *
      * List of CustomMetrics.
      * 
@@ -763,6 +841,8 @@ public Builder clearCustomMetrics() { return this; } /** + * + * *
      * List of CustomMetrics.
      * 
@@ -780,6 +860,8 @@ public Builder removeCustomMetrics(int index) { return this; } /** + * + * *
      * List of CustomMetrics.
      * 
@@ -791,6 +873,8 @@ public com.google.analytics.admin.v1alpha.CustomMetric.Builder getCustomMetricsB return getCustomMetricsFieldBuilder().getBuilder(index); } /** + * + * *
      * List of CustomMetrics.
      * 
@@ -800,19 +884,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 { @@ -820,6 +907,8 @@ public com.google.analytics.admin.v1alpha.CustomMetricOrBuilder getCustomMetrics } } /** + * + * *
      * List of CustomMetrics.
      * 
@@ -827,10 +916,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.
      * 
@@ -839,26 +930,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(), @@ -870,19 +969,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; @@ -891,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 { @@ -913,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() { @@ -946,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); } @@ -976,12 +1089,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(); } @@ -990,27 +1104,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; @@ -1025,6 +1139,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..808801d5f11d 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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 2b8160803940..6001b9afab84 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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,33 +44,40 @@ private ListDataStreamsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListDataStreamsRequest(); } - 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 @@ -61,29 +86,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 { @@ -94,6 +121,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.
@@ -101,6 +130,7 @@ public java.lang.String getParent() {
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -109,9 +139,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.
@@ -121,6 +154,7 @@ public int getPageSize() {
    * 
* * string page_token = 3; + * * @return The pageToken. */ @java.lang.Override @@ -129,14 +163,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.
@@ -146,16 +181,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 { @@ -164,6 +198,7 @@ public java.lang.String getPageToken() { } 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 { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -199,8 +233,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_); @@ -213,19 +246,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; } @@ -249,131 +280,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(); @@ -385,9 +421,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 @@ -406,8 +442,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; } @@ -429,38 +468,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; @@ -468,7 +508,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; @@ -508,27 +549,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) { @@ -538,22 +583,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; @@ -562,20 +612,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 { @@ -583,28 +636,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() { @@ -614,17 +678,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; @@ -632,8 +702,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.
@@ -641,6 +713,7 @@ public Builder setParentBytes(
      * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -648,6 +721,8 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * The maximum number of resources to return.
      * If unspecified, at most 50 resources will be returned.
@@ -655,6 +730,7 @@ public int getPageSize() {
      * 
* * int32 page_size = 2; + * * @param value The pageSize to set. * @return This builder for chaining. */ @@ -666,6 +742,8 @@ public Builder setPageSize(int value) { return this; } /** + * + * *
      * The maximum number of resources to return.
      * If unspecified, at most 50 resources will be returned.
@@ -673,6 +751,7 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2; + * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -684,6 +763,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 +774,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 +789,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * A page token, received from a previous `ListDataStreams` call.
      * Provide this to retrieve the subsequent page.
@@ -717,15 +800,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 { @@ -733,6 +815,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * A page token, received from a previous `ListDataStreams` call.
      * Provide this to retrieve the subsequent page.
@@ -742,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.
@@ -763,6 +851,7 @@ public Builder setPageToken(
      * 
* * string page_token = 3; + * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -772,6 +861,8 @@ public Builder clearPageToken() { return this; } /** + * + * *
      * A page token, received from a previous `ListDataStreams` call.
      * Provide this to retrieve the subsequent page.
@@ -781,21 +872,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 +898,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(); } @@ -819,27 +912,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; @@ -854,6 +947,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 16b95cb64329..e1685ae3834c 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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.
@@ -49,10 +79,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.
@@ -62,8 +95,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 b18d7b4d8eb9..f6fce810df44 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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,28 +44,32 @@ private ListDataStreamsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListDataStreamsResponse(); } - 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.
    * 
@@ -59,6 +81,8 @@ public java.util.List getDataStre return dataStreams_; } /** + * + * *
    * List of DataStreams.
    * 
@@ -66,11 +90,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.
    * 
@@ -82,6 +108,8 @@ public int getDataStreamsCount() { return dataStreams_.size(); } /** + * + * *
    * List of DataStreams.
    * 
@@ -93,6 +121,8 @@ public com.google.analytics.admin.v1alpha.DataStream getDataStreams(int index) { return dataStreams_.get(index); } /** + * + * *
    * List of DataStreams.
    * 
@@ -100,21 +130,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 @@ -123,30 +156,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 { @@ -155,6 +188,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -166,8 +200,7 @@ public final boolean isInitialized() { } @java.lang.Override - 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)); } @@ -184,8 +217,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_); @@ -198,17 +230,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; } @@ -232,131 +263,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(); @@ -373,9 +409,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 @@ -394,14 +430,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_); @@ -424,38 +464,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; @@ -463,7 +504,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()) { @@ -482,9 +524,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_); } @@ -521,30 +564,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) { @@ -554,21 +599,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.
      * 
@@ -583,6 +636,8 @@ public java.util.List getDataStre } } /** + * + * *
      * List of DataStreams.
      * 
@@ -597,6 +652,8 @@ public int getDataStreamsCount() { } } /** + * + * *
      * List of DataStreams.
      * 
@@ -611,14 +668,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(); @@ -632,6 +690,8 @@ public Builder setDataStreams( return this; } /** + * + * *
      * List of DataStreams.
      * 
@@ -650,6 +710,8 @@ public Builder setDataStreams( return this; } /** + * + * *
      * List of DataStreams.
      * 
@@ -670,14 +732,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(); @@ -691,6 +754,8 @@ public Builder addDataStreams( return this; } /** + * + * *
      * List of DataStreams.
      * 
@@ -709,6 +774,8 @@ public Builder addDataStreams( return this; } /** + * + * *
      * List of DataStreams.
      * 
@@ -727,6 +794,8 @@ public Builder addDataStreams( return this; } /** + * + * *
      * List of DataStreams.
      * 
@@ -737,8 +806,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); @@ -746,6 +814,8 @@ public Builder addAllDataStreams( return this; } /** + * + * *
      * List of DataStreams.
      * 
@@ -763,6 +833,8 @@ public Builder clearDataStreams() { return this; } /** + * + * *
      * List of DataStreams.
      * 
@@ -780,17 +852,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.
      * 
@@ -800,19 +875,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 { @@ -820,6 +898,8 @@ public com.google.analytics.admin.v1alpha.DataStreamOrBuilder getDataStreamsOrBu } } /** + * + * *
      * List of DataStreams.
      * 
@@ -827,42 +907,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_; @@ -870,19 +956,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; @@ -891,21 +979,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 { @@ -913,30 +1002,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() { @@ -946,27 +1042,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); } @@ -976,12 +1076,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(); } @@ -990,27 +1090,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; @@ -1025,6 +1125,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..485b906e656a 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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 7b397ad9d2cc..da1091fa71e7 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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,33 +47,42 @@ private ListDisplayVideo360AdvertiserLinkProposalsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListDisplayVideo360AdvertiserLinkProposalsRequest(); } - 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 @@ -61,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 { @@ -94,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.
@@ -101,6 +135,7 @@ public java.lang.String getParent() {
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -109,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
    * `ListDisplayVideo360AdvertiserLinkProposals` call. Provide this to retrieve
@@ -123,6 +161,7 @@ public int getPageSize() {
    * 
* * string page_token = 3; + * * @return The pageToken. */ @java.lang.Override @@ -131,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
    * `ListDisplayVideo360AdvertiserLinkProposals` call. Provide this to retrieve
@@ -150,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 { @@ -168,6 +207,7 @@ public java.lang.String getPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -179,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_); } @@ -203,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_); @@ -217,19 +255,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; } @@ -252,132 +290,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) 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 + 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) 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 + parseDelimitedFrom( + java.io.InputStream input, 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) 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( + 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(); @@ -389,19 +444,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); } @@ -409,14 +468,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_; @@ -433,46 +499,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; @@ -512,27 +587,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,22 +621,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; @@ -566,20 +650,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 { @@ -587,28 +674,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() { @@ -618,17 +716,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; @@ -636,8 +740,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.
@@ -645,6 +751,7 @@ public Builder setParentBytes(
      * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -652,6 +759,8 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * The maximum number of resources to return.
      * If unspecified, at most 50 resources will be returned.
@@ -659,6 +768,7 @@ public int getPageSize() {
      * 
* * int32 page_size = 2; + * * @param value The pageSize to set. * @return This builder for chaining. */ @@ -670,6 +780,8 @@ public Builder setPageSize(int value) { return this; } /** + * + * *
      * The maximum number of resources to return.
      * If unspecified, at most 50 resources will be returned.
@@ -677,6 +789,7 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2; + * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -688,6 +801,8 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * A page token, received from a previous
      * `ListDisplayVideo360AdvertiserLinkProposals` call. Provide this to retrieve
@@ -699,13 +814,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 +829,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * A page token, received from a previous
      * `ListDisplayVideo360AdvertiserLinkProposals` call. Provide this to retrieve
@@ -725,15 +842,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 { @@ -741,6 +857,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * A page token, received from a previous
      * `ListDisplayVideo360AdvertiserLinkProposals` call. Provide this to retrieve
@@ -752,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
@@ -775,6 +897,7 @@ public Builder setPageToken(
      * 
* * string page_token = 3; + * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -784,6 +907,8 @@ public Builder clearPageToken() { return this; } /** + * + * *
      * A page token, received from a previous
      * `ListDisplayVideo360AdvertiserLinkProposals` call. Provide this to retrieve
@@ -795,21 +920,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,55 +946,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 b92e8f7f7184..8cabc0fc0a4e 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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
@@ -51,10 +81,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
@@ -66,8 +99,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 27ecd13e9f44..76dc5a50a29a 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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,95 +47,128 @@ private ListDisplayVideo360AdvertiserLinkProposalsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListDisplayVideo360AdvertiserLinkProposalsResponse(); } - 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 @@ -123,30 +177,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 { @@ -155,6 +209,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -166,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 { for (int i = 0; i < displayVideo360AdvertiserLinkProposals_.size(); i++) { output.writeMessage(1, displayVideo360AdvertiserLinkProposals_.get(i)); } @@ -184,8 +238,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_); @@ -198,17 +253,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; } @@ -231,132 +288,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(); @@ -373,19 +459,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); } @@ -393,27 +483,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_; @@ -424,46 +525,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()) { @@ -471,7 +581,8 @@ public Builder mergeFrom(com.google.analytics.admin.v1alpha.ListDisplayVideo360A bitField0_ = (bitField0_ & ~0x00000001); } else { ensureDisplayVideo360AdvertiserLinkProposalsIsMutable(); - displayVideo360AdvertiserLinkProposals_.addAll(other.displayVideo360AdvertiserLinkProposals_); + displayVideo360AdvertiserLinkProposals_.addAll( + other.displayVideo360AdvertiserLinkProposals_); } onChanged(); } @@ -482,11 +593,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_); } } } @@ -521,30 +634,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) { @@ -554,28 +671,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 { @@ -583,11 +713,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) { @@ -597,13 +731,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 { @@ -611,11 +750,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) { @@ -632,14 +775,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()); @@ -650,13 +799,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(); @@ -670,11 +824,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) { @@ -691,14 +849,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()); @@ -709,14 +872,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()); @@ -727,14 +896,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( @@ -746,11 +921,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) { @@ -763,11 +942,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) { @@ -780,39 +963,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 { @@ -820,45 +1018,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(), @@ -870,19 +1093,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; @@ -891,21 +1116,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 { @@ -913,30 +1139,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() { @@ -946,27 +1179,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); } @@ -976,55 +1213,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..e0ff383a52fa --- /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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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 f20d1d29d04c..3184d6a2eced 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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,33 +46,41 @@ private ListDisplayVideo360AdvertiserLinksRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListDisplayVideo360AdvertiserLinksRequest(); } - 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 @@ -61,29 +89,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 { @@ -94,6 +124,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.
@@ -101,6 +133,7 @@ public java.lang.String getParent() {
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -109,9 +142,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.
@@ -122,6 +158,7 @@ public int getPageSize() {
    * 
* * string page_token = 3; + * * @return The pageToken. */ @java.lang.Override @@ -130,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 `ListDisplayVideo360AdvertiserLinks`
    * call. Provide this to retrieve the subsequent page.
@@ -148,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 { @@ -166,6 +203,7 @@ public java.lang.String getPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -177,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_); } @@ -201,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_); @@ -215,19 +251,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; } @@ -250,132 +285,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) 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 + 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) 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 + parseDelimitedFrom( + java.io.InputStream input, 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) 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( + 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(); @@ -387,19 +435,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); } @@ -407,14 +458,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_; @@ -431,46 +487,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; @@ -510,27 +572,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 +606,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; @@ -564,20 +635,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 { @@ -585,28 +659,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() { @@ -616,17 +701,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; @@ -634,8 +725,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.
@@ -643,6 +736,7 @@ public Builder setParentBytes(
      * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -650,6 +744,8 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * The maximum number of resources to return.
      * If unspecified, at most 50 resources will be returned.
@@ -657,6 +753,7 @@ public int getPageSize() {
      * 
* * int32 page_size = 2; + * * @param value The pageSize to set. * @return This builder for chaining. */ @@ -668,6 +765,8 @@ public Builder setPageSize(int value) { return this; } /** + * + * *
      * The maximum number of resources to return.
      * If unspecified, at most 50 resources will be returned.
@@ -675,6 +774,7 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2; + * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -686,6 +786,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 +798,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 +813,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * A page token, received from a previous `ListDisplayVideo360AdvertiserLinks`
      * call. Provide this to retrieve the subsequent page.
@@ -721,15 +825,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 { @@ -737,6 +840,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * A page token, received from a previous `ListDisplayVideo360AdvertiserLinks`
      * call. Provide this to retrieve the subsequent page.
@@ -747,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.
@@ -769,6 +878,7 @@ public Builder setPageToken(
      * 
* * string page_token = 3; + * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -778,6 +888,8 @@ public Builder clearPageToken() { return this; } /** + * + * *
      * A page token, received from a previous `ListDisplayVideo360AdvertiserLinks`
      * call. Provide this to retrieve the subsequent page.
@@ -788,21 +900,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,41 +926,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; @@ -858,9 +977,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 111ce0d6fe87..e1b70de2b580 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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.
@@ -50,10 +80,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.
@@ -64,8 +97,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 58% 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 854e96d202b5..0f67f1f3f519 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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,95 +46,126 @@ private ListDisplayVideo360AdvertiserLinksResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListDisplayVideo360AdvertiserLinksResponse(); } - 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 @@ -123,30 +174,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 { @@ -155,6 +206,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -166,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 { for (int i = 0; i < displayVideo360AdvertiserLinks_.size(); i++) { output.writeMessage(1, displayVideo360AdvertiserLinks_.get(i)); } @@ -184,8 +235,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_); @@ -198,17 +250,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; } @@ -231,132 +284,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(); @@ -373,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_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); } @@ -393,18 +462,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_; @@ -413,7 +488,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_; @@ -424,46 +500,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()) { @@ -482,11 +565,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_); } } } @@ -521,30 +606,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) { @@ -554,28 +642,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 { @@ -583,11 +684,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) { @@ -597,13 +702,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 { @@ -611,11 +721,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) { @@ -632,14 +746,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()); @@ -650,13 +769,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(); @@ -670,11 +794,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) { @@ -691,11 +819,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) { @@ -709,14 +841,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()); @@ -727,14 +864,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( @@ -746,11 +889,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) { @@ -763,11 +910,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) { @@ -780,39 +931,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 { @@ -820,45 +985,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(), @@ -870,19 +1059,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; @@ -891,21 +1082,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 { @@ -913,30 +1105,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() { @@ -946,27 +1145,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); } @@ -976,41 +1179,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; @@ -1022,9 +1230,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..1cfe8e67c337 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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/ListEventCreateRulesRequest.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListEventCreateRulesRequest.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/ListEventCreateRulesRequest.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListEventCreateRulesRequest.java index 818ba6c42cc4..0d001292f331 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListEventCreateRulesRequest.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListEventCreateRulesRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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 ListEventCreateRules RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.ListEventCreateRulesRequest} */ -public final class ListEventCreateRulesRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListEventCreateRulesRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.ListEventCreateRulesRequest) ListEventCreateRulesRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListEventCreateRulesRequest.newBuilder() to construct. private ListEventCreateRulesRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListEventCreateRulesRequest() { parent_ = ""; pageToken_ = ""; @@ -26,33 +44,40 @@ private ListEventCreateRulesRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListEventCreateRulesRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListEventCreateRulesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ListEventCreateRulesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListEventCreateRulesRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ListEventCreateRulesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.ListEventCreateRulesRequest.class, com.google.analytics.admin.v1alpha.ListEventCreateRulesRequest.Builder.class); + com.google.analytics.admin.v1alpha.ListEventCreateRulesRequest.class, + com.google.analytics.admin.v1alpha.ListEventCreateRulesRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** + * + * *
    * Required. Example format: properties/123/dataStreams/456
    * 
* - * string parent = 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 @@ -61,29 +86,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/123/dataStreams/456
    * 
* - * string parent = 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 { @@ -94,6 +121,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.
@@ -101,6 +130,7 @@ public java.lang.String getParent() {
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -109,9 +139,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 `ListEventCreateRules` call. Provide
    * this to retrieve the subsequent page.
@@ -121,6 +154,7 @@ public int getPageSize() {
    * 
* * string page_token = 3; + * * @return The pageToken. */ @java.lang.Override @@ -129,14 +163,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 `ListEventCreateRules` call. Provide
    * this to retrieve the subsequent page.
@@ -146,16 +181,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 { @@ -164,6 +198,7 @@ public java.lang.String getPageToken() { } 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 { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -199,8 +233,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_); @@ -213,19 +246,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.ListEventCreateRulesRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.ListEventCreateRulesRequest other = (com.google.analytics.admin.v1alpha.ListEventCreateRulesRequest) obj; + com.google.analytics.admin.v1alpha.ListEventCreateRulesRequest other = + (com.google.analytics.admin.v1alpha.ListEventCreateRulesRequest) 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; } @@ -249,131 +280,136 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.ListEventCreateRulesRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.ListEventCreateRulesRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.ListEventCreateRulesRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.ListEventCreateRulesRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.ListEventCreateRulesRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.analytics.admin.v1alpha.ListEventCreateRulesRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.ListEventCreateRulesRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.ListEventCreateRulesRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.ListEventCreateRulesRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.ListEventCreateRulesRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.ListEventCreateRulesRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.ListEventCreateRulesRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.analytics.admin.v1alpha.ListEventCreateRulesRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.ListEventCreateRulesRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.ListEventCreateRulesRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1alpha.ListEventCreateRulesRequest prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1alpha.ListEventCreateRulesRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder 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 ListEventCreateRules RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.ListEventCreateRulesRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.ListEventCreateRulesRequest) com.google.analytics.admin.v1alpha.ListEventCreateRulesRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListEventCreateRulesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ListEventCreateRulesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListEventCreateRulesRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ListEventCreateRulesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.ListEventCreateRulesRequest.class, com.google.analytics.admin.v1alpha.ListEventCreateRulesRequest.Builder.class); + com.google.analytics.admin.v1alpha.ListEventCreateRulesRequest.class, + com.google.analytics.admin.v1alpha.ListEventCreateRulesRequest.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.ListEventCreateRulesRequest.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 +421,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_ListEventCreateRulesRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ListEventCreateRulesRequest_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.ListEventCreateRulesRequest getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.ListEventCreateRulesRequest + getDefaultInstanceForType() { return com.google.analytics.admin.v1alpha.ListEventCreateRulesRequest.getDefaultInstance(); } @@ -406,13 +443,17 @@ public com.google.analytics.admin.v1alpha.ListEventCreateRulesRequest build() { @java.lang.Override public com.google.analytics.admin.v1alpha.ListEventCreateRulesRequest buildPartial() { - com.google.analytics.admin.v1alpha.ListEventCreateRulesRequest result = new com.google.analytics.admin.v1alpha.ListEventCreateRulesRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.analytics.admin.v1alpha.ListEventCreateRulesRequest result = + new com.google.analytics.admin.v1alpha.ListEventCreateRulesRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.analytics.admin.v1alpha.ListEventCreateRulesRequest result) { + private void buildPartial0( + com.google.analytics.admin.v1alpha.ListEventCreateRulesRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.parent_ = parent_; @@ -429,38 +470,39 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.ListEventCreateRul public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.analytics.admin.v1alpha.ListEventCreateRulesRequest) { - return mergeFrom((com.google.analytics.admin.v1alpha.ListEventCreateRulesRequest)other); + return mergeFrom((com.google.analytics.admin.v1alpha.ListEventCreateRulesRequest) other); } else { super.mergeFrom(other); return this; @@ -468,7 +510,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1alpha.ListEventCreateRulesRequest other) { - if (other == com.google.analytics.admin.v1alpha.ListEventCreateRulesRequest.getDefaultInstance()) return this; + if (other + == com.google.analytics.admin.v1alpha.ListEventCreateRulesRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -508,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) { @@ -538,22 +586,27 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object parent_ = ""; /** + * + * *
      * Required. Example format: properties/123/dataStreams/456
      * 
* - * string parent = 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; @@ -562,20 +615,23 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. Example format: properties/123/dataStreams/456
      * 
* - * string parent = 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,28 +639,39 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. Example format: properties/123/dataStreams/456
      * 
* - * 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/123/dataStreams/456
      * 
* - * string 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() { @@ -614,17 +681,23 @@ public Builder clearParent() { return this; } /** + * + * *
      * Required. Example format: properties/123/dataStreams/456
      * 
* - * 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; @@ -632,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.
@@ -641,6 +716,7 @@ public Builder setParentBytes(
      * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -648,6 +724,8 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * The maximum number of resources to return.
      * If unspecified, at most 50 resources will be returned.
@@ -655,6 +733,7 @@ public int getPageSize() {
      * 
* * int32 page_size = 2; + * * @param value The pageSize to set. * @return This builder for chaining. */ @@ -666,6 +745,8 @@ public Builder setPageSize(int value) { return this; } /** + * + * *
      * The maximum number of resources to return.
      * If unspecified, at most 50 resources will be returned.
@@ -673,6 +754,7 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2; + * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -684,6 +766,8 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * A page token, received from a previous `ListEventCreateRules` call. Provide
      * this to retrieve the subsequent page.
@@ -693,13 +777,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 +792,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * A page token, received from a previous `ListEventCreateRules` call. Provide
      * this to retrieve the subsequent page.
@@ -717,15 +803,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 { @@ -733,6 +818,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * A page token, received from a previous `ListEventCreateRules` call. Provide
      * this to retrieve the subsequent page.
@@ -742,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 `ListEventCreateRules` call. Provide
      * this to retrieve the subsequent page.
@@ -763,6 +854,7 @@ public Builder setPageToken(
      * 
* * string page_token = 3; + * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -772,6 +864,8 @@ public Builder clearPageToken() { return this; } /** + * + * *
      * A page token, received from a previous `ListEventCreateRules` call. Provide
      * this to retrieve the subsequent page.
@@ -781,21 +875,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,41 +901,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.ListEventCreateRulesRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.ListEventCreateRulesRequest) - private static final com.google.analytics.admin.v1alpha.ListEventCreateRulesRequest DEFAULT_INSTANCE; + private static final com.google.analytics.admin.v1alpha.ListEventCreateRulesRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.ListEventCreateRulesRequest(); } - public static com.google.analytics.admin.v1alpha.ListEventCreateRulesRequest getDefaultInstance() { + public static com.google.analytics.admin.v1alpha.ListEventCreateRulesRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListEventCreateRulesRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListEventCreateRulesRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -851,9 +949,8 @@ public com.google.protobuf.Parser getParserForType( } @java.lang.Override - public com.google.analytics.admin.v1alpha.ListEventCreateRulesRequest getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.ListEventCreateRulesRequest + 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/ListEventCreateRulesRequestOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListEventCreateRulesRequestOrBuilder.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/ListEventCreateRulesRequestOrBuilder.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListEventCreateRulesRequestOrBuilder.java index b9ad14148e44..ea31bcfb8fbd 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListEventCreateRulesRequestOrBuilder.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListEventCreateRulesRequestOrBuilder.java @@ -1,33 +1,60 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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 ListEventCreateRulesRequestOrBuilder extends +public interface ListEventCreateRulesRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.ListEventCreateRulesRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. Example format: properties/123/dataStreams/456
    * 
* - * string parent = 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/123/dataStreams/456
    * 
* - * string parent = 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 ListEventCreateRulesRequestOrBuilder extends
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * A page token, received from a previous `ListEventCreateRules` call. Provide
    * this to retrieve the subsequent page.
@@ -49,10 +79,13 @@ public interface ListEventCreateRulesRequestOrBuilder extends
    * 
* * string page_token = 3; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * A page token, received from a previous `ListEventCreateRules` call. Provide
    * this to retrieve the subsequent page.
@@ -62,8 +95,8 @@ public interface ListEventCreateRulesRequestOrBuilder 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/ListEventCreateRulesResponse.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListEventCreateRulesResponse.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/ListEventCreateRulesResponse.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListEventCreateRulesResponse.java index b4c32c9d0c04..f4ba4cdfa02c 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListEventCreateRulesResponse.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListEventCreateRulesResponse.java @@ -1,24 +1,42 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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 ListEventCreateRules RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.ListEventCreateRulesResponse} */ -public final class ListEventCreateRulesResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListEventCreateRulesResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.ListEventCreateRulesResponse) ListEventCreateRulesResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListEventCreateRulesResponse.newBuilder() to construct. private ListEventCreateRulesResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListEventCreateRulesResponse() { eventCreateRules_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -26,28 +44,32 @@ private ListEventCreateRulesResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListEventCreateRulesResponse(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListEventCreateRulesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ListEventCreateRulesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListEventCreateRulesResponse_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ListEventCreateRulesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.ListEventCreateRulesResponse.class, com.google.analytics.admin.v1alpha.ListEventCreateRulesResponse.Builder.class); + com.google.analytics.admin.v1alpha.ListEventCreateRulesResponse.class, + com.google.analytics.admin.v1alpha.ListEventCreateRulesResponse.Builder.class); } public static final int EVENT_CREATE_RULES_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private java.util.List eventCreateRules_; /** + * + * *
    * List of EventCreateRules. These will be ordered stably, but in an arbitrary
    * order.
@@ -56,10 +78,13 @@ protected java.lang.Object newInstance(
    * repeated .google.analytics.admin.v1alpha.EventCreateRule event_create_rules = 1;
    */
   @java.lang.Override
-  public java.util.List getEventCreateRulesList() {
+  public java.util.List
+      getEventCreateRulesList() {
     return eventCreateRules_;
   }
   /**
+   *
+   *
    * 
    * List of EventCreateRules. These will be ordered stably, but in an arbitrary
    * order.
@@ -68,11 +93,13 @@ public java.util.List getEve
    * repeated .google.analytics.admin.v1alpha.EventCreateRule event_create_rules = 1;
    */
   @java.lang.Override
-  public java.util.List 
+  public java.util.List
       getEventCreateRulesOrBuilderList() {
     return eventCreateRules_;
   }
   /**
+   *
+   *
    * 
    * List of EventCreateRules. These will be ordered stably, but in an arbitrary
    * order.
@@ -85,6 +112,8 @@ public int getEventCreateRulesCount() {
     return eventCreateRules_.size();
   }
   /**
+   *
+   *
    * 
    * List of EventCreateRules. These will be ordered stably, but in an arbitrary
    * order.
@@ -97,6 +126,8 @@ public com.google.analytics.admin.v1alpha.EventCreateRule getEventCreateRules(in
     return eventCreateRules_.get(index);
   }
   /**
+   *
+   *
    * 
    * List of EventCreateRules. These will be ordered stably, but in an arbitrary
    * order.
@@ -111,15 +142,19 @@ public com.google.analytics.admin.v1alpha.EventCreateRuleOrBuilder getEventCreat
   }
 
   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 < eventCreateRules_.size(); i++) { output.writeMessage(1, eventCreateRules_.get(i)); } @@ -189,8 +224,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < eventCreateRules_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, eventCreateRules_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, eventCreateRules_.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.ListEventCreateRulesResponse)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.ListEventCreateRulesResponse other = (com.google.analytics.admin.v1alpha.ListEventCreateRulesResponse) obj; + com.google.analytics.admin.v1alpha.ListEventCreateRulesResponse other = + (com.google.analytics.admin.v1alpha.ListEventCreateRulesResponse) obj; - if (!getEventCreateRulesList() - .equals(other.getEventCreateRulesList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; + if (!getEventCreateRulesList().equals(other.getEventCreateRulesList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -237,131 +270,136 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.ListEventCreateRulesResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.ListEventCreateRulesResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.ListEventCreateRulesResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.ListEventCreateRulesResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.ListEventCreateRulesResponse parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.analytics.admin.v1alpha.ListEventCreateRulesResponse parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.ListEventCreateRulesResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.ListEventCreateRulesResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.ListEventCreateRulesResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.ListEventCreateRulesResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.ListEventCreateRulesResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.ListEventCreateRulesResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.analytics.admin.v1alpha.ListEventCreateRulesResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.ListEventCreateRulesResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.ListEventCreateRulesResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1alpha.ListEventCreateRulesResponse prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1alpha.ListEventCreateRulesResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 ListEventCreateRules RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.ListEventCreateRulesResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.ListEventCreateRulesResponse) com.google.analytics.admin.v1alpha.ListEventCreateRulesResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListEventCreateRulesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ListEventCreateRulesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListEventCreateRulesResponse_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ListEventCreateRulesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.ListEventCreateRulesResponse.class, com.google.analytics.admin.v1alpha.ListEventCreateRulesResponse.Builder.class); + com.google.analytics.admin.v1alpha.ListEventCreateRulesResponse.class, + com.google.analytics.admin.v1alpha.ListEventCreateRulesResponse.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.ListEventCreateRulesResponse.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,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_ListEventCreateRulesResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ListEventCreateRulesResponse_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.ListEventCreateRulesResponse getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.ListEventCreateRulesResponse + getDefaultInstanceForType() { return com.google.analytics.admin.v1alpha.ListEventCreateRulesResponse.getDefaultInstance(); } @@ -399,14 +438,18 @@ public com.google.analytics.admin.v1alpha.ListEventCreateRulesResponse build() { @java.lang.Override public com.google.analytics.admin.v1alpha.ListEventCreateRulesResponse buildPartial() { - com.google.analytics.admin.v1alpha.ListEventCreateRulesResponse result = new com.google.analytics.admin.v1alpha.ListEventCreateRulesResponse(this); + com.google.analytics.admin.v1alpha.ListEventCreateRulesResponse result = + new com.google.analytics.admin.v1alpha.ListEventCreateRulesResponse(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartialRepeatedFields(com.google.analytics.admin.v1alpha.ListEventCreateRulesResponse result) { + private void buildPartialRepeatedFields( + com.google.analytics.admin.v1alpha.ListEventCreateRulesResponse result) { if (eventCreateRulesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { eventCreateRules_ = java.util.Collections.unmodifiableList(eventCreateRules_); @@ -418,7 +461,8 @@ private void buildPartialRepeatedFields(com.google.analytics.admin.v1alpha.ListE } } - private void buildPartial0(com.google.analytics.admin.v1alpha.ListEventCreateRulesResponse result) { + private void buildPartial0( + com.google.analytics.admin.v1alpha.ListEventCreateRulesResponse result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000002) != 0)) { result.nextPageToken_ = nextPageToken_; @@ -429,46 +473,50 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.ListEventCreateRul public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.analytics.admin.v1alpha.ListEventCreateRulesResponse) { - return mergeFrom((com.google.analytics.admin.v1alpha.ListEventCreateRulesResponse)other); + return mergeFrom((com.google.analytics.admin.v1alpha.ListEventCreateRulesResponse) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.analytics.admin.v1alpha.ListEventCreateRulesResponse other) { - if (other == com.google.analytics.admin.v1alpha.ListEventCreateRulesResponse.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.analytics.admin.v1alpha.ListEventCreateRulesResponse other) { + if (other + == com.google.analytics.admin.v1alpha.ListEventCreateRulesResponse.getDefaultInstance()) + return this; if (eventCreateRulesBuilder_ == null) { if (!other.eventCreateRules_.isEmpty()) { if (eventCreateRules_.isEmpty()) { @@ -487,9 +535,10 @@ public Builder mergeFrom(com.google.analytics.admin.v1alpha.ListEventCreateRules eventCreateRulesBuilder_ = null; eventCreateRules_ = other.eventCreateRules_; bitField0_ = (bitField0_ & ~0x00000001); - eventCreateRulesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getEventCreateRulesFieldBuilder() : null; + eventCreateRulesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getEventCreateRulesFieldBuilder() + : null; } else { eventCreateRulesBuilder_.addAllMessages(other.eventCreateRules_); } @@ -526,30 +575,33 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - com.google.analytics.admin.v1alpha.EventCreateRule m = - input.readMessage( - com.google.analytics.admin.v1alpha.EventCreateRule.parser(), - extensionRegistry); - if (eventCreateRulesBuilder_ == null) { - ensureEventCreateRulesIsMutable(); - eventCreateRules_.add(m); - } else { - eventCreateRulesBuilder_.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.EventCreateRule m = + input.readMessage( + com.google.analytics.admin.v1alpha.EventCreateRule.parser(), + extensionRegistry); + if (eventCreateRulesBuilder_ == null) { + ensureEventCreateRulesIsMutable(); + eventCreateRules_.add(m); + } else { + eventCreateRulesBuilder_.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) { @@ -559,21 +611,30 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.util.List eventCreateRules_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureEventCreateRulesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - eventCreateRules_ = new java.util.ArrayList(eventCreateRules_); + eventCreateRules_ = + new java.util.ArrayList( + eventCreateRules_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.EventCreateRule, com.google.analytics.admin.v1alpha.EventCreateRule.Builder, com.google.analytics.admin.v1alpha.EventCreateRuleOrBuilder> eventCreateRulesBuilder_; + com.google.analytics.admin.v1alpha.EventCreateRule, + com.google.analytics.admin.v1alpha.EventCreateRule.Builder, + com.google.analytics.admin.v1alpha.EventCreateRuleOrBuilder> + eventCreateRulesBuilder_; /** + * + * *
      * List of EventCreateRules. These will be ordered stably, but in an arbitrary
      * order.
@@ -581,7 +642,8 @@ private void ensureEventCreateRulesIsMutable() {
      *
      * repeated .google.analytics.admin.v1alpha.EventCreateRule event_create_rules = 1;
      */
-    public java.util.List getEventCreateRulesList() {
+    public java.util.List
+        getEventCreateRulesList() {
       if (eventCreateRulesBuilder_ == null) {
         return java.util.Collections.unmodifiableList(eventCreateRules_);
       } else {
@@ -589,6 +651,8 @@ public java.util.List getEve
       }
     }
     /**
+     *
+     *
      * 
      * List of EventCreateRules. These will be ordered stably, but in an arbitrary
      * order.
@@ -604,6 +668,8 @@ public int getEventCreateRulesCount() {
       }
     }
     /**
+     *
+     *
      * 
      * List of EventCreateRules. These will be ordered stably, but in an arbitrary
      * order.
@@ -619,6 +685,8 @@ public com.google.analytics.admin.v1alpha.EventCreateRule getEventCreateRules(in
       }
     }
     /**
+     *
+     *
      * 
      * List of EventCreateRules. These will be ordered stably, but in an arbitrary
      * order.
@@ -641,6 +709,8 @@ public Builder setEventCreateRules(
       return this;
     }
     /**
+     *
+     *
      * 
      * List of EventCreateRules. These will be ordered stably, but in an arbitrary
      * order.
@@ -660,6 +730,8 @@ public Builder setEventCreateRules(
       return this;
     }
     /**
+     *
+     *
      * 
      * List of EventCreateRules. These will be ordered stably, but in an arbitrary
      * order.
@@ -681,6 +753,8 @@ public Builder addEventCreateRules(com.google.analytics.admin.v1alpha.EventCreat
       return this;
     }
     /**
+     *
+     *
      * 
      * List of EventCreateRules. These will be ordered stably, but in an arbitrary
      * order.
@@ -703,6 +777,8 @@ public Builder addEventCreateRules(
       return this;
     }
     /**
+     *
+     *
      * 
      * List of EventCreateRules. These will be ordered stably, but in an arbitrary
      * order.
@@ -722,6 +798,8 @@ public Builder addEventCreateRules(
       return this;
     }
     /**
+     *
+     *
      * 
      * List of EventCreateRules. These will be ordered stably, but in an arbitrary
      * order.
@@ -741,6 +819,8 @@ public Builder addEventCreateRules(
       return this;
     }
     /**
+     *
+     *
      * 
      * List of EventCreateRules. These will be ordered stably, but in an arbitrary
      * order.
@@ -752,8 +832,7 @@ public Builder addAllEventCreateRules(
         java.lang.Iterable values) {
       if (eventCreateRulesBuilder_ == null) {
         ensureEventCreateRulesIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(
-            values, eventCreateRules_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, eventCreateRules_);
         onChanged();
       } else {
         eventCreateRulesBuilder_.addAllMessages(values);
@@ -761,6 +840,8 @@ public Builder addAllEventCreateRules(
       return this;
     }
     /**
+     *
+     *
      * 
      * List of EventCreateRules. These will be ordered stably, but in an arbitrary
      * order.
@@ -779,6 +860,8 @@ public Builder clearEventCreateRules() {
       return this;
     }
     /**
+     *
+     *
      * 
      * List of EventCreateRules. These will be ordered stably, but in an arbitrary
      * order.
@@ -797,6 +880,8 @@ public Builder removeEventCreateRules(int index) {
       return this;
     }
     /**
+     *
+     *
      * 
      * List of EventCreateRules. These will be ordered stably, but in an arbitrary
      * order.
@@ -809,6 +894,8 @@ public com.google.analytics.admin.v1alpha.EventCreateRule.Builder getEventCreate
       return getEventCreateRulesFieldBuilder().getBuilder(index);
     }
     /**
+     *
+     *
      * 
      * List of EventCreateRules. These will be ordered stably, but in an arbitrary
      * order.
@@ -819,11 +906,14 @@ public com.google.analytics.admin.v1alpha.EventCreateRule.Builder getEventCreate
     public com.google.analytics.admin.v1alpha.EventCreateRuleOrBuilder getEventCreateRulesOrBuilder(
         int index) {
       if (eventCreateRulesBuilder_ == null) {
-        return eventCreateRules_.get(index);  } else {
+        return eventCreateRules_.get(index);
+      } else {
         return eventCreateRulesBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
+     *
+     *
      * 
      * List of EventCreateRules. These will be ordered stably, but in an arbitrary
      * order.
@@ -831,8 +921,8 @@ public com.google.analytics.admin.v1alpha.EventCreateRuleOrBuilder getEventCreat
      *
      * repeated .google.analytics.admin.v1alpha.EventCreateRule event_create_rules = 1;
      */
-    public java.util.List 
-         getEventCreateRulesOrBuilderList() {
+    public java.util.List
+        getEventCreateRulesOrBuilderList() {
       if (eventCreateRulesBuilder_ != null) {
         return eventCreateRulesBuilder_.getMessageOrBuilderList();
       } else {
@@ -840,6 +930,8 @@ public com.google.analytics.admin.v1alpha.EventCreateRuleOrBuilder getEventCreat
       }
     }
     /**
+     *
+     *
      * 
      * List of EventCreateRules. These will be ordered stably, but in an arbitrary
      * order.
@@ -848,10 +940,12 @@ public com.google.analytics.admin.v1alpha.EventCreateRuleOrBuilder getEventCreat
      * repeated .google.analytics.admin.v1alpha.EventCreateRule event_create_rules = 1;
      */
     public com.google.analytics.admin.v1alpha.EventCreateRule.Builder addEventCreateRulesBuilder() {
-      return getEventCreateRulesFieldBuilder().addBuilder(
-          com.google.analytics.admin.v1alpha.EventCreateRule.getDefaultInstance());
+      return getEventCreateRulesFieldBuilder()
+          .addBuilder(com.google.analytics.admin.v1alpha.EventCreateRule.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * List of EventCreateRules. These will be ordered stably, but in an arbitrary
      * order.
@@ -861,10 +955,13 @@ public com.google.analytics.admin.v1alpha.EventCreateRule.Builder addEventCreate
      */
     public com.google.analytics.admin.v1alpha.EventCreateRule.Builder addEventCreateRulesBuilder(
         int index) {
-      return getEventCreateRulesFieldBuilder().addBuilder(
-          index, com.google.analytics.admin.v1alpha.EventCreateRule.getDefaultInstance());
+      return getEventCreateRulesFieldBuilder()
+          .addBuilder(
+              index, com.google.analytics.admin.v1alpha.EventCreateRule.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * List of EventCreateRules. These will be ordered stably, but in an arbitrary
      * order.
@@ -872,16 +969,22 @@ public com.google.analytics.admin.v1alpha.EventCreateRule.Builder addEventCreate
      *
      * repeated .google.analytics.admin.v1alpha.EventCreateRule event_create_rules = 1;
      */
-    public java.util.List 
-         getEventCreateRulesBuilderList() {
+    public java.util.List
+        getEventCreateRulesBuilderList() {
       return getEventCreateRulesFieldBuilder().getBuilderList();
     }
+
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.analytics.admin.v1alpha.EventCreateRule, com.google.analytics.admin.v1alpha.EventCreateRule.Builder, com.google.analytics.admin.v1alpha.EventCreateRuleOrBuilder> 
+            com.google.analytics.admin.v1alpha.EventCreateRule,
+            com.google.analytics.admin.v1alpha.EventCreateRule.Builder,
+            com.google.analytics.admin.v1alpha.EventCreateRuleOrBuilder>
         getEventCreateRulesFieldBuilder() {
       if (eventCreateRulesBuilder_ == null) {
-        eventCreateRulesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.analytics.admin.v1alpha.EventCreateRule, com.google.analytics.admin.v1alpha.EventCreateRule.Builder, com.google.analytics.admin.v1alpha.EventCreateRuleOrBuilder>(
+        eventCreateRulesBuilder_ =
+            new com.google.protobuf.RepeatedFieldBuilderV3<
+                com.google.analytics.admin.v1alpha.EventCreateRule,
+                com.google.analytics.admin.v1alpha.EventCreateRule.Builder,
+                com.google.analytics.admin.v1alpha.EventCreateRuleOrBuilder>(
                 eventCreateRules_,
                 ((bitField0_ & 0x00000001) != 0),
                 getParentForChildren(),
@@ -893,19 +996,21 @@ public com.google.analytics.admin.v1alpha.EventCreateRule.Builder addEventCreate
 
     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; @@ -914,21 +1019,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 { @@ -936,30 +1042,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() { @@ -969,27 +1082,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); } @@ -999,41 +1116,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.ListEventCreateRulesResponse) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.ListEventCreateRulesResponse) - private static final com.google.analytics.admin.v1alpha.ListEventCreateRulesResponse DEFAULT_INSTANCE; + private static final com.google.analytics.admin.v1alpha.ListEventCreateRulesResponse + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.ListEventCreateRulesResponse(); } - public static com.google.analytics.admin.v1alpha.ListEventCreateRulesResponse getDefaultInstance() { + public static com.google.analytics.admin.v1alpha.ListEventCreateRulesResponse + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListEventCreateRulesResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListEventCreateRulesResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1045,9 +1164,8 @@ public com.google.protobuf.Parser getParserForType } @java.lang.Override - public com.google.analytics.admin.v1alpha.ListEventCreateRulesResponse getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.ListEventCreateRulesResponse + 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/ListEventCreateRulesResponseOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListEventCreateRulesResponseOrBuilder.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/ListEventCreateRulesResponseOrBuilder.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListEventCreateRulesResponseOrBuilder.java index 2bd7560a5bc0..4d8a633aa97b 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListEventCreateRulesResponseOrBuilder.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListEventCreateRulesResponseOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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 ListEventCreateRulesResponseOrBuilder extends +public interface ListEventCreateRulesResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.ListEventCreateRulesResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * List of EventCreateRules. These will be ordered stably, but in an arbitrary
    * order.
@@ -15,9 +33,10 @@ public interface ListEventCreateRulesResponseOrBuilder extends
    *
    * repeated .google.analytics.admin.v1alpha.EventCreateRule event_create_rules = 1;
    */
-  java.util.List 
-      getEventCreateRulesList();
+  java.util.List getEventCreateRulesList();
   /**
+   *
+   *
    * 
    * List of EventCreateRules. These will be ordered stably, but in an arbitrary
    * order.
@@ -27,6 +46,8 @@ public interface ListEventCreateRulesResponseOrBuilder extends
    */
   com.google.analytics.admin.v1alpha.EventCreateRule getEventCreateRules(int index);
   /**
+   *
+   *
    * 
    * List of EventCreateRules. These will be ordered stably, but in an arbitrary
    * order.
@@ -36,6 +57,8 @@ public interface ListEventCreateRulesResponseOrBuilder extends
    */
   int getEventCreateRulesCount();
   /**
+   *
+   *
    * 
    * List of EventCreateRules. These will be ordered stably, but in an arbitrary
    * order.
@@ -43,9 +66,11 @@ public interface ListEventCreateRulesResponseOrBuilder extends
    *
    * repeated .google.analytics.admin.v1alpha.EventCreateRule event_create_rules = 1;
    */
-  java.util.List 
+  java.util.List
       getEventCreateRulesOrBuilderList();
   /**
+   *
+   *
    * 
    * List of EventCreateRules. These will be ordered stably, but in an arbitrary
    * order.
@@ -57,24 +82,29 @@ com.google.analytics.admin.v1alpha.EventCreateRuleOrBuilder getEventCreateRulesO
       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/ListExpandedDataSetsRequest.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListExpandedDataSetsRequest.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/ListExpandedDataSetsRequest.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListExpandedDataSetsRequest.java index 80d09c0e66a6..6357b020db67 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListExpandedDataSetsRequest.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListExpandedDataSetsRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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 ListExpandedDataSets RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.ListExpandedDataSetsRequest} */ -public final class ListExpandedDataSetsRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListExpandedDataSetsRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.ListExpandedDataSetsRequest) ListExpandedDataSetsRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListExpandedDataSetsRequest.newBuilder() to construct. private ListExpandedDataSetsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListExpandedDataSetsRequest() { parent_ = ""; pageToken_ = ""; @@ -26,33 +44,40 @@ private ListExpandedDataSetsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListExpandedDataSetsRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListExpandedDataSetsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ListExpandedDataSetsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListExpandedDataSetsRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ListExpandedDataSetsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.ListExpandedDataSetsRequest.class, com.google.analytics.admin.v1alpha.ListExpandedDataSetsRequest.Builder.class); + com.google.analytics.admin.v1alpha.ListExpandedDataSetsRequest.class, + com.google.analytics.admin.v1alpha.ListExpandedDataSetsRequest.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 @@ -61,29 +86,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 { @@ -94,6 +121,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.
@@ -101,6 +130,7 @@ public java.lang.String getParent() {
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -109,9 +139,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 `ListExpandedDataSets` call. Provide
    * this to retrieve the subsequent page.
@@ -121,6 +154,7 @@ public int getPageSize() {
    * 
* * string page_token = 3; + * * @return The pageToken. */ @java.lang.Override @@ -129,14 +163,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 `ListExpandedDataSets` call. Provide
    * this to retrieve the subsequent page.
@@ -146,16 +181,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 { @@ -164,6 +198,7 @@ public java.lang.String getPageToken() { } 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 { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -199,8 +233,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_); @@ -213,19 +246,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.ListExpandedDataSetsRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.ListExpandedDataSetsRequest other = (com.google.analytics.admin.v1alpha.ListExpandedDataSetsRequest) obj; + com.google.analytics.admin.v1alpha.ListExpandedDataSetsRequest other = + (com.google.analytics.admin.v1alpha.ListExpandedDataSetsRequest) 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; } @@ -249,131 +280,136 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.ListExpandedDataSetsRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.ListExpandedDataSetsRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.ListExpandedDataSetsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.ListExpandedDataSetsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.ListExpandedDataSetsRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.analytics.admin.v1alpha.ListExpandedDataSetsRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.ListExpandedDataSetsRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.ListExpandedDataSetsRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.ListExpandedDataSetsRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.ListExpandedDataSetsRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.ListExpandedDataSetsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.ListExpandedDataSetsRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.analytics.admin.v1alpha.ListExpandedDataSetsRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.ListExpandedDataSetsRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.ListExpandedDataSetsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1alpha.ListExpandedDataSetsRequest prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1alpha.ListExpandedDataSetsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder 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 ListExpandedDataSets RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.ListExpandedDataSetsRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.ListExpandedDataSetsRequest) com.google.analytics.admin.v1alpha.ListExpandedDataSetsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListExpandedDataSetsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ListExpandedDataSetsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListExpandedDataSetsRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ListExpandedDataSetsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.ListExpandedDataSetsRequest.class, com.google.analytics.admin.v1alpha.ListExpandedDataSetsRequest.Builder.class); + com.google.analytics.admin.v1alpha.ListExpandedDataSetsRequest.class, + com.google.analytics.admin.v1alpha.ListExpandedDataSetsRequest.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.ListExpandedDataSetsRequest.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 +421,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_ListExpandedDataSetsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ListExpandedDataSetsRequest_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.ListExpandedDataSetsRequest getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.ListExpandedDataSetsRequest + getDefaultInstanceForType() { return com.google.analytics.admin.v1alpha.ListExpandedDataSetsRequest.getDefaultInstance(); } @@ -406,13 +443,17 @@ public com.google.analytics.admin.v1alpha.ListExpandedDataSetsRequest build() { @java.lang.Override public com.google.analytics.admin.v1alpha.ListExpandedDataSetsRequest buildPartial() { - com.google.analytics.admin.v1alpha.ListExpandedDataSetsRequest result = new com.google.analytics.admin.v1alpha.ListExpandedDataSetsRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.analytics.admin.v1alpha.ListExpandedDataSetsRequest result = + new com.google.analytics.admin.v1alpha.ListExpandedDataSetsRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.analytics.admin.v1alpha.ListExpandedDataSetsRequest result) { + private void buildPartial0( + com.google.analytics.admin.v1alpha.ListExpandedDataSetsRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.parent_ = parent_; @@ -429,38 +470,39 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.ListExpandedDataSe public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.analytics.admin.v1alpha.ListExpandedDataSetsRequest) { - return mergeFrom((com.google.analytics.admin.v1alpha.ListExpandedDataSetsRequest)other); + return mergeFrom((com.google.analytics.admin.v1alpha.ListExpandedDataSetsRequest) other); } else { super.mergeFrom(other); return this; @@ -468,7 +510,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1alpha.ListExpandedDataSetsRequest other) { - if (other == com.google.analytics.admin.v1alpha.ListExpandedDataSetsRequest.getDefaultInstance()) return this; + if (other + == com.google.analytics.admin.v1alpha.ListExpandedDataSetsRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -508,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) { @@ -538,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; @@ -562,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 { @@ -583,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() { @@ -614,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; @@ -632,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.
@@ -641,6 +716,7 @@ public Builder setParentBytes(
      * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -648,6 +724,8 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * The maximum number of resources to return.
      * If unspecified, at most 50 resources will be returned.
@@ -655,6 +733,7 @@ public int getPageSize() {
      * 
* * int32 page_size = 2; + * * @param value The pageSize to set. * @return This builder for chaining. */ @@ -666,6 +745,8 @@ public Builder setPageSize(int value) { return this; } /** + * + * *
      * The maximum number of resources to return.
      * If unspecified, at most 50 resources will be returned.
@@ -673,6 +754,7 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2; + * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -684,6 +766,8 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * A page token, received from a previous `ListExpandedDataSets` call. Provide
      * this to retrieve the subsequent page.
@@ -693,13 +777,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 +792,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * A page token, received from a previous `ListExpandedDataSets` call. Provide
      * this to retrieve the subsequent page.
@@ -717,15 +803,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 { @@ -733,6 +818,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * A page token, received from a previous `ListExpandedDataSets` call. Provide
      * this to retrieve the subsequent page.
@@ -742,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 `ListExpandedDataSets` call. Provide
      * this to retrieve the subsequent page.
@@ -763,6 +854,7 @@ public Builder setPageToken(
      * 
* * string page_token = 3; + * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -772,6 +864,8 @@ public Builder clearPageToken() { return this; } /** + * + * *
      * A page token, received from a previous `ListExpandedDataSets` call. Provide
      * this to retrieve the subsequent page.
@@ -781,21 +875,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,41 +901,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.ListExpandedDataSetsRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.ListExpandedDataSetsRequest) - private static final com.google.analytics.admin.v1alpha.ListExpandedDataSetsRequest DEFAULT_INSTANCE; + private static final com.google.analytics.admin.v1alpha.ListExpandedDataSetsRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.ListExpandedDataSetsRequest(); } - public static com.google.analytics.admin.v1alpha.ListExpandedDataSetsRequest getDefaultInstance() { + public static com.google.analytics.admin.v1alpha.ListExpandedDataSetsRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListExpandedDataSetsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListExpandedDataSetsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -851,9 +949,8 @@ public com.google.protobuf.Parser getParserForType( } @java.lang.Override - public com.google.analytics.admin.v1alpha.ListExpandedDataSetsRequest getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.ListExpandedDataSetsRequest + 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/ListExpandedDataSetsRequestOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListExpandedDataSetsRequestOrBuilder.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/ListExpandedDataSetsRequestOrBuilder.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListExpandedDataSetsRequestOrBuilder.java index 7a1208e44532..aa596b53a49b 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListExpandedDataSetsRequestOrBuilder.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListExpandedDataSetsRequestOrBuilder.java @@ -1,33 +1,60 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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 ListExpandedDataSetsRequestOrBuilder extends +public interface ListExpandedDataSetsRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.ListExpandedDataSetsRequest) 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 ListExpandedDataSetsRequestOrBuilder extends
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * A page token, received from a previous `ListExpandedDataSets` call. Provide
    * this to retrieve the subsequent page.
@@ -49,10 +79,13 @@ public interface ListExpandedDataSetsRequestOrBuilder extends
    * 
* * string page_token = 3; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * A page token, received from a previous `ListExpandedDataSets` call. Provide
    * this to retrieve the subsequent page.
@@ -62,8 +95,8 @@ public interface ListExpandedDataSetsRequestOrBuilder 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/ListExpandedDataSetsResponse.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListExpandedDataSetsResponse.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/ListExpandedDataSetsResponse.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListExpandedDataSetsResponse.java index d2402a8dfb76..c113bf7ec838 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListExpandedDataSetsResponse.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListExpandedDataSetsResponse.java @@ -1,24 +1,42 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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 ListExpandedDataSets RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.ListExpandedDataSetsResponse} */ -public final class ListExpandedDataSetsResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListExpandedDataSetsResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.ListExpandedDataSetsResponse) ListExpandedDataSetsResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListExpandedDataSetsResponse.newBuilder() to construct. private ListExpandedDataSetsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListExpandedDataSetsResponse() { expandedDataSets_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -26,28 +44,32 @@ private ListExpandedDataSetsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListExpandedDataSetsResponse(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListExpandedDataSetsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ListExpandedDataSetsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListExpandedDataSetsResponse_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ListExpandedDataSetsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.ListExpandedDataSetsResponse.class, com.google.analytics.admin.v1alpha.ListExpandedDataSetsResponse.Builder.class); + com.google.analytics.admin.v1alpha.ListExpandedDataSetsResponse.class, + com.google.analytics.admin.v1alpha.ListExpandedDataSetsResponse.Builder.class); } public static final int EXPANDED_DATA_SETS_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private java.util.List expandedDataSets_; /** + * + * *
    * List of ExpandedDataSet. These will be ordered stably, but in an arbitrary
    * order.
@@ -56,10 +78,13 @@ protected java.lang.Object newInstance(
    * repeated .google.analytics.admin.v1alpha.ExpandedDataSet expanded_data_sets = 1;
    */
   @java.lang.Override
-  public java.util.List getExpandedDataSetsList() {
+  public java.util.List
+      getExpandedDataSetsList() {
     return expandedDataSets_;
   }
   /**
+   *
+   *
    * 
    * List of ExpandedDataSet. These will be ordered stably, but in an arbitrary
    * order.
@@ -68,11 +93,13 @@ public java.util.List getExp
    * repeated .google.analytics.admin.v1alpha.ExpandedDataSet expanded_data_sets = 1;
    */
   @java.lang.Override
-  public java.util.List 
+  public java.util.List
       getExpandedDataSetsOrBuilderList() {
     return expandedDataSets_;
   }
   /**
+   *
+   *
    * 
    * List of ExpandedDataSet. These will be ordered stably, but in an arbitrary
    * order.
@@ -85,6 +112,8 @@ public int getExpandedDataSetsCount() {
     return expandedDataSets_.size();
   }
   /**
+   *
+   *
    * 
    * List of ExpandedDataSet. These will be ordered stably, but in an arbitrary
    * order.
@@ -97,6 +126,8 @@ public com.google.analytics.admin.v1alpha.ExpandedDataSet getExpandedDataSets(in
     return expandedDataSets_.get(index);
   }
   /**
+   *
+   *
    * 
    * List of ExpandedDataSet. These will be ordered stably, but in an arbitrary
    * order.
@@ -111,15 +142,19 @@ public com.google.analytics.admin.v1alpha.ExpandedDataSetOrBuilder getExpandedDa
   }
 
   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 < expandedDataSets_.size(); i++) { output.writeMessage(1, expandedDataSets_.get(i)); } @@ -189,8 +224,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < expandedDataSets_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, expandedDataSets_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, expandedDataSets_.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.ListExpandedDataSetsResponse)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.ListExpandedDataSetsResponse other = (com.google.analytics.admin.v1alpha.ListExpandedDataSetsResponse) obj; + com.google.analytics.admin.v1alpha.ListExpandedDataSetsResponse other = + (com.google.analytics.admin.v1alpha.ListExpandedDataSetsResponse) obj; - if (!getExpandedDataSetsList() - .equals(other.getExpandedDataSetsList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; + if (!getExpandedDataSetsList().equals(other.getExpandedDataSetsList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -237,131 +270,136 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.ListExpandedDataSetsResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.ListExpandedDataSetsResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.ListExpandedDataSetsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.ListExpandedDataSetsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.ListExpandedDataSetsResponse parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.analytics.admin.v1alpha.ListExpandedDataSetsResponse parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.ListExpandedDataSetsResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.ListExpandedDataSetsResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.ListExpandedDataSetsResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.ListExpandedDataSetsResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.ListExpandedDataSetsResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.ListExpandedDataSetsResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.analytics.admin.v1alpha.ListExpandedDataSetsResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.ListExpandedDataSetsResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.ListExpandedDataSetsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1alpha.ListExpandedDataSetsResponse prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1alpha.ListExpandedDataSetsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 ListExpandedDataSets RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.ListExpandedDataSetsResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.ListExpandedDataSetsResponse) com.google.analytics.admin.v1alpha.ListExpandedDataSetsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListExpandedDataSetsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ListExpandedDataSetsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListExpandedDataSetsResponse_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ListExpandedDataSetsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.ListExpandedDataSetsResponse.class, com.google.analytics.admin.v1alpha.ListExpandedDataSetsResponse.Builder.class); + com.google.analytics.admin.v1alpha.ListExpandedDataSetsResponse.class, + com.google.analytics.admin.v1alpha.ListExpandedDataSetsResponse.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.ListExpandedDataSetsResponse.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,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_ListExpandedDataSetsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ListExpandedDataSetsResponse_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.ListExpandedDataSetsResponse getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.ListExpandedDataSetsResponse + getDefaultInstanceForType() { return com.google.analytics.admin.v1alpha.ListExpandedDataSetsResponse.getDefaultInstance(); } @@ -399,14 +438,18 @@ public com.google.analytics.admin.v1alpha.ListExpandedDataSetsResponse build() { @java.lang.Override public com.google.analytics.admin.v1alpha.ListExpandedDataSetsResponse buildPartial() { - com.google.analytics.admin.v1alpha.ListExpandedDataSetsResponse result = new com.google.analytics.admin.v1alpha.ListExpandedDataSetsResponse(this); + com.google.analytics.admin.v1alpha.ListExpandedDataSetsResponse result = + new com.google.analytics.admin.v1alpha.ListExpandedDataSetsResponse(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartialRepeatedFields(com.google.analytics.admin.v1alpha.ListExpandedDataSetsResponse result) { + private void buildPartialRepeatedFields( + com.google.analytics.admin.v1alpha.ListExpandedDataSetsResponse result) { if (expandedDataSetsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { expandedDataSets_ = java.util.Collections.unmodifiableList(expandedDataSets_); @@ -418,7 +461,8 @@ private void buildPartialRepeatedFields(com.google.analytics.admin.v1alpha.ListE } } - private void buildPartial0(com.google.analytics.admin.v1alpha.ListExpandedDataSetsResponse result) { + private void buildPartial0( + com.google.analytics.admin.v1alpha.ListExpandedDataSetsResponse result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000002) != 0)) { result.nextPageToken_ = nextPageToken_; @@ -429,46 +473,50 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.ListExpandedDataSe public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.analytics.admin.v1alpha.ListExpandedDataSetsResponse) { - return mergeFrom((com.google.analytics.admin.v1alpha.ListExpandedDataSetsResponse)other); + return mergeFrom((com.google.analytics.admin.v1alpha.ListExpandedDataSetsResponse) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.analytics.admin.v1alpha.ListExpandedDataSetsResponse other) { - if (other == com.google.analytics.admin.v1alpha.ListExpandedDataSetsResponse.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.analytics.admin.v1alpha.ListExpandedDataSetsResponse other) { + if (other + == com.google.analytics.admin.v1alpha.ListExpandedDataSetsResponse.getDefaultInstance()) + return this; if (expandedDataSetsBuilder_ == null) { if (!other.expandedDataSets_.isEmpty()) { if (expandedDataSets_.isEmpty()) { @@ -487,9 +535,10 @@ public Builder mergeFrom(com.google.analytics.admin.v1alpha.ListExpandedDataSets expandedDataSetsBuilder_ = null; expandedDataSets_ = other.expandedDataSets_; bitField0_ = (bitField0_ & ~0x00000001); - expandedDataSetsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getExpandedDataSetsFieldBuilder() : null; + expandedDataSetsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getExpandedDataSetsFieldBuilder() + : null; } else { expandedDataSetsBuilder_.addAllMessages(other.expandedDataSets_); } @@ -526,30 +575,33 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - com.google.analytics.admin.v1alpha.ExpandedDataSet m = - input.readMessage( - com.google.analytics.admin.v1alpha.ExpandedDataSet.parser(), - extensionRegistry); - if (expandedDataSetsBuilder_ == null) { - ensureExpandedDataSetsIsMutable(); - expandedDataSets_.add(m); - } else { - expandedDataSetsBuilder_.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.ExpandedDataSet m = + input.readMessage( + com.google.analytics.admin.v1alpha.ExpandedDataSet.parser(), + extensionRegistry); + if (expandedDataSetsBuilder_ == null) { + ensureExpandedDataSetsIsMutable(); + expandedDataSets_.add(m); + } else { + expandedDataSetsBuilder_.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) { @@ -559,21 +611,30 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.util.List expandedDataSets_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureExpandedDataSetsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - expandedDataSets_ = new java.util.ArrayList(expandedDataSets_); + expandedDataSets_ = + new java.util.ArrayList( + expandedDataSets_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.ExpandedDataSet, com.google.analytics.admin.v1alpha.ExpandedDataSet.Builder, com.google.analytics.admin.v1alpha.ExpandedDataSetOrBuilder> expandedDataSetsBuilder_; + com.google.analytics.admin.v1alpha.ExpandedDataSet, + com.google.analytics.admin.v1alpha.ExpandedDataSet.Builder, + com.google.analytics.admin.v1alpha.ExpandedDataSetOrBuilder> + expandedDataSetsBuilder_; /** + * + * *
      * List of ExpandedDataSet. These will be ordered stably, but in an arbitrary
      * order.
@@ -581,7 +642,8 @@ private void ensureExpandedDataSetsIsMutable() {
      *
      * repeated .google.analytics.admin.v1alpha.ExpandedDataSet expanded_data_sets = 1;
      */
-    public java.util.List getExpandedDataSetsList() {
+    public java.util.List
+        getExpandedDataSetsList() {
       if (expandedDataSetsBuilder_ == null) {
         return java.util.Collections.unmodifiableList(expandedDataSets_);
       } else {
@@ -589,6 +651,8 @@ public java.util.List getExp
       }
     }
     /**
+     *
+     *
      * 
      * List of ExpandedDataSet. These will be ordered stably, but in an arbitrary
      * order.
@@ -604,6 +668,8 @@ public int getExpandedDataSetsCount() {
       }
     }
     /**
+     *
+     *
      * 
      * List of ExpandedDataSet. These will be ordered stably, but in an arbitrary
      * order.
@@ -619,6 +685,8 @@ public com.google.analytics.admin.v1alpha.ExpandedDataSet getExpandedDataSets(in
       }
     }
     /**
+     *
+     *
      * 
      * List of ExpandedDataSet. These will be ordered stably, but in an arbitrary
      * order.
@@ -641,6 +709,8 @@ public Builder setExpandedDataSets(
       return this;
     }
     /**
+     *
+     *
      * 
      * List of ExpandedDataSet. These will be ordered stably, but in an arbitrary
      * order.
@@ -660,6 +730,8 @@ public Builder setExpandedDataSets(
       return this;
     }
     /**
+     *
+     *
      * 
      * List of ExpandedDataSet. These will be ordered stably, but in an arbitrary
      * order.
@@ -681,6 +753,8 @@ public Builder addExpandedDataSets(com.google.analytics.admin.v1alpha.ExpandedDa
       return this;
     }
     /**
+     *
+     *
      * 
      * List of ExpandedDataSet. These will be ordered stably, but in an arbitrary
      * order.
@@ -703,6 +777,8 @@ public Builder addExpandedDataSets(
       return this;
     }
     /**
+     *
+     *
      * 
      * List of ExpandedDataSet. These will be ordered stably, but in an arbitrary
      * order.
@@ -722,6 +798,8 @@ public Builder addExpandedDataSets(
       return this;
     }
     /**
+     *
+     *
      * 
      * List of ExpandedDataSet. These will be ordered stably, but in an arbitrary
      * order.
@@ -741,6 +819,8 @@ public Builder addExpandedDataSets(
       return this;
     }
     /**
+     *
+     *
      * 
      * List of ExpandedDataSet. These will be ordered stably, but in an arbitrary
      * order.
@@ -752,8 +832,7 @@ public Builder addAllExpandedDataSets(
         java.lang.Iterable values) {
       if (expandedDataSetsBuilder_ == null) {
         ensureExpandedDataSetsIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(
-            values, expandedDataSets_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, expandedDataSets_);
         onChanged();
       } else {
         expandedDataSetsBuilder_.addAllMessages(values);
@@ -761,6 +840,8 @@ public Builder addAllExpandedDataSets(
       return this;
     }
     /**
+     *
+     *
      * 
      * List of ExpandedDataSet. These will be ordered stably, but in an arbitrary
      * order.
@@ -779,6 +860,8 @@ public Builder clearExpandedDataSets() {
       return this;
     }
     /**
+     *
+     *
      * 
      * List of ExpandedDataSet. These will be ordered stably, but in an arbitrary
      * order.
@@ -797,6 +880,8 @@ public Builder removeExpandedDataSets(int index) {
       return this;
     }
     /**
+     *
+     *
      * 
      * List of ExpandedDataSet. These will be ordered stably, but in an arbitrary
      * order.
@@ -809,6 +894,8 @@ public com.google.analytics.admin.v1alpha.ExpandedDataSet.Builder getExpandedDat
       return getExpandedDataSetsFieldBuilder().getBuilder(index);
     }
     /**
+     *
+     *
      * 
      * List of ExpandedDataSet. These will be ordered stably, but in an arbitrary
      * order.
@@ -819,11 +906,14 @@ public com.google.analytics.admin.v1alpha.ExpandedDataSet.Builder getExpandedDat
     public com.google.analytics.admin.v1alpha.ExpandedDataSetOrBuilder getExpandedDataSetsOrBuilder(
         int index) {
       if (expandedDataSetsBuilder_ == null) {
-        return expandedDataSets_.get(index);  } else {
+        return expandedDataSets_.get(index);
+      } else {
         return expandedDataSetsBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
+     *
+     *
      * 
      * List of ExpandedDataSet. These will be ordered stably, but in an arbitrary
      * order.
@@ -831,8 +921,8 @@ public com.google.analytics.admin.v1alpha.ExpandedDataSetOrBuilder getExpandedDa
      *
      * repeated .google.analytics.admin.v1alpha.ExpandedDataSet expanded_data_sets = 1;
      */
-    public java.util.List 
-         getExpandedDataSetsOrBuilderList() {
+    public java.util.List
+        getExpandedDataSetsOrBuilderList() {
       if (expandedDataSetsBuilder_ != null) {
         return expandedDataSetsBuilder_.getMessageOrBuilderList();
       } else {
@@ -840,6 +930,8 @@ public com.google.analytics.admin.v1alpha.ExpandedDataSetOrBuilder getExpandedDa
       }
     }
     /**
+     *
+     *
      * 
      * List of ExpandedDataSet. These will be ordered stably, but in an arbitrary
      * order.
@@ -848,10 +940,12 @@ public com.google.analytics.admin.v1alpha.ExpandedDataSetOrBuilder getExpandedDa
      * repeated .google.analytics.admin.v1alpha.ExpandedDataSet expanded_data_sets = 1;
      */
     public com.google.analytics.admin.v1alpha.ExpandedDataSet.Builder addExpandedDataSetsBuilder() {
-      return getExpandedDataSetsFieldBuilder().addBuilder(
-          com.google.analytics.admin.v1alpha.ExpandedDataSet.getDefaultInstance());
+      return getExpandedDataSetsFieldBuilder()
+          .addBuilder(com.google.analytics.admin.v1alpha.ExpandedDataSet.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * List of ExpandedDataSet. These will be ordered stably, but in an arbitrary
      * order.
@@ -861,10 +955,13 @@ public com.google.analytics.admin.v1alpha.ExpandedDataSet.Builder addExpandedDat
      */
     public com.google.analytics.admin.v1alpha.ExpandedDataSet.Builder addExpandedDataSetsBuilder(
         int index) {
-      return getExpandedDataSetsFieldBuilder().addBuilder(
-          index, com.google.analytics.admin.v1alpha.ExpandedDataSet.getDefaultInstance());
+      return getExpandedDataSetsFieldBuilder()
+          .addBuilder(
+              index, com.google.analytics.admin.v1alpha.ExpandedDataSet.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * List of ExpandedDataSet. These will be ordered stably, but in an arbitrary
      * order.
@@ -872,16 +969,22 @@ public com.google.analytics.admin.v1alpha.ExpandedDataSet.Builder addExpandedDat
      *
      * repeated .google.analytics.admin.v1alpha.ExpandedDataSet expanded_data_sets = 1;
      */
-    public java.util.List 
-         getExpandedDataSetsBuilderList() {
+    public java.util.List
+        getExpandedDataSetsBuilderList() {
       return getExpandedDataSetsFieldBuilder().getBuilderList();
     }
+
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        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>
         getExpandedDataSetsFieldBuilder() {
       if (expandedDataSetsBuilder_ == null) {
-        expandedDataSetsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.analytics.admin.v1alpha.ExpandedDataSet, com.google.analytics.admin.v1alpha.ExpandedDataSet.Builder, com.google.analytics.admin.v1alpha.ExpandedDataSetOrBuilder>(
+        expandedDataSetsBuilder_ =
+            new com.google.protobuf.RepeatedFieldBuilderV3<
+                com.google.analytics.admin.v1alpha.ExpandedDataSet,
+                com.google.analytics.admin.v1alpha.ExpandedDataSet.Builder,
+                com.google.analytics.admin.v1alpha.ExpandedDataSetOrBuilder>(
                 expandedDataSets_,
                 ((bitField0_ & 0x00000001) != 0),
                 getParentForChildren(),
@@ -893,19 +996,21 @@ public com.google.analytics.admin.v1alpha.ExpandedDataSet.Builder addExpandedDat
 
     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; @@ -914,21 +1019,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 { @@ -936,30 +1042,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() { @@ -969,27 +1082,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); } @@ -999,41 +1116,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.ListExpandedDataSetsResponse) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.ListExpandedDataSetsResponse) - private static final com.google.analytics.admin.v1alpha.ListExpandedDataSetsResponse DEFAULT_INSTANCE; + private static final com.google.analytics.admin.v1alpha.ListExpandedDataSetsResponse + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.ListExpandedDataSetsResponse(); } - public static com.google.analytics.admin.v1alpha.ListExpandedDataSetsResponse getDefaultInstance() { + public static com.google.analytics.admin.v1alpha.ListExpandedDataSetsResponse + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListExpandedDataSetsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListExpandedDataSetsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1045,9 +1164,8 @@ public com.google.protobuf.Parser getParserForType } @java.lang.Override - public com.google.analytics.admin.v1alpha.ListExpandedDataSetsResponse getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.ListExpandedDataSetsResponse + 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/ListExpandedDataSetsResponseOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListExpandedDataSetsResponseOrBuilder.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/ListExpandedDataSetsResponseOrBuilder.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListExpandedDataSetsResponseOrBuilder.java index d9462e980037..9bac146a0e03 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListExpandedDataSetsResponseOrBuilder.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListExpandedDataSetsResponseOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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 ListExpandedDataSetsResponseOrBuilder extends +public interface ListExpandedDataSetsResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.ListExpandedDataSetsResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * List of ExpandedDataSet. These will be ordered stably, but in an arbitrary
    * order.
@@ -15,9 +33,10 @@ public interface ListExpandedDataSetsResponseOrBuilder extends
    *
    * repeated .google.analytics.admin.v1alpha.ExpandedDataSet expanded_data_sets = 1;
    */
-  java.util.List 
-      getExpandedDataSetsList();
+  java.util.List getExpandedDataSetsList();
   /**
+   *
+   *
    * 
    * List of ExpandedDataSet. These will be ordered stably, but in an arbitrary
    * order.
@@ -27,6 +46,8 @@ public interface ListExpandedDataSetsResponseOrBuilder extends
    */
   com.google.analytics.admin.v1alpha.ExpandedDataSet getExpandedDataSets(int index);
   /**
+   *
+   *
    * 
    * List of ExpandedDataSet. These will be ordered stably, but in an arbitrary
    * order.
@@ -36,6 +57,8 @@ public interface ListExpandedDataSetsResponseOrBuilder extends
    */
   int getExpandedDataSetsCount();
   /**
+   *
+   *
    * 
    * List of ExpandedDataSet. These will be ordered stably, but in an arbitrary
    * order.
@@ -43,9 +66,11 @@ public interface ListExpandedDataSetsResponseOrBuilder extends
    *
    * repeated .google.analytics.admin.v1alpha.ExpandedDataSet expanded_data_sets = 1;
    */
-  java.util.List 
+  java.util.List
       getExpandedDataSetsOrBuilderList();
   /**
+   *
+   *
    * 
    * List of ExpandedDataSet. These will be ordered stably, but in an arbitrary
    * order.
@@ -57,24 +82,29 @@ com.google.analytics.admin.v1alpha.ExpandedDataSetOrBuilder getExpandedDataSetsO
       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 69% 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 e4cd054576f7..b4ceab150909 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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,34 +44,41 @@ private ListFirebaseLinksRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListFirebaseLinksRequest(); } - 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 @@ -62,30 +87,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 { @@ -96,6 +123,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.
@@ -104,6 +133,7 @@ public java.lang.String getParent() {
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -112,9 +142,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.
@@ -123,6 +156,7 @@ public int getPageSize() {
    * 
* * string page_token = 3; + * * @return The pageToken. */ @java.lang.Override @@ -131,14 +165,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.
@@ -147,16 +182,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 { @@ -165,6 +199,7 @@ public java.lang.String getPageToken() { } 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 { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -200,8 +234,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_); @@ -214,19 +247,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; } @@ -250,131 +281,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(); @@ -386,9 +422,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 @@ -407,8 +443,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; } @@ -430,38 +469,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; @@ -469,7 +509,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; @@ -509,27 +550,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,23 +584,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; @@ -564,21 +614,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 { @@ -586,30 +639,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() { @@ -619,18 +683,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; @@ -638,8 +708,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.
@@ -648,6 +720,7 @@ public Builder setParentBytes(
      * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -655,6 +728,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.
@@ -663,6 +738,7 @@ public int getPageSize() {
      * 
* * int32 page_size = 2; + * * @param value The pageSize to set. * @return This builder for chaining. */ @@ -674,6 +750,8 @@ public Builder setPageSize(int value) { return this; } /** + * + * *
      * The maximum number of resources to return. The service may return
      * fewer than this value, even if there are additional pages.
@@ -682,6 +760,7 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2; + * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -693,6 +772,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.
@@ -701,13 +782,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; @@ -716,6 +797,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * A page token, received from a previous `ListFirebaseLinks` call.
      * Provide this to retrieve the subsequent page.
@@ -724,15 +807,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 +822,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * A page token, received from a previous `ListFirebaseLinks` call.
      * Provide this to retrieve the subsequent page.
@@ -748,18 +832,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.
@@ -768,6 +856,7 @@ public Builder setPageToken(
      * 
* * string page_token = 3; + * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -777,6 +866,8 @@ public Builder clearPageToken() { return this; } /** + * + * *
      * A page token, received from a previous `ListFirebaseLinks` call.
      * Provide this to retrieve the subsequent page.
@@ -785,21 +876,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); } @@ -809,12 +902,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(); } @@ -823,27 +916,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; @@ -858,6 +951,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..508a356163d2 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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 86d918418ea5..83a51f9be139 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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,28 +44,32 @@ private ListFirebaseLinksResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListFirebaseLinksResponse(); } - 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.
    * 
@@ -59,6 +81,8 @@ public java.util.List getFireba return firebaseLinks_; } /** + * + * *
    * List of FirebaseLinks. This will have at most one value.
    * 
@@ -66,11 +90,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.
    * 
@@ -82,6 +108,8 @@ public int getFirebaseLinksCount() { return firebaseLinks_.size(); } /** + * + * *
    * List of FirebaseLinks. This will have at most one value.
    * 
@@ -93,6 +121,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.
    * 
@@ -106,9 +136,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.
@@ -117,6 +150,7 @@ public com.google.analytics.admin.v1alpha.FirebaseLinkOrBuilder getFirebaseLinks
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -125,14 +159,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.
@@ -141,16 +176,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 { @@ -159,6 +193,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -170,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 < firebaseLinks_.size(); i++) { output.writeMessage(1, firebaseLinks_.get(i)); } @@ -188,8 +222,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_); @@ -202,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.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; } @@ -236,131 +268,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(); @@ -377,13 +414,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(); } @@ -398,14 +436,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_); @@ -417,7 +459,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_; @@ -428,38 +471,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; @@ -467,7 +511,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()) { @@ -486,9 +532,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_); } @@ -525,30 +572,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) { @@ -558,21 +608,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.
      * 
@@ -587,6 +646,8 @@ public java.util.List getFireba } } /** + * + * *
      * List of FirebaseLinks. This will have at most one value.
      * 
@@ -601,6 +662,8 @@ public int getFirebaseLinksCount() { } } /** + * + * *
      * List of FirebaseLinks. This will have at most one value.
      * 
@@ -615,6 +678,8 @@ public com.google.analytics.admin.v1alpha.FirebaseLink getFirebaseLinks(int inde } } /** + * + * *
      * List of FirebaseLinks. This will have at most one value.
      * 
@@ -636,6 +701,8 @@ public Builder setFirebaseLinks( return this; } /** + * + * *
      * List of FirebaseLinks. This will have at most one value.
      * 
@@ -654,6 +721,8 @@ public Builder setFirebaseLinks( return this; } /** + * + * *
      * List of FirebaseLinks. This will have at most one value.
      * 
@@ -674,6 +743,8 @@ public Builder addFirebaseLinks(com.google.analytics.admin.v1alpha.FirebaseLink return this; } /** + * + * *
      * List of FirebaseLinks. This will have at most one value.
      * 
@@ -695,6 +766,8 @@ public Builder addFirebaseLinks( return this; } /** + * + * *
      * List of FirebaseLinks. This will have at most one value.
      * 
@@ -713,6 +786,8 @@ public Builder addFirebaseLinks( return this; } /** + * + * *
      * List of FirebaseLinks. This will have at most one value.
      * 
@@ -731,6 +806,8 @@ public Builder addFirebaseLinks( return this; } /** + * + * *
      * List of FirebaseLinks. This will have at most one value.
      * 
@@ -741,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); @@ -750,6 +826,8 @@ public Builder addAllFirebaseLinks( return this; } /** + * + * *
      * List of FirebaseLinks. This will have at most one value.
      * 
@@ -767,6 +845,8 @@ public Builder clearFirebaseLinks() { return this; } /** + * + * *
      * List of FirebaseLinks. This will have at most one value.
      * 
@@ -784,6 +864,8 @@ public Builder removeFirebaseLinks(int index) { return this; } /** + * + * *
      * List of FirebaseLinks. This will have at most one value.
      * 
@@ -795,6 +877,8 @@ public com.google.analytics.admin.v1alpha.FirebaseLink.Builder getFirebaseLinksB return getFirebaseLinksFieldBuilder().getBuilder(index); } /** + * + * *
      * List of FirebaseLinks. This will have at most one value.
      * 
@@ -804,19 +888,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 { @@ -824,6 +911,8 @@ public com.google.analytics.admin.v1alpha.FirebaseLinkOrBuilder getFirebaseLinks } } /** + * + * *
      * List of FirebaseLinks. This will have at most one value.
      * 
@@ -831,10 +920,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.
      * 
@@ -843,26 +934,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(), @@ -874,6 +973,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.
@@ -882,13 +983,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; @@ -897,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.
@@ -905,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 { @@ -921,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.
@@ -929,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.
@@ -949,6 +1057,7 @@ public Builder setNextPageToken(
      * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { @@ -958,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.
@@ -966,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); } @@ -990,12 +1103,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(); } @@ -1004,27 +1118,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; @@ -1039,6 +1153,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..25f8bc4825ab 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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 2f6bdcfc447f..cb5616cb18af 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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,33 +44,40 @@ private ListGoogleAdsLinksRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListGoogleAdsLinksRequest(); } - 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 @@ -61,29 +86,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 { @@ -94,6 +121,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.
@@ -101,6 +130,7 @@ public java.lang.String getParent() {
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -109,9 +139,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.
@@ -121,6 +154,7 @@ public int getPageSize() {
    * 
* * string page_token = 3; + * * @return The pageToken. */ @java.lang.Override @@ -129,14 +163,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.
@@ -146,16 +181,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 { @@ -164,6 +198,7 @@ public java.lang.String getPageToken() { } 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 { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -199,8 +233,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_); @@ -213,19 +246,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; } @@ -249,131 +280,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(); @@ -385,13 +421,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(); } @@ -406,13 +443,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_; @@ -429,38 +470,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; @@ -468,7 +510,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; @@ -508,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) { @@ -538,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; @@ -562,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 { @@ -583,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() { @@ -614,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; @@ -632,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.
@@ -641,6 +716,7 @@ public Builder setParentBytes(
      * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -648,6 +724,8 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * The maximum number of resources to return.
      * If unspecified, at most 50 resources will be returned.
@@ -655,6 +733,7 @@ public int getPageSize() {
      * 
* * int32 page_size = 2; + * * @param value The pageSize to set. * @return This builder for chaining. */ @@ -666,6 +745,8 @@ public Builder setPageSize(int value) { return this; } /** + * + * *
      * The maximum number of resources to return.
      * If unspecified, at most 50 resources will be returned.
@@ -673,6 +754,7 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2; + * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -684,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 +777,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 +792,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * A page token, received from a previous `ListGoogleAdsLinks` call.
      * Provide this to retrieve the subsequent page.
@@ -717,15 +803,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 { @@ -733,6 +818,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * A page token, received from a previous `ListGoogleAdsLinks` call.
      * Provide this to retrieve the subsequent page.
@@ -742,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.
@@ -763,6 +854,7 @@ public Builder setPageToken(
      * 
* * string page_token = 3; + * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -772,6 +864,8 @@ public Builder clearPageToken() { return this; } /** + * + * *
      * A page token, received from a previous `ListGoogleAdsLinks` call.
      * Provide this to retrieve the subsequent page.
@@ -781,21 +875,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 +901,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(); } @@ -819,27 +916,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; @@ -854,6 +951,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 af30ca1a44cc..6d1d8ba25010 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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.
@@ -49,10 +79,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.
@@ -62,8 +95,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 e4be1c835471..b720ed70242f 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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,28 +44,32 @@ private ListGoogleAdsLinksResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListGoogleAdsLinksResponse(); } - 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.
    * 
@@ -59,6 +81,8 @@ public java.util.List getGoogl return googleAdsLinks_; } /** + * + * *
    * List of GoogleAdsLinks.
    * 
@@ -66,11 +90,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.
    * 
@@ -82,6 +108,8 @@ public int getGoogleAdsLinksCount() { return googleAdsLinks_.size(); } /** + * + * *
    * List of GoogleAdsLinks.
    * 
@@ -93,6 +121,8 @@ public com.google.analytics.admin.v1alpha.GoogleAdsLink getGoogleAdsLinks(int in return googleAdsLinks_.get(index); } /** + * + * *
    * List of GoogleAdsLinks.
    * 
@@ -106,15 +136,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 @@ -123,30 +157,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 { @@ -155,6 +189,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -166,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 { for (int i = 0; i < googleAdsLinks_.size(); i++) { output.writeMessage(1, googleAdsLinks_.get(i)); } @@ -184,8 +218,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_); @@ -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.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; } @@ -232,131 +264,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(); @@ -373,13 +410,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(); } @@ -394,14 +432,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_); @@ -413,7 +455,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_; @@ -424,38 +467,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; @@ -463,7 +507,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()) { @@ -482,9 +528,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_); } @@ -521,30 +568,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) { @@ -554,28 +604,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 { @@ -583,6 +643,8 @@ public java.util.List getGoogl } } /** + * + * *
      * List of GoogleAdsLinks.
      * 
@@ -597,6 +659,8 @@ public int getGoogleAdsLinksCount() { } } /** + * + * *
      * List of GoogleAdsLinks.
      * 
@@ -611,6 +675,8 @@ public com.google.analytics.admin.v1alpha.GoogleAdsLink getGoogleAdsLinks(int in } } /** + * + * *
      * List of GoogleAdsLinks.
      * 
@@ -632,6 +698,8 @@ public Builder setGoogleAdsLinks( return this; } /** + * + * *
      * List of GoogleAdsLinks.
      * 
@@ -650,6 +718,8 @@ public Builder setGoogleAdsLinks( return this; } /** + * + * *
      * List of GoogleAdsLinks.
      * 
@@ -670,6 +740,8 @@ public Builder addGoogleAdsLinks(com.google.analytics.admin.v1alpha.GoogleAdsLin return this; } /** + * + * *
      * List of GoogleAdsLinks.
      * 
@@ -691,6 +763,8 @@ public Builder addGoogleAdsLinks( return this; } /** + * + * *
      * List of GoogleAdsLinks.
      * 
@@ -709,6 +783,8 @@ public Builder addGoogleAdsLinks( return this; } /** + * + * *
      * List of GoogleAdsLinks.
      * 
@@ -727,6 +803,8 @@ public Builder addGoogleAdsLinks( return this; } /** + * + * *
      * List of GoogleAdsLinks.
      * 
@@ -737,8 +815,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); @@ -746,6 +823,8 @@ public Builder addAllGoogleAdsLinks( return this; } /** + * + * *
      * List of GoogleAdsLinks.
      * 
@@ -763,6 +842,8 @@ public Builder clearGoogleAdsLinks() { return this; } /** + * + * *
      * List of GoogleAdsLinks.
      * 
@@ -780,6 +861,8 @@ public Builder removeGoogleAdsLinks(int index) { return this; } /** + * + * *
      * List of GoogleAdsLinks.
      * 
@@ -791,6 +874,8 @@ public com.google.analytics.admin.v1alpha.GoogleAdsLink.Builder getGoogleAdsLink return getGoogleAdsLinksFieldBuilder().getBuilder(index); } /** + * + * *
      * List of GoogleAdsLinks.
      * 
@@ -800,19 +885,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 { @@ -820,6 +908,8 @@ public com.google.analytics.admin.v1alpha.GoogleAdsLinkOrBuilder getGoogleAdsLin } } /** + * + * *
      * List of GoogleAdsLinks.
      * 
@@ -827,10 +917,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.
      * 
@@ -839,26 +931,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(), @@ -870,19 +970,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; @@ -891,21 +993,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 { @@ -913,30 +1016,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() { @@ -946,27 +1056,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); } @@ -976,12 +1090,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(); } @@ -990,27 +1105,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; @@ -1025,6 +1140,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..09c1b7db1930 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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 39a9fff0816a..a4a2471f7636 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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,35 +46,42 @@ private ListMeasurementProtocolSecretsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListMeasurementProtocolSecretsRequest(); } - 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 @@ -63,31 +90,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 { @@ -98,6 +127,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.
@@ -105,6 +136,7 @@ public java.lang.String getParent() {
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -113,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 `ListMeasurementProtocolSecrets`
    * call. Provide this to retrieve the subsequent page. When paginating, all
@@ -124,6 +159,7 @@ public int getPageSize() {
    * 
* * string page_token = 3; + * * @return The pageToken. */ @java.lang.Override @@ -132,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 `ListMeasurementProtocolSecrets`
    * call. Provide this to retrieve the subsequent page. When paginating, all
@@ -148,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 { @@ -166,6 +202,7 @@ public java.lang.String getPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -177,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_); } @@ -201,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_); @@ -215,19 +250,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; } @@ -251,131 +285,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(); @@ -387,19 +429,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); } @@ -408,13 +453,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_; @@ -431,46 +480,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; @@ -510,27 +565,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,24 +599,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; @@ -566,22 +630,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 { @@ -589,32 +656,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() { @@ -624,19 +702,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; @@ -644,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 10 resources will be returned.
@@ -653,6 +739,7 @@ public Builder setParentBytes(
      * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -660,6 +747,8 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * The maximum number of resources to return.
      * If unspecified, at most 10 resources will be returned.
@@ -667,6 +756,7 @@ public int getPageSize() {
      * 
* * int32 page_size = 2; + * * @param value The pageSize to set. * @return This builder for chaining. */ @@ -678,6 +768,8 @@ public Builder setPageSize(int value) { return this; } /** + * + * *
      * The maximum number of resources to return.
      * If unspecified, at most 10 resources will be returned.
@@ -685,6 +777,7 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2; + * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -696,6 +789,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
@@ -704,13 +799,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 +814,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
@@ -727,15 +824,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 +839,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
@@ -751,18 +849,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
@@ -771,6 +873,7 @@ public Builder setPageToken(
      * 
* * string page_token = 3; + * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -780,6 +883,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
@@ -788,21 +893,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,41 +919,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; @@ -858,9 +968,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..035293fbbab5 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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 d637d16513ac..b544745fee3d 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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,95 +46,126 @@ private ListMeasurementProtocolSecretsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListMeasurementProtocolSecretsResponse(); } - 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 @@ -123,30 +174,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 { @@ -155,6 +206,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -166,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 { for (int i = 0; i < measurementProtocolSecrets_.size(); i++) { output.writeMessage(1, measurementProtocolSecrets_.get(i)); } @@ -184,8 +235,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_); @@ -198,17 +250,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; } @@ -232,131 +285,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(); @@ -373,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_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); } @@ -393,18 +457,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_; @@ -413,7 +483,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_; @@ -424,46 +495,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()) { @@ -482,9 +559,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_); } @@ -521,30 +599,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) { @@ -554,28 +635,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 { @@ -583,11 +676,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) { @@ -597,13 +694,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 { @@ -611,11 +713,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) { @@ -632,14 +738,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()); @@ -650,13 +761,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(); @@ -670,11 +786,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) { @@ -691,11 +811,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) { @@ -709,14 +833,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()); @@ -727,18 +856,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); @@ -746,11 +879,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) { @@ -763,11 +900,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) { @@ -780,39 +921,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 { @@ -820,45 +975,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(), @@ -870,19 +1047,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; @@ -891,21 +1070,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 { @@ -913,30 +1093,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() { @@ -946,27 +1133,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); } @@ -976,41 +1167,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; @@ -1022,9 +1216,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..5a11239f9b48 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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 77% 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 9221c6a2d213..31b2c4a0231b 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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,28 +44,32 @@ private ListPropertiesRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListPropertiesRequest(); } - 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:
@@ -68,6 +90,7 @@ protected java.lang.Object newInstance(
    * 
* * string filter = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The filter. */ @java.lang.Override @@ -76,14 +99,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:
@@ -104,16 +128,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 { @@ -124,6 +147,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.
@@ -132,6 +157,7 @@ public java.lang.String getFilter() {
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -140,9 +166,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.
@@ -151,6 +180,7 @@ public int getPageSize() {
    * 
* * string page_token = 3; + * * @return The pageToken. */ @java.lang.Override @@ -159,14 +189,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.
@@ -175,16 +206,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 { @@ -195,6 +225,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
@@ -202,6 +234,7 @@ public java.lang.String getPageToken() {
    * 
* * bool show_deleted = 4; + * * @return The showDeleted. */ @java.lang.Override @@ -210,6 +243,7 @@ public boolean getShowDeleted() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -221,8 +255,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -248,15 +281,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; @@ -266,21 +297,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; } @@ -299,139 +327,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(); @@ -444,9 +476,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 @@ -465,8 +497,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; } @@ -491,38 +526,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; @@ -530,7 +566,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; @@ -573,32 +610,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) { @@ -608,10 +650,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 +677,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 +692,8 @@ public java.lang.String getFilter() { } } /** + * + * *
      * Required. An expression for filtering the results of the request.
      * Fields eligible for filtering are:
@@ -667,15 +714,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 { @@ -683,6 +729,8 @@ public java.lang.String getFilter() { } } /** + * + * *
      * Required. An expression for filtering the results of the request.
      * Fields eligible for filtering are:
@@ -703,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:
@@ -735,6 +787,7 @@ public Builder setFilter(
      * 
* * string filter = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearFilter() { @@ -744,6 +797,8 @@ public Builder clearFilter() { return this; } /** + * + * *
      * Required. An expression for filtering the results of the request.
      * Fields eligible for filtering are:
@@ -764,12 +819,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; @@ -777,8 +834,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.
@@ -787,6 +846,7 @@ public Builder setFilterBytes(
      * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -794,6 +854,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.
@@ -802,6 +864,7 @@ public int getPageSize() {
      * 
* * int32 page_size = 2; + * * @param value The pageSize to set. * @return This builder for chaining. */ @@ -813,6 +876,8 @@ public Builder setPageSize(int value) { return this; } /** + * + * *
      * The maximum number of resources to return. The service may return
      * fewer than this value, even if there are additional pages.
@@ -821,6 +886,7 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2; + * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -832,6 +898,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.
@@ -840,13 +908,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; @@ -855,6 +923,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * A page token, received from a previous `ListProperties` call.
      * Provide this to retrieve the subsequent page.
@@ -863,15 +933,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 { @@ -879,6 +948,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * A page token, received from a previous `ListProperties` call.
      * Provide this to retrieve the subsequent page.
@@ -887,18 +958,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.
@@ -907,6 +982,7 @@ public Builder setPageToken(
      * 
* * string page_token = 3; + * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -916,6 +992,8 @@ public Builder clearPageToken() { return this; } /** + * + * *
      * A page token, received from a previous `ListProperties` call.
      * Provide this to retrieve the subsequent page.
@@ -924,12 +1002,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; @@ -937,8 +1017,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
@@ -946,6 +1028,7 @@ public Builder setPageTokenBytes(
      * 
* * bool show_deleted = 4; + * * @return The showDeleted. */ @java.lang.Override @@ -953,6 +1036,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
@@ -960,6 +1045,7 @@ public boolean getShowDeleted() {
      * 
* * bool show_deleted = 4; + * * @param value The showDeleted to set. * @return This builder for chaining. */ @@ -971,6 +1057,8 @@ public Builder setShowDeleted(boolean value) { return this; } /** + * + * *
      * Whether to include soft-deleted (ie: "trashed") Properties in the
      * results. Properties can be inspected to determine whether they are deleted
@@ -978,6 +1066,7 @@ public Builder setShowDeleted(boolean value) {
      * 
* * bool show_deleted = 4; + * * @return This builder for chaining. */ public Builder clearShowDeleted() { @@ -986,9 +1075,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); } @@ -998,12 +1087,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(); } @@ -1012,27 +1101,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; @@ -1047,6 +1136,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 23a42623b82a..57b1e9af6b0d 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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:
@@ -28,10 +46,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:
@@ -52,12 +73,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.
@@ -66,11 +89,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.
@@ -79,10 +105,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.
@@ -91,12 +120,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
@@ -104,6 +135,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 b7f53444933c..a4e125697e71 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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,28 +44,32 @@ private ListPropertiesResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListPropertiesResponse(); } - 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.
    * 
@@ -59,6 +81,8 @@ public java.util.List getProperties return properties_; } /** + * + * *
    * Results that matched the filter criteria and were accessible to the caller.
    * 
@@ -66,11 +90,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.
    * 
@@ -82,6 +108,8 @@ public int getPropertiesCount() { return properties_.size(); } /** + * + * *
    * Results that matched the filter criteria and were accessible to the caller.
    * 
@@ -93,6 +121,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.
    * 
@@ -100,21 +130,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 @@ -123,30 +156,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 { @@ -155,6 +188,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -166,8 +200,7 @@ public final boolean isInitialized() { } @java.lang.Override - 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)); } @@ -184,8 +217,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_); @@ -198,17 +230,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; } @@ -232,131 +263,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(); @@ -373,9 +409,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 @@ -394,14 +430,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_); @@ -424,38 +464,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; @@ -463,7 +504,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()) { @@ -482,9 +524,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_); } @@ -521,30 +564,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) { @@ -554,21 +599,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.
      * 
@@ -583,6 +636,8 @@ public java.util.List getProperties } } /** + * + * *
      * Results that matched the filter criteria and were accessible to the caller.
      * 
@@ -597,6 +652,8 @@ public int getPropertiesCount() { } } /** + * + * *
      * Results that matched the filter criteria and were accessible to the caller.
      * 
@@ -611,14 +668,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(); @@ -632,6 +690,8 @@ public Builder setProperties( return this; } /** + * + * *
      * Results that matched the filter criteria and were accessible to the caller.
      * 
@@ -650,6 +710,8 @@ public Builder setProperties( return this; } /** + * + * *
      * Results that matched the filter criteria and were accessible to the caller.
      * 
@@ -670,14 +732,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(); @@ -691,6 +754,8 @@ public Builder addProperties( return this; } /** + * + * *
      * Results that matched the filter criteria and were accessible to the caller.
      * 
@@ -709,6 +774,8 @@ public Builder addProperties( return this; } /** + * + * *
      * Results that matched the filter criteria and were accessible to the caller.
      * 
@@ -727,6 +794,8 @@ public Builder addProperties( return this; } /** + * + * *
      * Results that matched the filter criteria and were accessible to the caller.
      * 
@@ -737,8 +806,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); @@ -746,6 +814,8 @@ public Builder addAllProperties( return this; } /** + * + * *
      * Results that matched the filter criteria and were accessible to the caller.
      * 
@@ -763,6 +833,8 @@ public Builder clearProperties() { return this; } /** + * + * *
      * Results that matched the filter criteria and were accessible to the caller.
      * 
@@ -780,39 +852,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 { @@ -820,6 +897,8 @@ public com.google.analytics.admin.v1alpha.PropertyOrBuilder getPropertiesOrBuild } } /** + * + * *
      * Results that matched the filter criteria and were accessible to the caller.
      * 
@@ -827,42 +906,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_; @@ -870,19 +955,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; @@ -891,21 +978,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 { @@ -913,30 +1001,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() { @@ -946,27 +1041,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); } @@ -976,12 +1075,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(); } @@ -990,27 +1089,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; @@ -1025,6 +1124,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..9bf0f8f7f444 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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/ListRollupPropertySourceLinksRequest.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListRollupPropertySourceLinksRequest.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/ListRollupPropertySourceLinksRequest.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListRollupPropertySourceLinksRequest.java index d8b0874af893..e698fe393203 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListRollupPropertySourceLinksRequest.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListRollupPropertySourceLinksRequest.java @@ -1,24 +1,44 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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 ListRollupPropertySourceLinks RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.ListRollupPropertySourceLinksRequest} */ -public final class ListRollupPropertySourceLinksRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListRollupPropertySourceLinksRequest + extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.ListRollupPropertySourceLinksRequest) ListRollupPropertySourceLinksRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListRollupPropertySourceLinksRequest.newBuilder() to construct. - private ListRollupPropertySourceLinksRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private ListRollupPropertySourceLinksRequest( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListRollupPropertySourceLinksRequest() { parent_ = ""; pageToken_ = ""; @@ -26,34 +46,41 @@ private ListRollupPropertySourceLinksRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListRollupPropertySourceLinksRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListRollupPropertySourceLinksRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ListRollupPropertySourceLinksRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListRollupPropertySourceLinksRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ListRollupPropertySourceLinksRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.ListRollupPropertySourceLinksRequest.class, com.google.analytics.admin.v1alpha.ListRollupPropertySourceLinksRequest.Builder.class); + com.google.analytics.admin.v1alpha.ListRollupPropertySourceLinksRequest.class, + com.google.analytics.admin.v1alpha.ListRollupPropertySourceLinksRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** + * + * *
    * Required. The name of the roll-up property to list roll-up property source
    * 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 @@ -62,30 +89,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 name of the roll-up property to list roll-up property source
    * 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 { @@ -96,6 +125,8 @@ public java.lang.String getParent() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_ = 0; /** + * + * *
    * Optional. The maximum number of resources to return. The service may return
    * fewer than this value, even if there are additional pages.
@@ -104,6 +135,7 @@ public java.lang.String getParent() {
    * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ @java.lang.Override @@ -112,9 +144,12 @@ public int getPageSize() { } public static final int PAGE_TOKEN_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; /** + * + * *
    * Optional. A page token, received from a previous
    * `ListRollupPropertySourceLinks` call. Provide this to retrieve the
@@ -124,6 +159,7 @@ public int getPageSize() {
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageToken. */ @java.lang.Override @@ -132,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; } } /** + * + * *
    * Optional. A page token, received from a previous
    * `ListRollupPropertySourceLinks` call. Provide this to retrieve the
@@ -149,16 +186,15 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 3 [(.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 { @@ -167,6 +203,7 @@ public java.lang.String getPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -178,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_); } @@ -202,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_); @@ -216,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.ListRollupPropertySourceLinksRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.ListRollupPropertySourceLinksRequest other = (com.google.analytics.admin.v1alpha.ListRollupPropertySourceLinksRequest) obj; + com.google.analytics.admin.v1alpha.ListRollupPropertySourceLinksRequest other = + (com.google.analytics.admin.v1alpha.ListRollupPropertySourceLinksRequest) 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,131 +285,139 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.ListRollupPropertySourceLinksRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.ListRollupPropertySourceLinksRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.ListRollupPropertySourceLinksRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.ListRollupPropertySourceLinksRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.ListRollupPropertySourceLinksRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.analytics.admin.v1alpha.ListRollupPropertySourceLinksRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.ListRollupPropertySourceLinksRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.ListRollupPropertySourceLinksRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.ListRollupPropertySourceLinksRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.ListRollupPropertySourceLinksRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.ListRollupPropertySourceLinksRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.ListRollupPropertySourceLinksRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.ListRollupPropertySourceLinksRequest parseDelimitedFrom( - java.io.InputStream input, - 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.ListRollupPropertySourceLinksRequest + parseDelimitedFrom( + java.io.InputStream input, 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.ListRollupPropertySourceLinksRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.ListRollupPropertySourceLinksRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1alpha.ListRollupPropertySourceLinksRequest prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1alpha.ListRollupPropertySourceLinksRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder 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 ListRollupPropertySourceLinks RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.ListRollupPropertySourceLinksRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.ListRollupPropertySourceLinksRequest) com.google.analytics.admin.v1alpha.ListRollupPropertySourceLinksRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListRollupPropertySourceLinksRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ListRollupPropertySourceLinksRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListRollupPropertySourceLinksRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ListRollupPropertySourceLinksRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.ListRollupPropertySourceLinksRequest.class, com.google.analytics.admin.v1alpha.ListRollupPropertySourceLinksRequest.Builder.class); + com.google.analytics.admin.v1alpha.ListRollupPropertySourceLinksRequest.class, + com.google.analytics.admin.v1alpha.ListRollupPropertySourceLinksRequest.Builder + .class); } - // Construct using com.google.analytics.admin.v1alpha.ListRollupPropertySourceLinksRequest.newBuilder() - private Builder() { - - } + // Construct using + // com.google.analytics.admin.v1alpha.ListRollupPropertySourceLinksRequest.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 +429,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_ListRollupPropertySourceLinksRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ListRollupPropertySourceLinksRequest_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.ListRollupPropertySourceLinksRequest getDefaultInstanceForType() { - return com.google.analytics.admin.v1alpha.ListRollupPropertySourceLinksRequest.getDefaultInstance(); + public com.google.analytics.admin.v1alpha.ListRollupPropertySourceLinksRequest + getDefaultInstanceForType() { + return com.google.analytics.admin.v1alpha.ListRollupPropertySourceLinksRequest + .getDefaultInstance(); } @java.lang.Override public com.google.analytics.admin.v1alpha.ListRollupPropertySourceLinksRequest build() { - com.google.analytics.admin.v1alpha.ListRollupPropertySourceLinksRequest result = buildPartial(); + com.google.analytics.admin.v1alpha.ListRollupPropertySourceLinksRequest result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -409,13 +453,17 @@ public com.google.analytics.admin.v1alpha.ListRollupPropertySourceLinksRequest b @java.lang.Override public com.google.analytics.admin.v1alpha.ListRollupPropertySourceLinksRequest buildPartial() { - com.google.analytics.admin.v1alpha.ListRollupPropertySourceLinksRequest result = new com.google.analytics.admin.v1alpha.ListRollupPropertySourceLinksRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.analytics.admin.v1alpha.ListRollupPropertySourceLinksRequest result = + new com.google.analytics.admin.v1alpha.ListRollupPropertySourceLinksRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.analytics.admin.v1alpha.ListRollupPropertySourceLinksRequest result) { + private void buildPartial0( + com.google.analytics.admin.v1alpha.ListRollupPropertySourceLinksRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.parent_ = parent_; @@ -432,46 +480,52 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.ListRollupProperty public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.analytics.admin.v1alpha.ListRollupPropertySourceLinksRequest) { - return mergeFrom((com.google.analytics.admin.v1alpha.ListRollupPropertySourceLinksRequest)other); + if (other + instanceof com.google.analytics.admin.v1alpha.ListRollupPropertySourceLinksRequest) { + return mergeFrom( + (com.google.analytics.admin.v1alpha.ListRollupPropertySourceLinksRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.analytics.admin.v1alpha.ListRollupPropertySourceLinksRequest other) { - if (other == com.google.analytics.admin.v1alpha.ListRollupPropertySourceLinksRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.analytics.admin.v1alpha.ListRollupPropertySourceLinksRequest other) { + if (other + == com.google.analytics.admin.v1alpha.ListRollupPropertySourceLinksRequest + .getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -511,27 +565,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 +599,28 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The name of the roll-up property to list roll-up property source
      * 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; @@ -566,21 +629,24 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The name of the roll-up property to list roll-up property source
      * 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 { @@ -588,30 +654,41 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The name of the roll-up property to list roll-up property source
      * 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 roll-up property to list roll-up property source
      * 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() { @@ -621,18 +698,24 @@ public Builder clearParent() { return this; } /** + * + * *
      * Required. The name of the roll-up property to list roll-up property source
      * 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; @@ -640,8 +723,10 @@ public Builder setParentBytes( return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * Optional. The maximum number of resources to return. The service may return
      * fewer than this value, even if there are additional pages.
@@ -650,6 +735,7 @@ public Builder setParentBytes(
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ @java.lang.Override @@ -657,6 +743,8 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * Optional. The maximum number of resources to return. The service may return
      * fewer than this value, even if there are additional pages.
@@ -665,6 +753,7 @@ public int getPageSize() {
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The pageSize to set. * @return This builder for chaining. */ @@ -676,6 +765,8 @@ public Builder setPageSize(int value) { return this; } /** + * + * *
      * Optional. The maximum number of resources to return. The service may return
      * fewer than this value, even if there are additional pages.
@@ -684,6 +775,7 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -695,6 +787,8 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * Optional. A page token, received from a previous
      * `ListRollupPropertySourceLinks` call. Provide this to retrieve the
@@ -704,13 +798,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 3 [(.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; @@ -719,6 +813,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * Optional. A page token, received from a previous
      * `ListRollupPropertySourceLinks` call. Provide this to retrieve the
@@ -728,15 +824,14 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3 [(.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 { @@ -744,6 +839,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * Optional. A page token, received from a previous
      * `ListRollupPropertySourceLinks` call. Provide this to retrieve the
@@ -753,18 +850,22 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3 [(.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_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * Optional. A page token, received from a previous
      * `ListRollupPropertySourceLinks` call. Provide this to retrieve the
@@ -774,6 +875,7 @@ public Builder setPageToken(
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -783,6 +885,8 @@ public Builder clearPageToken() { return this; } /** + * + * *
      * Optional. A page token, received from a previous
      * `ListRollupPropertySourceLinks` call. Provide this to retrieve the
@@ -792,21 +896,23 @@ public Builder clearPageToken() {
      * 
* * string page_token = 3 [(.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_ |= 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); } @@ -816,41 +922,44 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.ListRollupPropertySourceLinksRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.ListRollupPropertySourceLinksRequest) - private static final com.google.analytics.admin.v1alpha.ListRollupPropertySourceLinksRequest DEFAULT_INSTANCE; + private static final com.google.analytics.admin.v1alpha.ListRollupPropertySourceLinksRequest + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.ListRollupPropertySourceLinksRequest(); + DEFAULT_INSTANCE = + new com.google.analytics.admin.v1alpha.ListRollupPropertySourceLinksRequest(); } - public static com.google.analytics.admin.v1alpha.ListRollupPropertySourceLinksRequest getDefaultInstance() { + public static com.google.analytics.admin.v1alpha.ListRollupPropertySourceLinksRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListRollupPropertySourceLinksRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListRollupPropertySourceLinksRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -862,9 +971,8 @@ public com.google.protobuf.Parser getParse } @java.lang.Override - public com.google.analytics.admin.v1alpha.ListRollupPropertySourceLinksRequest getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.ListRollupPropertySourceLinksRequest + 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/ListRollupPropertySourceLinksRequestOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListRollupPropertySourceLinksRequestOrBuilder.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/ListRollupPropertySourceLinksRequestOrBuilder.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListRollupPropertySourceLinksRequestOrBuilder.java index b79f547ad137..291a2ecb5d31 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListRollupPropertySourceLinksRequestOrBuilder.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListRollupPropertySourceLinksRequestOrBuilder.java @@ -1,35 +1,62 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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 ListRollupPropertySourceLinksRequestOrBuilder extends +public interface ListRollupPropertySourceLinksRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.ListRollupPropertySourceLinksRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The name of the roll-up property to list roll-up property source
    * 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 roll-up property to list roll-up property source
    * 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(); /** + * + * *
    * Optional. 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 ListRollupPropertySourceLinksRequestOrBuilder extends
    * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * Optional. A page token, received from a previous
    * `ListRollupPropertySourceLinks` call. Provide this to retrieve the
@@ -52,10 +82,13 @@ public interface ListRollupPropertySourceLinksRequestOrBuilder extends
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * Optional. A page token, received from a previous
    * `ListRollupPropertySourceLinks` call. Provide this to retrieve the
@@ -65,8 +98,8 @@ public interface ListRollupPropertySourceLinksRequestOrBuilder extends
    * 
* * string page_token = 3 [(.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/ListRollupPropertySourceLinksResponse.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListRollupPropertySourceLinksResponse.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/ListRollupPropertySourceLinksResponse.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListRollupPropertySourceLinksResponse.java index 2b45c95e69bb..b2f92c7ffaa2 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListRollupPropertySourceLinksResponse.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListRollupPropertySourceLinksResponse.java @@ -1,24 +1,44 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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 ListRollupPropertySourceLinks RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.ListRollupPropertySourceLinksResponse} */ -public final class ListRollupPropertySourceLinksResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListRollupPropertySourceLinksResponse + extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.ListRollupPropertySourceLinksResponse) ListRollupPropertySourceLinksResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListRollupPropertySourceLinksResponse.newBuilder() to construct. - private ListRollupPropertySourceLinksResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private ListRollupPropertySourceLinksResponse( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListRollupPropertySourceLinksResponse() { rollupPropertySourceLinks_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -26,95 +46,125 @@ private ListRollupPropertySourceLinksResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListRollupPropertySourceLinksResponse(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListRollupPropertySourceLinksResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ListRollupPropertySourceLinksResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListRollupPropertySourceLinksResponse_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ListRollupPropertySourceLinksResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.ListRollupPropertySourceLinksResponse.class, com.google.analytics.admin.v1alpha.ListRollupPropertySourceLinksResponse.Builder.class); + com.google.analytics.admin.v1alpha.ListRollupPropertySourceLinksResponse.class, + com.google.analytics.admin.v1alpha.ListRollupPropertySourceLinksResponse.Builder.class); } public static final int ROLLUP_PROPERTY_SOURCE_LINKS_FIELD_NUMBER = 1; + @SuppressWarnings("serial") - private java.util.List rollupPropertySourceLinks_; + private java.util.List + rollupPropertySourceLinks_; /** + * + * *
    * List of RollupPropertySourceLinks.
    * 
* - * repeated .google.analytics.admin.v1alpha.RollupPropertySourceLink rollup_property_source_links = 1; + * + * repeated .google.analytics.admin.v1alpha.RollupPropertySourceLink rollup_property_source_links = 1; + * */ @java.lang.Override - public java.util.List getRollupPropertySourceLinksList() { + public java.util.List + getRollupPropertySourceLinksList() { return rollupPropertySourceLinks_; } /** + * + * *
    * List of RollupPropertySourceLinks.
    * 
* - * repeated .google.analytics.admin.v1alpha.RollupPropertySourceLink rollup_property_source_links = 1; + * + * repeated .google.analytics.admin.v1alpha.RollupPropertySourceLink rollup_property_source_links = 1; + * */ @java.lang.Override - public java.util.List + public java.util.List< + ? extends com.google.analytics.admin.v1alpha.RollupPropertySourceLinkOrBuilder> getRollupPropertySourceLinksOrBuilderList() { return rollupPropertySourceLinks_; } /** + * + * *
    * List of RollupPropertySourceLinks.
    * 
* - * repeated .google.analytics.admin.v1alpha.RollupPropertySourceLink rollup_property_source_links = 1; + * + * repeated .google.analytics.admin.v1alpha.RollupPropertySourceLink rollup_property_source_links = 1; + * */ @java.lang.Override public int getRollupPropertySourceLinksCount() { return rollupPropertySourceLinks_.size(); } /** + * + * *
    * List of RollupPropertySourceLinks.
    * 
* - * repeated .google.analytics.admin.v1alpha.RollupPropertySourceLink rollup_property_source_links = 1; + * + * repeated .google.analytics.admin.v1alpha.RollupPropertySourceLink rollup_property_source_links = 1; + * */ @java.lang.Override - public com.google.analytics.admin.v1alpha.RollupPropertySourceLink getRollupPropertySourceLinks(int index) { + public com.google.analytics.admin.v1alpha.RollupPropertySourceLink getRollupPropertySourceLinks( + int index) { return rollupPropertySourceLinks_.get(index); } /** + * + * *
    * List of RollupPropertySourceLinks.
    * 
* - * repeated .google.analytics.admin.v1alpha.RollupPropertySourceLink rollup_property_source_links = 1; + * + * repeated .google.analytics.admin.v1alpha.RollupPropertySourceLink rollup_property_source_links = 1; + * */ @java.lang.Override - public com.google.analytics.admin.v1alpha.RollupPropertySourceLinkOrBuilder getRollupPropertySourceLinksOrBuilder( - int index) { + public com.google.analytics.admin.v1alpha.RollupPropertySourceLinkOrBuilder + getRollupPropertySourceLinksOrBuilder(int index) { return rollupPropertySourceLinks_.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 @@ -123,30 +173,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 { @@ -155,6 +205,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -166,8 +217,7 @@ public final boolean isInitialized() { } @java.lang.Override - 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 < rollupPropertySourceLinks_.size(); i++) { output.writeMessage(1, rollupPropertySourceLinks_.get(i)); } @@ -184,8 +234,9 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < rollupPropertySourceLinks_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, rollupPropertySourceLinks_.get(i)); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 1, rollupPropertySourceLinks_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -198,17 +249,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.ListRollupPropertySourceLinksResponse)) { + if (!(obj + instanceof com.google.analytics.admin.v1alpha.ListRollupPropertySourceLinksResponse)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.ListRollupPropertySourceLinksResponse other = (com.google.analytics.admin.v1alpha.ListRollupPropertySourceLinksResponse) obj; + com.google.analytics.admin.v1alpha.ListRollupPropertySourceLinksResponse other = + (com.google.analytics.admin.v1alpha.ListRollupPropertySourceLinksResponse) obj; - if (!getRollupPropertySourceLinksList() - .equals(other.getRollupPropertySourceLinksList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; + if (!getRollupPropertySourceLinksList().equals(other.getRollupPropertySourceLinksList())) + return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -232,131 +284,139 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.ListRollupPropertySourceLinksResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.ListRollupPropertySourceLinksResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.ListRollupPropertySourceLinksResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.ListRollupPropertySourceLinksResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.ListRollupPropertySourceLinksResponse parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.analytics.admin.v1alpha.ListRollupPropertySourceLinksResponse parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.ListRollupPropertySourceLinksResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.ListRollupPropertySourceLinksResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.ListRollupPropertySourceLinksResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.ListRollupPropertySourceLinksResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.ListRollupPropertySourceLinksResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.ListRollupPropertySourceLinksResponse + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.ListRollupPropertySourceLinksResponse parseDelimitedFrom( - java.io.InputStream input, - 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.ListRollupPropertySourceLinksResponse + parseDelimitedFrom( + java.io.InputStream input, 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.ListRollupPropertySourceLinksResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.ListRollupPropertySourceLinksResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1alpha.ListRollupPropertySourceLinksResponse prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1alpha.ListRollupPropertySourceLinksResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 ListRollupPropertySourceLinks RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.ListRollupPropertySourceLinksResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.ListRollupPropertySourceLinksResponse) com.google.analytics.admin.v1alpha.ListRollupPropertySourceLinksResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListRollupPropertySourceLinksResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ListRollupPropertySourceLinksResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListRollupPropertySourceLinksResponse_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ListRollupPropertySourceLinksResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.ListRollupPropertySourceLinksResponse.class, com.google.analytics.admin.v1alpha.ListRollupPropertySourceLinksResponse.Builder.class); + com.google.analytics.admin.v1alpha.ListRollupPropertySourceLinksResponse.class, + com.google.analytics.admin.v1alpha.ListRollupPropertySourceLinksResponse.Builder + .class); } - // Construct using com.google.analytics.admin.v1alpha.ListRollupPropertySourceLinksResponse.newBuilder() - private Builder() { - - } + // Construct using + // com.google.analytics.admin.v1alpha.ListRollupPropertySourceLinksResponse.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(); @@ -373,19 +433,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_ListRollupPropertySourceLinksResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ListRollupPropertySourceLinksResponse_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.ListRollupPropertySourceLinksResponse getDefaultInstanceForType() { - return com.google.analytics.admin.v1alpha.ListRollupPropertySourceLinksResponse.getDefaultInstance(); + public com.google.analytics.admin.v1alpha.ListRollupPropertySourceLinksResponse + getDefaultInstanceForType() { + return com.google.analytics.admin.v1alpha.ListRollupPropertySourceLinksResponse + .getDefaultInstance(); } @java.lang.Override public com.google.analytics.admin.v1alpha.ListRollupPropertySourceLinksResponse build() { - com.google.analytics.admin.v1alpha.ListRollupPropertySourceLinksResponse result = buildPartial(); + com.google.analytics.admin.v1alpha.ListRollupPropertySourceLinksResponse result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -394,17 +457,22 @@ public com.google.analytics.admin.v1alpha.ListRollupPropertySourceLinksResponse @java.lang.Override public com.google.analytics.admin.v1alpha.ListRollupPropertySourceLinksResponse buildPartial() { - com.google.analytics.admin.v1alpha.ListRollupPropertySourceLinksResponse result = new com.google.analytics.admin.v1alpha.ListRollupPropertySourceLinksResponse(this); + com.google.analytics.admin.v1alpha.ListRollupPropertySourceLinksResponse result = + new com.google.analytics.admin.v1alpha.ListRollupPropertySourceLinksResponse(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartialRepeatedFields(com.google.analytics.admin.v1alpha.ListRollupPropertySourceLinksResponse result) { + private void buildPartialRepeatedFields( + com.google.analytics.admin.v1alpha.ListRollupPropertySourceLinksResponse result) { if (rollupPropertySourceLinksBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { - rollupPropertySourceLinks_ = java.util.Collections.unmodifiableList(rollupPropertySourceLinks_); + rollupPropertySourceLinks_ = + java.util.Collections.unmodifiableList(rollupPropertySourceLinks_); bitField0_ = (bitField0_ & ~0x00000001); } result.rollupPropertySourceLinks_ = rollupPropertySourceLinks_; @@ -413,7 +481,8 @@ private void buildPartialRepeatedFields(com.google.analytics.admin.v1alpha.ListR } } - private void buildPartial0(com.google.analytics.admin.v1alpha.ListRollupPropertySourceLinksResponse result) { + private void buildPartial0( + com.google.analytics.admin.v1alpha.ListRollupPropertySourceLinksResponse result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000002) != 0)) { result.nextPageToken_ = nextPageToken_; @@ -424,46 +493,52 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.ListRollupProperty public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.analytics.admin.v1alpha.ListRollupPropertySourceLinksResponse) { - return mergeFrom((com.google.analytics.admin.v1alpha.ListRollupPropertySourceLinksResponse)other); + if (other + instanceof com.google.analytics.admin.v1alpha.ListRollupPropertySourceLinksResponse) { + return mergeFrom( + (com.google.analytics.admin.v1alpha.ListRollupPropertySourceLinksResponse) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.analytics.admin.v1alpha.ListRollupPropertySourceLinksResponse other) { - if (other == com.google.analytics.admin.v1alpha.ListRollupPropertySourceLinksResponse.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.analytics.admin.v1alpha.ListRollupPropertySourceLinksResponse other) { + if (other + == com.google.analytics.admin.v1alpha.ListRollupPropertySourceLinksResponse + .getDefaultInstance()) return this; if (rollupPropertySourceLinksBuilder_ == null) { if (!other.rollupPropertySourceLinks_.isEmpty()) { if (rollupPropertySourceLinks_.isEmpty()) { @@ -482,9 +557,10 @@ public Builder mergeFrom(com.google.analytics.admin.v1alpha.ListRollupPropertySo rollupPropertySourceLinksBuilder_ = null; rollupPropertySourceLinks_ = other.rollupPropertySourceLinks_; bitField0_ = (bitField0_ & ~0x00000001); - rollupPropertySourceLinksBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getRollupPropertySourceLinksFieldBuilder() : null; + rollupPropertySourceLinksBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getRollupPropertySourceLinksFieldBuilder() + : null; } else { rollupPropertySourceLinksBuilder_.addAllMessages(other.rollupPropertySourceLinks_); } @@ -521,30 +597,33 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - com.google.analytics.admin.v1alpha.RollupPropertySourceLink m = - input.readMessage( - com.google.analytics.admin.v1alpha.RollupPropertySourceLink.parser(), - extensionRegistry); - if (rollupPropertySourceLinksBuilder_ == null) { - ensureRollupPropertySourceLinksIsMutable(); - rollupPropertySourceLinks_.add(m); - } else { - rollupPropertySourceLinksBuilder_.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.RollupPropertySourceLink m = + input.readMessage( + com.google.analytics.admin.v1alpha.RollupPropertySourceLink.parser(), + extensionRegistry); + if (rollupPropertySourceLinksBuilder_ == null) { + ensureRollupPropertySourceLinksIsMutable(); + rollupPropertySourceLinks_.add(m); + } else { + rollupPropertySourceLinksBuilder_.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) { @@ -554,28 +633,40 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; - private java.util.List rollupPropertySourceLinks_ = - java.util.Collections.emptyList(); + private java.util.List + rollupPropertySourceLinks_ = java.util.Collections.emptyList(); + private void ensureRollupPropertySourceLinksIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - rollupPropertySourceLinks_ = new java.util.ArrayList(rollupPropertySourceLinks_); + rollupPropertySourceLinks_ = + new java.util.ArrayList( + rollupPropertySourceLinks_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.RollupPropertySourceLink, com.google.analytics.admin.v1alpha.RollupPropertySourceLink.Builder, com.google.analytics.admin.v1alpha.RollupPropertySourceLinkOrBuilder> rollupPropertySourceLinksBuilder_; + com.google.analytics.admin.v1alpha.RollupPropertySourceLink, + com.google.analytics.admin.v1alpha.RollupPropertySourceLink.Builder, + com.google.analytics.admin.v1alpha.RollupPropertySourceLinkOrBuilder> + rollupPropertySourceLinksBuilder_; /** + * + * *
      * List of RollupPropertySourceLinks.
      * 
* - * repeated .google.analytics.admin.v1alpha.RollupPropertySourceLink rollup_property_source_links = 1; + * + * repeated .google.analytics.admin.v1alpha.RollupPropertySourceLink rollup_property_source_links = 1; + * */ - public java.util.List getRollupPropertySourceLinksList() { + public java.util.List + getRollupPropertySourceLinksList() { if (rollupPropertySourceLinksBuilder_ == null) { return java.util.Collections.unmodifiableList(rollupPropertySourceLinks_); } else { @@ -583,11 +674,15 @@ public java.util.List * List of RollupPropertySourceLinks. *
* - * repeated .google.analytics.admin.v1alpha.RollupPropertySourceLink rollup_property_source_links = 1; + * + * repeated .google.analytics.admin.v1alpha.RollupPropertySourceLink rollup_property_source_links = 1; + * */ public int getRollupPropertySourceLinksCount() { if (rollupPropertySourceLinksBuilder_ == null) { @@ -597,13 +692,18 @@ public int getRollupPropertySourceLinksCount() { } } /** + * + * *
      * List of RollupPropertySourceLinks.
      * 
* - * repeated .google.analytics.admin.v1alpha.RollupPropertySourceLink rollup_property_source_links = 1; + * + * repeated .google.analytics.admin.v1alpha.RollupPropertySourceLink rollup_property_source_links = 1; + * */ - public com.google.analytics.admin.v1alpha.RollupPropertySourceLink getRollupPropertySourceLinks(int index) { + public com.google.analytics.admin.v1alpha.RollupPropertySourceLink getRollupPropertySourceLinks( + int index) { if (rollupPropertySourceLinksBuilder_ == null) { return rollupPropertySourceLinks_.get(index); } else { @@ -611,11 +711,15 @@ public com.google.analytics.admin.v1alpha.RollupPropertySourceLink getRollupProp } } /** + * + * *
      * List of RollupPropertySourceLinks.
      * 
* - * repeated .google.analytics.admin.v1alpha.RollupPropertySourceLink rollup_property_source_links = 1; + * + * repeated .google.analytics.admin.v1alpha.RollupPropertySourceLink rollup_property_source_links = 1; + * */ public Builder setRollupPropertySourceLinks( int index, com.google.analytics.admin.v1alpha.RollupPropertySourceLink value) { @@ -632,14 +736,19 @@ public Builder setRollupPropertySourceLinks( return this; } /** + * + * *
      * List of RollupPropertySourceLinks.
      * 
* - * repeated .google.analytics.admin.v1alpha.RollupPropertySourceLink rollup_property_source_links = 1; + * + * repeated .google.analytics.admin.v1alpha.RollupPropertySourceLink rollup_property_source_links = 1; + * */ public Builder setRollupPropertySourceLinks( - int index, com.google.analytics.admin.v1alpha.RollupPropertySourceLink.Builder builderForValue) { + int index, + com.google.analytics.admin.v1alpha.RollupPropertySourceLink.Builder builderForValue) { if (rollupPropertySourceLinksBuilder_ == null) { ensureRollupPropertySourceLinksIsMutable(); rollupPropertySourceLinks_.set(index, builderForValue.build()); @@ -650,13 +759,18 @@ public Builder setRollupPropertySourceLinks( return this; } /** + * + * *
      * List of RollupPropertySourceLinks.
      * 
* - * repeated .google.analytics.admin.v1alpha.RollupPropertySourceLink rollup_property_source_links = 1; + * + * repeated .google.analytics.admin.v1alpha.RollupPropertySourceLink rollup_property_source_links = 1; + * */ - public Builder addRollupPropertySourceLinks(com.google.analytics.admin.v1alpha.RollupPropertySourceLink value) { + public Builder addRollupPropertySourceLinks( + com.google.analytics.admin.v1alpha.RollupPropertySourceLink value) { if (rollupPropertySourceLinksBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -670,11 +784,15 @@ public Builder addRollupPropertySourceLinks(com.google.analytics.admin.v1alpha.R return this; } /** + * + * *
      * List of RollupPropertySourceLinks.
      * 
* - * repeated .google.analytics.admin.v1alpha.RollupPropertySourceLink rollup_property_source_links = 1; + * + * repeated .google.analytics.admin.v1alpha.RollupPropertySourceLink rollup_property_source_links = 1; + * */ public Builder addRollupPropertySourceLinks( int index, com.google.analytics.admin.v1alpha.RollupPropertySourceLink value) { @@ -691,11 +809,15 @@ public Builder addRollupPropertySourceLinks( return this; } /** + * + * *
      * List of RollupPropertySourceLinks.
      * 
* - * repeated .google.analytics.admin.v1alpha.RollupPropertySourceLink rollup_property_source_links = 1; + * + * repeated .google.analytics.admin.v1alpha.RollupPropertySourceLink rollup_property_source_links = 1; + * */ public Builder addRollupPropertySourceLinks( com.google.analytics.admin.v1alpha.RollupPropertySourceLink.Builder builderForValue) { @@ -709,14 +831,19 @@ public Builder addRollupPropertySourceLinks( return this; } /** + * + * *
      * List of RollupPropertySourceLinks.
      * 
* - * repeated .google.analytics.admin.v1alpha.RollupPropertySourceLink rollup_property_source_links = 1; + * + * repeated .google.analytics.admin.v1alpha.RollupPropertySourceLink rollup_property_source_links = 1; + * */ public Builder addRollupPropertySourceLinks( - int index, com.google.analytics.admin.v1alpha.RollupPropertySourceLink.Builder builderForValue) { + int index, + com.google.analytics.admin.v1alpha.RollupPropertySourceLink.Builder builderForValue) { if (rollupPropertySourceLinksBuilder_ == null) { ensureRollupPropertySourceLinksIsMutable(); rollupPropertySourceLinks_.add(index, builderForValue.build()); @@ -727,18 +854,22 @@ public Builder addRollupPropertySourceLinks( return this; } /** + * + * *
      * List of RollupPropertySourceLinks.
      * 
* - * repeated .google.analytics.admin.v1alpha.RollupPropertySourceLink rollup_property_source_links = 1; + * + * repeated .google.analytics.admin.v1alpha.RollupPropertySourceLink rollup_property_source_links = 1; + * */ public Builder addAllRollupPropertySourceLinks( - java.lang.Iterable values) { + java.lang.Iterable + values) { if (rollupPropertySourceLinksBuilder_ == null) { ensureRollupPropertySourceLinksIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, rollupPropertySourceLinks_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, rollupPropertySourceLinks_); onChanged(); } else { rollupPropertySourceLinksBuilder_.addAllMessages(values); @@ -746,11 +877,15 @@ public Builder addAllRollupPropertySourceLinks( return this; } /** + * + * *
      * List of RollupPropertySourceLinks.
      * 
* - * repeated .google.analytics.admin.v1alpha.RollupPropertySourceLink rollup_property_source_links = 1; + * + * repeated .google.analytics.admin.v1alpha.RollupPropertySourceLink rollup_property_source_links = 1; + * */ public Builder clearRollupPropertySourceLinks() { if (rollupPropertySourceLinksBuilder_ == null) { @@ -763,11 +898,15 @@ public Builder clearRollupPropertySourceLinks() { return this; } /** + * + * *
      * List of RollupPropertySourceLinks.
      * 
* - * repeated .google.analytics.admin.v1alpha.RollupPropertySourceLink rollup_property_source_links = 1; + * + * repeated .google.analytics.admin.v1alpha.RollupPropertySourceLink rollup_property_source_links = 1; + * */ public Builder removeRollupPropertySourceLinks(int index) { if (rollupPropertySourceLinksBuilder_ == null) { @@ -780,39 +919,53 @@ public Builder removeRollupPropertySourceLinks(int index) { return this; } /** + * + * *
      * List of RollupPropertySourceLinks.
      * 
* - * repeated .google.analytics.admin.v1alpha.RollupPropertySourceLink rollup_property_source_links = 1; + * + * repeated .google.analytics.admin.v1alpha.RollupPropertySourceLink rollup_property_source_links = 1; + * */ - public com.google.analytics.admin.v1alpha.RollupPropertySourceLink.Builder getRollupPropertySourceLinksBuilder( - int index) { + public com.google.analytics.admin.v1alpha.RollupPropertySourceLink.Builder + getRollupPropertySourceLinksBuilder(int index) { return getRollupPropertySourceLinksFieldBuilder().getBuilder(index); } /** + * + * *
      * List of RollupPropertySourceLinks.
      * 
* - * repeated .google.analytics.admin.v1alpha.RollupPropertySourceLink rollup_property_source_links = 1; + * + * repeated .google.analytics.admin.v1alpha.RollupPropertySourceLink rollup_property_source_links = 1; + * */ - public com.google.analytics.admin.v1alpha.RollupPropertySourceLinkOrBuilder getRollupPropertySourceLinksOrBuilder( - int index) { + public com.google.analytics.admin.v1alpha.RollupPropertySourceLinkOrBuilder + getRollupPropertySourceLinksOrBuilder(int index) { if (rollupPropertySourceLinksBuilder_ == null) { - return rollupPropertySourceLinks_.get(index); } else { + return rollupPropertySourceLinks_.get(index); + } else { return rollupPropertySourceLinksBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * List of RollupPropertySourceLinks.
      * 
* - * repeated .google.analytics.admin.v1alpha.RollupPropertySourceLink rollup_property_source_links = 1; + * + * repeated .google.analytics.admin.v1alpha.RollupPropertySourceLink rollup_property_source_links = 1; + * */ - public java.util.List - getRollupPropertySourceLinksOrBuilderList() { + public java.util.List< + ? extends com.google.analytics.admin.v1alpha.RollupPropertySourceLinkOrBuilder> + getRollupPropertySourceLinksOrBuilderList() { if (rollupPropertySourceLinksBuilder_ != null) { return rollupPropertySourceLinksBuilder_.getMessageOrBuilderList(); } else { @@ -820,45 +973,67 @@ public com.google.analytics.admin.v1alpha.RollupPropertySourceLinkOrBuilder getR } } /** + * + * *
      * List of RollupPropertySourceLinks.
      * 
* - * repeated .google.analytics.admin.v1alpha.RollupPropertySourceLink rollup_property_source_links = 1; + * + * repeated .google.analytics.admin.v1alpha.RollupPropertySourceLink rollup_property_source_links = 1; + * */ - public com.google.analytics.admin.v1alpha.RollupPropertySourceLink.Builder addRollupPropertySourceLinksBuilder() { - return getRollupPropertySourceLinksFieldBuilder().addBuilder( - com.google.analytics.admin.v1alpha.RollupPropertySourceLink.getDefaultInstance()); + public com.google.analytics.admin.v1alpha.RollupPropertySourceLink.Builder + addRollupPropertySourceLinksBuilder() { + return getRollupPropertySourceLinksFieldBuilder() + .addBuilder( + com.google.analytics.admin.v1alpha.RollupPropertySourceLink.getDefaultInstance()); } /** + * + * *
      * List of RollupPropertySourceLinks.
      * 
* - * repeated .google.analytics.admin.v1alpha.RollupPropertySourceLink rollup_property_source_links = 1; + * + * repeated .google.analytics.admin.v1alpha.RollupPropertySourceLink rollup_property_source_links = 1; + * */ - public com.google.analytics.admin.v1alpha.RollupPropertySourceLink.Builder addRollupPropertySourceLinksBuilder( - int index) { - return getRollupPropertySourceLinksFieldBuilder().addBuilder( - index, com.google.analytics.admin.v1alpha.RollupPropertySourceLink.getDefaultInstance()); + public com.google.analytics.admin.v1alpha.RollupPropertySourceLink.Builder + addRollupPropertySourceLinksBuilder(int index) { + return getRollupPropertySourceLinksFieldBuilder() + .addBuilder( + index, + com.google.analytics.admin.v1alpha.RollupPropertySourceLink.getDefaultInstance()); } /** + * + * *
      * List of RollupPropertySourceLinks.
      * 
* - * repeated .google.analytics.admin.v1alpha.RollupPropertySourceLink rollup_property_source_links = 1; + * + * repeated .google.analytics.admin.v1alpha.RollupPropertySourceLink rollup_property_source_links = 1; + * */ - public java.util.List - getRollupPropertySourceLinksBuilderList() { + public java.util.List + getRollupPropertySourceLinksBuilderList() { return getRollupPropertySourceLinksFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.RollupPropertySourceLink, com.google.analytics.admin.v1alpha.RollupPropertySourceLink.Builder, com.google.analytics.admin.v1alpha.RollupPropertySourceLinkOrBuilder> + com.google.analytics.admin.v1alpha.RollupPropertySourceLink, + com.google.analytics.admin.v1alpha.RollupPropertySourceLink.Builder, + com.google.analytics.admin.v1alpha.RollupPropertySourceLinkOrBuilder> getRollupPropertySourceLinksFieldBuilder() { if (rollupPropertySourceLinksBuilder_ == null) { - rollupPropertySourceLinksBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.RollupPropertySourceLink, com.google.analytics.admin.v1alpha.RollupPropertySourceLink.Builder, com.google.analytics.admin.v1alpha.RollupPropertySourceLinkOrBuilder>( + rollupPropertySourceLinksBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.analytics.admin.v1alpha.RollupPropertySourceLink, + com.google.analytics.admin.v1alpha.RollupPropertySourceLink.Builder, + com.google.analytics.admin.v1alpha.RollupPropertySourceLinkOrBuilder>( rollupPropertySourceLinks_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -870,19 +1045,21 @@ public com.google.analytics.admin.v1alpha.RollupPropertySourceLink.Builder addRo 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; @@ -891,21 +1068,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 { @@ -913,30 +1091,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() { @@ -946,27 +1131,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); } @@ -976,41 +1165,44 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.ListRollupPropertySourceLinksResponse) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.ListRollupPropertySourceLinksResponse) - private static final com.google.analytics.admin.v1alpha.ListRollupPropertySourceLinksResponse DEFAULT_INSTANCE; + private static final com.google.analytics.admin.v1alpha.ListRollupPropertySourceLinksResponse + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.ListRollupPropertySourceLinksResponse(); + DEFAULT_INSTANCE = + new com.google.analytics.admin.v1alpha.ListRollupPropertySourceLinksResponse(); } - public static com.google.analytics.admin.v1alpha.ListRollupPropertySourceLinksResponse getDefaultInstance() { + public static com.google.analytics.admin.v1alpha.ListRollupPropertySourceLinksResponse + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListRollupPropertySourceLinksResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListRollupPropertySourceLinksResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.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,9 +1214,8 @@ public com.google.protobuf.Parser getPars } @java.lang.Override - public com.google.analytics.admin.v1alpha.ListRollupPropertySourceLinksResponse getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.ListRollupPropertySourceLinksResponse + 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/ListRollupPropertySourceLinksResponseOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListRollupPropertySourceLinksResponseOrBuilder.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/ListRollupPropertySourceLinksResponseOrBuilder.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListRollupPropertySourceLinksResponseOrBuilder.java index f37f1f09d33d..e4275d113c65 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListRollupPropertySourceLinksResponseOrBuilder.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListRollupPropertySourceLinksResponseOrBuilder.java @@ -1,75 +1,117 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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 ListRollupPropertySourceLinksResponseOrBuilder extends +public interface ListRollupPropertySourceLinksResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.ListRollupPropertySourceLinksResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * List of RollupPropertySourceLinks.
    * 
* - * repeated .google.analytics.admin.v1alpha.RollupPropertySourceLink rollup_property_source_links = 1; + * + * repeated .google.analytics.admin.v1alpha.RollupPropertySourceLink rollup_property_source_links = 1; + * */ - java.util.List + java.util.List getRollupPropertySourceLinksList(); /** + * + * *
    * List of RollupPropertySourceLinks.
    * 
* - * repeated .google.analytics.admin.v1alpha.RollupPropertySourceLink rollup_property_source_links = 1; + * + * repeated .google.analytics.admin.v1alpha.RollupPropertySourceLink rollup_property_source_links = 1; + * */ - com.google.analytics.admin.v1alpha.RollupPropertySourceLink getRollupPropertySourceLinks(int index); + com.google.analytics.admin.v1alpha.RollupPropertySourceLink getRollupPropertySourceLinks( + int index); /** + * + * *
    * List of RollupPropertySourceLinks.
    * 
* - * repeated .google.analytics.admin.v1alpha.RollupPropertySourceLink rollup_property_source_links = 1; + * + * repeated .google.analytics.admin.v1alpha.RollupPropertySourceLink rollup_property_source_links = 1; + * */ int getRollupPropertySourceLinksCount(); /** + * + * *
    * List of RollupPropertySourceLinks.
    * 
* - * repeated .google.analytics.admin.v1alpha.RollupPropertySourceLink rollup_property_source_links = 1; + * + * repeated .google.analytics.admin.v1alpha.RollupPropertySourceLink rollup_property_source_links = 1; + * */ - java.util.List + java.util.List getRollupPropertySourceLinksOrBuilderList(); /** + * + * *
    * List of RollupPropertySourceLinks.
    * 
* - * repeated .google.analytics.admin.v1alpha.RollupPropertySourceLink rollup_property_source_links = 1; + * + * repeated .google.analytics.admin.v1alpha.RollupPropertySourceLink rollup_property_source_links = 1; + * */ - com.google.analytics.admin.v1alpha.RollupPropertySourceLinkOrBuilder getRollupPropertySourceLinksOrBuilder( - int index); + com.google.analytics.admin.v1alpha.RollupPropertySourceLinkOrBuilder + getRollupPropertySourceLinksOrBuilder(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/ListSKAdNetworkConversionValueSchemasRequest.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListSKAdNetworkConversionValueSchemasRequest.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/ListSKAdNetworkConversionValueSchemasRequest.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListSKAdNetworkConversionValueSchemasRequest.java index eb14dcdeaaaf..5c90aab6e190 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListSKAdNetworkConversionValueSchemasRequest.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListSKAdNetworkConversionValueSchemasRequest.java @@ -1,24 +1,44 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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 ListSKAdNetworkConversionValueSchemas RPC
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.ListSKAdNetworkConversionValueSchemasRequest} */ -public final class ListSKAdNetworkConversionValueSchemasRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListSKAdNetworkConversionValueSchemasRequest + extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.ListSKAdNetworkConversionValueSchemasRequest) ListSKAdNetworkConversionValueSchemasRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListSKAdNetworkConversionValueSchemasRequest.newBuilder() to construct. - private ListSKAdNetworkConversionValueSchemasRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private ListSKAdNetworkConversionValueSchemasRequest( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListSKAdNetworkConversionValueSchemasRequest() { parent_ = ""; pageToken_ = ""; @@ -26,28 +46,33 @@ private ListSKAdNetworkConversionValueSchemasRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListSKAdNetworkConversionValueSchemasRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListSKAdNetworkConversionValueSchemasRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ListSKAdNetworkConversionValueSchemasRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListSKAdNetworkConversionValueSchemasRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ListSKAdNetworkConversionValueSchemasRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.ListSKAdNetworkConversionValueSchemasRequest.class, com.google.analytics.admin.v1alpha.ListSKAdNetworkConversionValueSchemasRequest.Builder.class); + com.google.analytics.admin.v1alpha.ListSKAdNetworkConversionValueSchemasRequest.class, + com.google.analytics.admin.v1alpha.ListSKAdNetworkConversionValueSchemasRequest.Builder + .class); } public static final int PARENT_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** + * + * *
    * Required. The DataStream resource to list schemas for.
    * Format:
@@ -55,7 +80,10 @@ protected java.lang.Object newInstance(
    * Example: properties/1234/dataStreams/5678
    * 
* - * string parent = 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 @@ -64,14 +92,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 DataStream resource to list schemas for.
    * Format:
@@ -79,17 +108,18 @@ public java.lang.String getParent() {
    * Example: properties/1234/dataStreams/5678
    * 
* - * string parent = 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,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.
@@ -108,6 +140,7 @@ public java.lang.String getParent() {
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -116,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
    * `ListSKAdNetworkConversionValueSchemas` call. Provide this to retrieve the
@@ -128,6 +164,7 @@ public int getPageSize() {
    * 
* * string page_token = 3; + * * @return The pageToken. */ @java.lang.Override @@ -136,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
    * `ListSKAdNetworkConversionValueSchemas` call. Provide this to retrieve the
@@ -153,16 +191,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 +208,7 @@ public java.lang.String getPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -182,8 +220,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -206,8 +243,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 +256,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj instanceof com.google.analytics.admin.v1alpha.ListSKAdNetworkConversionValueSchemasRequest)) { + if (!(obj + instanceof + com.google.analytics.admin.v1alpha.ListSKAdNetworkConversionValueSchemasRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.ListSKAdNetworkConversionValueSchemasRequest other = (com.google.analytics.admin.v1alpha.ListSKAdNetworkConversionValueSchemasRequest) obj; + com.google.analytics.admin.v1alpha.ListSKAdNetworkConversionValueSchemasRequest other = + (com.google.analytics.admin.v1alpha.ListSKAdNetworkConversionValueSchemasRequest) 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,132 +291,146 @@ public int hashCode() { return hash; } - public static com.google.analytics.admin.v1alpha.ListSKAdNetworkConversionValueSchemasRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.analytics.admin.v1alpha.ListSKAdNetworkConversionValueSchemasRequest + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.ListSKAdNetworkConversionValueSchemasRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.analytics.admin.v1alpha.ListSKAdNetworkConversionValueSchemasRequest + 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.ListSKAdNetworkConversionValueSchemasRequest parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.analytics.admin.v1alpha.ListSKAdNetworkConversionValueSchemasRequest + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.ListSKAdNetworkConversionValueSchemasRequest parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.analytics.admin.v1alpha.ListSKAdNetworkConversionValueSchemasRequest + parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.ListSKAdNetworkConversionValueSchemasRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.analytics.admin.v1alpha.ListSKAdNetworkConversionValueSchemasRequest + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.ListSKAdNetworkConversionValueSchemasRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.analytics.admin.v1alpha.ListSKAdNetworkConversionValueSchemasRequest + 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.ListSKAdNetworkConversionValueSchemasRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.ListSKAdNetworkConversionValueSchemasRequest + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.ListSKAdNetworkConversionValueSchemasRequest 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.ListSKAdNetworkConversionValueSchemasRequest + 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.ListSKAdNetworkConversionValueSchemasRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.ListSKAdNetworkConversionValueSchemasRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.ListSKAdNetworkConversionValueSchemasRequest parseDelimitedFrom( - java.io.InputStream input, - 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.ListSKAdNetworkConversionValueSchemasRequest + parseDelimitedFrom( + java.io.InputStream input, 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.ListSKAdNetworkConversionValueSchemasRequest 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.ListSKAdNetworkConversionValueSchemasRequest + 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.ListSKAdNetworkConversionValueSchemasRequest 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.ListSKAdNetworkConversionValueSchemasRequest + 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.ListSKAdNetworkConversionValueSchemasRequest prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1alpha.ListSKAdNetworkConversionValueSchemasRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder 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 ListSKAdNetworkConversionValueSchemas RPC
    * 
* - * Protobuf type {@code google.analytics.admin.v1alpha.ListSKAdNetworkConversionValueSchemasRequest} + * Protobuf type {@code + * google.analytics.admin.v1alpha.ListSKAdNetworkConversionValueSchemasRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.ListSKAdNetworkConversionValueSchemasRequest) com.google.analytics.admin.v1alpha.ListSKAdNetworkConversionValueSchemasRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListSKAdNetworkConversionValueSchemasRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ListSKAdNetworkConversionValueSchemasRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListSKAdNetworkConversionValueSchemasRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ListSKAdNetworkConversionValueSchemasRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.ListSKAdNetworkConversionValueSchemasRequest.class, com.google.analytics.admin.v1alpha.ListSKAdNetworkConversionValueSchemasRequest.Builder.class); + com.google.analytics.admin.v1alpha.ListSKAdNetworkConversionValueSchemasRequest.class, + com.google.analytics.admin.v1alpha.ListSKAdNetworkConversionValueSchemasRequest + .Builder.class); } - // Construct using com.google.analytics.admin.v1alpha.ListSKAdNetworkConversionValueSchemasRequest.newBuilder() - private Builder() { + // Construct using + // com.google.analytics.admin.v1alpha.ListSKAdNetworkConversionValueSchemasRequest.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(); @@ -392,19 +442,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_ListSKAdNetworkConversionValueSchemasRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ListSKAdNetworkConversionValueSchemasRequest_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.ListSKAdNetworkConversionValueSchemasRequest getDefaultInstanceForType() { - return com.google.analytics.admin.v1alpha.ListSKAdNetworkConversionValueSchemasRequest.getDefaultInstance(); + public com.google.analytics.admin.v1alpha.ListSKAdNetworkConversionValueSchemasRequest + getDefaultInstanceForType() { + return com.google.analytics.admin.v1alpha.ListSKAdNetworkConversionValueSchemasRequest + .getDefaultInstance(); } @java.lang.Override public com.google.analytics.admin.v1alpha.ListSKAdNetworkConversionValueSchemasRequest build() { - com.google.analytics.admin.v1alpha.ListSKAdNetworkConversionValueSchemasRequest result = buildPartial(); + com.google.analytics.admin.v1alpha.ListSKAdNetworkConversionValueSchemasRequest result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -412,14 +465,19 @@ public com.google.analytics.admin.v1alpha.ListSKAdNetworkConversionValueSchemasR } @java.lang.Override - public com.google.analytics.admin.v1alpha.ListSKAdNetworkConversionValueSchemasRequest buildPartial() { - com.google.analytics.admin.v1alpha.ListSKAdNetworkConversionValueSchemasRequest result = new com.google.analytics.admin.v1alpha.ListSKAdNetworkConversionValueSchemasRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + public com.google.analytics.admin.v1alpha.ListSKAdNetworkConversionValueSchemasRequest + buildPartial() { + com.google.analytics.admin.v1alpha.ListSKAdNetworkConversionValueSchemasRequest result = + new com.google.analytics.admin.v1alpha.ListSKAdNetworkConversionValueSchemasRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.analytics.admin.v1alpha.ListSKAdNetworkConversionValueSchemasRequest result) { + private void buildPartial0( + com.google.analytics.admin.v1alpha.ListSKAdNetworkConversionValueSchemasRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.parent_ = parent_; @@ -436,46 +494,54 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.ListSKAdNetworkCon public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.analytics.admin.v1alpha.ListSKAdNetworkConversionValueSchemasRequest) { - return mergeFrom((com.google.analytics.admin.v1alpha.ListSKAdNetworkConversionValueSchemasRequest)other); + if (other + instanceof + com.google.analytics.admin.v1alpha.ListSKAdNetworkConversionValueSchemasRequest) { + return mergeFrom( + (com.google.analytics.admin.v1alpha.ListSKAdNetworkConversionValueSchemasRequest) + other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.analytics.admin.v1alpha.ListSKAdNetworkConversionValueSchemasRequest other) { - if (other == com.google.analytics.admin.v1alpha.ListSKAdNetworkConversionValueSchemasRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.analytics.admin.v1alpha.ListSKAdNetworkConversionValueSchemasRequest other) { + if (other + == com.google.analytics.admin.v1alpha.ListSKAdNetworkConversionValueSchemasRequest + .getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -515,27 +581,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) { @@ -545,10 +615,13 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The DataStream resource to list schemas for.
      * Format:
@@ -556,14 +629,16 @@ public Builder mergeFrom(
      * Example: properties/1234/dataStreams/5678
      * 
* - * string parent = 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; @@ -572,6 +647,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The DataStream resource to list schemas for.
      * Format:
@@ -579,16 +656,17 @@ public java.lang.String getParent() {
      * Example: properties/1234/dataStreams/5678
      * 
* - * string parent = 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 { @@ -596,6 +674,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The DataStream resource to list schemas for.
      * Format:
@@ -603,19 +683,25 @@ public java.lang.String getParent() {
      * Example: properties/1234/dataStreams/5678
      * 
* - * 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 DataStream resource to list schemas for.
      * Format:
@@ -623,7 +709,10 @@ public Builder setParent(
      * Example: properties/1234/dataStreams/5678
      * 
* - * string 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() { @@ -633,6 +722,8 @@ public Builder clearParent() { return this; } /** + * + * *
      * Required. The DataStream resource to list schemas for.
      * Format:
@@ -640,13 +731,17 @@ public Builder clearParent() {
      * Example: properties/1234/dataStreams/5678
      * 
* - * 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; @@ -654,8 +749,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.
@@ -664,6 +761,7 @@ public Builder setParentBytes(
      * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -671,6 +769,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.
@@ -679,6 +779,7 @@ public int getPageSize() {
      * 
* * int32 page_size = 2; + * * @param value The pageSize to set. * @return This builder for chaining. */ @@ -690,6 +791,8 @@ public Builder setPageSize(int value) { return this; } /** + * + * *
      * The maximum number of resources to return. The service may return
      * fewer than this value, even if there are additional pages.
@@ -698,6 +801,7 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2; + * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -709,6 +813,8 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * A page token, received from a previous
      * `ListSKAdNetworkConversionValueSchemas` call. Provide this to retrieve the
@@ -718,13 +824,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; @@ -733,6 +839,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * A page token, received from a previous
      * `ListSKAdNetworkConversionValueSchemas` call. Provide this to retrieve the
@@ -742,15 +850,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 { @@ -758,6 +865,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * A page token, received from a previous
      * `ListSKAdNetworkConversionValueSchemas` call. Provide this to retrieve the
@@ -767,18 +876,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
      * `ListSKAdNetworkConversionValueSchemas` call. Provide this to retrieve the
@@ -788,6 +901,7 @@ public Builder setPageToken(
      * 
* * string page_token = 3; + * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -797,6 +911,8 @@ public Builder clearPageToken() { return this; } /** + * + * *
      * A page token, received from a previous
      * `ListSKAdNetworkConversionValueSchemas` call. Provide this to retrieve the
@@ -806,21 +922,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); } @@ -830,55 +948,61 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.ListSKAdNetworkConversionValueSchemasRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.ListSKAdNetworkConversionValueSchemasRequest) - private static final com.google.analytics.admin.v1alpha.ListSKAdNetworkConversionValueSchemasRequest DEFAULT_INSTANCE; + private static final com.google.analytics.admin.v1alpha + .ListSKAdNetworkConversionValueSchemasRequest + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.ListSKAdNetworkConversionValueSchemasRequest(); + DEFAULT_INSTANCE = + new com.google.analytics.admin.v1alpha.ListSKAdNetworkConversionValueSchemasRequest(); } - public static com.google.analytics.admin.v1alpha.ListSKAdNetworkConversionValueSchemasRequest getDefaultInstance() { + public static com.google.analytics.admin.v1alpha.ListSKAdNetworkConversionValueSchemasRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListSKAdNetworkConversionValueSchemasRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - 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 ListSKAdNetworkConversionValueSchemasRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.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.ListSKAdNetworkConversionValueSchemasRequest getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.ListSKAdNetworkConversionValueSchemasRequest + 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/ListSKAdNetworkConversionValueSchemasRequestOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListSKAdNetworkConversionValueSchemasRequestOrBuilder.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/ListSKAdNetworkConversionValueSchemasRequestOrBuilder.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListSKAdNetworkConversionValueSchemasRequestOrBuilder.java index cac67ae0e26d..8a08ddbc335c 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListSKAdNetworkConversionValueSchemasRequestOrBuilder.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListSKAdNetworkConversionValueSchemasRequestOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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 ListSKAdNetworkConversionValueSchemasRequestOrBuilder extends +public interface ListSKAdNetworkConversionValueSchemasRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.ListSKAdNetworkConversionValueSchemasRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The DataStream resource to list schemas for.
    * Format:
@@ -15,11 +33,16 @@ public interface ListSKAdNetworkConversionValueSchemasRequestOrBuilder extends
    * Example: properties/1234/dataStreams/5678
    * 
* - * string parent = 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 DataStream resource to list schemas for.
    * Format:
@@ -27,13 +50,17 @@ public interface ListSKAdNetworkConversionValueSchemasRequestOrBuilder extends
    * Example: properties/1234/dataStreams/5678
    * 
* - * string parent = 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.
@@ -42,11 +69,14 @@ public interface ListSKAdNetworkConversionValueSchemasRequestOrBuilder extends
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * A page token, received from a previous
    * `ListSKAdNetworkConversionValueSchemas` call. Provide this to retrieve the
@@ -56,10 +86,13 @@ public interface ListSKAdNetworkConversionValueSchemasRequestOrBuilder extends
    * 
* * string page_token = 3; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * A page token, received from a previous
    * `ListSKAdNetworkConversionValueSchemas` call. Provide this to retrieve the
@@ -69,8 +102,8 @@ public interface ListSKAdNetworkConversionValueSchemasRequestOrBuilder 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/ListSKAdNetworkConversionValueSchemasResponse.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListSKAdNetworkConversionValueSchemasResponse.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/ListSKAdNetworkConversionValueSchemasResponse.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListSKAdNetworkConversionValueSchemasResponse.java index 0299a95132fb..a0ec0f6d4a3b 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListSKAdNetworkConversionValueSchemasResponse.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListSKAdNetworkConversionValueSchemasResponse.java @@ -1,24 +1,45 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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 ListSKAdNetworkConversionValueSchemas RPC
  * 
* - * Protobuf type {@code google.analytics.admin.v1alpha.ListSKAdNetworkConversionValueSchemasResponse} + * Protobuf type {@code + * google.analytics.admin.v1alpha.ListSKAdNetworkConversionValueSchemasResponse} */ -public final class ListSKAdNetworkConversionValueSchemasResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListSKAdNetworkConversionValueSchemasResponse + extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.ListSKAdNetworkConversionValueSchemasResponse) ListSKAdNetworkConversionValueSchemasResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListSKAdNetworkConversionValueSchemasResponse.newBuilder() to construct. - private ListSKAdNetworkConversionValueSchemasResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private ListSKAdNetworkConversionValueSchemasResponse( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListSKAdNetworkConversionValueSchemasResponse() { skadnetworkConversionValueSchemas_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -26,94 +47,124 @@ private ListSKAdNetworkConversionValueSchemasResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListSKAdNetworkConversionValueSchemasResponse(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListSKAdNetworkConversionValueSchemasResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ListSKAdNetworkConversionValueSchemasResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListSKAdNetworkConversionValueSchemasResponse_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ListSKAdNetworkConversionValueSchemasResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.ListSKAdNetworkConversionValueSchemasResponse.class, com.google.analytics.admin.v1alpha.ListSKAdNetworkConversionValueSchemasResponse.Builder.class); + com.google.analytics.admin.v1alpha.ListSKAdNetworkConversionValueSchemasResponse.class, + com.google.analytics.admin.v1alpha.ListSKAdNetworkConversionValueSchemasResponse.Builder + .class); } public static final int SKADNETWORK_CONVERSION_VALUE_SCHEMAS_FIELD_NUMBER = 1; + @SuppressWarnings("serial") - private java.util.List skadnetworkConversionValueSchemas_; + private java.util.List + skadnetworkConversionValueSchemas_; /** + * + * *
    * List of SKAdNetworkConversionValueSchemas. This will have at most one
    * value.
    * 
* - * repeated .google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema skadnetwork_conversion_value_schemas = 1; + * + * repeated .google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema skadnetwork_conversion_value_schemas = 1; + * */ @java.lang.Override - public java.util.List getSkadnetworkConversionValueSchemasList() { + public java.util.List + getSkadnetworkConversionValueSchemasList() { return skadnetworkConversionValueSchemas_; } /** + * + * *
    * List of SKAdNetworkConversionValueSchemas. This will have at most one
    * value.
    * 
* - * repeated .google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema skadnetwork_conversion_value_schemas = 1; + * + * repeated .google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema skadnetwork_conversion_value_schemas = 1; + * */ @java.lang.Override - public java.util.List + public java.util.List< + ? extends com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchemaOrBuilder> getSkadnetworkConversionValueSchemasOrBuilderList() { return skadnetworkConversionValueSchemas_; } /** + * + * *
    * List of SKAdNetworkConversionValueSchemas. This will have at most one
    * value.
    * 
* - * repeated .google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema skadnetwork_conversion_value_schemas = 1; + * + * repeated .google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema skadnetwork_conversion_value_schemas = 1; + * */ @java.lang.Override public int getSkadnetworkConversionValueSchemasCount() { return skadnetworkConversionValueSchemas_.size(); } /** + * + * *
    * List of SKAdNetworkConversionValueSchemas. This will have at most one
    * value.
    * 
* - * repeated .google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema skadnetwork_conversion_value_schemas = 1; + * + * repeated .google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema skadnetwork_conversion_value_schemas = 1; + * */ @java.lang.Override - public com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema getSkadnetworkConversionValueSchemas(int index) { + public com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema + getSkadnetworkConversionValueSchemas(int index) { return skadnetworkConversionValueSchemas_.get(index); } /** + * + * *
    * List of SKAdNetworkConversionValueSchemas. This will have at most one
    * value.
    * 
* - * repeated .google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema skadnetwork_conversion_value_schemas = 1; + * + * repeated .google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema skadnetwork_conversion_value_schemas = 1; + * */ @java.lang.Override - public com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchemaOrBuilder getSkadnetworkConversionValueSchemasOrBuilder( - int index) { + public com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchemaOrBuilder + getSkadnetworkConversionValueSchemasOrBuilder(int index) { return skadnetworkConversionValueSchemas_.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.
@@ -123,6 +174,7 @@ public com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchemaOrBuil
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -131,14 +183,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.
@@ -148,16 +201,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 { @@ -166,6 +218,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -177,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 { for (int i = 0; i < skadnetworkConversionValueSchemas_.size(); i++) { output.writeMessage(1, skadnetworkConversionValueSchemas_.get(i)); } @@ -195,8 +247,9 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < skadnetworkConversionValueSchemas_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, skadnetworkConversionValueSchemas_.get(i)); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 1, skadnetworkConversionValueSchemas_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -209,17 +262,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.ListSKAdNetworkConversionValueSchemasResponse)) { + if (!(obj + instanceof + com.google.analytics.admin.v1alpha.ListSKAdNetworkConversionValueSchemasResponse)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.ListSKAdNetworkConversionValueSchemasResponse other = (com.google.analytics.admin.v1alpha.ListSKAdNetworkConversionValueSchemasResponse) obj; + com.google.analytics.admin.v1alpha.ListSKAdNetworkConversionValueSchemasResponse other = + (com.google.analytics.admin.v1alpha.ListSKAdNetworkConversionValueSchemasResponse) obj; if (!getSkadnetworkConversionValueSchemasList() .equals(other.getSkadnetworkConversionValueSchemasList())) 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; } @@ -242,132 +297,147 @@ public int hashCode() { return hash; } - public static com.google.analytics.admin.v1alpha.ListSKAdNetworkConversionValueSchemasResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.analytics.admin.v1alpha.ListSKAdNetworkConversionValueSchemasResponse + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.ListSKAdNetworkConversionValueSchemasResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.analytics.admin.v1alpha.ListSKAdNetworkConversionValueSchemasResponse + 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.ListSKAdNetworkConversionValueSchemasResponse parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.analytics.admin.v1alpha.ListSKAdNetworkConversionValueSchemasResponse + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.ListSKAdNetworkConversionValueSchemasResponse parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.analytics.admin.v1alpha.ListSKAdNetworkConversionValueSchemasResponse + parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.ListSKAdNetworkConversionValueSchemasResponse parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.analytics.admin.v1alpha.ListSKAdNetworkConversionValueSchemasResponse + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.ListSKAdNetworkConversionValueSchemasResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.analytics.admin.v1alpha.ListSKAdNetworkConversionValueSchemasResponse + 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.ListSKAdNetworkConversionValueSchemasResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.ListSKAdNetworkConversionValueSchemasResponse + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.ListSKAdNetworkConversionValueSchemasResponse 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.ListSKAdNetworkConversionValueSchemasResponse + 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.ListSKAdNetworkConversionValueSchemasResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.ListSKAdNetworkConversionValueSchemasResponse + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.ListSKAdNetworkConversionValueSchemasResponse parseDelimitedFrom( - java.io.InputStream input, - 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.ListSKAdNetworkConversionValueSchemasResponse + parseDelimitedFrom( + java.io.InputStream input, 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.ListSKAdNetworkConversionValueSchemasResponse 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.ListSKAdNetworkConversionValueSchemasResponse + 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.ListSKAdNetworkConversionValueSchemasResponse 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.ListSKAdNetworkConversionValueSchemasResponse + 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.ListSKAdNetworkConversionValueSchemasResponse prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1alpha.ListSKAdNetworkConversionValueSchemasResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 ListSKAdNetworkConversionValueSchemas RPC
    * 
* - * Protobuf type {@code google.analytics.admin.v1alpha.ListSKAdNetworkConversionValueSchemasResponse} + * Protobuf type {@code + * google.analytics.admin.v1alpha.ListSKAdNetworkConversionValueSchemasResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.ListSKAdNetworkConversionValueSchemasResponse) com.google.analytics.admin.v1alpha.ListSKAdNetworkConversionValueSchemasResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListSKAdNetworkConversionValueSchemasResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ListSKAdNetworkConversionValueSchemasResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListSKAdNetworkConversionValueSchemasResponse_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ListSKAdNetworkConversionValueSchemasResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.ListSKAdNetworkConversionValueSchemasResponse.class, com.google.analytics.admin.v1alpha.ListSKAdNetworkConversionValueSchemasResponse.Builder.class); + com.google.analytics.admin.v1alpha.ListSKAdNetworkConversionValueSchemasResponse + .class, + com.google.analytics.admin.v1alpha.ListSKAdNetworkConversionValueSchemasResponse + .Builder.class); } - // Construct using com.google.analytics.admin.v1alpha.ListSKAdNetworkConversionValueSchemasResponse.newBuilder() - private Builder() { + // Construct using + // com.google.analytics.admin.v1alpha.ListSKAdNetworkConversionValueSchemasResponse.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(); @@ -384,19 +454,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_ListSKAdNetworkConversionValueSchemasResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ListSKAdNetworkConversionValueSchemasResponse_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.ListSKAdNetworkConversionValueSchemasResponse getDefaultInstanceForType() { - return com.google.analytics.admin.v1alpha.ListSKAdNetworkConversionValueSchemasResponse.getDefaultInstance(); + public com.google.analytics.admin.v1alpha.ListSKAdNetworkConversionValueSchemasResponse + getDefaultInstanceForType() { + return com.google.analytics.admin.v1alpha.ListSKAdNetworkConversionValueSchemasResponse + .getDefaultInstance(); } @java.lang.Override - public com.google.analytics.admin.v1alpha.ListSKAdNetworkConversionValueSchemasResponse build() { - com.google.analytics.admin.v1alpha.ListSKAdNetworkConversionValueSchemasResponse result = buildPartial(); + public com.google.analytics.admin.v1alpha.ListSKAdNetworkConversionValueSchemasResponse + build() { + com.google.analytics.admin.v1alpha.ListSKAdNetworkConversionValueSchemasResponse result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -404,27 +478,36 @@ public com.google.analytics.admin.v1alpha.ListSKAdNetworkConversionValueSchemasR } @java.lang.Override - public com.google.analytics.admin.v1alpha.ListSKAdNetworkConversionValueSchemasResponse buildPartial() { - com.google.analytics.admin.v1alpha.ListSKAdNetworkConversionValueSchemasResponse result = new com.google.analytics.admin.v1alpha.ListSKAdNetworkConversionValueSchemasResponse(this); + public com.google.analytics.admin.v1alpha.ListSKAdNetworkConversionValueSchemasResponse + buildPartial() { + com.google.analytics.admin.v1alpha.ListSKAdNetworkConversionValueSchemasResponse result = + new com.google.analytics.admin.v1alpha.ListSKAdNetworkConversionValueSchemasResponse( + this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartialRepeatedFields(com.google.analytics.admin.v1alpha.ListSKAdNetworkConversionValueSchemasResponse result) { + private void buildPartialRepeatedFields( + com.google.analytics.admin.v1alpha.ListSKAdNetworkConversionValueSchemasResponse result) { if (skadnetworkConversionValueSchemasBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { - skadnetworkConversionValueSchemas_ = java.util.Collections.unmodifiableList(skadnetworkConversionValueSchemas_); + skadnetworkConversionValueSchemas_ = + java.util.Collections.unmodifiableList(skadnetworkConversionValueSchemas_); bitField0_ = (bitField0_ & ~0x00000001); } result.skadnetworkConversionValueSchemas_ = skadnetworkConversionValueSchemas_; } else { - result.skadnetworkConversionValueSchemas_ = skadnetworkConversionValueSchemasBuilder_.build(); + result.skadnetworkConversionValueSchemas_ = + skadnetworkConversionValueSchemasBuilder_.build(); } } - private void buildPartial0(com.google.analytics.admin.v1alpha.ListSKAdNetworkConversionValueSchemasResponse result) { + private void buildPartial0( + com.google.analytics.admin.v1alpha.ListSKAdNetworkConversionValueSchemasResponse result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000002) != 0)) { result.nextPageToken_ = nextPageToken_; @@ -435,46 +518,54 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.ListSKAdNetworkCon public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.analytics.admin.v1alpha.ListSKAdNetworkConversionValueSchemasResponse) { - return mergeFrom((com.google.analytics.admin.v1alpha.ListSKAdNetworkConversionValueSchemasResponse)other); + if (other + instanceof + com.google.analytics.admin.v1alpha.ListSKAdNetworkConversionValueSchemasResponse) { + return mergeFrom( + (com.google.analytics.admin.v1alpha.ListSKAdNetworkConversionValueSchemasResponse) + other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.analytics.admin.v1alpha.ListSKAdNetworkConversionValueSchemasResponse other) { - if (other == com.google.analytics.admin.v1alpha.ListSKAdNetworkConversionValueSchemasResponse.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.analytics.admin.v1alpha.ListSKAdNetworkConversionValueSchemasResponse other) { + if (other + == com.google.analytics.admin.v1alpha.ListSKAdNetworkConversionValueSchemasResponse + .getDefaultInstance()) return this; if (skadnetworkConversionValueSchemasBuilder_ == null) { if (!other.skadnetworkConversionValueSchemas_.isEmpty()) { if (skadnetworkConversionValueSchemas_.isEmpty()) { @@ -493,11 +584,13 @@ public Builder mergeFrom(com.google.analytics.admin.v1alpha.ListSKAdNetworkConve skadnetworkConversionValueSchemasBuilder_ = null; skadnetworkConversionValueSchemas_ = other.skadnetworkConversionValueSchemas_; bitField0_ = (bitField0_ & ~0x00000001); - skadnetworkConversionValueSchemasBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getSkadnetworkConversionValueSchemasFieldBuilder() : null; + skadnetworkConversionValueSchemasBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getSkadnetworkConversionValueSchemasFieldBuilder() + : null; } else { - skadnetworkConversionValueSchemasBuilder_.addAllMessages(other.skadnetworkConversionValueSchemas_); + skadnetworkConversionValueSchemasBuilder_.addAllMessages( + other.skadnetworkConversionValueSchemas_); } } } @@ -532,30 +625,34 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema m = - input.readMessage( - com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema.parser(), - extensionRegistry); - if (skadnetworkConversionValueSchemasBuilder_ == null) { - ensureSkadnetworkConversionValueSchemasIsMutable(); - skadnetworkConversionValueSchemas_.add(m); - } else { - skadnetworkConversionValueSchemasBuilder_.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.SKAdNetworkConversionValueSchema m = + input.readMessage( + com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema + .parser(), + extensionRegistry); + if (skadnetworkConversionValueSchemasBuilder_ == null) { + ensureSkadnetworkConversionValueSchemasIsMutable(); + skadnetworkConversionValueSchemas_.add(m); + } else { + skadnetworkConversionValueSchemasBuilder_.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) { @@ -565,29 +662,42 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; - private java.util.List skadnetworkConversionValueSchemas_ = - java.util.Collections.emptyList(); + private java.util.List + skadnetworkConversionValueSchemas_ = java.util.Collections.emptyList(); + private void ensureSkadnetworkConversionValueSchemasIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - skadnetworkConversionValueSchemas_ = new java.util.ArrayList(skadnetworkConversionValueSchemas_); + skadnetworkConversionValueSchemas_ = + new java.util.ArrayList< + com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema>( + skadnetworkConversionValueSchemas_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema, com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema.Builder, com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchemaOrBuilder> skadnetworkConversionValueSchemasBuilder_; + com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema, + com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema.Builder, + com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchemaOrBuilder> + skadnetworkConversionValueSchemasBuilder_; /** + * + * *
      * List of SKAdNetworkConversionValueSchemas. This will have at most one
      * value.
      * 
* - * repeated .google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema skadnetwork_conversion_value_schemas = 1; + * + * repeated .google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema skadnetwork_conversion_value_schemas = 1; + * */ - public java.util.List getSkadnetworkConversionValueSchemasList() { + public java.util.List + getSkadnetworkConversionValueSchemasList() { if (skadnetworkConversionValueSchemasBuilder_ == null) { return java.util.Collections.unmodifiableList(skadnetworkConversionValueSchemas_); } else { @@ -595,12 +705,16 @@ public java.util.List * List of SKAdNetworkConversionValueSchemas. This will have at most one * value. *
* - * repeated .google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema skadnetwork_conversion_value_schemas = 1; + * + * repeated .google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema skadnetwork_conversion_value_schemas = 1; + * */ public int getSkadnetworkConversionValueSchemasCount() { if (skadnetworkConversionValueSchemasBuilder_ == null) { @@ -610,14 +724,19 @@ public int getSkadnetworkConversionValueSchemasCount() { } } /** + * + * *
      * List of SKAdNetworkConversionValueSchemas. This will have at most one
      * value.
      * 
* - * repeated .google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema skadnetwork_conversion_value_schemas = 1; + * + * repeated .google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema skadnetwork_conversion_value_schemas = 1; + * */ - public com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema getSkadnetworkConversionValueSchemas(int index) { + public com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema + getSkadnetworkConversionValueSchemas(int index) { if (skadnetworkConversionValueSchemasBuilder_ == null) { return skadnetworkConversionValueSchemas_.get(index); } else { @@ -625,12 +744,16 @@ public com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema getSk } } /** + * + * *
      * List of SKAdNetworkConversionValueSchemas. This will have at most one
      * value.
      * 
* - * repeated .google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema skadnetwork_conversion_value_schemas = 1; + * + * repeated .google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema skadnetwork_conversion_value_schemas = 1; + * */ public Builder setSkadnetworkConversionValueSchemas( int index, com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema value) { @@ -647,15 +770,21 @@ public Builder setSkadnetworkConversionValueSchemas( return this; } /** + * + * *
      * List of SKAdNetworkConversionValueSchemas. This will have at most one
      * value.
      * 
* - * repeated .google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema skadnetwork_conversion_value_schemas = 1; + * + * repeated .google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema skadnetwork_conversion_value_schemas = 1; + * */ public Builder setSkadnetworkConversionValueSchemas( - int index, com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema.Builder builderForValue) { + int index, + com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema.Builder + builderForValue) { if (skadnetworkConversionValueSchemasBuilder_ == null) { ensureSkadnetworkConversionValueSchemasIsMutable(); skadnetworkConversionValueSchemas_.set(index, builderForValue.build()); @@ -666,14 +795,19 @@ public Builder setSkadnetworkConversionValueSchemas( return this; } /** + * + * *
      * List of SKAdNetworkConversionValueSchemas. This will have at most one
      * value.
      * 
* - * repeated .google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema skadnetwork_conversion_value_schemas = 1; + * + * repeated .google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema skadnetwork_conversion_value_schemas = 1; + * */ - public Builder addSkadnetworkConversionValueSchemas(com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema value) { + public Builder addSkadnetworkConversionValueSchemas( + com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema value) { if (skadnetworkConversionValueSchemasBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -687,12 +821,16 @@ public Builder addSkadnetworkConversionValueSchemas(com.google.analytics.admin.v return this; } /** + * + * *
      * List of SKAdNetworkConversionValueSchemas. This will have at most one
      * value.
      * 
* - * repeated .google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema skadnetwork_conversion_value_schemas = 1; + * + * repeated .google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema skadnetwork_conversion_value_schemas = 1; + * */ public Builder addSkadnetworkConversionValueSchemas( int index, com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema value) { @@ -709,15 +847,20 @@ public Builder addSkadnetworkConversionValueSchemas( return this; } /** + * + * *
      * List of SKAdNetworkConversionValueSchemas. This will have at most one
      * value.
      * 
* - * repeated .google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema skadnetwork_conversion_value_schemas = 1; + * + * repeated .google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema skadnetwork_conversion_value_schemas = 1; + * */ public Builder addSkadnetworkConversionValueSchemas( - com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema.Builder builderForValue) { + com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema.Builder + builderForValue) { if (skadnetworkConversionValueSchemasBuilder_ == null) { ensureSkadnetworkConversionValueSchemasIsMutable(); skadnetworkConversionValueSchemas_.add(builderForValue.build()); @@ -728,15 +871,21 @@ public Builder addSkadnetworkConversionValueSchemas( return this; } /** + * + * *
      * List of SKAdNetworkConversionValueSchemas. This will have at most one
      * value.
      * 
* - * repeated .google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema skadnetwork_conversion_value_schemas = 1; + * + * repeated .google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema skadnetwork_conversion_value_schemas = 1; + * */ public Builder addSkadnetworkConversionValueSchemas( - int index, com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema.Builder builderForValue) { + int index, + com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema.Builder + builderForValue) { if (skadnetworkConversionValueSchemasBuilder_ == null) { ensureSkadnetworkConversionValueSchemasIsMutable(); skadnetworkConversionValueSchemas_.add(index, builderForValue.build()); @@ -747,15 +896,21 @@ public Builder addSkadnetworkConversionValueSchemas( return this; } /** + * + * *
      * List of SKAdNetworkConversionValueSchemas. This will have at most one
      * value.
      * 
* - * repeated .google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema skadnetwork_conversion_value_schemas = 1; + * + * repeated .google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema skadnetwork_conversion_value_schemas = 1; + * */ public Builder addAllSkadnetworkConversionValueSchemas( - java.lang.Iterable values) { + java.lang.Iterable< + ? extends com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema> + values) { if (skadnetworkConversionValueSchemasBuilder_ == null) { ensureSkadnetworkConversionValueSchemasIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( @@ -767,12 +922,16 @@ public Builder addAllSkadnetworkConversionValueSchemas( return this; } /** + * + * *
      * List of SKAdNetworkConversionValueSchemas. This will have at most one
      * value.
      * 
* - * repeated .google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema skadnetwork_conversion_value_schemas = 1; + * + * repeated .google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema skadnetwork_conversion_value_schemas = 1; + * */ public Builder clearSkadnetworkConversionValueSchemas() { if (skadnetworkConversionValueSchemasBuilder_ == null) { @@ -785,12 +944,16 @@ public Builder clearSkadnetworkConversionValueSchemas() { return this; } /** + * + * *
      * List of SKAdNetworkConversionValueSchemas. This will have at most one
      * value.
      * 
* - * repeated .google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema skadnetwork_conversion_value_schemas = 1; + * + * repeated .google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema skadnetwork_conversion_value_schemas = 1; + * */ public Builder removeSkadnetworkConversionValueSchemas(int index) { if (skadnetworkConversionValueSchemasBuilder_ == null) { @@ -803,42 +966,56 @@ public Builder removeSkadnetworkConversionValueSchemas(int index) { return this; } /** + * + * *
      * List of SKAdNetworkConversionValueSchemas. This will have at most one
      * value.
      * 
* - * repeated .google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema skadnetwork_conversion_value_schemas = 1; + * + * repeated .google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema skadnetwork_conversion_value_schemas = 1; + * */ - public com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema.Builder getSkadnetworkConversionValueSchemasBuilder( - int index) { + public com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema.Builder + getSkadnetworkConversionValueSchemasBuilder(int index) { return getSkadnetworkConversionValueSchemasFieldBuilder().getBuilder(index); } /** + * + * *
      * List of SKAdNetworkConversionValueSchemas. This will have at most one
      * value.
      * 
* - * repeated .google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema skadnetwork_conversion_value_schemas = 1; + * + * repeated .google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema skadnetwork_conversion_value_schemas = 1; + * */ - public com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchemaOrBuilder getSkadnetworkConversionValueSchemasOrBuilder( - int index) { + public com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchemaOrBuilder + getSkadnetworkConversionValueSchemasOrBuilder(int index) { if (skadnetworkConversionValueSchemasBuilder_ == null) { - return skadnetworkConversionValueSchemas_.get(index); } else { + return skadnetworkConversionValueSchemas_.get(index); + } else { return skadnetworkConversionValueSchemasBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * List of SKAdNetworkConversionValueSchemas. This will have at most one
      * value.
      * 
* - * repeated .google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema skadnetwork_conversion_value_schemas = 1; + * + * repeated .google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema skadnetwork_conversion_value_schemas = 1; + * */ - public java.util.List - getSkadnetworkConversionValueSchemasOrBuilderList() { + public java.util.List< + ? extends com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchemaOrBuilder> + getSkadnetworkConversionValueSchemasOrBuilderList() { if (skadnetworkConversionValueSchemasBuilder_ != null) { return skadnetworkConversionValueSchemasBuilder_.getMessageOrBuilderList(); } else { @@ -846,48 +1023,73 @@ public com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchemaOrBuil } } /** + * + * *
      * List of SKAdNetworkConversionValueSchemas. This will have at most one
      * value.
      * 
* - * repeated .google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema skadnetwork_conversion_value_schemas = 1; + * + * repeated .google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema skadnetwork_conversion_value_schemas = 1; + * */ - public com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema.Builder addSkadnetworkConversionValueSchemasBuilder() { - return getSkadnetworkConversionValueSchemasFieldBuilder().addBuilder( - com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema.getDefaultInstance()); + public com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema.Builder + addSkadnetworkConversionValueSchemasBuilder() { + return getSkadnetworkConversionValueSchemasFieldBuilder() + .addBuilder( + com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema + .getDefaultInstance()); } /** + * + * *
      * List of SKAdNetworkConversionValueSchemas. This will have at most one
      * value.
      * 
* - * repeated .google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema skadnetwork_conversion_value_schemas = 1; + * + * repeated .google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema skadnetwork_conversion_value_schemas = 1; + * */ - public com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema.Builder addSkadnetworkConversionValueSchemasBuilder( - int index) { - return getSkadnetworkConversionValueSchemasFieldBuilder().addBuilder( - index, com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema.getDefaultInstance()); + public com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema.Builder + addSkadnetworkConversionValueSchemasBuilder(int index) { + return getSkadnetworkConversionValueSchemasFieldBuilder() + .addBuilder( + index, + com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema + .getDefaultInstance()); } /** + * + * *
      * List of SKAdNetworkConversionValueSchemas. This will have at most one
      * value.
      * 
* - * repeated .google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema skadnetwork_conversion_value_schemas = 1; + * + * repeated .google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema skadnetwork_conversion_value_schemas = 1; + * */ - public java.util.List - getSkadnetworkConversionValueSchemasBuilderList() { + public java.util.List< + com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema.Builder> + getSkadnetworkConversionValueSchemasBuilderList() { return getSkadnetworkConversionValueSchemasFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema, com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema.Builder, com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchemaOrBuilder> + com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema, + com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema.Builder, + com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchemaOrBuilder> getSkadnetworkConversionValueSchemasFieldBuilder() { if (skadnetworkConversionValueSchemasBuilder_ == null) { - skadnetworkConversionValueSchemasBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema, com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema.Builder, com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchemaOrBuilder>( + skadnetworkConversionValueSchemasBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema, + com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema.Builder, + com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchemaOrBuilder>( skadnetworkConversionValueSchemas_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -899,6 +1101,8 @@ public com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema.Build 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.
@@ -908,13 +1112,13 @@ public com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema.Build
      * 
* * 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; @@ -923,6 +1127,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,15 +1138,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 { @@ -948,6 +1153,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.
@@ -957,18 +1164,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.
@@ -978,6 +1189,7 @@ public Builder setNextPageToken(
      * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { @@ -987,6 +1199,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.
@@ -996,21 +1210,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); } @@ -1020,55 +1236,61 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.ListSKAdNetworkConversionValueSchemasResponse) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.ListSKAdNetworkConversionValueSchemasResponse) - private static final com.google.analytics.admin.v1alpha.ListSKAdNetworkConversionValueSchemasResponse DEFAULT_INSTANCE; + private static final com.google.analytics.admin.v1alpha + .ListSKAdNetworkConversionValueSchemasResponse + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.ListSKAdNetworkConversionValueSchemasResponse(); + DEFAULT_INSTANCE = + new com.google.analytics.admin.v1alpha.ListSKAdNetworkConversionValueSchemasResponse(); } - public static com.google.analytics.admin.v1alpha.ListSKAdNetworkConversionValueSchemasResponse getDefaultInstance() { + public static com.google.analytics.admin.v1alpha.ListSKAdNetworkConversionValueSchemasResponse + getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListSKAdNetworkConversionValueSchemasResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - 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 ListSKAdNetworkConversionValueSchemasResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.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.ListSKAdNetworkConversionValueSchemasResponse getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.ListSKAdNetworkConversionValueSchemasResponse + 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/ListSKAdNetworkConversionValueSchemasResponseOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListSKAdNetworkConversionValueSchemasResponseOrBuilder.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/ListSKAdNetworkConversionValueSchemasResponseOrBuilder.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListSKAdNetworkConversionValueSchemasResponseOrBuilder.java index a3395c4d4d22..b6ec68a765a1 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListSKAdNetworkConversionValueSchemasResponseOrBuilder.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListSKAdNetworkConversionValueSchemasResponseOrBuilder.java @@ -1,62 +1,102 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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 ListSKAdNetworkConversionValueSchemasResponseOrBuilder extends +public interface ListSKAdNetworkConversionValueSchemasResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.ListSKAdNetworkConversionValueSchemasResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * List of SKAdNetworkConversionValueSchemas. This will have at most one
    * value.
    * 
* - * repeated .google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema skadnetwork_conversion_value_schemas = 1; + * + * repeated .google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema skadnetwork_conversion_value_schemas = 1; + * */ - java.util.List + java.util.List getSkadnetworkConversionValueSchemasList(); /** + * + * *
    * List of SKAdNetworkConversionValueSchemas. This will have at most one
    * value.
    * 
* - * repeated .google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema skadnetwork_conversion_value_schemas = 1; + * + * repeated .google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema skadnetwork_conversion_value_schemas = 1; + * */ - com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema getSkadnetworkConversionValueSchemas(int index); + com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema + getSkadnetworkConversionValueSchemas(int index); /** + * + * *
    * List of SKAdNetworkConversionValueSchemas. This will have at most one
    * value.
    * 
* - * repeated .google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema skadnetwork_conversion_value_schemas = 1; + * + * repeated .google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema skadnetwork_conversion_value_schemas = 1; + * */ int getSkadnetworkConversionValueSchemasCount(); /** + * + * *
    * List of SKAdNetworkConversionValueSchemas. This will have at most one
    * value.
    * 
* - * repeated .google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema skadnetwork_conversion_value_schemas = 1; + * + * repeated .google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema skadnetwork_conversion_value_schemas = 1; + * */ - java.util.List + java.util.List< + ? extends com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchemaOrBuilder> getSkadnetworkConversionValueSchemasOrBuilderList(); /** + * + * *
    * List of SKAdNetworkConversionValueSchemas. This will have at most one
    * value.
    * 
* - * repeated .google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema skadnetwork_conversion_value_schemas = 1; + * + * repeated .google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema skadnetwork_conversion_value_schemas = 1; + * */ - com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchemaOrBuilder getSkadnetworkConversionValueSchemasOrBuilder( - int index); + com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchemaOrBuilder + getSkadnetworkConversionValueSchemasOrBuilder(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.
@@ -66,10 +106,13 @@ com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchemaOrBuilder get
    * 
* * 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.
@@ -79,8 +122,8 @@ com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchemaOrBuilder get
    * 
* * 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 0ae9dc6da831..4439fd55f560 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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,33 +44,40 @@ private ListSearchAds360LinksRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListSearchAds360LinksRequest(); } - 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 @@ -61,29 +86,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 { @@ -94,6 +121,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.
@@ -101,6 +130,7 @@ public java.lang.String getParent() {
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -109,9 +139,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.
@@ -122,6 +155,7 @@ public int getPageSize() {
    * 
* * string page_token = 3; + * * @return The pageToken. */ @java.lang.Override @@ -130,14 +164,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.
@@ -148,16 +183,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 { @@ -166,6 +200,7 @@ public java.lang.String getPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -177,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 { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -201,8 +235,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_); @@ -215,19 +248,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; } @@ -251,131 +282,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(); @@ -387,13 +423,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(); } @@ -408,13 +445,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_; @@ -431,46 +472,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; @@ -510,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) { @@ -540,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; @@ -564,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 { @@ -585,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() { @@ -616,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; @@ -634,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.
@@ -643,6 +719,7 @@ public Builder setParentBytes(
      * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -650,6 +727,8 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * The maximum number of resources to return.
      * If unspecified, at most 50 resources will be returned.
@@ -657,6 +736,7 @@ public int getPageSize() {
      * 
* * int32 page_size = 2; + * * @param value The pageSize to set. * @return This builder for chaining. */ @@ -668,6 +748,8 @@ public Builder setPageSize(int value) { return this; } /** + * + * *
      * The maximum number of resources to return.
      * If unspecified, at most 50 resources will be returned.
@@ -675,6 +757,7 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2; + * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -686,6 +769,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 +781,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 +796,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * A page token, received from a previous `ListSearchAds360Links`
      * call. Provide this to retrieve the subsequent page.
@@ -721,15 +808,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 { @@ -737,6 +823,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * A page token, received from a previous `ListSearchAds360Links`
      * call. Provide this to retrieve the subsequent page.
@@ -747,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.
@@ -769,6 +861,7 @@ public Builder setPageToken(
      * 
* * string page_token = 3; + * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -778,6 +871,8 @@ public Builder clearPageToken() { return this; } /** + * + * *
      * A page token, received from a previous `ListSearchAds360Links`
      * call. Provide this to retrieve the subsequent page.
@@ -788,21 +883,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,41 +909,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; @@ -858,9 +957,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 60e632c759f3..b5fd201a82e5 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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.
@@ -50,10 +80,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.
@@ -64,8 +97,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 69% 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 231490cfcec4..21391ca9025a 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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,78 +44,96 @@ private ListSearchAds360LinksResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListSearchAds360LinksResponse(); } - 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( @@ -106,15 +142,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 @@ -123,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 { @@ -155,6 +195,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -166,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 < searchAds360Links_.size(); i++) { output.writeMessage(1, searchAds360Links_.get(i)); } @@ -184,8 +224,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_); @@ -198,17 +238,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; } @@ -232,131 +271,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(); @@ -373,13 +417,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(); } @@ -394,14 +439,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_); @@ -413,7 +462,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_; @@ -424,46 +474,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()) { @@ -482,9 +536,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_); } @@ -521,30 +576,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) { @@ -554,28 +612,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 { @@ -583,11 +652,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) { @@ -597,11 +669,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) { @@ -611,11 +686,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) { @@ -632,11 +710,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) { @@ -650,11 +731,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) { @@ -670,11 +754,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) { @@ -691,11 +778,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) { @@ -709,11 +799,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) { @@ -727,18 +820,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); @@ -746,11 +841,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) { @@ -763,11 +861,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) { @@ -780,39 +881,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 { @@ -820,45 +931,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(), @@ -870,19 +998,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; @@ -891,21 +1021,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 { @@ -913,30 +1044,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() { @@ -946,27 +1084,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); } @@ -976,41 +1118,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; @@ -1022,9 +1166,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..e3b1cc1ff9c1 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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/ListSubpropertyEventFiltersRequest.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListSubpropertyEventFiltersRequest.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/ListSubpropertyEventFiltersRequest.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListSubpropertyEventFiltersRequest.java index 52447eab1015..f36309b40ff9 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListSubpropertyEventFiltersRequest.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListSubpropertyEventFiltersRequest.java @@ -1,24 +1,43 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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 ListSubpropertyEventFilters RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.ListSubpropertyEventFiltersRequest} */ -public final class ListSubpropertyEventFiltersRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListSubpropertyEventFiltersRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.ListSubpropertyEventFiltersRequest) ListSubpropertyEventFiltersRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListSubpropertyEventFiltersRequest.newBuilder() to construct. - private ListSubpropertyEventFiltersRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private ListSubpropertyEventFiltersRequest( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListSubpropertyEventFiltersRequest() { parent_ = ""; pageToken_ = ""; @@ -26,35 +45,42 @@ private ListSubpropertyEventFiltersRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListSubpropertyEventFiltersRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListSubpropertyEventFiltersRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ListSubpropertyEventFiltersRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListSubpropertyEventFiltersRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ListSubpropertyEventFiltersRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.ListSubpropertyEventFiltersRequest.class, com.google.analytics.admin.v1alpha.ListSubpropertyEventFiltersRequest.Builder.class); + com.google.analytics.admin.v1alpha.ListSubpropertyEventFiltersRequest.class, + com.google.analytics.admin.v1alpha.ListSubpropertyEventFiltersRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** + * + * *
    * Required. Resource name of the ordinary property.
    * Format: properties/property_id
    * 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 @@ -63,31 +89,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. Resource name of the ordinary property.
    * Format: properties/property_id
    * 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 { @@ -98,6 +126,8 @@ public java.lang.String getParent() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_ = 0; /** + * + * *
    * Optional. The maximum number of resources to return. The service may return
    * fewer than this value, even if there are additional pages. If unspecified,
@@ -106,6 +136,7 @@ public java.lang.String getParent() {
    * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ @java.lang.Override @@ -114,9 +145,12 @@ public int getPageSize() { } public static final int PAGE_TOKEN_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; /** + * + * *
    * Optional. A page token, received from a previous
    * `ListSubpropertyEventFilters` call. Provide this to retrieve the subsequent
@@ -126,6 +160,7 @@ public int getPageSize() {
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageToken. */ @java.lang.Override @@ -134,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; } } /** + * + * *
    * Optional. A page token, received from a previous
    * `ListSubpropertyEventFilters` call. Provide this to retrieve the subsequent
@@ -151,16 +187,15 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 3 [(.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 { @@ -169,6 +204,7 @@ public java.lang.String getPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -180,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_); } @@ -204,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_); @@ -218,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.ListSubpropertyEventFiltersRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.ListSubpropertyEventFiltersRequest other = (com.google.analytics.admin.v1alpha.ListSubpropertyEventFiltersRequest) obj; + com.google.analytics.admin.v1alpha.ListSubpropertyEventFiltersRequest other = + (com.google.analytics.admin.v1alpha.ListSubpropertyEventFiltersRequest) 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,131 +286,138 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.ListSubpropertyEventFiltersRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.ListSubpropertyEventFiltersRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.ListSubpropertyEventFiltersRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.ListSubpropertyEventFiltersRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.ListSubpropertyEventFiltersRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.analytics.admin.v1alpha.ListSubpropertyEventFiltersRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.ListSubpropertyEventFiltersRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.ListSubpropertyEventFiltersRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.ListSubpropertyEventFiltersRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.ListSubpropertyEventFiltersRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.ListSubpropertyEventFiltersRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.ListSubpropertyEventFiltersRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.ListSubpropertyEventFiltersRequest parseDelimitedFrom( - java.io.InputStream input, - 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.ListSubpropertyEventFiltersRequest + parseDelimitedFrom( + java.io.InputStream input, 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.ListSubpropertyEventFiltersRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.ListSubpropertyEventFiltersRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1alpha.ListSubpropertyEventFiltersRequest prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1alpha.ListSubpropertyEventFiltersRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder 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 ListSubpropertyEventFilters RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.ListSubpropertyEventFiltersRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.ListSubpropertyEventFiltersRequest) com.google.analytics.admin.v1alpha.ListSubpropertyEventFiltersRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListSubpropertyEventFiltersRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ListSubpropertyEventFiltersRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListSubpropertyEventFiltersRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ListSubpropertyEventFiltersRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.ListSubpropertyEventFiltersRequest.class, com.google.analytics.admin.v1alpha.ListSubpropertyEventFiltersRequest.Builder.class); + com.google.analytics.admin.v1alpha.ListSubpropertyEventFiltersRequest.class, + com.google.analytics.admin.v1alpha.ListSubpropertyEventFiltersRequest.Builder.class); } - // Construct using com.google.analytics.admin.v1alpha.ListSubpropertyEventFiltersRequest.newBuilder() - private Builder() { - - } + // Construct using + // com.google.analytics.admin.v1alpha.ListSubpropertyEventFiltersRequest.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,14 +429,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_ListSubpropertyEventFiltersRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ListSubpropertyEventFiltersRequest_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.ListSubpropertyEventFiltersRequest getDefaultInstanceForType() { - return com.google.analytics.admin.v1alpha.ListSubpropertyEventFiltersRequest.getDefaultInstance(); + public com.google.analytics.admin.v1alpha.ListSubpropertyEventFiltersRequest + getDefaultInstanceForType() { + return com.google.analytics.admin.v1alpha.ListSubpropertyEventFiltersRequest + .getDefaultInstance(); } @java.lang.Override @@ -411,13 +452,17 @@ public com.google.analytics.admin.v1alpha.ListSubpropertyEventFiltersRequest bui @java.lang.Override public com.google.analytics.admin.v1alpha.ListSubpropertyEventFiltersRequest buildPartial() { - com.google.analytics.admin.v1alpha.ListSubpropertyEventFiltersRequest result = new com.google.analytics.admin.v1alpha.ListSubpropertyEventFiltersRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.analytics.admin.v1alpha.ListSubpropertyEventFiltersRequest result = + new com.google.analytics.admin.v1alpha.ListSubpropertyEventFiltersRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.analytics.admin.v1alpha.ListSubpropertyEventFiltersRequest result) { + private void buildPartial0( + com.google.analytics.admin.v1alpha.ListSubpropertyEventFiltersRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.parent_ = parent_; @@ -434,46 +479,51 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.ListSubpropertyEve public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.analytics.admin.v1alpha.ListSubpropertyEventFiltersRequest) { - return mergeFrom((com.google.analytics.admin.v1alpha.ListSubpropertyEventFiltersRequest)other); + return mergeFrom( + (com.google.analytics.admin.v1alpha.ListSubpropertyEventFiltersRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.analytics.admin.v1alpha.ListSubpropertyEventFiltersRequest other) { - if (other == com.google.analytics.admin.v1alpha.ListSubpropertyEventFiltersRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.analytics.admin.v1alpha.ListSubpropertyEventFiltersRequest other) { + if (other + == com.google.analytics.admin.v1alpha.ListSubpropertyEventFiltersRequest + .getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -513,27 +563,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 +597,29 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object parent_ = ""; /** + * + * *
      * Required. Resource name of the ordinary property.
      * Format: properties/property_id
      * 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; @@ -569,22 +628,25 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. Resource name of the ordinary property.
      * Format: properties/property_id
      * 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 { @@ -592,32 +654,43 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. Resource name of the ordinary property.
      * Format: properties/property_id
      * 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. Resource name of the ordinary property.
      * Format: properties/property_id
      * 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() { @@ -627,19 +700,25 @@ public Builder clearParent() { return this; } /** + * + * *
      * Required. Resource name of the ordinary property.
      * Format: properties/property_id
      * 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; @@ -647,8 +726,10 @@ public Builder setParentBytes( return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * Optional. The maximum number of resources to return. The service may return
      * fewer than this value, even if there are additional pages. If unspecified,
@@ -657,6 +738,7 @@ public Builder setParentBytes(
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ @java.lang.Override @@ -664,6 +746,8 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * Optional. The maximum number of resources to return. The service may return
      * fewer than this value, even if there are additional pages. If unspecified,
@@ -672,6 +756,7 @@ public int getPageSize() {
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The pageSize to set. * @return This builder for chaining. */ @@ -683,6 +768,8 @@ public Builder setPageSize(int value) { return this; } /** + * + * *
      * Optional. The maximum number of resources to return. The service may return
      * fewer than this value, even if there are additional pages. If unspecified,
@@ -691,6 +778,7 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -702,6 +790,8 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * Optional. A page token, received from a previous
      * `ListSubpropertyEventFilters` call. Provide this to retrieve the subsequent
@@ -711,13 +801,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 3 [(.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; @@ -726,6 +816,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * Optional. A page token, received from a previous
      * `ListSubpropertyEventFilters` call. Provide this to retrieve the subsequent
@@ -735,15 +827,14 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3 [(.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 { @@ -751,6 +842,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * Optional. A page token, received from a previous
      * `ListSubpropertyEventFilters` call. Provide this to retrieve the subsequent
@@ -760,18 +853,22 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3 [(.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_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * Optional. A page token, received from a previous
      * `ListSubpropertyEventFilters` call. Provide this to retrieve the subsequent
@@ -781,6 +878,7 @@ public Builder setPageToken(
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -790,6 +888,8 @@ public Builder clearPageToken() { return this; } /** + * + * *
      * Optional. A page token, received from a previous
      * `ListSubpropertyEventFilters` call. Provide this to retrieve the subsequent
@@ -799,21 +899,23 @@ public Builder clearPageToken() {
      * 
* * string page_token = 3 [(.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_ |= 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); } @@ -823,41 +925,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.ListSubpropertyEventFiltersRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.ListSubpropertyEventFiltersRequest) - private static final com.google.analytics.admin.v1alpha.ListSubpropertyEventFiltersRequest DEFAULT_INSTANCE; + private static final com.google.analytics.admin.v1alpha.ListSubpropertyEventFiltersRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.ListSubpropertyEventFiltersRequest(); } - public static com.google.analytics.admin.v1alpha.ListSubpropertyEventFiltersRequest getDefaultInstance() { + public static com.google.analytics.admin.v1alpha.ListSubpropertyEventFiltersRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListSubpropertyEventFiltersRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListSubpropertyEventFiltersRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.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,9 +973,8 @@ public com.google.protobuf.Parser getParserF } @java.lang.Override - public com.google.analytics.admin.v1alpha.ListSubpropertyEventFiltersRequest getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.ListSubpropertyEventFiltersRequest + 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/ListSubpropertyEventFiltersRequestOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListSubpropertyEventFiltersRequestOrBuilder.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/ListSubpropertyEventFiltersRequestOrBuilder.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListSubpropertyEventFiltersRequestOrBuilder.java index 5eb5fd8abb6e..1d0f66132f19 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListSubpropertyEventFiltersRequestOrBuilder.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListSubpropertyEventFiltersRequestOrBuilder.java @@ -1,37 +1,64 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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 ListSubpropertyEventFiltersRequestOrBuilder extends +public interface ListSubpropertyEventFiltersRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.ListSubpropertyEventFiltersRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. Resource name of the ordinary property.
    * Format: properties/property_id
    * 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. Resource name of the ordinary property.
    * Format: properties/property_id
    * 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(); /** + * + * *
    * Optional. The maximum number of resources to return. The service may return
    * fewer than this value, even if there are additional pages. If unspecified,
@@ -40,11 +67,14 @@ public interface ListSubpropertyEventFiltersRequestOrBuilder extends
    * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * Optional. A page token, received from a previous
    * `ListSubpropertyEventFilters` call. Provide this to retrieve the subsequent
@@ -54,10 +84,13 @@ public interface ListSubpropertyEventFiltersRequestOrBuilder extends
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * Optional. A page token, received from a previous
    * `ListSubpropertyEventFilters` call. Provide this to retrieve the subsequent
@@ -67,8 +100,8 @@ public interface ListSubpropertyEventFiltersRequestOrBuilder extends
    * 
* * string page_token = 3 [(.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/ListSubpropertyEventFiltersResponse.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListSubpropertyEventFiltersResponse.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/ListSubpropertyEventFiltersResponse.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListSubpropertyEventFiltersResponse.java index 88dbec530388..7c86f8b68da9 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListSubpropertyEventFiltersResponse.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListSubpropertyEventFiltersResponse.java @@ -1,24 +1,44 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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 ListSubpropertyEventFilter RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.ListSubpropertyEventFiltersResponse} */ -public final class ListSubpropertyEventFiltersResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListSubpropertyEventFiltersResponse + extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.ListSubpropertyEventFiltersResponse) ListSubpropertyEventFiltersResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListSubpropertyEventFiltersResponse.newBuilder() to construct. - private ListSubpropertyEventFiltersResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private ListSubpropertyEventFiltersResponse( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListSubpropertyEventFiltersResponse() { subpropertyEventFilters_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -26,95 +46,125 @@ private ListSubpropertyEventFiltersResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListSubpropertyEventFiltersResponse(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListSubpropertyEventFiltersResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ListSubpropertyEventFiltersResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListSubpropertyEventFiltersResponse_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ListSubpropertyEventFiltersResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.ListSubpropertyEventFiltersResponse.class, com.google.analytics.admin.v1alpha.ListSubpropertyEventFiltersResponse.Builder.class); + com.google.analytics.admin.v1alpha.ListSubpropertyEventFiltersResponse.class, + com.google.analytics.admin.v1alpha.ListSubpropertyEventFiltersResponse.Builder.class); } public static final int SUBPROPERTY_EVENT_FILTERS_FIELD_NUMBER = 1; + @SuppressWarnings("serial") - private java.util.List subpropertyEventFilters_; + private java.util.List + subpropertyEventFilters_; /** + * + * *
    * List of subproperty event filters.
    * 
* - * repeated .google.analytics.admin.v1alpha.SubpropertyEventFilter subproperty_event_filters = 1; + * + * repeated .google.analytics.admin.v1alpha.SubpropertyEventFilter subproperty_event_filters = 1; + * */ @java.lang.Override - public java.util.List getSubpropertyEventFiltersList() { + public java.util.List + getSubpropertyEventFiltersList() { return subpropertyEventFilters_; } /** + * + * *
    * List of subproperty event filters.
    * 
* - * repeated .google.analytics.admin.v1alpha.SubpropertyEventFilter subproperty_event_filters = 1; + * + * repeated .google.analytics.admin.v1alpha.SubpropertyEventFilter subproperty_event_filters = 1; + * */ @java.lang.Override - public java.util.List + public java.util.List< + ? extends com.google.analytics.admin.v1alpha.SubpropertyEventFilterOrBuilder> getSubpropertyEventFiltersOrBuilderList() { return subpropertyEventFilters_; } /** + * + * *
    * List of subproperty event filters.
    * 
* - * repeated .google.analytics.admin.v1alpha.SubpropertyEventFilter subproperty_event_filters = 1; + * + * repeated .google.analytics.admin.v1alpha.SubpropertyEventFilter subproperty_event_filters = 1; + * */ @java.lang.Override public int getSubpropertyEventFiltersCount() { return subpropertyEventFilters_.size(); } /** + * + * *
    * List of subproperty event filters.
    * 
* - * repeated .google.analytics.admin.v1alpha.SubpropertyEventFilter subproperty_event_filters = 1; + * + * repeated .google.analytics.admin.v1alpha.SubpropertyEventFilter subproperty_event_filters = 1; + * */ @java.lang.Override - public com.google.analytics.admin.v1alpha.SubpropertyEventFilter getSubpropertyEventFilters(int index) { + public com.google.analytics.admin.v1alpha.SubpropertyEventFilter getSubpropertyEventFilters( + int index) { return subpropertyEventFilters_.get(index); } /** + * + * *
    * List of subproperty event filters.
    * 
* - * repeated .google.analytics.admin.v1alpha.SubpropertyEventFilter subproperty_event_filters = 1; + * + * repeated .google.analytics.admin.v1alpha.SubpropertyEventFilter subproperty_event_filters = 1; + * */ @java.lang.Override - public com.google.analytics.admin.v1alpha.SubpropertyEventFilterOrBuilder getSubpropertyEventFiltersOrBuilder( - int index) { + public com.google.analytics.admin.v1alpha.SubpropertyEventFilterOrBuilder + getSubpropertyEventFiltersOrBuilder(int index) { return subpropertyEventFilters_.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 @@ -123,30 +173,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 { @@ -155,6 +205,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -166,8 +217,7 @@ public final boolean isInitialized() { } @java.lang.Override - 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 < subpropertyEventFilters_.size(); i++) { output.writeMessage(1, subpropertyEventFilters_.get(i)); } @@ -184,8 +234,9 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < subpropertyEventFilters_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, subpropertyEventFilters_.get(i)); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 1, subpropertyEventFilters_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -198,17 +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.ListSubpropertyEventFiltersResponse)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.ListSubpropertyEventFiltersResponse other = (com.google.analytics.admin.v1alpha.ListSubpropertyEventFiltersResponse) obj; + com.google.analytics.admin.v1alpha.ListSubpropertyEventFiltersResponse other = + (com.google.analytics.admin.v1alpha.ListSubpropertyEventFiltersResponse) obj; - if (!getSubpropertyEventFiltersList() - .equals(other.getSubpropertyEventFiltersList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; + if (!getSubpropertyEventFiltersList().equals(other.getSubpropertyEventFiltersList())) + return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -232,131 +283,138 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.ListSubpropertyEventFiltersResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.ListSubpropertyEventFiltersResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.ListSubpropertyEventFiltersResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.ListSubpropertyEventFiltersResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.ListSubpropertyEventFiltersResponse parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.analytics.admin.v1alpha.ListSubpropertyEventFiltersResponse parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.ListSubpropertyEventFiltersResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.ListSubpropertyEventFiltersResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.ListSubpropertyEventFiltersResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.ListSubpropertyEventFiltersResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.ListSubpropertyEventFiltersResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.ListSubpropertyEventFiltersResponse + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.ListSubpropertyEventFiltersResponse parseDelimitedFrom( - java.io.InputStream input, - 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.ListSubpropertyEventFiltersResponse + parseDelimitedFrom( + java.io.InputStream input, 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.ListSubpropertyEventFiltersResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.ListSubpropertyEventFiltersResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1alpha.ListSubpropertyEventFiltersResponse prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1alpha.ListSubpropertyEventFiltersResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 ListSubpropertyEventFilter RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.ListSubpropertyEventFiltersResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.ListSubpropertyEventFiltersResponse) com.google.analytics.admin.v1alpha.ListSubpropertyEventFiltersResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListSubpropertyEventFiltersResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ListSubpropertyEventFiltersResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_ListSubpropertyEventFiltersResponse_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ListSubpropertyEventFiltersResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.ListSubpropertyEventFiltersResponse.class, com.google.analytics.admin.v1alpha.ListSubpropertyEventFiltersResponse.Builder.class); + com.google.analytics.admin.v1alpha.ListSubpropertyEventFiltersResponse.class, + com.google.analytics.admin.v1alpha.ListSubpropertyEventFiltersResponse.Builder.class); } - // Construct using com.google.analytics.admin.v1alpha.ListSubpropertyEventFiltersResponse.newBuilder() - private Builder() { - - } + // Construct using + // com.google.analytics.admin.v1alpha.ListSubpropertyEventFiltersResponse.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(); @@ -373,19 +431,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_ListSubpropertyEventFiltersResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_ListSubpropertyEventFiltersResponse_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.ListSubpropertyEventFiltersResponse getDefaultInstanceForType() { - return com.google.analytics.admin.v1alpha.ListSubpropertyEventFiltersResponse.getDefaultInstance(); + public com.google.analytics.admin.v1alpha.ListSubpropertyEventFiltersResponse + getDefaultInstanceForType() { + return com.google.analytics.admin.v1alpha.ListSubpropertyEventFiltersResponse + .getDefaultInstance(); } @java.lang.Override public com.google.analytics.admin.v1alpha.ListSubpropertyEventFiltersResponse build() { - com.google.analytics.admin.v1alpha.ListSubpropertyEventFiltersResponse result = buildPartial(); + com.google.analytics.admin.v1alpha.ListSubpropertyEventFiltersResponse result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -394,17 +455,22 @@ public com.google.analytics.admin.v1alpha.ListSubpropertyEventFiltersResponse bu @java.lang.Override public com.google.analytics.admin.v1alpha.ListSubpropertyEventFiltersResponse buildPartial() { - com.google.analytics.admin.v1alpha.ListSubpropertyEventFiltersResponse result = new com.google.analytics.admin.v1alpha.ListSubpropertyEventFiltersResponse(this); + com.google.analytics.admin.v1alpha.ListSubpropertyEventFiltersResponse result = + new com.google.analytics.admin.v1alpha.ListSubpropertyEventFiltersResponse(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartialRepeatedFields(com.google.analytics.admin.v1alpha.ListSubpropertyEventFiltersResponse result) { + private void buildPartialRepeatedFields( + com.google.analytics.admin.v1alpha.ListSubpropertyEventFiltersResponse result) { if (subpropertyEventFiltersBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { - subpropertyEventFilters_ = java.util.Collections.unmodifiableList(subpropertyEventFilters_); + subpropertyEventFilters_ = + java.util.Collections.unmodifiableList(subpropertyEventFilters_); bitField0_ = (bitField0_ & ~0x00000001); } result.subpropertyEventFilters_ = subpropertyEventFilters_; @@ -413,7 +479,8 @@ private void buildPartialRepeatedFields(com.google.analytics.admin.v1alpha.ListS } } - private void buildPartial0(com.google.analytics.admin.v1alpha.ListSubpropertyEventFiltersResponse result) { + private void buildPartial0( + com.google.analytics.admin.v1alpha.ListSubpropertyEventFiltersResponse result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000002) != 0)) { result.nextPageToken_ = nextPageToken_; @@ -424,46 +491,51 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.ListSubpropertyEve public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.analytics.admin.v1alpha.ListSubpropertyEventFiltersResponse) { - return mergeFrom((com.google.analytics.admin.v1alpha.ListSubpropertyEventFiltersResponse)other); + return mergeFrom( + (com.google.analytics.admin.v1alpha.ListSubpropertyEventFiltersResponse) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.analytics.admin.v1alpha.ListSubpropertyEventFiltersResponse other) { - if (other == com.google.analytics.admin.v1alpha.ListSubpropertyEventFiltersResponse.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.analytics.admin.v1alpha.ListSubpropertyEventFiltersResponse other) { + if (other + == com.google.analytics.admin.v1alpha.ListSubpropertyEventFiltersResponse + .getDefaultInstance()) return this; if (subpropertyEventFiltersBuilder_ == null) { if (!other.subpropertyEventFilters_.isEmpty()) { if (subpropertyEventFilters_.isEmpty()) { @@ -482,9 +554,10 @@ public Builder mergeFrom(com.google.analytics.admin.v1alpha.ListSubpropertyEvent subpropertyEventFiltersBuilder_ = null; subpropertyEventFilters_ = other.subpropertyEventFilters_; bitField0_ = (bitField0_ & ~0x00000001); - subpropertyEventFiltersBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getSubpropertyEventFiltersFieldBuilder() : null; + subpropertyEventFiltersBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getSubpropertyEventFiltersFieldBuilder() + : null; } else { subpropertyEventFiltersBuilder_.addAllMessages(other.subpropertyEventFilters_); } @@ -521,30 +594,33 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - com.google.analytics.admin.v1alpha.SubpropertyEventFilter m = - input.readMessage( - com.google.analytics.admin.v1alpha.SubpropertyEventFilter.parser(), - extensionRegistry); - if (subpropertyEventFiltersBuilder_ == null) { - ensureSubpropertyEventFiltersIsMutable(); - subpropertyEventFilters_.add(m); - } else { - subpropertyEventFiltersBuilder_.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.SubpropertyEventFilter m = + input.readMessage( + com.google.analytics.admin.v1alpha.SubpropertyEventFilter.parser(), + extensionRegistry); + if (subpropertyEventFiltersBuilder_ == null) { + ensureSubpropertyEventFiltersIsMutable(); + subpropertyEventFilters_.add(m); + } else { + subpropertyEventFiltersBuilder_.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) { @@ -554,28 +630,40 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; - private java.util.List subpropertyEventFilters_ = - java.util.Collections.emptyList(); + private java.util.List + subpropertyEventFilters_ = java.util.Collections.emptyList(); + private void ensureSubpropertyEventFiltersIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - subpropertyEventFilters_ = new java.util.ArrayList(subpropertyEventFilters_); + subpropertyEventFilters_ = + new java.util.ArrayList( + subpropertyEventFilters_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.SubpropertyEventFilter, com.google.analytics.admin.v1alpha.SubpropertyEventFilter.Builder, com.google.analytics.admin.v1alpha.SubpropertyEventFilterOrBuilder> subpropertyEventFiltersBuilder_; + com.google.analytics.admin.v1alpha.SubpropertyEventFilter, + com.google.analytics.admin.v1alpha.SubpropertyEventFilter.Builder, + com.google.analytics.admin.v1alpha.SubpropertyEventFilterOrBuilder> + subpropertyEventFiltersBuilder_; /** + * + * *
      * List of subproperty event filters.
      * 
* - * repeated .google.analytics.admin.v1alpha.SubpropertyEventFilter subproperty_event_filters = 1; + * + * repeated .google.analytics.admin.v1alpha.SubpropertyEventFilter subproperty_event_filters = 1; + * */ - public java.util.List getSubpropertyEventFiltersList() { + public java.util.List + getSubpropertyEventFiltersList() { if (subpropertyEventFiltersBuilder_ == null) { return java.util.Collections.unmodifiableList(subpropertyEventFilters_); } else { @@ -583,11 +671,15 @@ public java.util.List } } /** + * + * *
      * List of subproperty event filters.
      * 
* - * repeated .google.analytics.admin.v1alpha.SubpropertyEventFilter subproperty_event_filters = 1; + * + * repeated .google.analytics.admin.v1alpha.SubpropertyEventFilter subproperty_event_filters = 1; + * */ public int getSubpropertyEventFiltersCount() { if (subpropertyEventFiltersBuilder_ == null) { @@ -597,13 +689,18 @@ public int getSubpropertyEventFiltersCount() { } } /** + * + * *
      * List of subproperty event filters.
      * 
* - * repeated .google.analytics.admin.v1alpha.SubpropertyEventFilter subproperty_event_filters = 1; + * + * repeated .google.analytics.admin.v1alpha.SubpropertyEventFilter subproperty_event_filters = 1; + * */ - public com.google.analytics.admin.v1alpha.SubpropertyEventFilter getSubpropertyEventFilters(int index) { + public com.google.analytics.admin.v1alpha.SubpropertyEventFilter getSubpropertyEventFilters( + int index) { if (subpropertyEventFiltersBuilder_ == null) { return subpropertyEventFilters_.get(index); } else { @@ -611,11 +708,15 @@ public com.google.analytics.admin.v1alpha.SubpropertyEventFilter getSubpropertyE } } /** + * + * *
      * List of subproperty event filters.
      * 
* - * repeated .google.analytics.admin.v1alpha.SubpropertyEventFilter subproperty_event_filters = 1; + * + * repeated .google.analytics.admin.v1alpha.SubpropertyEventFilter subproperty_event_filters = 1; + * */ public Builder setSubpropertyEventFilters( int index, com.google.analytics.admin.v1alpha.SubpropertyEventFilter value) { @@ -632,14 +733,19 @@ public Builder setSubpropertyEventFilters( return this; } /** + * + * *
      * List of subproperty event filters.
      * 
* - * repeated .google.analytics.admin.v1alpha.SubpropertyEventFilter subproperty_event_filters = 1; + * + * repeated .google.analytics.admin.v1alpha.SubpropertyEventFilter subproperty_event_filters = 1; + * */ public Builder setSubpropertyEventFilters( - int index, com.google.analytics.admin.v1alpha.SubpropertyEventFilter.Builder builderForValue) { + int index, + com.google.analytics.admin.v1alpha.SubpropertyEventFilter.Builder builderForValue) { if (subpropertyEventFiltersBuilder_ == null) { ensureSubpropertyEventFiltersIsMutable(); subpropertyEventFilters_.set(index, builderForValue.build()); @@ -650,13 +756,18 @@ public Builder setSubpropertyEventFilters( return this; } /** + * + * *
      * List of subproperty event filters.
      * 
* - * repeated .google.analytics.admin.v1alpha.SubpropertyEventFilter subproperty_event_filters = 1; + * + * repeated .google.analytics.admin.v1alpha.SubpropertyEventFilter subproperty_event_filters = 1; + * */ - public Builder addSubpropertyEventFilters(com.google.analytics.admin.v1alpha.SubpropertyEventFilter value) { + public Builder addSubpropertyEventFilters( + com.google.analytics.admin.v1alpha.SubpropertyEventFilter value) { if (subpropertyEventFiltersBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -670,11 +781,15 @@ public Builder addSubpropertyEventFilters(com.google.analytics.admin.v1alpha.Sub return this; } /** + * + * *
      * List of subproperty event filters.
      * 
* - * repeated .google.analytics.admin.v1alpha.SubpropertyEventFilter subproperty_event_filters = 1; + * + * repeated .google.analytics.admin.v1alpha.SubpropertyEventFilter subproperty_event_filters = 1; + * */ public Builder addSubpropertyEventFilters( int index, com.google.analytics.admin.v1alpha.SubpropertyEventFilter value) { @@ -691,11 +806,15 @@ public Builder addSubpropertyEventFilters( return this; } /** + * + * *
      * List of subproperty event filters.
      * 
* - * repeated .google.analytics.admin.v1alpha.SubpropertyEventFilter subproperty_event_filters = 1; + * + * repeated .google.analytics.admin.v1alpha.SubpropertyEventFilter subproperty_event_filters = 1; + * */ public Builder addSubpropertyEventFilters( com.google.analytics.admin.v1alpha.SubpropertyEventFilter.Builder builderForValue) { @@ -709,14 +828,19 @@ public Builder addSubpropertyEventFilters( return this; } /** + * + * *
      * List of subproperty event filters.
      * 
* - * repeated .google.analytics.admin.v1alpha.SubpropertyEventFilter subproperty_event_filters = 1; + * + * repeated .google.analytics.admin.v1alpha.SubpropertyEventFilter subproperty_event_filters = 1; + * */ public Builder addSubpropertyEventFilters( - int index, com.google.analytics.admin.v1alpha.SubpropertyEventFilter.Builder builderForValue) { + int index, + com.google.analytics.admin.v1alpha.SubpropertyEventFilter.Builder builderForValue) { if (subpropertyEventFiltersBuilder_ == null) { ensureSubpropertyEventFiltersIsMutable(); subpropertyEventFilters_.add(index, builderForValue.build()); @@ -727,18 +851,22 @@ public Builder addSubpropertyEventFilters( return this; } /** + * + * *
      * List of subproperty event filters.
      * 
* - * repeated .google.analytics.admin.v1alpha.SubpropertyEventFilter subproperty_event_filters = 1; + * + * repeated .google.analytics.admin.v1alpha.SubpropertyEventFilter subproperty_event_filters = 1; + * */ public Builder addAllSubpropertyEventFilters( - java.lang.Iterable values) { + java.lang.Iterable + values) { if (subpropertyEventFiltersBuilder_ == null) { ensureSubpropertyEventFiltersIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, subpropertyEventFilters_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, subpropertyEventFilters_); onChanged(); } else { subpropertyEventFiltersBuilder_.addAllMessages(values); @@ -746,11 +874,15 @@ public Builder addAllSubpropertyEventFilters( return this; } /** + * + * *
      * List of subproperty event filters.
      * 
* - * repeated .google.analytics.admin.v1alpha.SubpropertyEventFilter subproperty_event_filters = 1; + * + * repeated .google.analytics.admin.v1alpha.SubpropertyEventFilter subproperty_event_filters = 1; + * */ public Builder clearSubpropertyEventFilters() { if (subpropertyEventFiltersBuilder_ == null) { @@ -763,11 +895,15 @@ public Builder clearSubpropertyEventFilters() { return this; } /** + * + * *
      * List of subproperty event filters.
      * 
* - * repeated .google.analytics.admin.v1alpha.SubpropertyEventFilter subproperty_event_filters = 1; + * + * repeated .google.analytics.admin.v1alpha.SubpropertyEventFilter subproperty_event_filters = 1; + * */ public Builder removeSubpropertyEventFilters(int index) { if (subpropertyEventFiltersBuilder_ == null) { @@ -780,39 +916,53 @@ public Builder removeSubpropertyEventFilters(int index) { return this; } /** + * + * *
      * List of subproperty event filters.
      * 
* - * repeated .google.analytics.admin.v1alpha.SubpropertyEventFilter subproperty_event_filters = 1; + * + * repeated .google.analytics.admin.v1alpha.SubpropertyEventFilter subproperty_event_filters = 1; + * */ - public com.google.analytics.admin.v1alpha.SubpropertyEventFilter.Builder getSubpropertyEventFiltersBuilder( - int index) { + public com.google.analytics.admin.v1alpha.SubpropertyEventFilter.Builder + getSubpropertyEventFiltersBuilder(int index) { return getSubpropertyEventFiltersFieldBuilder().getBuilder(index); } /** + * + * *
      * List of subproperty event filters.
      * 
* - * repeated .google.analytics.admin.v1alpha.SubpropertyEventFilter subproperty_event_filters = 1; + * + * repeated .google.analytics.admin.v1alpha.SubpropertyEventFilter subproperty_event_filters = 1; + * */ - public com.google.analytics.admin.v1alpha.SubpropertyEventFilterOrBuilder getSubpropertyEventFiltersOrBuilder( - int index) { + public com.google.analytics.admin.v1alpha.SubpropertyEventFilterOrBuilder + getSubpropertyEventFiltersOrBuilder(int index) { if (subpropertyEventFiltersBuilder_ == null) { - return subpropertyEventFilters_.get(index); } else { + return subpropertyEventFilters_.get(index); + } else { return subpropertyEventFiltersBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * List of subproperty event filters.
      * 
* - * repeated .google.analytics.admin.v1alpha.SubpropertyEventFilter subproperty_event_filters = 1; + * + * repeated .google.analytics.admin.v1alpha.SubpropertyEventFilter subproperty_event_filters = 1; + * */ - public java.util.List - getSubpropertyEventFiltersOrBuilderList() { + public java.util.List< + ? extends com.google.analytics.admin.v1alpha.SubpropertyEventFilterOrBuilder> + getSubpropertyEventFiltersOrBuilderList() { if (subpropertyEventFiltersBuilder_ != null) { return subpropertyEventFiltersBuilder_.getMessageOrBuilderList(); } else { @@ -820,45 +970,67 @@ public com.google.analytics.admin.v1alpha.SubpropertyEventFilterOrBuilder getSub } } /** + * + * *
      * List of subproperty event filters.
      * 
* - * repeated .google.analytics.admin.v1alpha.SubpropertyEventFilter subproperty_event_filters = 1; + * + * repeated .google.analytics.admin.v1alpha.SubpropertyEventFilter subproperty_event_filters = 1; + * */ - public com.google.analytics.admin.v1alpha.SubpropertyEventFilter.Builder addSubpropertyEventFiltersBuilder() { - return getSubpropertyEventFiltersFieldBuilder().addBuilder( - com.google.analytics.admin.v1alpha.SubpropertyEventFilter.getDefaultInstance()); + public com.google.analytics.admin.v1alpha.SubpropertyEventFilter.Builder + addSubpropertyEventFiltersBuilder() { + return getSubpropertyEventFiltersFieldBuilder() + .addBuilder( + com.google.analytics.admin.v1alpha.SubpropertyEventFilter.getDefaultInstance()); } /** + * + * *
      * List of subproperty event filters.
      * 
* - * repeated .google.analytics.admin.v1alpha.SubpropertyEventFilter subproperty_event_filters = 1; + * + * repeated .google.analytics.admin.v1alpha.SubpropertyEventFilter subproperty_event_filters = 1; + * */ - public com.google.analytics.admin.v1alpha.SubpropertyEventFilter.Builder addSubpropertyEventFiltersBuilder( - int index) { - return getSubpropertyEventFiltersFieldBuilder().addBuilder( - index, com.google.analytics.admin.v1alpha.SubpropertyEventFilter.getDefaultInstance()); + public com.google.analytics.admin.v1alpha.SubpropertyEventFilter.Builder + addSubpropertyEventFiltersBuilder(int index) { + return getSubpropertyEventFiltersFieldBuilder() + .addBuilder( + index, + com.google.analytics.admin.v1alpha.SubpropertyEventFilter.getDefaultInstance()); } /** + * + * *
      * List of subproperty event filters.
      * 
* - * repeated .google.analytics.admin.v1alpha.SubpropertyEventFilter subproperty_event_filters = 1; + * + * repeated .google.analytics.admin.v1alpha.SubpropertyEventFilter subproperty_event_filters = 1; + * */ - public java.util.List - getSubpropertyEventFiltersBuilderList() { + public java.util.List + getSubpropertyEventFiltersBuilderList() { return getSubpropertyEventFiltersFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.SubpropertyEventFilter, com.google.analytics.admin.v1alpha.SubpropertyEventFilter.Builder, com.google.analytics.admin.v1alpha.SubpropertyEventFilterOrBuilder> + com.google.analytics.admin.v1alpha.SubpropertyEventFilter, + com.google.analytics.admin.v1alpha.SubpropertyEventFilter.Builder, + com.google.analytics.admin.v1alpha.SubpropertyEventFilterOrBuilder> getSubpropertyEventFiltersFieldBuilder() { if (subpropertyEventFiltersBuilder_ == null) { - subpropertyEventFiltersBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.SubpropertyEventFilter, com.google.analytics.admin.v1alpha.SubpropertyEventFilter.Builder, com.google.analytics.admin.v1alpha.SubpropertyEventFilterOrBuilder>( + subpropertyEventFiltersBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.analytics.admin.v1alpha.SubpropertyEventFilter, + com.google.analytics.admin.v1alpha.SubpropertyEventFilter.Builder, + com.google.analytics.admin.v1alpha.SubpropertyEventFilterOrBuilder>( subpropertyEventFilters_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -870,19 +1042,21 @@ public com.google.analytics.admin.v1alpha.SubpropertyEventFilter.Builder addSubp 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; @@ -891,21 +1065,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 { @@ -913,30 +1088,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() { @@ -946,27 +1128,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); } @@ -976,41 +1162,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.ListSubpropertyEventFiltersResponse) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.ListSubpropertyEventFiltersResponse) - private static final com.google.analytics.admin.v1alpha.ListSubpropertyEventFiltersResponse DEFAULT_INSTANCE; + private static final com.google.analytics.admin.v1alpha.ListSubpropertyEventFiltersResponse + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.ListSubpropertyEventFiltersResponse(); } - public static com.google.analytics.admin.v1alpha.ListSubpropertyEventFiltersResponse getDefaultInstance() { + public static com.google.analytics.admin.v1alpha.ListSubpropertyEventFiltersResponse + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListSubpropertyEventFiltersResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListSubpropertyEventFiltersResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.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,9 +1210,8 @@ public com.google.protobuf.Parser getParser } @java.lang.Override - public com.google.analytics.admin.v1alpha.ListSubpropertyEventFiltersResponse getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.ListSubpropertyEventFiltersResponse + 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/ListSubpropertyEventFiltersResponseOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListSubpropertyEventFiltersResponseOrBuilder.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/ListSubpropertyEventFiltersResponseOrBuilder.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListSubpropertyEventFiltersResponseOrBuilder.java index 5ac3f35b1d08..e580e0ddee87 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListSubpropertyEventFiltersResponseOrBuilder.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ListSubpropertyEventFiltersResponseOrBuilder.java @@ -1,75 +1,116 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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 ListSubpropertyEventFiltersResponseOrBuilder extends +public interface ListSubpropertyEventFiltersResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.ListSubpropertyEventFiltersResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * List of subproperty event filters.
    * 
* - * repeated .google.analytics.admin.v1alpha.SubpropertyEventFilter subproperty_event_filters = 1; + * + * repeated .google.analytics.admin.v1alpha.SubpropertyEventFilter subproperty_event_filters = 1; + * */ - java.util.List + java.util.List getSubpropertyEventFiltersList(); /** + * + * *
    * List of subproperty event filters.
    * 
* - * repeated .google.analytics.admin.v1alpha.SubpropertyEventFilter subproperty_event_filters = 1; + * + * repeated .google.analytics.admin.v1alpha.SubpropertyEventFilter subproperty_event_filters = 1; + * */ com.google.analytics.admin.v1alpha.SubpropertyEventFilter getSubpropertyEventFilters(int index); /** + * + * *
    * List of subproperty event filters.
    * 
* - * repeated .google.analytics.admin.v1alpha.SubpropertyEventFilter subproperty_event_filters = 1; + * + * repeated .google.analytics.admin.v1alpha.SubpropertyEventFilter subproperty_event_filters = 1; + * */ int getSubpropertyEventFiltersCount(); /** + * + * *
    * List of subproperty event filters.
    * 
* - * repeated .google.analytics.admin.v1alpha.SubpropertyEventFilter subproperty_event_filters = 1; + * + * repeated .google.analytics.admin.v1alpha.SubpropertyEventFilter subproperty_event_filters = 1; + * */ - java.util.List + java.util.List getSubpropertyEventFiltersOrBuilderList(); /** + * + * *
    * List of subproperty event filters.
    * 
* - * repeated .google.analytics.admin.v1alpha.SubpropertyEventFilter subproperty_event_filters = 1; + * + * repeated .google.analytics.admin.v1alpha.SubpropertyEventFilter subproperty_event_filters = 1; + * */ - com.google.analytics.admin.v1alpha.SubpropertyEventFilterOrBuilder getSubpropertyEventFiltersOrBuilder( - int index); + com.google.analytics.admin.v1alpha.SubpropertyEventFilterOrBuilder + getSubpropertyEventFiltersOrBuilder(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/MatchingCondition.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/MatchingCondition.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/MatchingCondition.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/MatchingCondition.java index e7811bd9883a..3ab67bb2adb6 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/MatchingCondition.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/MatchingCondition.java @@ -1,9 +1,26 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/event_create_and_edit.proto package com.google.analytics.admin.v1alpha; /** + * + * *
  * Defines a condition for when an Event Edit or Event Creation rule applies to
  * an event.
@@ -11,15 +28,16 @@
  *
  * Protobuf type {@code google.analytics.admin.v1alpha.MatchingCondition}
  */
-public final class MatchingCondition extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class MatchingCondition extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.MatchingCondition)
     MatchingConditionOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use MatchingCondition.newBuilder() to construct.
   private MatchingCondition(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private MatchingCondition() {
     field_ = "";
     comparisonType_ = 0;
@@ -28,34 +46,38 @@ private MatchingCondition() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new MatchingCondition();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.analytics.admin.v1alpha.EventCreateAndEdit.internal_static_google_analytics_admin_v1alpha_MatchingCondition_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.analytics.admin.v1alpha.EventCreateAndEdit
+        .internal_static_google_analytics_admin_v1alpha_MatchingCondition_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.analytics.admin.v1alpha.EventCreateAndEdit.internal_static_google_analytics_admin_v1alpha_MatchingCondition_fieldAccessorTable
+    return com.google.analytics.admin.v1alpha.EventCreateAndEdit
+        .internal_static_google_analytics_admin_v1alpha_MatchingCondition_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.analytics.admin.v1alpha.MatchingCondition.class, com.google.analytics.admin.v1alpha.MatchingCondition.Builder.class);
+            com.google.analytics.admin.v1alpha.MatchingCondition.class,
+            com.google.analytics.admin.v1alpha.MatchingCondition.Builder.class);
   }
 
   /**
+   *
+   *
    * 
    * Comparison type for matching condition
    * 
* * Protobuf enum {@code google.analytics.admin.v1alpha.MatchingCondition.ComparisonType} */ - public enum ComparisonType - implements com.google.protobuf.ProtocolMessageEnum { + public enum ComparisonType implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Unknown
      * 
@@ -64,6 +86,8 @@ public enum ComparisonType */ COMPARISON_TYPE_UNSPECIFIED(0), /** + * + * *
      * Equals, case sensitive
      * 
@@ -72,6 +96,8 @@ public enum ComparisonType */ EQUALS(1), /** + * + * *
      * Equals, case insensitive
      * 
@@ -80,6 +106,8 @@ public enum ComparisonType */ EQUALS_CASE_INSENSITIVE(2), /** + * + * *
      * Contains, case sensitive
      * 
@@ -88,6 +116,8 @@ public enum ComparisonType */ CONTAINS(3), /** + * + * *
      * Contains, case insensitive
      * 
@@ -96,6 +126,8 @@ public enum ComparisonType */ CONTAINS_CASE_INSENSITIVE(4), /** + * + * *
      * Starts with, case sensitive
      * 
@@ -104,6 +136,8 @@ public enum ComparisonType */ STARTS_WITH(5), /** + * + * *
      * Starts with, case insensitive
      * 
@@ -112,6 +146,8 @@ public enum ComparisonType */ STARTS_WITH_CASE_INSENSITIVE(6), /** + * + * *
      * Ends with, case sensitive
      * 
@@ -120,6 +156,8 @@ public enum ComparisonType */ ENDS_WITH(7), /** + * + * *
      * Ends with, case insensitive
      * 
@@ -128,6 +166,8 @@ public enum ComparisonType */ ENDS_WITH_CASE_INSENSITIVE(8), /** + * + * *
      * Greater than
      * 
@@ -136,6 +176,8 @@ public enum ComparisonType */ GREATER_THAN(9), /** + * + * *
      * Greater than or equal
      * 
@@ -144,6 +186,8 @@ public enum ComparisonType */ GREATER_THAN_OR_EQUAL(10), /** + * + * *
      * Less than
      * 
@@ -152,6 +196,8 @@ public enum ComparisonType */ LESS_THAN(11), /** + * + * *
      * Less than or equal
      * 
@@ -160,6 +206,8 @@ public enum ComparisonType */ LESS_THAN_OR_EQUAL(12), /** + * + * *
      * regular expression. Only supported for web streams.
      * 
@@ -168,6 +216,8 @@ public enum ComparisonType */ REGULAR_EXPRESSION(13), /** + * + * *
      * regular expression, case insensitive. Only supported for web streams.
      * 
@@ -179,6 +229,8 @@ public enum ComparisonType ; /** + * + * *
      * Unknown
      * 
@@ -187,6 +239,8 @@ public enum ComparisonType */ public static final int COMPARISON_TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Equals, case sensitive
      * 
@@ -195,6 +249,8 @@ public enum ComparisonType */ public static final int EQUALS_VALUE = 1; /** + * + * *
      * Equals, case insensitive
      * 
@@ -203,6 +259,8 @@ public enum ComparisonType */ public static final int EQUALS_CASE_INSENSITIVE_VALUE = 2; /** + * + * *
      * Contains, case sensitive
      * 
@@ -211,6 +269,8 @@ public enum ComparisonType */ public static final int CONTAINS_VALUE = 3; /** + * + * *
      * Contains, case insensitive
      * 
@@ -219,6 +279,8 @@ public enum ComparisonType */ public static final int CONTAINS_CASE_INSENSITIVE_VALUE = 4; /** + * + * *
      * Starts with, case sensitive
      * 
@@ -227,6 +289,8 @@ public enum ComparisonType */ public static final int STARTS_WITH_VALUE = 5; /** + * + * *
      * Starts with, case insensitive
      * 
@@ -235,6 +299,8 @@ public enum ComparisonType */ public static final int STARTS_WITH_CASE_INSENSITIVE_VALUE = 6; /** + * + * *
      * Ends with, case sensitive
      * 
@@ -243,6 +309,8 @@ public enum ComparisonType */ public static final int ENDS_WITH_VALUE = 7; /** + * + * *
      * Ends with, case insensitive
      * 
@@ -251,6 +319,8 @@ public enum ComparisonType */ public static final int ENDS_WITH_CASE_INSENSITIVE_VALUE = 8; /** + * + * *
      * Greater than
      * 
@@ -259,6 +329,8 @@ public enum ComparisonType */ public static final int GREATER_THAN_VALUE = 9; /** + * + * *
      * Greater than or equal
      * 
@@ -267,6 +339,8 @@ public enum ComparisonType */ public static final int GREATER_THAN_OR_EQUAL_VALUE = 10; /** + * + * *
      * Less than
      * 
@@ -275,6 +349,8 @@ public enum ComparisonType */ public static final int LESS_THAN_VALUE = 11; /** + * + * *
      * Less than or equal
      * 
@@ -283,6 +359,8 @@ public enum ComparisonType */ public static final int LESS_THAN_OR_EQUAL_VALUE = 12; /** + * + * *
      * regular expression. Only supported for web streams.
      * 
@@ -291,6 +369,8 @@ public enum ComparisonType */ public static final int REGULAR_EXPRESSION_VALUE = 13; /** + * + * *
      * regular expression, case insensitive. Only supported for web streams.
      * 
@@ -299,7 +379,6 @@ public enum ComparisonType */ public static final int REGULAR_EXPRESSION_CASE_INSENSITIVE_VALUE = 14; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -324,61 +403,75 @@ public static ComparisonType valueOf(int value) { */ public static ComparisonType forNumber(int value) { switch (value) { - case 0: return COMPARISON_TYPE_UNSPECIFIED; - case 1: return EQUALS; - case 2: return EQUALS_CASE_INSENSITIVE; - case 3: return CONTAINS; - case 4: return CONTAINS_CASE_INSENSITIVE; - case 5: return STARTS_WITH; - case 6: return STARTS_WITH_CASE_INSENSITIVE; - case 7: return ENDS_WITH; - case 8: return ENDS_WITH_CASE_INSENSITIVE; - case 9: return GREATER_THAN; - case 10: return GREATER_THAN_OR_EQUAL; - case 11: return LESS_THAN; - case 12: return LESS_THAN_OR_EQUAL; - case 13: return REGULAR_EXPRESSION; - case 14: return REGULAR_EXPRESSION_CASE_INSENSITIVE; - default: return null; + case 0: + return COMPARISON_TYPE_UNSPECIFIED; + case 1: + return EQUALS; + case 2: + return EQUALS_CASE_INSENSITIVE; + case 3: + return CONTAINS; + case 4: + return CONTAINS_CASE_INSENSITIVE; + case 5: + return STARTS_WITH; + case 6: + return STARTS_WITH_CASE_INSENSITIVE; + case 7: + return ENDS_WITH; + case 8: + return ENDS_WITH_CASE_INSENSITIVE; + case 9: + return GREATER_THAN; + case 10: + return GREATER_THAN_OR_EQUAL; + case 11: + return LESS_THAN; + case 12: + return LESS_THAN_OR_EQUAL; + case 13: + return REGULAR_EXPRESSION; + case 14: + return REGULAR_EXPRESSION_CASE_INSENSITIVE; + 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< - ComparisonType> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public ComparisonType findValueByNumber(int number) { - return ComparisonType.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 ComparisonType findValueByNumber(int number) { + return ComparisonType.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.MatchingCondition.getDescriptor().getEnumTypes().get(0); + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.MatchingCondition.getDescriptor() + .getEnumTypes() + .get(0); } private static final ComparisonType[] VALUES = values(); - public static ComparisonType valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static ComparisonType 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; @@ -396,9 +489,12 @@ private ComparisonType(int value) { } public static final int FIELD_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object field_ = ""; /** + * + * *
    * Required. The name of the field that is compared against for the condition.
    * If 'event_name' is specified this condition will apply to the name of the
@@ -409,6 +505,7 @@ private ComparisonType(int value) {
    * 
* * string field = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The field. */ @java.lang.Override @@ -417,14 +514,15 @@ public java.lang.String getField() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); field_ = s; return s; } } /** + * + * *
    * Required. The name of the field that is compared against for the condition.
    * If 'event_name' is specified this condition will apply to the name of the
@@ -435,16 +533,15 @@ public java.lang.String getField() {
    * 
* * string field = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for field. */ @java.lang.Override - public com.google.protobuf.ByteString - getFieldBytes() { + public com.google.protobuf.ByteString getFieldBytes() { java.lang.Object ref = field_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); field_ = b; return b; } else { @@ -455,33 +552,52 @@ public java.lang.String getField() { public static final int COMPARISON_TYPE_FIELD_NUMBER = 2; private int comparisonType_ = 0; /** + * + * *
    * Required. The type of comparison to be applied to the value.
    * 
* - * .google.analytics.admin.v1alpha.MatchingCondition.ComparisonType comparison_type = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.MatchingCondition.ComparisonType comparison_type = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The enum numeric value on the wire for comparisonType. */ - @java.lang.Override public int getComparisonTypeValue() { + @java.lang.Override + public int getComparisonTypeValue() { return comparisonType_; } /** + * + * *
    * Required. The type of comparison to be applied to the value.
    * 
* - * .google.analytics.admin.v1alpha.MatchingCondition.ComparisonType comparison_type = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.MatchingCondition.ComparisonType comparison_type = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The comparisonType. */ - @java.lang.Override public com.google.analytics.admin.v1alpha.MatchingCondition.ComparisonType getComparisonType() { - com.google.analytics.admin.v1alpha.MatchingCondition.ComparisonType result = com.google.analytics.admin.v1alpha.MatchingCondition.ComparisonType.forNumber(comparisonType_); - return result == null ? com.google.analytics.admin.v1alpha.MatchingCondition.ComparisonType.UNRECOGNIZED : result; + @java.lang.Override + public com.google.analytics.admin.v1alpha.MatchingCondition.ComparisonType getComparisonType() { + com.google.analytics.admin.v1alpha.MatchingCondition.ComparisonType result = + com.google.analytics.admin.v1alpha.MatchingCondition.ComparisonType.forNumber( + comparisonType_); + return result == null + ? com.google.analytics.admin.v1alpha.MatchingCondition.ComparisonType.UNRECOGNIZED + : result; } public static final int VALUE_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object value_ = ""; /** + * + * *
    * Required. The value being compared against for this condition.  The runtime
    * implementation may perform type coercion of this value to evaluate this
@@ -489,6 +605,7 @@ public java.lang.String getField() {
    * 
* * string value = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The value. */ @java.lang.Override @@ -497,14 +614,15 @@ 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 value being compared against for this condition.  The runtime
    * implementation may perform type coercion of this value to evaluate this
@@ -512,16 +630,15 @@ public java.lang.String getValue() {
    * 
* * string value = 3 [(.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 { @@ -532,6 +649,8 @@ public java.lang.String getValue() { public static final int NEGATED_FIELD_NUMBER = 4; private boolean negated_ = false; /** + * + * *
    * Whether or not the result of the comparison should be negated. For example,
    * if `negated` is true, then 'equals' comparisons would function as 'not
@@ -539,6 +658,7 @@ public java.lang.String getValue() {
    * 
* * bool negated = 4; + * * @return The negated. */ @java.lang.Override @@ -547,6 +667,7 @@ public boolean getNegated() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -558,12 +679,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(field_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, field_); } - if (comparisonType_ != com.google.analytics.admin.v1alpha.MatchingCondition.ComparisonType.COMPARISON_TYPE_UNSPECIFIED.getNumber()) { + if (comparisonType_ + != com.google.analytics.admin.v1alpha.MatchingCondition.ComparisonType + .COMPARISON_TYPE_UNSPECIFIED + .getNumber()) { output.writeEnum(2, comparisonType_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(value_)) { @@ -584,16 +707,17 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(field_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, field_); } - if (comparisonType_ != com.google.analytics.admin.v1alpha.MatchingCondition.ComparisonType.COMPARISON_TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(2, comparisonType_); + if (comparisonType_ + != com.google.analytics.admin.v1alpha.MatchingCondition.ComparisonType + .COMPARISON_TYPE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, comparisonType_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(value_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, value_); } if (negated_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(4, negated_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(4, negated_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -603,20 +727,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.MatchingCondition)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.MatchingCondition other = (com.google.analytics.admin.v1alpha.MatchingCondition) obj; + com.google.analytics.admin.v1alpha.MatchingCondition other = + (com.google.analytics.admin.v1alpha.MatchingCondition) obj; - if (!getField() - .equals(other.getField())) return false; + if (!getField().equals(other.getField())) return false; if (comparisonType_ != other.comparisonType_) return false; - if (!getValue() - .equals(other.getValue())) return false; - if (getNegated() - != other.getNegated()) return false; + if (!getValue().equals(other.getValue())) return false; + if (getNegated() != other.getNegated()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -635,106 +757,110 @@ public int hashCode() { hash = (37 * hash) + VALUE_FIELD_NUMBER; hash = (53 * hash) + getValue().hashCode(); hash = (37 * hash) + NEGATED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getNegated()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getNegated()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.analytics.admin.v1alpha.MatchingCondition parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.MatchingCondition parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.MatchingCondition parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.MatchingCondition parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.MatchingCondition parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.MatchingCondition parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.MatchingCondition parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.MatchingCondition parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.MatchingCondition parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.MatchingCondition parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.MatchingCondition parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.analytics.admin.v1alpha.MatchingCondition parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.MatchingCondition parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.MatchingCondition parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.analytics.admin.v1alpha.MatchingCondition prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 condition for when an Event Edit or Event Creation rule applies to
    * an event.
@@ -742,33 +868,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.analytics.admin.v1alpha.MatchingCondition}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.MatchingCondition)
       com.google.analytics.admin.v1alpha.MatchingConditionOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.analytics.admin.v1alpha.EventCreateAndEdit.internal_static_google_analytics_admin_v1alpha_MatchingCondition_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.analytics.admin.v1alpha.EventCreateAndEdit
+          .internal_static_google_analytics_admin_v1alpha_MatchingCondition_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.analytics.admin.v1alpha.EventCreateAndEdit.internal_static_google_analytics_admin_v1alpha_MatchingCondition_fieldAccessorTable
+      return com.google.analytics.admin.v1alpha.EventCreateAndEdit
+          .internal_static_google_analytics_admin_v1alpha_MatchingCondition_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.analytics.admin.v1alpha.MatchingCondition.class, com.google.analytics.admin.v1alpha.MatchingCondition.Builder.class);
+              com.google.analytics.admin.v1alpha.MatchingCondition.class,
+              com.google.analytics.admin.v1alpha.MatchingCondition.Builder.class);
     }
 
     // Construct using com.google.analytics.admin.v1alpha.MatchingCondition.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();
@@ -781,9 +906,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.analytics.admin.v1alpha.EventCreateAndEdit.internal_static_google_analytics_admin_v1alpha_MatchingCondition_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.analytics.admin.v1alpha.EventCreateAndEdit
+          .internal_static_google_analytics_admin_v1alpha_MatchingCondition_descriptor;
     }
 
     @java.lang.Override
@@ -802,8 +927,11 @@ public com.google.analytics.admin.v1alpha.MatchingCondition build() {
 
     @java.lang.Override
     public com.google.analytics.admin.v1alpha.MatchingCondition buildPartial() {
-      com.google.analytics.admin.v1alpha.MatchingCondition result = new com.google.analytics.admin.v1alpha.MatchingCondition(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.analytics.admin.v1alpha.MatchingCondition result =
+          new com.google.analytics.admin.v1alpha.MatchingCondition(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -828,38 +956,39 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.MatchingCondition
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.analytics.admin.v1alpha.MatchingCondition) {
-        return mergeFrom((com.google.analytics.admin.v1alpha.MatchingCondition)other);
+        return mergeFrom((com.google.analytics.admin.v1alpha.MatchingCondition) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -867,7 +996,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.analytics.admin.v1alpha.MatchingCondition other) {
-      if (other == com.google.analytics.admin.v1alpha.MatchingCondition.getDefaultInstance()) return this;
+      if (other == com.google.analytics.admin.v1alpha.MatchingCondition.getDefaultInstance())
+        return this;
       if (!other.getField().isEmpty()) {
         field_ = other.field_;
         bitField0_ |= 0x00000001;
@@ -910,32 +1040,37 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              field_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 16: {
-              comparisonType_ = input.readEnum();
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 16
-            case 26: {
-              value_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000004;
-              break;
-            } // case 26
-            case 32: {
-              negated_ = input.readBool();
-              bitField0_ |= 0x00000008;
-              break;
-            } // case 32
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                field_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            case 16:
+              {
+                comparisonType_ = input.readEnum();
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 16
+            case 26:
+              {
+                value_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000004;
+                break;
+              } // case 26
+            case 32:
+              {
+                negated_ = 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) {
@@ -945,10 +1080,13 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object field_ = "";
     /**
+     *
+     *
      * 
      * Required. The name of the field that is compared against for the condition.
      * If 'event_name' is specified this condition will apply to the name of the
@@ -959,13 +1097,13 @@ public Builder mergeFrom(
      * 
* * string field = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The field. */ public java.lang.String getField() { java.lang.Object ref = field_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); field_ = s; return s; @@ -974,6 +1112,8 @@ public java.lang.String getField() { } } /** + * + * *
      * Required. The name of the field that is compared against for the condition.
      * If 'event_name' is specified this condition will apply to the name of the
@@ -984,15 +1124,14 @@ public java.lang.String getField() {
      * 
* * string field = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for field. */ - public com.google.protobuf.ByteString - getFieldBytes() { + public com.google.protobuf.ByteString getFieldBytes() { java.lang.Object ref = field_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); field_ = b; return b; } else { @@ -1000,6 +1139,8 @@ public java.lang.String getField() { } } /** + * + * *
      * Required. The name of the field that is compared against for the condition.
      * If 'event_name' is specified this condition will apply to the name of the
@@ -1010,18 +1151,22 @@ public java.lang.String getField() {
      * 
* * string field = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The field to set. * @return This builder for chaining. */ - public Builder setField( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setField(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } field_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The name of the field that is compared against for the condition.
      * If 'event_name' is specified this condition will apply to the name of the
@@ -1032,6 +1177,7 @@ public Builder setField(
      * 
* * string field = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearField() { @@ -1041,6 +1187,8 @@ public Builder clearField() { return this; } /** + * + * *
      * Required. The name of the field that is compared against for the condition.
      * If 'event_name' is specified this condition will apply to the name of the
@@ -1051,12 +1199,14 @@ public Builder clearField() {
      * 
* * string field = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for field to set. * @return This builder for chaining. */ - public Builder setFieldBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setFieldBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); field_ = value; bitField0_ |= 0x00000001; @@ -1066,22 +1216,33 @@ public Builder setFieldBytes( private int comparisonType_ = 0; /** + * + * *
      * Required. The type of comparison to be applied to the value.
      * 
* - * .google.analytics.admin.v1alpha.MatchingCondition.ComparisonType comparison_type = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.MatchingCondition.ComparisonType comparison_type = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The enum numeric value on the wire for comparisonType. */ - @java.lang.Override public int getComparisonTypeValue() { + @java.lang.Override + public int getComparisonTypeValue() { return comparisonType_; } /** + * + * *
      * Required. The type of comparison to be applied to the value.
      * 
* - * .google.analytics.admin.v1alpha.MatchingCondition.ComparisonType comparison_type = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.MatchingCondition.ComparisonType comparison_type = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param value The enum numeric value on the wire for comparisonType to set. * @return This builder for chaining. */ @@ -1092,28 +1253,43 @@ public Builder setComparisonTypeValue(int value) { return this; } /** + * + * *
      * Required. The type of comparison to be applied to the value.
      * 
* - * .google.analytics.admin.v1alpha.MatchingCondition.ComparisonType comparison_type = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.MatchingCondition.ComparisonType comparison_type = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The comparisonType. */ @java.lang.Override public com.google.analytics.admin.v1alpha.MatchingCondition.ComparisonType getComparisonType() { - com.google.analytics.admin.v1alpha.MatchingCondition.ComparisonType result = com.google.analytics.admin.v1alpha.MatchingCondition.ComparisonType.forNumber(comparisonType_); - return result == null ? com.google.analytics.admin.v1alpha.MatchingCondition.ComparisonType.UNRECOGNIZED : result; + com.google.analytics.admin.v1alpha.MatchingCondition.ComparisonType result = + com.google.analytics.admin.v1alpha.MatchingCondition.ComparisonType.forNumber( + comparisonType_); + return result == null + ? com.google.analytics.admin.v1alpha.MatchingCondition.ComparisonType.UNRECOGNIZED + : result; } /** + * + * *
      * Required. The type of comparison to be applied to the value.
      * 
* - * .google.analytics.admin.v1alpha.MatchingCondition.ComparisonType comparison_type = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.MatchingCondition.ComparisonType comparison_type = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param value The comparisonType to set. * @return This builder for chaining. */ - public Builder setComparisonType(com.google.analytics.admin.v1alpha.MatchingCondition.ComparisonType value) { + public Builder setComparisonType( + com.google.analytics.admin.v1alpha.MatchingCondition.ComparisonType value) { if (value == null) { throw new NullPointerException(); } @@ -1123,11 +1299,16 @@ public Builder setComparisonType(com.google.analytics.admin.v1alpha.MatchingCond return this; } /** + * + * *
      * Required. The type of comparison to be applied to the value.
      * 
* - * .google.analytics.admin.v1alpha.MatchingCondition.ComparisonType comparison_type = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.MatchingCondition.ComparisonType comparison_type = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return This builder for chaining. */ public Builder clearComparisonType() { @@ -1139,6 +1320,8 @@ public Builder clearComparisonType() { private java.lang.Object value_ = ""; /** + * + * *
      * Required. The value being compared against for this condition.  The runtime
      * implementation may perform type coercion of this value to evaluate this
@@ -1146,13 +1329,13 @@ public Builder clearComparisonType() {
      * 
* * string value = 3 [(.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; @@ -1161,6 +1344,8 @@ public java.lang.String getValue() { } } /** + * + * *
      * Required. The value being compared against for this condition.  The runtime
      * implementation may perform type coercion of this value to evaluate this
@@ -1168,15 +1353,14 @@ public java.lang.String getValue() {
      * 
* * string value = 3 [(.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 { @@ -1184,6 +1368,8 @@ public java.lang.String getValue() { } } /** + * + * *
      * Required. The value being compared against for this condition.  The runtime
      * implementation may perform type coercion of this value to evaluate this
@@ -1191,18 +1377,22 @@ public java.lang.String getValue() {
      * 
* * string value = 3 [(.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_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * Required. The value being compared against for this condition.  The runtime
      * implementation may perform type coercion of this value to evaluate this
@@ -1210,6 +1400,7 @@ public Builder setValue(
      * 
* * string value = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearValue() { @@ -1219,6 +1410,8 @@ public Builder clearValue() { return this; } /** + * + * *
      * Required. The value being compared against for this condition.  The runtime
      * implementation may perform type coercion of this value to evaluate this
@@ -1226,12 +1419,14 @@ public Builder clearValue() {
      * 
* * string value = 3 [(.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_ |= 0x00000004; @@ -1239,8 +1434,10 @@ public Builder setValueBytes( return this; } - private boolean negated_ ; + private boolean negated_; /** + * + * *
      * Whether or not the result of the comparison should be negated. For example,
      * if `negated` is true, then 'equals' comparisons would function as 'not
@@ -1248,6 +1445,7 @@ public Builder setValueBytes(
      * 
* * bool negated = 4; + * * @return The negated. */ @java.lang.Override @@ -1255,6 +1453,8 @@ public boolean getNegated() { return negated_; } /** + * + * *
      * Whether or not the result of the comparison should be negated. For example,
      * if `negated` is true, then 'equals' comparisons would function as 'not
@@ -1262,6 +1462,7 @@ public boolean getNegated() {
      * 
* * bool negated = 4; + * * @param value The negated to set. * @return This builder for chaining. */ @@ -1273,6 +1474,8 @@ public Builder setNegated(boolean value) { return this; } /** + * + * *
      * Whether or not the result of the comparison should be negated. For example,
      * if `negated` is true, then 'equals' comparisons would function as 'not
@@ -1280,6 +1483,7 @@ public Builder setNegated(boolean value) {
      * 
* * bool negated = 4; + * * @return This builder for chaining. */ public Builder clearNegated() { @@ -1288,9 +1492,9 @@ public Builder clearNegated() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1300,12 +1504,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.MatchingCondition) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.MatchingCondition) private static final com.google.analytics.admin.v1alpha.MatchingCondition DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.MatchingCondition(); } @@ -1314,27 +1518,27 @@ public static com.google.analytics.admin.v1alpha.MatchingCondition getDefaultIns return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public MatchingCondition parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public MatchingCondition parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1349,6 +1553,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1alpha.MatchingCondition 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/MatchingConditionOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/MatchingConditionOrBuilder.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/MatchingConditionOrBuilder.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/MatchingConditionOrBuilder.java index ffc23d2faa3e..ae2e4750b319 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/MatchingConditionOrBuilder.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/MatchingConditionOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/event_create_and_edit.proto package com.google.analytics.admin.v1alpha; -public interface MatchingConditionOrBuilder extends +public interface MatchingConditionOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.MatchingCondition) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The name of the field that is compared against for the condition.
    * If 'event_name' is specified this condition will apply to the name of the
@@ -18,10 +36,13 @@ public interface MatchingConditionOrBuilder extends
    * 
* * string field = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The field. */ java.lang.String getField(); /** + * + * *
    * Required. The name of the field that is compared against for the condition.
    * If 'event_name' is specified this condition will apply to the name of the
@@ -32,31 +53,43 @@ public interface MatchingConditionOrBuilder extends
    * 
* * string field = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for field. */ - com.google.protobuf.ByteString - getFieldBytes(); + com.google.protobuf.ByteString getFieldBytes(); /** + * + * *
    * Required. The type of comparison to be applied to the value.
    * 
* - * .google.analytics.admin.v1alpha.MatchingCondition.ComparisonType comparison_type = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.MatchingCondition.ComparisonType comparison_type = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The enum numeric value on the wire for comparisonType. */ int getComparisonTypeValue(); /** + * + * *
    * Required. The type of comparison to be applied to the value.
    * 
* - * .google.analytics.admin.v1alpha.MatchingCondition.ComparisonType comparison_type = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.MatchingCondition.ComparisonType comparison_type = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The comparisonType. */ com.google.analytics.admin.v1alpha.MatchingCondition.ComparisonType getComparisonType(); /** + * + * *
    * Required. The value being compared against for this condition.  The runtime
    * implementation may perform type coercion of this value to evaluate this
@@ -64,10 +97,13 @@ public interface MatchingConditionOrBuilder extends
    * 
* * string value = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The value. */ java.lang.String getValue(); /** + * + * *
    * Required. The value being compared against for this condition.  The runtime
    * implementation may perform type coercion of this value to evaluate this
@@ -75,12 +111,14 @@ public interface MatchingConditionOrBuilder extends
    * 
* * string value = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for value. */ - com.google.protobuf.ByteString - getValueBytes(); + com.google.protobuf.ByteString getValueBytes(); /** + * + * *
    * Whether or not the result of the comparison should be negated. For example,
    * if `negated` is true, then 'equals' comparisons would function as 'not
@@ -88,6 +126,7 @@ public interface MatchingConditionOrBuilder extends
    * 
* * bool negated = 4; + * * @return The negated. */ boolean getNegated(); 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 fbcf8cce1b7a..6b2f3ce888aa 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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,28 +45,32 @@ private MeasurementProtocolSecret() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new MeasurementProtocolSecret(); } - 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:
@@ -56,6 +78,7 @@ protected java.lang.Object newInstance(
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ @java.lang.Override @@ -64,14 +87,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:
@@ -79,16 +103,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 { @@ -97,14 +120,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 @@ -113,29 +140,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 { @@ -144,9 +171,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
@@ -154,6 +184,7 @@ public java.lang.String getDisplayName() {
    * 
* * string secret_value = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The secretValue. */ @java.lang.Override @@ -162,14 +193,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
@@ -177,16 +209,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 { @@ -195,6 +226,7 @@ public java.lang.String getSecretValue() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -206,8 +238,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -243,19 +274,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.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; } @@ -279,131 +308,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(); @@ -415,13 +449,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(); } @@ -436,13 +471,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_; @@ -459,38 +498,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; @@ -498,7 +538,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; @@ -540,27 +582,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) { @@ -570,10 +616,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:
@@ -581,13 +630,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; @@ -596,6 +645,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:
@@ -603,15 +654,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 { @@ -619,6 +669,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:
@@ -626,18 +678,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:
@@ -645,6 +701,7 @@ public Builder setName(
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearName() { @@ -654,6 +711,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:
@@ -661,12 +720,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; @@ -676,18 +737,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; @@ -696,20 +759,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 { @@ -717,28 +781,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() { @@ -748,17 +819,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; @@ -768,6 +843,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
@@ -775,13 +852,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; @@ -790,6 +867,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
@@ -797,15 +876,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 { @@ -813,6 +891,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
@@ -820,18 +900,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
@@ -839,6 +923,7 @@ public Builder setSecretValue(
      * 
* * string secret_value = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearSecretValue() { @@ -848,6 +933,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
@@ -855,21 +942,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); } @@ -879,12 +968,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(); } @@ -893,27 +983,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; @@ -928,6 +1018,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..40768578b633 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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 eeaad33ee7af..7b04a55b515f 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,57 +1,79 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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(); } - 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; + @SuppressWarnings("serial") 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; } @@ -67,30 +89,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 @@ -98,11 +126,14 @@ public boolean hasInt64Value() { return oneValueCase_ == 1; } /** + * + * *
    * Integer value
    * 
* * int64 int64_value = 1; + * * @return The int64Value. */ @java.lang.Override @@ -115,11 +146,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 @@ -127,11 +161,14 @@ public boolean hasDoubleValue() { return oneValueCase_ == 2; } /** + * + * *
    * Double value
    * 
* * double double_value = 2; + * * @return The doubleValue. */ @java.lang.Override @@ -143,6 +180,7 @@ public double getDoubleValue() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -154,15 +192,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); } @@ -174,14 +209,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; @@ -191,23 +226,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: @@ -226,13 +260,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: @@ -242,132 +277,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(); @@ -378,9 +417,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 @@ -399,8 +438,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; @@ -419,38 +461,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; @@ -458,19 +501,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(); @@ -498,22 +545,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) { @@ -523,12 +573,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() { @@ -541,22 +591,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() { @@ -566,11 +622,14 @@ public long getInt64Value() { return 0L; } /** + * + * *
      * Integer value
      * 
* * int64 int64_value = 1; + * * @param value The int64Value to set. * @return This builder for chaining. */ @@ -582,11 +641,14 @@ public Builder setInt64Value(long value) { return this; } /** + * + * *
      * Integer value
      * 
* * int64 int64_value = 1; + * * @return This builder for chaining. */ public Builder clearInt64Value() { @@ -599,22 +661,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() { @@ -624,11 +692,14 @@ public double getDoubleValue() { return 0D; } /** + * + * *
      * Double value
      * 
* * double double_value = 2; + * * @param value The doubleValue to set. * @return This builder for chaining. */ @@ -640,11 +711,14 @@ public Builder setDoubleValue(double value) { return this; } /** + * + * *
      * Double value
      * 
* * double double_value = 2; + * * @return This builder for chaining. */ public Builder clearDoubleValue() { @@ -655,9 +729,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); } @@ -667,12 +741,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(); } @@ -681,27 +755,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; @@ -716,6 +790,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 c8ce6c2a70c1..5bde39287f9b 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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/ParameterMutation.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ParameterMutation.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/ParameterMutation.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ParameterMutation.java index dd80bdc783d9..ff6eacd87014 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ParameterMutation.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ParameterMutation.java @@ -1,24 +1,42 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/event_create_and_edit.proto package com.google.analytics.admin.v1alpha; /** + * + * *
  * Defines an event parameter to mutate.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.ParameterMutation} */ -public final class ParameterMutation extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ParameterMutation extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.ParameterMutation) ParameterMutationOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ParameterMutation.newBuilder() to construct. private ParameterMutation(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ParameterMutation() { parameter_ = ""; parameterValue_ = ""; @@ -26,28 +44,32 @@ private ParameterMutation() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ParameterMutation(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.EventCreateAndEdit.internal_static_google_analytics_admin_v1alpha_ParameterMutation_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.EventCreateAndEdit + .internal_static_google_analytics_admin_v1alpha_ParameterMutation_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.EventCreateAndEdit.internal_static_google_analytics_admin_v1alpha_ParameterMutation_fieldAccessorTable + return com.google.analytics.admin.v1alpha.EventCreateAndEdit + .internal_static_google_analytics_admin_v1alpha_ParameterMutation_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.ParameterMutation.class, com.google.analytics.admin.v1alpha.ParameterMutation.Builder.class); + com.google.analytics.admin.v1alpha.ParameterMutation.class, + com.google.analytics.admin.v1alpha.ParameterMutation.Builder.class); } public static final int PARAMETER_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object parameter_ = ""; /** + * + * *
    * Required. The name of the parameter to mutate.
    * This value must:
@@ -59,6 +81,7 @@ protected java.lang.Object newInstance(
    * 
* * string parameter = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The parameter. */ @java.lang.Override @@ -67,14 +90,15 @@ public java.lang.String getParameter() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parameter_ = s; return s; } } /** + * + * *
    * Required. The name of the parameter to mutate.
    * This value must:
@@ -86,16 +110,15 @@ public java.lang.String getParameter() {
    * 
* * string parameter = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for parameter. */ @java.lang.Override - public com.google.protobuf.ByteString - getParameterBytes() { + public com.google.protobuf.ByteString getParameterBytes() { java.lang.Object ref = parameter_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parameter_ = b; return b; } else { @@ -104,9 +127,12 @@ public java.lang.String getParameter() { } public static final int PARAMETER_VALUE_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object parameterValue_ = ""; /** + * + * *
    * Required. The value mutation to perform.
    * * Must be less than 100 characters.
@@ -117,6 +143,7 @@ public java.lang.String getParameter() {
    * 
* * string parameter_value = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The parameterValue. */ @java.lang.Override @@ -125,14 +152,15 @@ public java.lang.String getParameterValue() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parameterValue_ = s; return s; } } /** + * + * *
    * Required. The value mutation to perform.
    * * Must be less than 100 characters.
@@ -143,16 +171,15 @@ public java.lang.String getParameterValue() {
    * 
* * string parameter_value = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for parameterValue. */ @java.lang.Override - public com.google.protobuf.ByteString - getParameterValueBytes() { + public com.google.protobuf.ByteString getParameterValueBytes() { java.lang.Object ref = parameterValue_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parameterValue_ = b; return b; } else { @@ -161,6 +188,7 @@ public java.lang.String getParameterValue() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -172,8 +200,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parameter_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parameter_); } @@ -203,17 +230,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.ParameterMutation)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.ParameterMutation other = (com.google.analytics.admin.v1alpha.ParameterMutation) obj; + com.google.analytics.admin.v1alpha.ParameterMutation other = + (com.google.analytics.admin.v1alpha.ParameterMutation) obj; - if (!getParameter() - .equals(other.getParameter())) return false; - if (!getParameterValue() - .equals(other.getParameterValue())) return false; + if (!getParameter().equals(other.getParameter())) return false; + if (!getParameterValue().equals(other.getParameterValue())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -235,131 +261,135 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.ParameterMutation parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.ParameterMutation parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.ParameterMutation parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.ParameterMutation parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.ParameterMutation parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.ParameterMutation parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.ParameterMutation parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.ParameterMutation parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.ParameterMutation parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.ParameterMutation parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.ParameterMutation parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.analytics.admin.v1alpha.ParameterMutation parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.ParameterMutation parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.ParameterMutation parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.analytics.admin.v1alpha.ParameterMutation prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 an event parameter to mutate.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.ParameterMutation} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.ParameterMutation) com.google.analytics.admin.v1alpha.ParameterMutationOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.EventCreateAndEdit.internal_static_google_analytics_admin_v1alpha_ParameterMutation_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.EventCreateAndEdit + .internal_static_google_analytics_admin_v1alpha_ParameterMutation_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.EventCreateAndEdit.internal_static_google_analytics_admin_v1alpha_ParameterMutation_fieldAccessorTable + return com.google.analytics.admin.v1alpha.EventCreateAndEdit + .internal_static_google_analytics_admin_v1alpha_ParameterMutation_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.ParameterMutation.class, com.google.analytics.admin.v1alpha.ParameterMutation.Builder.class); + com.google.analytics.admin.v1alpha.ParameterMutation.class, + com.google.analytics.admin.v1alpha.ParameterMutation.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.ParameterMutation.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(); @@ -370,9 +400,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.analytics.admin.v1alpha.EventCreateAndEdit.internal_static_google_analytics_admin_v1alpha_ParameterMutation_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1alpha.EventCreateAndEdit + .internal_static_google_analytics_admin_v1alpha_ParameterMutation_descriptor; } @java.lang.Override @@ -391,8 +421,11 @@ public com.google.analytics.admin.v1alpha.ParameterMutation build() { @java.lang.Override public com.google.analytics.admin.v1alpha.ParameterMutation buildPartial() { - com.google.analytics.admin.v1alpha.ParameterMutation result = new com.google.analytics.admin.v1alpha.ParameterMutation(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.analytics.admin.v1alpha.ParameterMutation result = + new com.google.analytics.admin.v1alpha.ParameterMutation(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -411,38 +444,39 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.ParameterMutation public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.analytics.admin.v1alpha.ParameterMutation) { - return mergeFrom((com.google.analytics.admin.v1alpha.ParameterMutation)other); + return mergeFrom((com.google.analytics.admin.v1alpha.ParameterMutation) other); } else { super.mergeFrom(other); return this; @@ -450,7 +484,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1alpha.ParameterMutation other) { - if (other == com.google.analytics.admin.v1alpha.ParameterMutation.getDefaultInstance()) return this; + if (other == com.google.analytics.admin.v1alpha.ParameterMutation.getDefaultInstance()) + return this; if (!other.getParameter().isEmpty()) { parameter_ = other.parameter_; bitField0_ |= 0x00000001; @@ -487,22 +522,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - parameter_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - parameterValue_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + parameter_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + parameterValue_ = 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) { @@ -512,10 +550,13 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object parameter_ = ""; /** + * + * *
      * Required. The name of the parameter to mutate.
      * This value must:
@@ -527,13 +568,13 @@ public Builder mergeFrom(
      * 
* * string parameter = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The parameter. */ public java.lang.String getParameter() { java.lang.Object ref = parameter_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parameter_ = s; return s; @@ -542,6 +583,8 @@ public java.lang.String getParameter() { } } /** + * + * *
      * Required. The name of the parameter to mutate.
      * This value must:
@@ -553,15 +596,14 @@ public java.lang.String getParameter() {
      * 
* * string parameter = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for parameter. */ - public com.google.protobuf.ByteString - getParameterBytes() { + public com.google.protobuf.ByteString getParameterBytes() { java.lang.Object ref = parameter_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parameter_ = b; return b; } else { @@ -569,6 +611,8 @@ public java.lang.String getParameter() { } } /** + * + * *
      * Required. The name of the parameter to mutate.
      * This value must:
@@ -580,18 +624,22 @@ public java.lang.String getParameter() {
      * 
* * string parameter = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The parameter to set. * @return This builder for chaining. */ - public Builder setParameter( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParameter(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } parameter_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The name of the parameter to mutate.
      * This value must:
@@ -603,6 +651,7 @@ public Builder setParameter(
      * 
* * string parameter = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearParameter() { @@ -612,6 +661,8 @@ public Builder clearParameter() { return this; } /** + * + * *
      * Required. The name of the parameter to mutate.
      * This value must:
@@ -623,12 +674,14 @@ public Builder clearParameter() {
      * 
* * string parameter = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for parameter to set. * @return This builder for chaining. */ - public Builder setParameterBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParameterBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); parameter_ = value; bitField0_ |= 0x00000001; @@ -638,6 +691,8 @@ public Builder setParameterBytes( private java.lang.Object parameterValue_ = ""; /** + * + * *
      * Required. The value mutation to perform.
      * * Must be less than 100 characters.
@@ -648,13 +703,13 @@ public Builder setParameterBytes(
      * 
* * string parameter_value = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The parameterValue. */ public java.lang.String getParameterValue() { java.lang.Object ref = parameterValue_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parameterValue_ = s; return s; @@ -663,6 +718,8 @@ public java.lang.String getParameterValue() { } } /** + * + * *
      * Required. The value mutation to perform.
      * * Must be less than 100 characters.
@@ -673,15 +730,14 @@ public java.lang.String getParameterValue() {
      * 
* * string parameter_value = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for parameterValue. */ - public com.google.protobuf.ByteString - getParameterValueBytes() { + public com.google.protobuf.ByteString getParameterValueBytes() { java.lang.Object ref = parameterValue_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parameterValue_ = b; return b; } else { @@ -689,6 +745,8 @@ public java.lang.String getParameterValue() { } } /** + * + * *
      * Required. The value mutation to perform.
      * * Must be less than 100 characters.
@@ -699,18 +757,22 @@ public java.lang.String getParameterValue() {
      * 
* * string parameter_value = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The parameterValue to set. * @return This builder for chaining. */ - public Builder setParameterValue( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParameterValue(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } parameterValue_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Required. The value mutation to perform.
      * * Must be less than 100 characters.
@@ -721,6 +783,7 @@ public Builder setParameterValue(
      * 
* * string parameter_value = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearParameterValue() { @@ -730,6 +793,8 @@ public Builder clearParameterValue() { return this; } /** + * + * *
      * Required. The value mutation to perform.
      * * Must be less than 100 characters.
@@ -740,21 +805,23 @@ public Builder clearParameterValue() {
      * 
* * string parameter_value = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for parameterValue to set. * @return This builder for chaining. */ - public Builder setParameterValueBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setParameterValueBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); parameterValue_ = 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); } @@ -764,12 +831,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.ParameterMutation) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.ParameterMutation) private static final com.google.analytics.admin.v1alpha.ParameterMutation DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.ParameterMutation(); } @@ -778,27 +845,27 @@ public static com.google.analytics.admin.v1alpha.ParameterMutation getDefaultIns return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ParameterMutation parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ParameterMutation parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -813,6 +880,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1alpha.ParameterMutation 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/ParameterMutationOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ParameterMutationOrBuilder.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/ParameterMutationOrBuilder.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ParameterMutationOrBuilder.java index ef0ff0b00c37..b3968d5f243e 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ParameterMutationOrBuilder.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ParameterMutationOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/event_create_and_edit.proto package com.google.analytics.admin.v1alpha; -public interface ParameterMutationOrBuilder extends +public interface ParameterMutationOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.ParameterMutation) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The name of the parameter to mutate.
    * This value must:
@@ -19,10 +37,13 @@ public interface ParameterMutationOrBuilder extends
    * 
* * string parameter = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The parameter. */ java.lang.String getParameter(); /** + * + * *
    * Required. The name of the parameter to mutate.
    * This value must:
@@ -34,12 +55,14 @@ public interface ParameterMutationOrBuilder extends
    * 
* * string parameter = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for parameter. */ - com.google.protobuf.ByteString - getParameterBytes(); + com.google.protobuf.ByteString getParameterBytes(); /** + * + * *
    * Required. The value mutation to perform.
    * * Must be less than 100 characters.
@@ -50,10 +73,13 @@ public interface ParameterMutationOrBuilder extends
    * 
* * string parameter_value = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The parameterValue. */ java.lang.String getParameterValue(); /** + * + * *
    * Required. The value mutation to perform.
    * * Must be less than 100 characters.
@@ -64,8 +90,8 @@ public interface ParameterMutationOrBuilder extends
    * 
* * string parameter_value = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for parameterValue. */ - com.google.protobuf.ByteString - getParameterValueBytes(); + com.google.protobuf.ByteString getParameterValueBytes(); } diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/PostbackWindow.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/PostbackWindow.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/PostbackWindow.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/PostbackWindow.java index f08225ce3a4b..f029bd9081e3 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/PostbackWindow.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/PostbackWindow.java @@ -1,52 +1,74 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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 for a SKAdNetwork conversion postback window.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.PostbackWindow} */ -public final class PostbackWindow extends - com.google.protobuf.GeneratedMessageV3 implements +public final class PostbackWindow extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.PostbackWindow) PostbackWindowOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use PostbackWindow.newBuilder() to construct. private PostbackWindow(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private PostbackWindow() { conversionValues_ = 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 PostbackWindow(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_PostbackWindow_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.ResourcesProto + .internal_static_google_analytics_admin_v1alpha_PostbackWindow_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_PostbackWindow_fieldAccessorTable + return com.google.analytics.admin.v1alpha.ResourcesProto + .internal_static_google_analytics_admin_v1alpha_PostbackWindow_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.PostbackWindow.class, com.google.analytics.admin.v1alpha.PostbackWindow.Builder.class); + com.google.analytics.admin.v1alpha.PostbackWindow.class, + com.google.analytics.admin.v1alpha.PostbackWindow.Builder.class); } public static final int CONVERSION_VALUES_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private java.util.List conversionValues_; /** + * + * *
    * Ordering of the repeated field will be used to prioritize the conversion
    * value settings. Lower indexed entries are prioritized higher. The first
@@ -58,10 +80,13 @@ protected java.lang.Object newInstance(
    * repeated .google.analytics.admin.v1alpha.ConversionValues conversion_values = 1;
    */
   @java.lang.Override
-  public java.util.List getConversionValuesList() {
+  public java.util.List
+      getConversionValuesList() {
     return conversionValues_;
   }
   /**
+   *
+   *
    * 
    * Ordering of the repeated field will be used to prioritize the conversion
    * value settings. Lower indexed entries are prioritized higher. The first
@@ -73,11 +98,13 @@ public java.util.List getCo
    * repeated .google.analytics.admin.v1alpha.ConversionValues conversion_values = 1;
    */
   @java.lang.Override
-  public java.util.List 
+  public java.util.List
       getConversionValuesOrBuilderList() {
     return conversionValues_;
   }
   /**
+   *
+   *
    * 
    * Ordering of the repeated field will be used to prioritize the conversion
    * value settings. Lower indexed entries are prioritized higher. The first
@@ -93,6 +120,8 @@ public int getConversionValuesCount() {
     return conversionValues_.size();
   }
   /**
+   *
+   *
    * 
    * Ordering of the repeated field will be used to prioritize the conversion
    * value settings. Lower indexed entries are prioritized higher. The first
@@ -108,6 +137,8 @@ public com.google.analytics.admin.v1alpha.ConversionValues getConversionValues(i
     return conversionValues_.get(index);
   }
   /**
+   *
+   *
    * 
    * Ordering of the repeated field will be used to prioritize the conversion
    * value settings. Lower indexed entries are prioritized higher. The first
@@ -127,6 +158,8 @@ public com.google.analytics.admin.v1alpha.ConversionValuesOrBuilder getConversio
   public static final int POSTBACK_WINDOW_SETTINGS_ENABLED_FIELD_NUMBER = 2;
   private boolean postbackWindowSettingsEnabled_ = false;
   /**
+   *
+   *
    * 
    * If enable_postback_window_settings is true, conversion_values
    * must be populated and will be used for determining when and how to set the
@@ -137,6 +170,7 @@ public com.google.analytics.admin.v1alpha.ConversionValuesOrBuilder getConversio
    * 
* * bool postback_window_settings_enabled = 2; + * * @return The postbackWindowSettingsEnabled. */ @java.lang.Override @@ -145,6 +179,7 @@ public boolean getPostbackWindowSettingsEnabled() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -156,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 { for (int i = 0; i < conversionValues_.size(); i++) { output.writeMessage(1, conversionValues_.get(i)); } @@ -174,12 +208,11 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < conversionValues_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, conversionValues_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, conversionValues_.get(i)); } if (postbackWindowSettingsEnabled_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(2, postbackWindowSettingsEnabled_); + size += + com.google.protobuf.CodedOutputStream.computeBoolSize(2, postbackWindowSettingsEnabled_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -189,17 +222,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.PostbackWindow)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.PostbackWindow other = (com.google.analytics.admin.v1alpha.PostbackWindow) obj; + com.google.analytics.admin.v1alpha.PostbackWindow other = + (com.google.analytics.admin.v1alpha.PostbackWindow) obj; - if (!getConversionValuesList() - .equals(other.getConversionValuesList())) return false; - if (getPostbackWindowSettingsEnabled() - != other.getPostbackWindowSettingsEnabled()) return false; + if (!getConversionValuesList().equals(other.getConversionValuesList())) return false; + if (getPostbackWindowSettingsEnabled() != other.getPostbackWindowSettingsEnabled()) + return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -216,139 +249,143 @@ public int hashCode() { hash = (53 * hash) + getConversionValuesList().hashCode(); } hash = (37 * hash) + POSTBACK_WINDOW_SETTINGS_ENABLED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getPostbackWindowSettingsEnabled()); + hash = + (53 * hash) + com.google.protobuf.Internal.hashBoolean(getPostbackWindowSettingsEnabled()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.analytics.admin.v1alpha.PostbackWindow parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.PostbackWindow parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.PostbackWindow parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.PostbackWindow parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.PostbackWindow parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.PostbackWindow parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.PostbackWindow parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.PostbackWindow parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.PostbackWindow parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.PostbackWindow parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.PostbackWindow parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.analytics.admin.v1alpha.PostbackWindow parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.PostbackWindow parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.PostbackWindow parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.analytics.admin.v1alpha.PostbackWindow prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 for a SKAdNetwork conversion postback window.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.PostbackWindow} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.PostbackWindow) com.google.analytics.admin.v1alpha.PostbackWindowOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_PostbackWindow_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.ResourcesProto + .internal_static_google_analytics_admin_v1alpha_PostbackWindow_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_PostbackWindow_fieldAccessorTable + return com.google.analytics.admin.v1alpha.ResourcesProto + .internal_static_google_analytics_admin_v1alpha_PostbackWindow_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.PostbackWindow.class, com.google.analytics.admin.v1alpha.PostbackWindow.Builder.class); + com.google.analytics.admin.v1alpha.PostbackWindow.class, + com.google.analytics.admin.v1alpha.PostbackWindow.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.PostbackWindow.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(); @@ -365,9 +402,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_PostbackWindow_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1alpha.ResourcesProto + .internal_static_google_analytics_admin_v1alpha_PostbackWindow_descriptor; } @java.lang.Override @@ -386,14 +423,18 @@ public com.google.analytics.admin.v1alpha.PostbackWindow build() { @java.lang.Override public com.google.analytics.admin.v1alpha.PostbackWindow buildPartial() { - com.google.analytics.admin.v1alpha.PostbackWindow result = new com.google.analytics.admin.v1alpha.PostbackWindow(this); + com.google.analytics.admin.v1alpha.PostbackWindow result = + new com.google.analytics.admin.v1alpha.PostbackWindow(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartialRepeatedFields(com.google.analytics.admin.v1alpha.PostbackWindow result) { + private void buildPartialRepeatedFields( + com.google.analytics.admin.v1alpha.PostbackWindow result) { if (conversionValuesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { conversionValues_ = java.util.Collections.unmodifiableList(conversionValues_); @@ -416,38 +457,39 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.PostbackWindow 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.PostbackWindow) { - return mergeFrom((com.google.analytics.admin.v1alpha.PostbackWindow)other); + return mergeFrom((com.google.analytics.admin.v1alpha.PostbackWindow) other); } else { super.mergeFrom(other); return this; @@ -455,7 +497,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1alpha.PostbackWindow other) { - if (other == com.google.analytics.admin.v1alpha.PostbackWindow.getDefaultInstance()) return this; + if (other == com.google.analytics.admin.v1alpha.PostbackWindow.getDefaultInstance()) + return this; if (conversionValuesBuilder_ == null) { if (!other.conversionValues_.isEmpty()) { if (conversionValues_.isEmpty()) { @@ -474,9 +517,10 @@ public Builder mergeFrom(com.google.analytics.admin.v1alpha.PostbackWindow other conversionValuesBuilder_ = null; conversionValues_ = other.conversionValues_; bitField0_ = (bitField0_ & ~0x00000001); - conversionValuesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getConversionValuesFieldBuilder() : null; + conversionValuesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getConversionValuesFieldBuilder() + : null; } else { conversionValuesBuilder_.addAllMessages(other.conversionValues_); } @@ -511,30 +555,33 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - com.google.analytics.admin.v1alpha.ConversionValues m = - input.readMessage( - com.google.analytics.admin.v1alpha.ConversionValues.parser(), - extensionRegistry); - if (conversionValuesBuilder_ == null) { - ensureConversionValuesIsMutable(); - conversionValues_.add(m); - } else { - conversionValuesBuilder_.addMessage(m); - } - break; - } // case 10 - case 16: { - postbackWindowSettingsEnabled_ = input.readBool(); - bitField0_ |= 0x00000002; - break; - } // case 16 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + com.google.analytics.admin.v1alpha.ConversionValues m = + input.readMessage( + com.google.analytics.admin.v1alpha.ConversionValues.parser(), + extensionRegistry); + if (conversionValuesBuilder_ == null) { + ensureConversionValuesIsMutable(); + conversionValues_.add(m); + } else { + conversionValuesBuilder_.addMessage(m); + } + break; + } // case 10 + case 16: + { + postbackWindowSettingsEnabled_ = 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) { @@ -544,21 +591,30 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.util.List conversionValues_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureConversionValuesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - conversionValues_ = new java.util.ArrayList(conversionValues_); + conversionValues_ = + new java.util.ArrayList( + conversionValues_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.ConversionValues, com.google.analytics.admin.v1alpha.ConversionValues.Builder, com.google.analytics.admin.v1alpha.ConversionValuesOrBuilder> conversionValuesBuilder_; + com.google.analytics.admin.v1alpha.ConversionValues, + com.google.analytics.admin.v1alpha.ConversionValues.Builder, + com.google.analytics.admin.v1alpha.ConversionValuesOrBuilder> + conversionValuesBuilder_; /** + * + * *
      * Ordering of the repeated field will be used to prioritize the conversion
      * value settings. Lower indexed entries are prioritized higher. The first
@@ -569,7 +625,8 @@ private void ensureConversionValuesIsMutable() {
      *
      * repeated .google.analytics.admin.v1alpha.ConversionValues conversion_values = 1;
      */
-    public java.util.List getConversionValuesList() {
+    public java.util.List
+        getConversionValuesList() {
       if (conversionValuesBuilder_ == null) {
         return java.util.Collections.unmodifiableList(conversionValues_);
       } else {
@@ -577,6 +634,8 @@ public java.util.List getCo
       }
     }
     /**
+     *
+     *
      * 
      * Ordering of the repeated field will be used to prioritize the conversion
      * value settings. Lower indexed entries are prioritized higher. The first
@@ -595,6 +654,8 @@ public int getConversionValuesCount() {
       }
     }
     /**
+     *
+     *
      * 
      * Ordering of the repeated field will be used to prioritize the conversion
      * value settings. Lower indexed entries are prioritized higher. The first
@@ -613,6 +674,8 @@ public com.google.analytics.admin.v1alpha.ConversionValues getConversionValues(i
       }
     }
     /**
+     *
+     *
      * 
      * Ordering of the repeated field will be used to prioritize the conversion
      * value settings. Lower indexed entries are prioritized higher. The first
@@ -638,6 +701,8 @@ public Builder setConversionValues(
       return this;
     }
     /**
+     *
+     *
      * 
      * Ordering of the repeated field will be used to prioritize the conversion
      * value settings. Lower indexed entries are prioritized higher. The first
@@ -660,6 +725,8 @@ public Builder setConversionValues(
       return this;
     }
     /**
+     *
+     *
      * 
      * Ordering of the repeated field will be used to prioritize the conversion
      * value settings. Lower indexed entries are prioritized higher. The first
@@ -684,6 +751,8 @@ public Builder addConversionValues(com.google.analytics.admin.v1alpha.Conversion
       return this;
     }
     /**
+     *
+     *
      * 
      * Ordering of the repeated field will be used to prioritize the conversion
      * value settings. Lower indexed entries are prioritized higher. The first
@@ -709,6 +778,8 @@ public Builder addConversionValues(
       return this;
     }
     /**
+     *
+     *
      * 
      * Ordering of the repeated field will be used to prioritize the conversion
      * value settings. Lower indexed entries are prioritized higher. The first
@@ -731,6 +802,8 @@ public Builder addConversionValues(
       return this;
     }
     /**
+     *
+     *
      * 
      * Ordering of the repeated field will be used to prioritize the conversion
      * value settings. Lower indexed entries are prioritized higher. The first
@@ -753,6 +826,8 @@ public Builder addConversionValues(
       return this;
     }
     /**
+     *
+     *
      * 
      * Ordering of the repeated field will be used to prioritize the conversion
      * value settings. Lower indexed entries are prioritized higher. The first
@@ -767,8 +842,7 @@ public Builder addAllConversionValues(
         java.lang.Iterable values) {
       if (conversionValuesBuilder_ == null) {
         ensureConversionValuesIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(
-            values, conversionValues_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, conversionValues_);
         onChanged();
       } else {
         conversionValuesBuilder_.addAllMessages(values);
@@ -776,6 +850,8 @@ public Builder addAllConversionValues(
       return this;
     }
     /**
+     *
+     *
      * 
      * Ordering of the repeated field will be used to prioritize the conversion
      * value settings. Lower indexed entries are prioritized higher. The first
@@ -797,6 +873,8 @@ public Builder clearConversionValues() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Ordering of the repeated field will be used to prioritize the conversion
      * value settings. Lower indexed entries are prioritized higher. The first
@@ -818,6 +896,8 @@ public Builder removeConversionValues(int index) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Ordering of the repeated field will be used to prioritize the conversion
      * value settings. Lower indexed entries are prioritized higher. The first
@@ -833,6 +913,8 @@ public com.google.analytics.admin.v1alpha.ConversionValues.Builder getConversion
       return getConversionValuesFieldBuilder().getBuilder(index);
     }
     /**
+     *
+     *
      * 
      * Ordering of the repeated field will be used to prioritize the conversion
      * value settings. Lower indexed entries are prioritized higher. The first
@@ -843,14 +925,17 @@ public com.google.analytics.admin.v1alpha.ConversionValues.Builder getConversion
      *
      * repeated .google.analytics.admin.v1alpha.ConversionValues conversion_values = 1;
      */
-    public com.google.analytics.admin.v1alpha.ConversionValuesOrBuilder getConversionValuesOrBuilder(
-        int index) {
+    public com.google.analytics.admin.v1alpha.ConversionValuesOrBuilder
+        getConversionValuesOrBuilder(int index) {
       if (conversionValuesBuilder_ == null) {
-        return conversionValues_.get(index);  } else {
+        return conversionValues_.get(index);
+      } else {
         return conversionValuesBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
+     *
+     *
      * 
      * Ordering of the repeated field will be used to prioritize the conversion
      * value settings. Lower indexed entries are prioritized higher. The first
@@ -861,8 +946,8 @@ public com.google.analytics.admin.v1alpha.ConversionValuesOrBuilder getConversio
      *
      * repeated .google.analytics.admin.v1alpha.ConversionValues conversion_values = 1;
      */
-    public java.util.List 
-         getConversionValuesOrBuilderList() {
+    public java.util.List
+        getConversionValuesOrBuilderList() {
       if (conversionValuesBuilder_ != null) {
         return conversionValuesBuilder_.getMessageOrBuilderList();
       } else {
@@ -870,6 +955,8 @@ public com.google.analytics.admin.v1alpha.ConversionValuesOrBuilder getConversio
       }
     }
     /**
+     *
+     *
      * 
      * Ordering of the repeated field will be used to prioritize the conversion
      * value settings. Lower indexed entries are prioritized higher. The first
@@ -880,11 +967,14 @@ public com.google.analytics.admin.v1alpha.ConversionValuesOrBuilder getConversio
      *
      * repeated .google.analytics.admin.v1alpha.ConversionValues conversion_values = 1;
      */
-    public com.google.analytics.admin.v1alpha.ConversionValues.Builder addConversionValuesBuilder() {
-      return getConversionValuesFieldBuilder().addBuilder(
-          com.google.analytics.admin.v1alpha.ConversionValues.getDefaultInstance());
+    public com.google.analytics.admin.v1alpha.ConversionValues.Builder
+        addConversionValuesBuilder() {
+      return getConversionValuesFieldBuilder()
+          .addBuilder(com.google.analytics.admin.v1alpha.ConversionValues.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * Ordering of the repeated field will be used to prioritize the conversion
      * value settings. Lower indexed entries are prioritized higher. The first
@@ -897,10 +987,13 @@ public com.google.analytics.admin.v1alpha.ConversionValues.Builder addConversion
      */
     public com.google.analytics.admin.v1alpha.ConversionValues.Builder addConversionValuesBuilder(
         int index) {
-      return getConversionValuesFieldBuilder().addBuilder(
-          index, com.google.analytics.admin.v1alpha.ConversionValues.getDefaultInstance());
+      return getConversionValuesFieldBuilder()
+          .addBuilder(
+              index, com.google.analytics.admin.v1alpha.ConversionValues.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * Ordering of the repeated field will be used to prioritize the conversion
      * value settings. Lower indexed entries are prioritized higher. The first
@@ -911,16 +1004,22 @@ public com.google.analytics.admin.v1alpha.ConversionValues.Builder addConversion
      *
      * repeated .google.analytics.admin.v1alpha.ConversionValues conversion_values = 1;
      */
-    public java.util.List 
-         getConversionValuesBuilderList() {
+    public java.util.List
+        getConversionValuesBuilderList() {
       return getConversionValuesFieldBuilder().getBuilderList();
     }
+
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.analytics.admin.v1alpha.ConversionValues, com.google.analytics.admin.v1alpha.ConversionValues.Builder, com.google.analytics.admin.v1alpha.ConversionValuesOrBuilder> 
+            com.google.analytics.admin.v1alpha.ConversionValues,
+            com.google.analytics.admin.v1alpha.ConversionValues.Builder,
+            com.google.analytics.admin.v1alpha.ConversionValuesOrBuilder>
         getConversionValuesFieldBuilder() {
       if (conversionValuesBuilder_ == null) {
-        conversionValuesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.analytics.admin.v1alpha.ConversionValues, com.google.analytics.admin.v1alpha.ConversionValues.Builder, com.google.analytics.admin.v1alpha.ConversionValuesOrBuilder>(
+        conversionValuesBuilder_ =
+            new com.google.protobuf.RepeatedFieldBuilderV3<
+                com.google.analytics.admin.v1alpha.ConversionValues,
+                com.google.analytics.admin.v1alpha.ConversionValues.Builder,
+                com.google.analytics.admin.v1alpha.ConversionValuesOrBuilder>(
                 conversionValues_,
                 ((bitField0_ & 0x00000001) != 0),
                 getParentForChildren(),
@@ -930,8 +1029,10 @@ public com.google.analytics.admin.v1alpha.ConversionValues.Builder addConversion
       return conversionValuesBuilder_;
     }
 
-    private boolean postbackWindowSettingsEnabled_ ;
+    private boolean postbackWindowSettingsEnabled_;
     /**
+     *
+     *
      * 
      * If enable_postback_window_settings is true, conversion_values
      * must be populated and will be used for determining when and how to set the
@@ -942,6 +1043,7 @@ public com.google.analytics.admin.v1alpha.ConversionValues.Builder addConversion
      * 
* * bool postback_window_settings_enabled = 2; + * * @return The postbackWindowSettingsEnabled. */ @java.lang.Override @@ -949,6 +1051,8 @@ public boolean getPostbackWindowSettingsEnabled() { return postbackWindowSettingsEnabled_; } /** + * + * *
      * If enable_postback_window_settings is true, conversion_values
      * must be populated and will be used for determining when and how to set the
@@ -959,6 +1063,7 @@ public boolean getPostbackWindowSettingsEnabled() {
      * 
* * bool postback_window_settings_enabled = 2; + * * @param value The postbackWindowSettingsEnabled to set. * @return This builder for chaining. */ @@ -970,6 +1075,8 @@ public Builder setPostbackWindowSettingsEnabled(boolean value) { return this; } /** + * + * *
      * If enable_postback_window_settings is true, conversion_values
      * must be populated and will be used for determining when and how to set the
@@ -980,6 +1087,7 @@ public Builder setPostbackWindowSettingsEnabled(boolean value) {
      * 
* * bool postback_window_settings_enabled = 2; + * * @return This builder for chaining. */ public Builder clearPostbackWindowSettingsEnabled() { @@ -988,9 +1096,9 @@ public Builder clearPostbackWindowSettingsEnabled() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1000,12 +1108,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.PostbackWindow) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.PostbackWindow) private static final com.google.analytics.admin.v1alpha.PostbackWindow DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.PostbackWindow(); } @@ -1014,27 +1122,27 @@ public static com.google.analytics.admin.v1alpha.PostbackWindow getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PostbackWindow parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PostbackWindow parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1049,6 +1157,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1alpha.PostbackWindow 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/PostbackWindowOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/PostbackWindowOrBuilder.java similarity index 83% rename from owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/PostbackWindowOrBuilder.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/PostbackWindowOrBuilder.java index 88937bcde6a6..c7ffd1f4710e 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/PostbackWindowOrBuilder.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/PostbackWindowOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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 PostbackWindowOrBuilder extends +public interface PostbackWindowOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.PostbackWindow) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Ordering of the repeated field will be used to prioritize the conversion
    * value settings. Lower indexed entries are prioritized higher. The first
@@ -18,9 +36,10 @@ public interface PostbackWindowOrBuilder extends
    *
    * repeated .google.analytics.admin.v1alpha.ConversionValues conversion_values = 1;
    */
-  java.util.List 
-      getConversionValuesList();
+  java.util.List getConversionValuesList();
   /**
+   *
+   *
    * 
    * Ordering of the repeated field will be used to prioritize the conversion
    * value settings. Lower indexed entries are prioritized higher. The first
@@ -33,6 +52,8 @@ public interface PostbackWindowOrBuilder extends
    */
   com.google.analytics.admin.v1alpha.ConversionValues getConversionValues(int index);
   /**
+   *
+   *
    * 
    * Ordering of the repeated field will be used to prioritize the conversion
    * value settings. Lower indexed entries are prioritized higher. The first
@@ -45,6 +66,8 @@ public interface PostbackWindowOrBuilder extends
    */
   int getConversionValuesCount();
   /**
+   *
+   *
    * 
    * Ordering of the repeated field will be used to prioritize the conversion
    * value settings. Lower indexed entries are prioritized higher. The first
@@ -55,9 +78,11 @@ public interface PostbackWindowOrBuilder extends
    *
    * repeated .google.analytics.admin.v1alpha.ConversionValues conversion_values = 1;
    */
-  java.util.List 
+  java.util.List
       getConversionValuesOrBuilderList();
   /**
+   *
+   *
    * 
    * Ordering of the repeated field will be used to prioritize the conversion
    * value settings. Lower indexed entries are prioritized higher. The first
@@ -72,6 +97,8 @@ com.google.analytics.admin.v1alpha.ConversionValuesOrBuilder getConversionValues
       int index);
 
   /**
+   *
+   *
    * 
    * If enable_postback_window_settings is true, conversion_values
    * must be populated and will be used for determining when and how to set the
@@ -82,6 +109,7 @@ com.google.analytics.admin.v1alpha.ConversionValuesOrBuilder getConversionValues
    * 
* * bool postback_window_settings_enabled = 2; + * * @return The postbackWindowSettingsEnabled. */ boolean getPostbackWindowSettingsEnabled(); 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 f840bd611c49..7a3d028640b9 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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,28 +51,32 @@ private Property() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Property(); } - 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}
@@ -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 property.
    * Format: properties/{property_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 { @@ -105,41 +128,58 @@ 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 implied.
    * 
* - * .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.
    * 
* - * .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 @@ -147,11 +187,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 @@ -159,11 +203,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() { @@ -173,11 +220,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 @@ -185,11 +236,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 @@ -197,11 +252,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() { @@ -209,9 +267,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.
    *
@@ -221,6 +282,7 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
    * 
* * string parent = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return The parent. */ @java.lang.Override @@ -229,14 +291,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.
    *
@@ -246,16 +309,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 { @@ -264,9 +326,12 @@ 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.
    *
@@ -274,6 +339,7 @@ public java.lang.String getParent() {
    * 
* * string display_name = 5 [(.google.api.field_behavior) = REQUIRED]; + * * @return The displayName. */ @java.lang.Override @@ -282,14 +348,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. Human-readable display name for this property.
    *
@@ -297,16 +364,15 @@ public java.lang.String getDisplayName() {
    * 
* * 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 { @@ -317,35 +383,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,
@@ -359,6 +439,7 @@ public java.lang.String getDisplayName() {
    * 
* * string time_zone = 7 [(.google.api.field_behavior) = REQUIRED]; + * * @return The timeZone. */ @java.lang.Override @@ -367,14 +448,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,
@@ -388,16 +470,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 { @@ -406,9 +487,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.
    *
@@ -418,6 +502,7 @@ public java.lang.String getTimeZone() {
    * 
* * string currency_code = 8; + * * @return The currencyCode. */ @java.lang.Override @@ -426,14 +511,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.
    *
@@ -443,16 +529,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 { @@ -463,40 +548,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 @@ -504,12 +606,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 @@ -517,12 +623,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() { @@ -532,13 +641,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 @@ -546,13 +659,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 @@ -560,13 +677,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() { @@ -574,16 +694,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 @@ -592,31 +718,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 { @@ -625,6 +753,7 @@ public java.lang.String getAccount() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -636,8 +765,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -653,7 +781,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_)) { @@ -662,7 +792,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) { @@ -674,7 +805,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); @@ -693,19 +825,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_); @@ -713,24 +844,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; @@ -740,48 +869,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; } @@ -832,132 +952,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(); @@ -995,9 +1119,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 @@ -1016,8 +1140,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; } @@ -1031,14 +1158,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_; @@ -1059,14 +1182,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_; @@ -1077,38 +1196,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; @@ -1194,85 +1314,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) { @@ -1282,10 +1408,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}
@@ -1293,13 +1422,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; @@ -1308,6 +1437,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. Resource name of this property.
      * Format: properties/{property_id}
@@ -1315,15 +1446,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 { @@ -1331,6 +1461,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. Resource name of this property.
      * Format: properties/{property_id}
@@ -1338,18 +1470,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}
@@ -1357,6 +1493,7 @@ public Builder setName(
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearName() { @@ -1366,6 +1503,8 @@ public Builder clearName() { return this; } /** + * + * *
      * Output only. Resource name of this property.
      * Format: properties/{property_id}
@@ -1373,12 +1512,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; @@ -1388,26 +1529,37 @@ 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 implied.
      * 
* - * .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.
      * 
* - * .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. */ @@ -1418,28 +1570,39 @@ 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.
      * 
* - * .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.
      * 
* - * .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. */ @@ -1453,13 +1616,18 @@ 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.
      * 
* - * .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() { @@ -1471,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) { @@ -1519,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 { @@ -1537,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; @@ -1560,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); @@ -1577,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; @@ -1589,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_; @@ -1626,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) { @@ -1674,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 { @@ -1692,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; @@ -1715,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); @@ -1732,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; @@ -1744,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_; @@ -1781,6 +2041,8 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { private java.lang.Object parent_ = ""; /** + * + * *
      * Immutable. Resource name of this property's logical parent.
      *
@@ -1790,13 +2052,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; @@ -1805,6 +2067,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Immutable. Resource name of this property's logical parent.
      *
@@ -1814,15 +2078,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 { @@ -1830,6 +2093,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Immutable. Resource name of this property's logical parent.
      *
@@ -1839,18 +2104,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.
      *
@@ -1860,6 +2129,7 @@ public Builder setParent(
      * 
* * string parent = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return This builder for chaining. */ public Builder clearParent() { @@ -1869,6 +2139,8 @@ public Builder clearParent() { return this; } /** + * + * *
      * Immutable. Resource name of this property's logical parent.
      *
@@ -1878,12 +2150,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; @@ -1893,6 +2167,8 @@ public Builder setParentBytes( private java.lang.Object displayName_ = ""; /** + * + * *
      * Required. Human-readable display name for this property.
      *
@@ -1900,13 +2176,13 @@ public Builder setParentBytes(
      * 
* * 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; @@ -1915,6 +2191,8 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * Required. Human-readable display name for this property.
      *
@@ -1922,15 +2200,14 @@ public java.lang.String getDisplayName() {
      * 
* * 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 { @@ -1938,6 +2215,8 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * Required. Human-readable display name for this property.
      *
@@ -1945,18 +2224,22 @@ public java.lang.String getDisplayName() {
      * 
* * 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.
      *
@@ -1964,6 +2247,7 @@ public Builder setDisplayName(
      * 
* * string display_name = 5 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearDisplayName() { @@ -1973,6 +2257,8 @@ public Builder clearDisplayName() { return this; } /** + * + * *
      * Required. Human-readable display name for this property.
      *
@@ -1980,12 +2266,14 @@ public Builder clearDisplayName() {
      * 
* * 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; @@ -1995,24 +2283,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. */ @@ -2023,26 +2318,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. */ @@ -2056,12 +2360,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() { @@ -2073,6 +2380,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,
@@ -2086,13 +2395,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; @@ -2101,6 +2410,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,
@@ -2114,15 +2425,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 { @@ -2130,6 +2440,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,
@@ -2143,18 +2455,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,
@@ -2168,6 +2484,7 @@ public Builder setTimeZone(
      * 
* * string time_zone = 7 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearTimeZone() { @@ -2177,6 +2494,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,
@@ -2190,12 +2509,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; @@ -2205,6 +2526,8 @@ public Builder setTimeZoneBytes( private java.lang.Object currencyCode_ = ""; /** + * + * *
      * The currency type used in reports involving monetary values.
      *
@@ -2214,13 +2537,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; @@ -2229,6 +2552,8 @@ public java.lang.String getCurrencyCode() { } } /** + * + * *
      * The currency type used in reports involving monetary values.
      *
@@ -2238,15 +2563,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 { @@ -2254,6 +2578,8 @@ public java.lang.String getCurrencyCode() { } } /** + * + * *
      * The currency type used in reports involving monetary values.
      *
@@ -2263,18 +2589,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.
      *
@@ -2284,6 +2614,7 @@ public Builder setCurrencyCode(
      * 
* * string currency_code = 8; + * * @return This builder for chaining. */ public Builder clearCurrencyCode() { @@ -2293,6 +2624,8 @@ public Builder clearCurrencyCode() { return this; } /** + * + * *
      * The currency type used in reports involving monetary values.
      *
@@ -2302,12 +2635,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; @@ -2317,24 +2652,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. */ @@ -2345,26 +2691,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. */ @@ -2378,12 +2735,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() { @@ -2395,42 +2757,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) { @@ -2446,15 +2827,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 { @@ -2465,18 +2849,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; @@ -2489,12 +2877,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); @@ -2507,12 +2899,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; @@ -2520,38 +2916,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_; @@ -2559,45 +2967,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) { @@ -2613,16 +3040,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 { @@ -2633,19 +3063,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; @@ -2658,13 +3092,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); @@ -2677,13 +3115,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; @@ -2691,40 +3133,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_; @@ -2732,20 +3186,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; @@ -2754,22 +3212,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 { @@ -2777,32 +3238,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() { @@ -2812,28 +3284,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); } @@ -2843,12 +3321,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(); } @@ -2857,27 +3335,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; @@ -2892,6 +3370,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 0543e8e05787..5d1a12f94230 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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,89 +47,123 @@ 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 implied.
    * 
* - * .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.
    * 
* - * .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.
    *
@@ -118,10 +173,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.
    *
@@ -131,12 +189,14 @@ 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.
    *
@@ -144,10 +204,13 @@ public interface PropertyOrBuilder extends
    * 
* * string display_name = 5 [(.google.api.field_behavior) = REQUIRED]; + * * @return The displayName. */ java.lang.String getDisplayName(); /** + * + * *
    * Required. Human-readable display name for this property.
    *
@@ -155,33 +218,41 @@ public interface PropertyOrBuilder extends
    * 
* * 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,
@@ -195,10 +266,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,
@@ -212,12 +286,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.
    *
@@ -227,10 +303,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.
    *
@@ -240,116 +319,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 fea9ebb3be64..87b4273a0097 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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,28 +46,32 @@ private PropertySummary() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new PropertySummary(); } - 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}
@@ -57,6 +79,7 @@ protected java.lang.Object newInstance(
    * 
* * string property = 1 [(.google.api.resource_reference) = { ... } + * * @return The property. */ @java.lang.Override @@ -65,14 +88,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}
@@ -80,16 +104,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 { @@ -98,14 +121,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 @@ -114,29 +141,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 { @@ -147,33 +174,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.
    *
@@ -183,6 +222,7 @@ public java.lang.String getDisplayName() {
    * 
* * string parent = 4; + * * @return The parent. */ @java.lang.Override @@ -191,14 +231,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.
    *
@@ -208,16 +249,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 { @@ -226,6 +266,7 @@ public java.lang.String getParent() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -237,15 +278,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_)) { @@ -266,9 +307,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_); @@ -281,20 +322,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; } @@ -320,131 +359,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(); @@ -457,9 +500,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 @@ -478,8 +521,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; } @@ -504,38 +550,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; @@ -543,7 +590,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; @@ -588,32 +636,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) { @@ -623,10 +676,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}
@@ -634,13 +690,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; @@ -649,6 +705,8 @@ public java.lang.String getProperty() { } } /** + * + * *
      * Resource name of property referred to by this property summary
      * Format: properties/{property_id}
@@ -656,15 +714,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 { @@ -672,6 +729,8 @@ public java.lang.String getProperty() { } } /** + * + * *
      * Resource name of property referred to by this property summary
      * Format: properties/{property_id}
@@ -679,18 +738,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}
@@ -698,6 +761,7 @@ public Builder setProperty(
      * 
* * string property = 1 [(.google.api.resource_reference) = { ... } + * * @return This builder for chaining. */ public Builder clearProperty() { @@ -707,6 +771,8 @@ public Builder clearProperty() { return this; } /** + * + * *
      * Resource name of property referred to by this property summary
      * Format: properties/{property_id}
@@ -714,12 +780,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; @@ -729,18 +797,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; @@ -749,20 +819,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 { @@ -770,28 +841,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() { @@ -801,17 +879,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; @@ -821,22 +903,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. */ @@ -847,24 +936,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. */ @@ -878,11 +974,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() { @@ -894,6 +993,8 @@ public Builder clearPropertyType() { private java.lang.Object parent_ = ""; /** + * + * *
      * Resource name of this property's logical parent.
      *
@@ -903,13 +1004,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 +1019,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Resource name of this property's logical parent.
      *
@@ -927,15 +1030,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 { @@ -943,6 +1045,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Resource name of this property's logical parent.
      *
@@ -952,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.
      *
@@ -973,6 +1081,7 @@ public Builder setParent(
      * 
* * string parent = 4; + * * @return This builder for chaining. */ public Builder clearParent() { @@ -982,6 +1091,8 @@ public Builder clearParent() { return this; } /** + * + * *
      * Resource name of this property's logical parent.
      *
@@ -991,21 +1102,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); } @@ -1015,12 +1128,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(); } @@ -1029,27 +1142,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; @@ -1064,6 +1177,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 7ee7b00269f7..f8eae5a86d27 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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.
    *
@@ -80,10 +114,13 @@ public interface PropertySummaryOrBuilder extends
    * 
* * string parent = 4; + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Resource name of this property's logical parent.
    *
@@ -93,8 +130,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..86b2d72d1899 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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 43dcaf666c00..77aacd5edd1b 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,56 +1,78 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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(); } - 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 @@ -58,18 +80,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.
    * 
@@ -78,19 +107,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 Cloud Console as a Redirect URI.
    * 
* * string redirect_uri = 2; + * * @return The redirectUri. */ @java.lang.Override @@ -99,30 +134,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 Cloud 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 { @@ -131,6 +166,7 @@ public java.lang.String getRedirectUri() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -142,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 (account_ != null) { output.writeMessage(1, getAccount()); } @@ -160,8 +195,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_); @@ -174,20 +208,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; } @@ -211,131 +244,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(); @@ -350,13 +388,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(); } @@ -371,18 +410,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_; @@ -393,46 +434,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()); } @@ -467,24 +512,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) { @@ -494,38 +540,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.
      * 
@@ -546,14 +606,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 { @@ -564,6 +625,8 @@ public Builder setAccount( return this; } /** + * + * *
      * The account to create.
      * 
@@ -572,9 +635,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; @@ -587,6 +650,8 @@ public Builder mergeAccount(com.google.analytics.admin.v1alpha.Account value) { return this; } /** + * + * *
      * The account to create.
      * 
@@ -604,6 +669,8 @@ public Builder clearAccount() { return this; } /** + * + * *
      * The account to create.
      * 
@@ -616,6 +683,8 @@ public com.google.analytics.admin.v1alpha.Account.Builder getAccountBuilder() { return getAccountFieldBuilder().getBuilder(); } /** + * + * *
      * The account to create.
      * 
@@ -626,11 +695,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.
      * 
@@ -638,14 +710,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_; @@ -653,19 +728,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 Cloud 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; @@ -674,21 +751,22 @@ public java.lang.String getRedirectUri() { } } /** + * + * *
      * Redirect URI where the user will be sent after accepting Terms of Service.
      * Must be configured in Cloud 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 { @@ -696,30 +774,37 @@ public java.lang.String getRedirectUri() { } } /** + * + * *
      * Redirect URI where the user will be sent after accepting Terms of Service.
      * Must be configured in Cloud 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 Cloud Console as a Redirect URI.
      * 
* * string redirect_uri = 2; + * * @return This builder for chaining. */ public Builder clearRedirectUri() { @@ -729,27 +814,31 @@ public Builder clearRedirectUri() { return this; } /** + * + * *
      * Redirect URI where the user will be sent after accepting Terms of Service.
      * Must be configured in Cloud 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); } @@ -759,41 +848,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; @@ -805,9 +896,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 0f9c8d8c41f7..ae4aa6c02d1a 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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 Cloud 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 Cloud 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 94a3a5a8b6f2..0d050a783844 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,57 +1,81 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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(); } - 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 @@ -60,29 +84,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 { @@ -91,6 +115,7 @@ public java.lang.String getAccountTicketId() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -102,8 +127,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -127,15 +151,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; } @@ -155,131 +179,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(); @@ -289,13 +320,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(); } @@ -310,13 +342,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_; @@ -327,46 +363,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; @@ -398,17 +438,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) { @@ -418,22 +460,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; @@ -442,20 +487,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 { @@ -463,28 +509,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() { @@ -494,26 +547,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); } @@ -523,41 +580,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; @@ -569,9 +628,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..9bfceeedd240 --- /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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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..de387a927ad1 --- /dev/null +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ResourcesProto.java @@ -0,0 +1,1115 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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_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_SKAdNetworkConversionValueSchema_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_SKAdNetworkConversionValueSchema_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_PostbackWindow_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_PostbackWindow_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_ConversionValues_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_ConversionValues_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_EventMapping_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_EventMapping_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_AccessBinding_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_AccessBinding_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; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_EnhancedMeasurementSettings_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_EnhancedMeasurementSettings_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_ConnectedSiteTag_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_ConnectedSiteTag_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_DataRedactionSettings_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_DataRedactionSettings_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_AdSenseLink_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_AdSenseLink_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_RollupPropertySourceLink_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_RollupPropertySourceLink_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-google/analytics/admin/v1alpha/audienc" + + "e.proto\0322google/analytics/admin/v1alpha/" + + "channel_group.proto\032:google/analytics/ad" + + "min/v1alpha/event_create_and_edit.proto\032" + + "6google/analytics/admin/v1alpha/expanded" + + "_data_set.proto\032\037google/api/field_behavi" + + "or.proto\032\031google/api/resource.proto\032\037goo" + + "gle/protobuf/timestamp.proto\032\036google/pro" + + "tobuf/wrappers.proto\"\223\002\n\007Account\022\022\n\004name" + + "\030\001 \001(\tB\004\342A\001\003\0225\n\013create_time\030\002 \001(\0132\032.goog" + + "le.protobuf.TimestampB\004\342A\001\003\0225\n\013update_ti" + + "me\030\003 \001(\0132\032.google.protobuf.TimestampB\004\342A" + + "\001\003\022\032\n\014display_name\030\004 \001(\tB\004\342A\001\002\022\023\n\013region" + + "_code\030\005 \001(\t\022\025\n\007deleted\030\006 \001(\010B\004\342A\001\003:>\352A;\n" + + "%analyticsadmin.googleapis.com/Account\022\022" + + "accounts/{account}\"\304\005\n\010Property\022\022\n\004name\030" + + "\001 \001(\tB\004\342A\001\003\022I\n\rproperty_type\030\016 \001(\0162,.goo" + + "gle.analytics.admin.v1alpha.PropertyType" + + "B\004\342A\001\005\0225\n\013create_time\030\003 \001(\0132\032.google.pro" + + "tobuf.TimestampB\004\342A\001\003\0225\n\013update_time\030\004 \001" + + "(\0132\032.google.protobuf.TimestampB\004\342A\001\003\022\024\n\006" + + "parent\030\002 \001(\tB\004\342A\001\005\022\032\n\014display_name\030\005 \001(\t" + + "B\004\342A\001\002\022K\n\021industry_category\030\006 \001(\01620.goog" + + "le.analytics.admin.v1alpha.IndustryCateg" + + "ory\022\027\n\ttime_zone\030\007 \001(\tB\004\342A\001\002\022\025\n\rcurrency" + + "_code\030\010 \001(\t\022I\n\rservice_level\030\n \001(\0162,.goo" + + "gle.analytics.admin.v1alpha.ServiceLevel" + + "B\004\342A\001\003\0225\n\013delete_time\030\013 \001(\0132\032.google.pro" + + "tobuf.TimestampB\004\342A\001\003\0225\n\013expire_time\030\014 \001" + + "(\0132\032.google.protobuf.TimestampB\004\342A\001\003\022?\n\007" + + "account\030\r \001(\tB.\342A\001\005\372A\'\n%analyticsadmin.g" + + "oogleapis.com/Account:B\352A?\n&analyticsadm" + + "in.googleapis.com/Property\022\025properties/{" + + "property}\"\372\007\n\nDataStream\022S\n\017web_stream_d" + + "ata\030\006 \001(\01328.google.analytics.admin.v1alp" + + "ha.DataStream.WebStreamDataH\000\022b\n\027android" + + "_app_stream_data\030\007 \001(\0132?.google.analytic" + + "s.admin.v1alpha.DataStream.AndroidAppStr" + + "eamDataH\000\022Z\n\023ios_app_stream_data\030\010 \001(\0132;" + + ".google.analytics.admin.v1alpha.DataStre" + + "am.IosAppStreamDataH\000\022\022\n\004name\030\001 \001(\tB\004\342A\001" + + "\003\022N\n\004type\030\002 \001(\01629.google.analytics.admin" + + ".v1alpha.DataStream.DataStreamTypeB\005\342A\002\005" + + "\002\022\024\n\014display_name\030\003 \001(\t\0225\n\013create_time\030\004" + + " \001(\0132\032.google.protobuf.TimestampB\004\342A\001\003\0225" + + "\n\013update_time\030\005 \001(\0132\032.google.protobuf.Ti" + + "mestampB\004\342A\001\003\032a\n\rWebStreamData\022\034\n\016measur" + + "ement_id\030\001 \001(\tB\004\342A\001\003\022\035\n\017firebase_app_id\030" + + "\002 \001(\tB\004\342A\001\003\022\023\n\013default_uri\030\003 \001(\t\032Q\n\024Andr" + + "oidAppStreamData\022\035\n\017firebase_app_id\030\001 \001(" + + "\tB\004\342A\001\003\022\032\n\014package_name\030\002 \001(\tB\004\342A\001\005\032K\n\020I" + + "osAppStreamData\022\035\n\017firebase_app_id\030\001 \001(\t" + + "B\004\342A\001\003\022\030\n\tbundle_id\030\002 \001(\tB\005\342A\002\005\002\"}\n\016Data" + + "StreamType\022 \n\034DATA_STREAM_TYPE_UNSPECIFI" + + "ED\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/Data" + + "Stream\022/properties/{property}/dataStream" + + "s/{data_stream}B\r\n\013stream_data\"\326\001\n\014Fireb" + + "aseLink\022\022\n\004name\030\001 \001(\tB\004\342A\001\003\022\025\n\007project\030\002" + + " \001(\tB\004\342A\001\005\0225\n\013create_time\030\003 \001(\0132\032.google" + + ".protobuf.TimestampB\004\342A\001\003:d\352Aa\n*analytic" + + "sadmin.googleapis.com/FirebaseLink\0223prop" + + "erties/{property}/firebaseLinks/{firebas" + + "e_link}\"\253\001\n\rGlobalSiteTag\022\022\n\004name\030\001 \001(\tB" + + "\004\342A\001\003\022\025\n\007snippet\030\002 \001(\tB\004\342A\001\005:o\352Al\n+analy" + + "ticsadmin.googleapis.com/GlobalSiteTag\022=" + + "properties/{property}/dataStreams/{data_" + + "stream}/globalSiteTag\"\236\003\n\rGoogleAdsLink\022" + + "\022\n\004name\030\001 \001(\tB\004\342A\001\003\022\031\n\013customer_id\030\003 \001(\t" + + "B\004\342A\001\005\022 \n\022can_manage_clients\030\004 \001(\010B\004\342A\001\003" + + "\022?\n\033ads_personalization_enabled\030\005 \001(\0132\032." + + "google.protobuf.BoolValue\0225\n\013create_time" + + "\030\007 \001(\0132\032.google.protobuf.TimestampB\004\342A\001\003" + + "\0225\n\013update_time\030\010 \001(\0132\032.google.protobuf." + + "TimestampB\004\342A\001\003\022#\n\025creator_email_address" + + "\030\t \001(\tB\004\342A\001\003:h\352Ae\n+analyticsadmin.google" + + "apis.com/GoogleAdsLink\0226properties/{prop" + + "erty}/googleAdsLinks/{google_ads_link}\"\354" + + "\002\n\023DataSharingSettings\022\022\n\004name\030\001 \001(\tB\004\342A" + + "\001\003\022+\n#sharing_with_google_support_enable" + + "d\030\002 \001(\010\0222\n*sharing_with_google_assigned_" + + "sales_enabled\030\003 \001(\010\022-\n%sharing_with_goog" + + "le_any_sales_enabled\030\004 \001(\010\022,\n$sharing_wi" + + "th_google_products_enabled\030\005 \001(\010\022#\n\033shar" + + "ing_with_others_enabled\030\006 \001(\010:^\352A[\n1anal" + + "yticsadmin.googleapis.com/DataSharingSet" + + "tings\022&accounts/{account}/dataSharingSet" + + "tings\"\225\002\n\016AccountSummary\022\014\n\004name\030\001 \001(\t\022;" + + "\n\007account\030\002 \001(\tB*\372A\'\n%analyticsadmin.goo" + + "gleapis.com/Account\022\024\n\014display_name\030\003 \001(" + + "\t\022K\n\022property_summaries\030\004 \003(\0132/.google.a" + + "nalytics.admin.v1alpha.PropertySummary:U" + + "\352AR\n,analyticsadmin.googleapis.com/Accou" + + "ntSummary\022\"accountSummaries/{account_sum" + + "mary}\"\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\rproper" + + "ty_type\030\003 \001(\0162,.google.analytics.admin.v" + + "1alpha.PropertyType\022\016\n\006parent\030\004 \001(\t\"\221\002\n\031" + + "MeasurementProtocolSecret\022\022\n\004name\030\001 \001(\tB" + + "\004\342A\001\003\022\032\n\014display_name\030\002 \001(\tB\004\342A\001\002\022\032\n\014sec" + + "ret_value\030\003 \001(\tB\004\342A\001\003:\247\001\352A\243\001\n7analyticsa" + + "dmin.googleapis.com/MeasurementProtocolS" + + "ecret\022hproperties/{property}/dataStreams" + + "/{data_stream}/measurementProtocolSecret" + + "s/{measurement_protocol_secret}\"\205\004\n SKAd" + + "NetworkConversionValueSchema\022\022\n\004name\030\001 \001" + + "(\tB\004\342A\001\003\022Q\n\023postback_window_one\030\002 \001(\0132.." + + "google.analytics.admin.v1alpha.PostbackW" + + "indowB\004\342A\001\002\022K\n\023postback_window_two\030\003 \001(\013" + + "2..google.analytics.admin.v1alpha.Postba" + + "ckWindow\022M\n\025postback_window_three\030\004 \001(\0132" + + "..google.analytics.admin.v1alpha.Postbac" + + "kWindow\022\037\n\027apply_conversion_values\030\005 \001(\010" + + ":\274\001\352A\270\001\n>analyticsadmin.googleapis.com/S" + + "KAdNetworkConversionValueSchema\022vpropert" + + "ies/{property}/dataStreams/{data_stream}" + + "/sKAdNetworkConversionValueSchema/{skadn" + + "etwork_conversion_value_schema}\"\207\001\n\016Post" + + "backWindow\022K\n\021conversion_values\030\001 \003(\01320." + + "google.analytics.admin.v1alpha.Conversio" + + "nValues\022(\n postback_window_settings_enab" + + "led\030\002 \001(\010\"\365\001\n\020ConversionValues\022\024\n\014displa" + + "y_name\030\001 \001(\t\022\027\n\nfine_value\030\002 \001(\005H\000\210\001\001\022G\n" + + "\014coarse_value\030\003 \001(\0162+.google.analytics.a" + + "dmin.v1alpha.CoarseValueB\004\342A\001\002\022D\n\016event_" + + "mappings\030\004 \003(\0132,.google.analytics.admin." + + "v1alpha.EventMapping\022\024\n\014lock_enabled\030\005 \001" + + "(\010B\r\n\013_fine_value\"\360\001\n\014EventMapping\022\030\n\nev" + + "ent_name\030\001 \001(\tB\004\342A\001\002\022\034\n\017min_event_count\030" + + "\002 \001(\003H\000\210\001\001\022\034\n\017max_event_count\030\003 \001(\003H\001\210\001\001" + + "\022\034\n\017min_event_value\030\004 \001(\001H\002\210\001\001\022\034\n\017max_ev" + + "ent_value\030\005 \001(\001H\003\210\001\001B\022\n\020_min_event_count" + + "B\022\n\020_max_event_countB\022\n\020_min_event_value" + + "B\022\n\020_max_event_value\"\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\"\220\022\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\325\017\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\022O\n\023sea" + + "rch_ads_360_link\030\020 \001(\01320.google.analytic" + + "s.admin.v1alpha.SearchAds360LinkH\000\022A\n\013da" + + "ta_stream\030\022 \001(\0132*.google.analytics.admin" + + ".v1alpha.DataStreamH\000\022S\n\024attribution_set" + + "tings\030\024 \001(\01323.google.analytics.admin.v1a" + + "lpha.AttributionSettingsH\000\022L\n\021expanded_d" + + "ata_set\030\025 \001(\0132/.google.analytics.admin.v" + + "1alpha.ExpandedDataSetH\000\022E\n\rchannel_grou" + + "p\030\026 \001(\0132,.google.analytics.admin.v1alpha" + + ".ChannelGroupH\000\022E\n\rbigquery_link\030\027 \001(\0132," + + ".google.analytics.admin.v1alpha.BigQuery" + + "LinkH\000\022d\n\035enhanced_measurement_settings\030" + + "\030 \001(\0132;.google.analytics.admin.v1alpha.E" + + "nhancedMeasurementSettingsH\000\022X\n\027data_red" + + "action_settings\030\031 \001(\01325.google.analytics" + + ".admin.v1alpha.DataRedactionSettingsH\000\022o" + + "\n#skadnetwork_conversion_value_schema\030\032 " + + "\001(\0132@.google.analytics.admin.v1alpha.SKA" + + "dNetworkConversionValueSchemaH\000\022C\n\014adsen" + + "se_link\030\033 \001(\0132+.google.analytics.admin.v" + + "1alpha.AdSenseLinkH\000\022<\n\010audience\030\034 \001(\0132(" + + ".google.analytics.admin.v1alpha.Audience" + + "H\000\022L\n\021event_create_rule\030\035 \001(\0132/.google.a" + + "nalytics.admin.v1alpha.EventCreateRuleH\000" + + "B\n\n\010resource\"\344\003\n\035DisplayVideo360Advertis" + + "erLink\022\022\n\004name\030\001 \001(\tB\004\342A\001\003\022\033\n\radvertiser" + + "_id\030\002 \001(\tB\004\342A\001\005\022%\n\027advertiser_display_na" + + "me\030\003 \001(\tB\004\342A\001\003\022?\n\033ads_personalization_en" + + "abled\030\004 \001(\0132\032.google.protobuf.BoolValue\022" + + "G\n\035campaign_data_sharing_enabled\030\005 \001(\0132\032" + + ".google.protobuf.BoolValueB\004\342A\001\005\022C\n\031cost" + + "_data_sharing_enabled\030\006 \001(\0132\032.google.pro" + + "tobuf.BoolValueB\004\342A\001\005:\233\001\352A\227\001\n;analyticsa" + + "dmin.googleapis.com/DisplayVideo360Adver" + + "tiserLink\022Xproperties/{property}/display" + + "Video360AdvertiserLinks/{display_video_3" + + "60_advertiser_link}\"\222\005\n%DisplayVideo360A" + + "dvertiserLinkProposal\022\022\n\004name\030\001 \001(\tB\004\342A\001" + + "\003\022\033\n\radvertiser_id\030\002 \001(\tB\004\342A\001\005\022e\n\034link_p" + + "roposal_status_details\030\003 \001(\01329.google.an" + + "alytics.admin.v1alpha.LinkProposalStatus" + + "DetailsB\004\342A\001\003\022%\n\027advertiser_display_name" + + "\030\004 \001(\tB\004\342A\001\003\022\036\n\020validation_email\030\005 \001(\tB\004" + + "\342A\001\004\022E\n\033ads_personalization_enabled\030\006 \001(" + + "\0132\032.google.protobuf.BoolValueB\004\342A\001\005\022G\n\035c" + + "ampaign_data_sharing_enabled\030\007 \001(\0132\032.goo" + + "gle.protobuf.BoolValueB\004\342A\001\005\022C\n\031cost_dat" + + "a_sharing_enabled\030\010 \001(\0132\032.google.protobu" + + "f.BoolValueB\004\342A\001\005:\264\001\352A\260\001\nCanalyticsadmin" + + ".googleapis.com/DisplayVideo360Advertise" + + "rLinkProposal\022iproperties/{property}/dis" + + "playVideo360AdvertiserLinkProposals/{dis" + + "play_video_360_advertiser_link_proposal}" + + "\"\355\003\n\020SearchAds360Link\022\022\n\004name\030\001 \001(\tB\004\342A\001" + + "\003\022\033\n\radvertiser_id\030\002 \001(\tB\004\342A\001\005\022G\n\035campai" + + "gn_data_sharing_enabled\030\003 \001(\0132\032.google.p" + + "rotobuf.BoolValueB\004\342A\001\005\022C\n\031cost_data_sha" + + "ring_enabled\030\004 \001(\0132\032.google.protobuf.Boo" + + "lValueB\004\342A\001\005\022%\n\027advertiser_display_name\030" + + "\005 \001(\tB\004\342A\001\003\022?\n\033ads_personalization_enabl" + + "ed\030\006 \001(\0132\032.google.protobuf.BoolValue\022>\n\032" + + "site_stats_sharing_enabled\030\007 \001(\0132\032.googl" + + "e.protobuf.BoolValue:r\352Ao\n.analyticsadmi" + + "n.googleapis.com/SearchAds360Link\022=prope" + + "rties/{property}/searchAds360Links/{sear" + + "ch_ads_360_link}\"\377\001\n\031LinkProposalStatusD" + + "etails\022m\n link_proposal_initiating_produ" + + "ct\030\001 \001(\0162=.google.analytics.admin.v1alph" + + "a.LinkProposalInitiatingProductB\004\342A\001\003\022\035\n" + + "\017requestor_email\030\002 \001(\tB\004\342A\001\003\022T\n\023link_pro" + + "posal_state\030\003 \001(\01621.google.analytics.adm" + + "in.v1alpha.LinkProposalStateB\004\342A\001\003\"\357\003\n\017C" + + "onversionEvent\022\022\n\004name\030\001 \001(\tB\004\342A\001\003\022\030\n\nev" + + "ent_name\030\002 \001(\tB\004\342A\001\005\0225\n\013create_time\030\003 \001(" + + "\0132\032.google.protobuf.TimestampB\004\342A\001\003\022\027\n\td" + + "eletable\030\004 \001(\010B\004\342A\001\003\022\024\n\006custom\030\005 \001(\010B\004\342A" + + "\001\003\022g\n\017counting_method\030\006 \001(\0162H.google.ana" + + "lytics.admin.v1alpha.ConversionEvent.Con" + + "versionCountingMethodB\004\342A\001\001\"p\n\030Conversio" + + "nCountingMethod\022*\n&CONVERSION_COUNTING_M" + + "ETHOD_UNSPECIFIED\020\000\022\022\n\016ONCE_PER_EVENT\020\001\022" + + "\024\n\020ONCE_PER_SESSION\020\002:m\352Aj\n-analyticsadm" + + "in.googleapis.com/ConversionEvent\0229prope" + + "rties/{property}/conversionEvents/{conve" + + "rsion_event}\"\242\002\n\025GoogleSignalsSettings\022\022" + + "\n\004name\030\001 \001(\tB\004\342A\001\003\022A\n\005state\030\003 \001(\01622.goog" + + "le.analytics.admin.v1alpha.GoogleSignals" + + "State\022K\n\007consent\030\004 \001(\01624.google.analytic" + + "s.admin.v1alpha.GoogleSignalsConsentB\004\342A" + + "\001\003:e\352Ab\n3analyticsadmin.googleapis.com/G" + + "oogleSignalsSettings\022+properties/{proper" + + "ty}/googleSignalsSettings\"\276\003\n\017CustomDime" + + "nsion\022\022\n\004name\030\001 \001(\tB\004\342A\001\003\022\035\n\016parameter_n" + + "ame\030\002 \001(\tB\005\342A\002\002\005\022\032\n\014display_name\030\003 \001(\tB\004" + + "\342A\001\002\022\031\n\013description\030\004 \001(\tB\004\342A\001\001\022T\n\005scope" + + "\030\005 \001(\0162>.google.analytics.admin.v1alpha." + + "CustomDimension.DimensionScopeB\005\342A\002\002\005\022*\n" + + "\034disallow_ads_personalization\030\006 \001(\010B\004\342A\001" + + "\001\"P\n\016DimensionScope\022\037\n\033DIMENSION_SCOPE_U" + + "NSPECIFIED\020\000\022\t\n\005EVENT\020\001\022\010\n\004USER\020\002\022\010\n\004ITE" + + "M\020\003:m\352Aj\n-analyticsadmin.googleapis.com/" + + "CustomDimension\0229properties/{property}/c" + + "ustomDimensions/{custom_dimension}\"\310\006\n\014C" + + "ustomMetric\022\022\n\004name\030\001 \001(\tB\004\342A\001\003\022\035\n\016param" + + "eter_name\030\002 \001(\tB\005\342A\002\002\005\022\032\n\014display_name\030\003" + + " \001(\tB\004\342A\001\002\022\031\n\013description\030\004 \001(\tB\004\342A\001\001\022\\\n" + + "\020measurement_unit\030\005 \001(\0162<.google.analyti" + + "cs.admin.v1alpha.CustomMetric.Measuremen" + + "tUnitB\004\342A\001\002\022N\n\005scope\030\006 \001(\01628.google.anal" + + "ytics.admin.v1alpha.CustomMetric.MetricS" + + "copeB\005\342A\002\002\005\022g\n\026restricted_metric_type\030\010 " + + "\003(\0162A.google.analytics.admin.v1alpha.Cus" + + "tomMetric.RestrictedMetricTypeB\004\342A\001\001\"\267\001\n" + + "\017MeasurementUnit\022 \n\034MEASUREMENT_UNIT_UNS" + + "PECIFIED\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\005" + + "MILES\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" + + "\030METRIC_SCOPE_UNSPECIFIED\020\000\022\t\n\005EVENT\020\001\"_" + + "\n\024RestrictedMetricType\022&\n\"RESTRICTED_MET" + + "RIC_TYPE_UNSPECIFIED\020\000\022\r\n\tCOST_DATA\020\001\022\020\n" + + "\014REVENUE_DATA\020\002:d\352Aa\n*analyticsadmin.goo" + + "gleapis.com/CustomMetric\0223properties/{pr" + + "operty}/customMetrics/{custom_metric}\"\303\003" + + "\n\025DataRetentionSettings\022\022\n\004name\030\001 \001(\tB\004\342" + + "A\001\003\022e\n\024event_data_retention\030\002 \001(\0162G.goog" + + "le.analytics.admin.v1alpha.DataRetention" + + "Settings.RetentionDuration\022\'\n\037reset_user" + + "_data_on_new_activity\030\003 \001(\010\"\236\001\n\021Retentio" + + "nDuration\022\"\n\036RETENTION_DURATION_UNSPECIF" + + "IED\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_EIGH" + + "T_MONTHS\020\005\022\020\n\014FIFTY_MONTHS\020\006:e\352Ab\n3analy" + + "ticsadmin.googleapis.com/DataRetentionSe" + + "ttings\022+properties/{property}/dataRetent" + + "ionSettings\"\252\r\n\023AttributionSettings\022\022\n\004n" + + "ame\030\001 \001(\tB\004\342A\001\003\022\230\001\n,acquisition_conversi" + + "on_event_lookback_window\030\002 \001(\0162\\.google." + + "analytics.admin.v1alpha.AttributionSetti" + + "ngs.AcquisitionConversionEventLookbackWi" + + "ndowB\004\342A\001\002\022\214\001\n&other_conversion_event_lo" + + "okback_window\030\003 \001(\0162V.google.analytics.a" + + "dmin.v1alpha.AttributionSettings.OtherCo" + + "nversionEventLookbackWindowB\004\342A\001\002\022x\n\033rep" + + "orting_attribution_model\030\004 \001(\0162M.google." + + "analytics.admin.v1alpha.AttributionSetti" + + "ngs.ReportingAttributionModelB\004\342A\001\002\022\207\001\n$" + + "ads_web_conversion_data_export_scope\030\005 \001" + + "(\0162S.google.analytics.admin.v1alpha.Attr" + + "ibutionSettings.AdsWebConversionDataExpo" + + "rtScopeB\004\342A\001\002\"\333\001\n(AcquisitionConversionE" + + "ventLookbackWindow\022<\n8ACQUISITION_CONVER" + + "SION_EVENT_LOOKBACK_WINDOW_UNSPECIFIED\020\000" + + "\0227\n3ACQUISITION_CONVERSION_EVENT_LOOKBAC" + + "K_WINDOW_7_DAYS\020\001\0228\n4ACQUISITION_CONVERS" + + "ION_EVENT_LOOKBACK_WINDOW_30_DAYS\020\002\"\370\001\n\"" + + "OtherConversionEventLookbackWindow\0226\n2OT" + + "HER_CONVERSION_EVENT_LOOKBACK_WINDOW_UNS" + + "PECIFIED\020\000\0222\n.OTHER_CONVERSION_EVENT_LOO" + + "KBACK_WINDOW_30_DAYS\020\001\0222\n.OTHER_CONVERSI" + + "ON_EVENT_LOOKBACK_WINDOW_60_DAYS\020\002\0222\n.OT" + + "HER_CONVERSION_EVENT_LOOKBACK_WINDOW_90_" + + "DAYS\020\003\"\353\002\n\031ReportingAttributionModel\022+\n\'" + + "REPORTING_ATTRIBUTION_MODEL_UNSPECIFIED\020" + + "\000\022)\n%PAID_AND_ORGANIC_CHANNELS_DATA_DRIV" + + "EN\020\001\022(\n$PAID_AND_ORGANIC_CHANNELS_LAST_C" + + "LICK\020\002\022)\n%PAID_AND_ORGANIC_CHANNELS_FIRS" + + "T_CLICK\020\003\022$\n PAID_AND_ORGANIC_CHANNELS_L" + + "INEAR\020\004\022,\n(PAID_AND_ORGANIC_CHANNELS_POS" + + "ITION_BASED\020\005\022(\n$PAID_AND_ORGANIC_CHANNE" + + "LS_TIME_DECAY\020\006\022#\n\037GOOGLE_PAID_CHANNELS_" + + "LAST_CLICK\020\007\"\246\001\n\037AdsWebConversionDataExp" + + "ortScope\0224\n0ADS_WEB_CONVERSION_DATA_EXPO" + + "RT_SCOPE_UNSPECIFIED\020\000\022\024\n\020NOT_SELECTED_Y" + + "ET\020\001\022\035\n\031PAID_AND_ORGANIC_CHANNELS\020\002\022\030\n\024G" + + "OOGLE_PAID_CHANNELS\020\003:a\352A^\n1analyticsadm" + + "in.googleapis.com/AttributionSettings\022)p" + + "roperties/{property}/attributionSettings" + + "\"\362\001\n\rAccessBinding\022\016\n\004user\030\002 \001(\tH\000\022\022\n\004na" + + "me\030\001 \001(\tB\004\342A\001\003\022\r\n\005roles\030\003 \003(\t:\234\001\352A\230\001\n+an" + + "alyticsadmin.googleapis.com/AccessBindin" + + "g\0222accounts/{account}/accessBindings/{ac" + + "cess_binding}\0225properties/{property}/acc" + + "essBindings/{access_binding}B\017\n\raccess_t" + + "arget\"\213\003\n\014BigQueryLink\022\022\n\004name\030\001 \001(\tB\004\342A" + + "\001\003\022\025\n\007project\030\002 \001(\tB\004\342A\001\005\0225\n\013create_time" + + "\030\003 \001(\0132\032.google.protobuf.TimestampB\004\342A\001\003" + + "\022\034\n\024daily_export_enabled\030\004 \001(\010\022 \n\030stream" + + "ing_export_enabled\030\005 \001(\010\022\"\n\032fresh_daily_" + + "export_enabled\030\t \001(\010\022\036\n\026include_advertis" + + "ing_id\030\006 \001(\010\022\026\n\016export_streams\030\007 \003(\t\022\027\n\017" + + "excluded_events\030\010 \003(\t:d\352Aa\n*analyticsadm" + + "in.googleapis.com/BigQueryLink\0223properti" + + "es/{property}/bigQueryLinks/{bigquery_li" + + "nk}\"\365\003\n\033EnhancedMeasurementSettings\022\022\n\004n" + + "ame\030\001 \001(\tB\004\342A\001\003\022\026\n\016stream_enabled\030\002 \001(\010\022" + + "\027\n\017scrolls_enabled\030\003 \001(\010\022\037\n\027outbound_cli" + + "cks_enabled\030\004 \001(\010\022\033\n\023site_search_enabled" + + "\030\005 \001(\010\022 \n\030video_engagement_enabled\030\006 \001(\010" + + "\022\036\n\026file_downloads_enabled\030\007 \001(\010\022\034\n\024page" + + "_changes_enabled\030\010 \001(\010\022!\n\031form_interacti" + + "ons_enabled\030\t \001(\010\022$\n\026search_query_parame" + + "ter\030\n \001(\tB\004\342A\001\002\022\033\n\023uri_query_parameter\030\013" + + " \001(\t:\214\001\352A\210\001\n9analyticsadmin.googleapis.c" + + "om/EnhancedMeasurementSettings\022Kproperti" + + "es/{property}/dataStreams/{data_stream}/" + + "enhancedMeasurementSettings\"D\n\020Connected" + + "SiteTag\022\032\n\014display_name\030\001 \001(\tB\004\342A\001\002\022\024\n\006t" + + "ag_id\030\002 \001(\tB\004\342A\001\002\"\226\002\n\025DataRedactionSetti" + + "ngs\022\022\n\004name\030\001 \001(\tB\004\342A\001\003\022\037\n\027email_redacti" + + "on_enabled\030\002 \001(\010\022)\n!query_parameter_reda" + + "ction_enabled\030\003 \001(\010\022\034\n\024query_parameter_k" + + "eys\030\004 \003(\t:\177\352A|\n3analyticsadmin.googleapi" + + "s.com/DataRedactionSettings\022Eproperties/" + + "{property}/dataStreams/{data_stream}/dat" + + "aRedactionSettings\"\242\001\n\013AdSenseLink\022\022\n\004na" + + "me\030\001 \001(\tB\004\342A\001\003\022\034\n\016ad_client_code\030\002 \001(\tB\004" + + "\342A\001\005:a\352A^\n)analyticsadmin.googleapis.com" + + "/AdSenseLink\0221properties/{property}/adSe" + + "nseLinks/{adsense_link}\"\220\002\n\030RollupProper" + + "tySourceLink\022\022\n\004name\030\001 \001(\tB\004\342A\001\003\022\035\n\017sour" + + "ce_property\030\002 \001(\tB\004\342A\001\005:\300\001\352A\274\001\n6analytic", + "sadmin.googleapis.com/RollupPropertySour" + + "ceLink\022Mproperties/{property}/rollupProp" + + "ertySourceLinks/{rollup_property_source_" + + "link}*\031rollupPropertySourceLinks2\030rollup" + + "PropertySourceLink*\252\004\n\020IndustryCategory\022" + + "!\n\035INDUSTRY_CATEGORY_UNSPECIFIED\020\000\022\016\n\nAU" + + "TOMOTIVE\020\001\022#\n\037BUSINESS_AND_INDUSTRIAL_MA" + + "RKETS\020\002\022\013\n\007FINANCE\020\003\022\016\n\nHEALTHCARE\020\004\022\016\n\n" + + "TECHNOLOGY\020\005\022\n\n\006TRAVEL\020\006\022\t\n\005OTHER\020\007\022\032\n\026A" + + "RTS_AND_ENTERTAINMENT\020\010\022\026\n\022BEAUTY_AND_FI" + + "TNESS\020\t\022\030\n\024BOOKS_AND_LITERATURE\020\n\022\022\n\016FOO" + + "D_AND_DRINK\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\024INTERN" + + "ET_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\022PE" + + "OPLE_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\007SCIE" + + "NCE\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\031SERVI" + + "CE_LEVEL_UNSPECIFIED\020\000\022\035\n\031GOOGLE_ANALYTI" + + "CS_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\nA" + + "ctionType\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*\213\005" + + "\n\031ChangeHistoryResourceType\022,\n(CHANGE_HI" + + "STORY_RESOURCE_TYPE_UNSPECIFIED\020\000\022\013\n\007ACC" + + "OUNT\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_S" + + "ETTINGS\020\010\022\024\n\020CONVERSION_EVENT\020\t\022\037\n\033MEASU" + + "REMENT_PROTOCOL_SECRET\020\n\022\024\n\020CUSTOM_DIMEN" + + "SION\020\013\022\021\n\rCUSTOM_METRIC\020\014\022\033\n\027DATA_RETENT" + + "ION_SETTINGS\020\r\022%\n!DISPLAY_VIDEO_360_ADVE" + + "RTISER_LINK\020\016\022.\n*DISPLAY_VIDEO_360_ADVER" + + "TISER_LINK_PROPOSAL\020\017\022\027\n\023SEARCH_ADS_360_" + + "LINK\020\020\022\017\n\013DATA_STREAM\020\022\022\030\n\024ATTRIBUTION_S" + + "ETTINGS\020\024\022\025\n\021EXPANDED_DATA_SET\020\025\022\021\n\rCHAN" + + "NEL_GROUP\020\026\022!\n\035ENHANCED_MEASUREMENT_SETT" + + "INGS\020\030\022\033\n\027DATA_REDACTION_SETTINGS\020\031\022\'\n#S" + + "KADNETWORK_CONVERSION_VALUE_SCHEMA\020\032\022\020\n\014" + + "ADSENSE_LINK\020\033\022\014\n\010AUDIENCE\020\034\022\025\n\021EVENT_CR" + + "EATE_RULE\020\035*s\n\022GoogleSignalsState\022$\n GOO" + + "GLE_SIGNALS_STATE_UNSPECIFIED\020\000\022\032\n\026GOOGL" + + "E_SIGNALS_ENABLED\020\001\022\033\n\027GOOGLE_SIGNALS_DI" + + "SABLED\020\002*\216\001\n\024GoogleSignalsConsent\022&\n\"GOO" + + "GLE_SIGNALS_CONSENT_UNSPECIFIED\020\000\022$\n GOO" + + "GLE_SIGNALS_CONSENT_CONSENTED\020\002\022(\n$GOOGL" + + "E_SIGNALS_CONSENT_NOT_CONSENTED\020\001*{\n\035Lin" + + "kProposalInitiatingProduct\0220\n,LINK_PROPO" + + "SAL_INITIATING_PRODUCT_UNSPECIFIED\020\000\022\024\n\020" + + "GOOGLE_ANALYTICS\020\001\022\022\n\016LINKED_PRODUCT\020\002*\304" + + "\001\n\021LinkProposalState\022#\n\037LINK_PROPOSAL_ST" + + "ATE_UNSPECIFIED\020\000\022)\n%AWAITING_REVIEW_FRO" + + "M_GOOGLE_ANALYTICS\020\001\022\'\n#AWAITING_REVIEW_" + + "FROM_LINKED_PRODUCT\020\002\022\r\n\tWITHDRAWN\020\003\022\014\n\010" + + "DECLINED\020\004\022\013\n\007EXPIRED\020\005\022\014\n\010OBSOLETE\020\006*\202\001" + + "\n\014PropertyType\022\035\n\031PROPERTY_TYPE_UNSPECIF" + + "IED\020\000\022\032\n\026PROPERTY_TYPE_ORDINARY\020\001\022\035\n\031PRO" + + "PERTY_TYPE_SUBPROPERTY\020\002\022\030\n\024PROPERTY_TYP" + + "E_ROLLUP\020\003*q\n\013CoarseValue\022\034\n\030COARSE_VALU" + + "E_UNSPECIFIED\020\000\022\024\n\020COARSE_VALUE_LOW\020\001\022\027\n" + + "\023COARSE_VALUE_MEDIUM\020\002\022\025\n\021COARSE_VALUE_H" + + "IGH\020\003Bv\n\"com.google.analytics.admin.v1al" + + "phaB\016ResourcesProtoP\001Z>cloud.google.com/" + + "go/analytics/admin/apiv1alpha/adminpb;ad" + + "minpbb\006proto3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.analytics.admin.v1alpha.AudienceProto.getDescriptor(), + com.google.analytics.admin.v1alpha.ChannelGroupProto.getDescriptor(), + com.google.analytics.admin.v1alpha.EventCreateAndEdit.getDescriptor(), + 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_FirebaseLink_descriptor = + getDescriptor().getMessageTypes().get(3); + 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(4); + 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(5); + 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(6); + 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(7); + 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(8); + 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(9); + 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_SKAdNetworkConversionValueSchema_descriptor = + getDescriptor().getMessageTypes().get(10); + internal_static_google_analytics_admin_v1alpha_SKAdNetworkConversionValueSchema_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_SKAdNetworkConversionValueSchema_descriptor, + new java.lang.String[] { + "Name", + "PostbackWindowOne", + "PostbackWindowTwo", + "PostbackWindowThree", + "ApplyConversionValues", + }); + internal_static_google_analytics_admin_v1alpha_PostbackWindow_descriptor = + getDescriptor().getMessageTypes().get(11); + internal_static_google_analytics_admin_v1alpha_PostbackWindow_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_PostbackWindow_descriptor, + new java.lang.String[] { + "ConversionValues", "PostbackWindowSettingsEnabled", + }); + internal_static_google_analytics_admin_v1alpha_ConversionValues_descriptor = + getDescriptor().getMessageTypes().get(12); + internal_static_google_analytics_admin_v1alpha_ConversionValues_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_ConversionValues_descriptor, + new java.lang.String[] { + "DisplayName", + "FineValue", + "CoarseValue", + "EventMappings", + "LockEnabled", + "FineValue", + }); + internal_static_google_analytics_admin_v1alpha_EventMapping_descriptor = + getDescriptor().getMessageTypes().get(13); + internal_static_google_analytics_admin_v1alpha_EventMapping_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_EventMapping_descriptor, + new java.lang.String[] { + "EventName", + "MinEventCount", + "MaxEventCount", + "MinEventValue", + "MaxEventValue", + "MinEventCount", + "MaxEventCount", + "MinEventValue", + "MaxEventValue", + }); + internal_static_google_analytics_admin_v1alpha_ChangeHistoryEvent_descriptor = + getDescriptor().getMessageTypes().get(14); + 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(15); + 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", + "ChannelGroup", + "BigqueryLink", + "EnhancedMeasurementSettings", + "DataRedactionSettings", + "SkadnetworkConversionValueSchema", + "AdsenseLink", + "Audience", + "EventCreateRule", + "Resource", + }); + internal_static_google_analytics_admin_v1alpha_DisplayVideo360AdvertiserLink_descriptor = + getDescriptor().getMessageTypes().get(16); + 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(17); + 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(18); + 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(19); + 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(20); + 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", "CountingMethod", + }); + internal_static_google_analytics_admin_v1alpha_GoogleSignalsSettings_descriptor = + getDescriptor().getMessageTypes().get(21); + 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(22); + 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(23); + 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(24); + 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(25); + 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", + "AdsWebConversionDataExportScope", + }); + internal_static_google_analytics_admin_v1alpha_AccessBinding_descriptor = + getDescriptor().getMessageTypes().get(26); + internal_static_google_analytics_admin_v1alpha_AccessBinding_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_AccessBinding_descriptor, + new java.lang.String[] { + "User", "Name", "Roles", "AccessTarget", + }); + internal_static_google_analytics_admin_v1alpha_BigQueryLink_descriptor = + getDescriptor().getMessageTypes().get(27); + 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", + "FreshDailyExportEnabled", + "IncludeAdvertisingId", + "ExportStreams", + "ExcludedEvents", + }); + internal_static_google_analytics_admin_v1alpha_EnhancedMeasurementSettings_descriptor = + getDescriptor().getMessageTypes().get(28); + internal_static_google_analytics_admin_v1alpha_EnhancedMeasurementSettings_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_EnhancedMeasurementSettings_descriptor, + new java.lang.String[] { + "Name", + "StreamEnabled", + "ScrollsEnabled", + "OutboundClicksEnabled", + "SiteSearchEnabled", + "VideoEngagementEnabled", + "FileDownloadsEnabled", + "PageChangesEnabled", + "FormInteractionsEnabled", + "SearchQueryParameter", + "UriQueryParameter", + }); + internal_static_google_analytics_admin_v1alpha_ConnectedSiteTag_descriptor = + getDescriptor().getMessageTypes().get(29); + internal_static_google_analytics_admin_v1alpha_ConnectedSiteTag_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_ConnectedSiteTag_descriptor, + new java.lang.String[] { + "DisplayName", "TagId", + }); + internal_static_google_analytics_admin_v1alpha_DataRedactionSettings_descriptor = + getDescriptor().getMessageTypes().get(30); + internal_static_google_analytics_admin_v1alpha_DataRedactionSettings_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_DataRedactionSettings_descriptor, + new java.lang.String[] { + "Name", + "EmailRedactionEnabled", + "QueryParameterRedactionEnabled", + "QueryParameterKeys", + }); + internal_static_google_analytics_admin_v1alpha_AdSenseLink_descriptor = + getDescriptor().getMessageTypes().get(31); + internal_static_google_analytics_admin_v1alpha_AdSenseLink_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_AdSenseLink_descriptor, + new java.lang.String[] { + "Name", "AdClientCode", + }); + internal_static_google_analytics_admin_v1alpha_RollupPropertySourceLink_descriptor = + getDescriptor().getMessageTypes().get(32); + internal_static_google_analytics_admin_v1alpha_RollupPropertySourceLink_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_RollupPropertySourceLink_descriptor, + new java.lang.String[] { + "Name", "SourceProperty", + }); + 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.AudienceProto.getDescriptor(); + com.google.analytics.admin.v1alpha.ChannelGroupProto.getDescriptor(); + com.google.analytics.admin.v1alpha.EventCreateAndEdit.getDescriptor(); + 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/RollupPropertySourceLink.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/RollupPropertySourceLink.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/RollupPropertySourceLink.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/RollupPropertySourceLink.java index be6420a21a44..bce793f3358d 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/RollupPropertySourceLink.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/RollupPropertySourceLink.java @@ -1,24 +1,42 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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 that references a source property under the parent rollup property.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.RollupPropertySourceLink} */ -public final class RollupPropertySourceLink extends - com.google.protobuf.GeneratedMessageV3 implements +public final class RollupPropertySourceLink extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.RollupPropertySourceLink) RollupPropertySourceLinkOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use RollupPropertySourceLink.newBuilder() to construct. private RollupPropertySourceLink(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private RollupPropertySourceLink() { name_ = ""; sourceProperty_ = ""; @@ -26,28 +44,32 @@ private RollupPropertySourceLink() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new RollupPropertySourceLink(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_RollupPropertySourceLink_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.ResourcesProto + .internal_static_google_analytics_admin_v1alpha_RollupPropertySourceLink_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_RollupPropertySourceLink_fieldAccessorTable + return com.google.analytics.admin.v1alpha.ResourcesProto + .internal_static_google_analytics_admin_v1alpha_RollupPropertySourceLink_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.RollupPropertySourceLink.class, com.google.analytics.admin.v1alpha.RollupPropertySourceLink.Builder.class); + com.google.analytics.admin.v1alpha.RollupPropertySourceLink.class, + com.google.analytics.admin.v1alpha.RollupPropertySourceLink.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Output only. Resource name of this RollupPropertySourceLink.
    * Format:
@@ -56,6 +78,7 @@ protected java.lang.Object newInstance(
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ @java.lang.Override @@ -64,14 +87,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 RollupPropertySourceLink.
    * Format:
@@ -80,16 +104,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 { @@ -98,9 +121,12 @@ public java.lang.String getName() { } public static final int SOURCE_PROPERTY_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object sourceProperty_ = ""; /** + * + * *
    * Immutable. Resource name of the source property.
    * Format: properties/{property_id}
@@ -108,6 +134,7 @@ public java.lang.String getName() {
    * 
* * string source_property = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return The sourceProperty. */ @java.lang.Override @@ -116,14 +143,15 @@ public java.lang.String getSourceProperty() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); sourceProperty_ = s; return s; } } /** + * + * *
    * Immutable. Resource name of the source property.
    * Format: properties/{property_id}
@@ -131,16 +159,15 @@ public java.lang.String getSourceProperty() {
    * 
* * string source_property = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return The bytes for sourceProperty. */ @java.lang.Override - public com.google.protobuf.ByteString - getSourcePropertyBytes() { + public com.google.protobuf.ByteString getSourcePropertyBytes() { java.lang.Object ref = sourceProperty_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); sourceProperty_ = b; return b; } else { @@ -149,6 +176,7 @@ public java.lang.String getSourceProperty() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -160,8 +188,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -191,17 +218,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.RollupPropertySourceLink)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.RollupPropertySourceLink other = (com.google.analytics.admin.v1alpha.RollupPropertySourceLink) obj; + com.google.analytics.admin.v1alpha.RollupPropertySourceLink other = + (com.google.analytics.admin.v1alpha.RollupPropertySourceLink) obj; - if (!getName() - .equals(other.getName())) return false; - if (!getSourceProperty() - .equals(other.getSourceProperty())) return false; + if (!getName().equals(other.getName())) return false; + if (!getSourceProperty().equals(other.getSourceProperty())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -223,131 +249,136 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.RollupPropertySourceLink parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.RollupPropertySourceLink parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.RollupPropertySourceLink parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.RollupPropertySourceLink parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.RollupPropertySourceLink parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.RollupPropertySourceLink parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.RollupPropertySourceLink parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.RollupPropertySourceLink parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.RollupPropertySourceLink parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.RollupPropertySourceLink parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.RollupPropertySourceLink parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.analytics.admin.v1alpha.RollupPropertySourceLink parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.RollupPropertySourceLink parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.RollupPropertySourceLink parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1alpha.RollupPropertySourceLink prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1alpha.RollupPropertySourceLink prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 that references a source property under the parent rollup property.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.RollupPropertySourceLink} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.RollupPropertySourceLink) com.google.analytics.admin.v1alpha.RollupPropertySourceLinkOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_RollupPropertySourceLink_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.ResourcesProto + .internal_static_google_analytics_admin_v1alpha_RollupPropertySourceLink_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_RollupPropertySourceLink_fieldAccessorTable + return com.google.analytics.admin.v1alpha.ResourcesProto + .internal_static_google_analytics_admin_v1alpha_RollupPropertySourceLink_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.RollupPropertySourceLink.class, com.google.analytics.admin.v1alpha.RollupPropertySourceLink.Builder.class); + com.google.analytics.admin.v1alpha.RollupPropertySourceLink.class, + com.google.analytics.admin.v1alpha.RollupPropertySourceLink.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.RollupPropertySourceLink.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.ResourcesProto.internal_static_google_analytics_admin_v1alpha_RollupPropertySourceLink_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1alpha.ResourcesProto + .internal_static_google_analytics_admin_v1alpha_RollupPropertySourceLink_descriptor; } @java.lang.Override @@ -379,8 +410,11 @@ public com.google.analytics.admin.v1alpha.RollupPropertySourceLink build() { @java.lang.Override public com.google.analytics.admin.v1alpha.RollupPropertySourceLink buildPartial() { - com.google.analytics.admin.v1alpha.RollupPropertySourceLink result = new com.google.analytics.admin.v1alpha.RollupPropertySourceLink(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.analytics.admin.v1alpha.RollupPropertySourceLink result = + new com.google.analytics.admin.v1alpha.RollupPropertySourceLink(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -399,38 +433,39 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.RollupPropertySour public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.analytics.admin.v1alpha.RollupPropertySourceLink) { - return mergeFrom((com.google.analytics.admin.v1alpha.RollupPropertySourceLink)other); + return mergeFrom((com.google.analytics.admin.v1alpha.RollupPropertySourceLink) other); } else { super.mergeFrom(other); return this; @@ -438,7 +473,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1alpha.RollupPropertySourceLink other) { - if (other == com.google.analytics.admin.v1alpha.RollupPropertySourceLink.getDefaultInstance()) return this; + if (other == com.google.analytics.admin.v1alpha.RollupPropertySourceLink.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -475,22 +511,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - sourceProperty_ = 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: + { + sourceProperty_ = 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) { @@ -500,10 +539,13 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Output only. Resource name of this RollupPropertySourceLink.
      * Format:
@@ -512,13 +554,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 +569,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. Resource name of this RollupPropertySourceLink.
      * Format:
@@ -535,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 { @@ -551,6 +594,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. Resource name of this RollupPropertySourceLink.
      * Format:
@@ -559,18 +604,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 RollupPropertySourceLink.
      * Format:
@@ -579,6 +628,7 @@ public Builder setName(
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearName() { @@ -588,6 +638,8 @@ public Builder clearName() { return this; } /** + * + * *
      * Output only. Resource name of this RollupPropertySourceLink.
      * Format:
@@ -596,12 +648,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; @@ -611,6 +665,8 @@ public Builder setNameBytes( private java.lang.Object sourceProperty_ = ""; /** + * + * *
      * Immutable. Resource name of the source property.
      * Format: properties/{property_id}
@@ -618,13 +674,13 @@ public Builder setNameBytes(
      * 
* * string source_property = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return The sourceProperty. */ public java.lang.String getSourceProperty() { java.lang.Object ref = sourceProperty_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); sourceProperty_ = s; return s; @@ -633,6 +689,8 @@ public java.lang.String getSourceProperty() { } } /** + * + * *
      * Immutable. Resource name of the source property.
      * Format: properties/{property_id}
@@ -640,15 +698,14 @@ public java.lang.String getSourceProperty() {
      * 
* * string source_property = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return The bytes for sourceProperty. */ - public com.google.protobuf.ByteString - getSourcePropertyBytes() { + public com.google.protobuf.ByteString getSourcePropertyBytes() { java.lang.Object ref = sourceProperty_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); sourceProperty_ = b; return b; } else { @@ -656,6 +713,8 @@ public java.lang.String getSourceProperty() { } } /** + * + * *
      * Immutable. Resource name of the source property.
      * Format: properties/{property_id}
@@ -663,18 +722,22 @@ public java.lang.String getSourceProperty() {
      * 
* * string source_property = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * * @param value The sourceProperty to set. * @return This builder for chaining. */ - public Builder setSourceProperty( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setSourceProperty(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } sourceProperty_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Immutable. Resource name of the source property.
      * Format: properties/{property_id}
@@ -682,6 +745,7 @@ public Builder setSourceProperty(
      * 
* * string source_property = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return This builder for chaining. */ public Builder clearSourceProperty() { @@ -691,6 +755,8 @@ public Builder clearSourceProperty() { return this; } /** + * + * *
      * Immutable. Resource name of the source property.
      * Format: properties/{property_id}
@@ -698,21 +764,23 @@ public Builder clearSourceProperty() {
      * 
* * string source_property = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * * @param value The bytes for sourceProperty to set. * @return This builder for chaining. */ - public Builder setSourcePropertyBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setSourcePropertyBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); sourceProperty_ = 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); } @@ -722,12 +790,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.RollupPropertySourceLink) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.RollupPropertySourceLink) private static final com.google.analytics.admin.v1alpha.RollupPropertySourceLink DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.RollupPropertySourceLink(); } @@ -736,27 +804,27 @@ public static com.google.analytics.admin.v1alpha.RollupPropertySourceLink getDef return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RollupPropertySourceLink parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RollupPropertySourceLink parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -771,6 +839,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1alpha.RollupPropertySourceLink 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/RollupPropertySourceLinkName.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/RollupPropertySourceLinkName.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/RollupPropertySourceLinkName.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/RollupPropertySourceLinkName.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/RollupPropertySourceLinkOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/RollupPropertySourceLinkOrBuilder.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/RollupPropertySourceLinkOrBuilder.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/RollupPropertySourceLinkOrBuilder.java index 15ab8eb248e0..73247d52cdf2 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/RollupPropertySourceLinkOrBuilder.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/RollupPropertySourceLinkOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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 RollupPropertySourceLinkOrBuilder extends +public interface RollupPropertySourceLinkOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.RollupPropertySourceLink) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Output only. Resource name of this RollupPropertySourceLink.
    * Format:
@@ -16,10 +34,13 @@ public interface RollupPropertySourceLinkOrBuilder extends
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Output only. Resource name of this RollupPropertySourceLink.
    * Format:
@@ -28,12 +49,14 @@ public interface RollupPropertySourceLinkOrBuilder 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. Resource name of the source property.
    * Format: properties/{property_id}
@@ -41,10 +64,13 @@ public interface RollupPropertySourceLinkOrBuilder extends
    * 
* * string source_property = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return The sourceProperty. */ java.lang.String getSourceProperty(); /** + * + * *
    * Immutable. Resource name of the source property.
    * Format: properties/{property_id}
@@ -52,8 +78,8 @@ public interface RollupPropertySourceLinkOrBuilder extends
    * 
* * string source_property = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return The bytes for sourceProperty. */ - com.google.protobuf.ByteString - getSourcePropertyBytes(); + com.google.protobuf.ByteString getSourcePropertyBytes(); } 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 7ccc0fe6d575..aae2b03385a7 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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,28 +48,32 @@ private RunAccessReportRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new RunAccessReportRequest(); } - 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 supports requesting at the property level or account
    * level. If requested at the account level, Data Access Reports include all
@@ -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 supports requesting at the property level or account
    * level. If requested at the account level, Data Access Reports include all
@@ -92,16 +116,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 { @@ -110,9 +133,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.
@@ -125,6 +151,8 @@ public java.util.List getDim
     return dimensions_;
   }
   /**
+   *
+   *
    * 
    * The dimensions requested and displayed in the response. Requests are
    * allowed up to 9 dimensions.
@@ -133,11 +161,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.
@@ -150,6 +180,8 @@ public int getDimensionsCount() {
     return dimensions_.size();
   }
   /**
+   *
+   *
    * 
    * The dimensions requested and displayed in the response. Requests are
    * allowed up to 9 dimensions.
@@ -162,6 +194,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.
@@ -176,9 +210,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.
@@ -191,6 +228,8 @@ public java.util.List getMetric
     return metrics_;
   }
   /**
+   *
+   *
    * 
    * The metrics requested and displayed in the response. Requests are allowed
    * up to 10 metrics.
@@ -199,11 +238,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.
@@ -216,6 +257,8 @@ public int getMetricsCount() {
     return metrics_.size();
   }
   /**
+   *
+   *
    * 
    * The metrics requested and displayed in the response. Requests are allowed
    * up to 10 metrics.
@@ -228,6 +271,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.
@@ -236,15 +281,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
@@ -260,6 +307,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
@@ -271,11 +320,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
@@ -291,6 +342,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
@@ -306,6 +359,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
@@ -325,6 +380,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 let you restrict report response to specific
    * dimension values which match the filter. For example, filtering on access
@@ -334,6 +391,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 @@ -341,6 +399,8 @@ public boolean hasDimensionFilter() { return dimensionFilter_ != null; } /** + * + * *
    * Dimension filters let you restrict report response to specific
    * dimension values which match the filter. For example, filtering on access
@@ -350,13 +410,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 let you restrict report response to specific
    * dimension values which match the filter. For example, filtering on access
@@ -368,13 +433,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
@@ -383,6 +453,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 @@ -390,6 +461,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
@@ -398,13 +471,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
@@ -415,13 +493,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
@@ -432,6 +515,7 @@ public com.google.analytics.admin.v1alpha.AccessFilterExpressionOrBuilder getMet
    * 
* * int64 offset = 7; + * * @return The offset. */ @java.lang.Override @@ -442,6 +526,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
@@ -458,6 +544,7 @@ public long getOffset() {
    * 
* * int64 limit = 8; + * * @return The limit. */ @java.lang.Override @@ -466,9 +553,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
@@ -480,6 +570,7 @@ public long getLimit() {
    * 
* * string time_zone = 9; + * * @return The timeZone. */ @java.lang.Override @@ -488,14 +579,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
@@ -507,16 +599,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 { @@ -525,9 +616,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.
    * 
@@ -539,6 +633,8 @@ public java.util.List getOrder return orderBys_; } /** + * + * *
    * Specifies how rows are ordered in the response.
    * 
@@ -546,11 +642,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.
    * 
@@ -562,6 +660,8 @@ public int getOrderBysCount() { return orderBys_.size(); } /** + * + * *
    * Specifies how rows are ordered in the response.
    * 
@@ -573,6 +673,8 @@ public com.google.analytics.admin.v1alpha.AccessOrderBy getOrderBys(int index) { return orderBys_.get(index); } /** + * + * *
    * Specifies how rows are ordered in the response.
    * 
@@ -580,14 +682,15 @@ 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). For account-level
@@ -595,6 +698,7 @@ public com.google.analytics.admin.v1alpha.AccessOrderByOrBuilder getOrderBysOrBu
    * 
* * bool return_entity_quota = 11; + * * @return The returnEntityQuota. */ @java.lang.Override @@ -605,6 +709,8 @@ public boolean getReturnEntityQuota() { public static final int INCLUDE_ALL_USERS_FIELD_NUMBER = 12; private boolean includeAllUsers_ = false; /** + * + * *
    * Optional. Determines whether to include users who have never made an API
    * call in the response. If true, all users with access to the specified
@@ -614,6 +720,7 @@ public boolean getReturnEntityQuota() {
    * 
* * bool include_all_users = 12 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The includeAllUsers. */ @java.lang.Override @@ -624,6 +731,8 @@ public boolean getIncludeAllUsers() { public static final int EXPAND_GROUPS_FIELD_NUMBER = 13; private boolean expandGroups_ = false; /** + * + * *
    * Optional. Decides whether to return the users within user groups. This
    * field works only when include_all_users is set to true. If true, it will
@@ -632,6 +741,7 @@ public boolean getIncludeAllUsers() {
    * 
* * bool expand_groups = 13 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The expandGroups. */ @java.lang.Override @@ -640,6 +750,7 @@ public boolean getExpandGroups() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -651,8 +762,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -705,51 +815,40 @@ 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_); } if (includeAllUsers_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(12, includeAllUsers_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(12, includeAllUsers_); } if (expandGroups_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(13, expandGroups_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(13, expandGroups_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -759,45 +858,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.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 (getIncludeAllUsers() - != other.getIncludeAllUsers()) return false; - if (getExpandGroups() - != other.getExpandGroups()) 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 (getIncludeAllUsers() != other.getIncludeAllUsers()) return false; + if (getExpandGroups() != other.getExpandGroups()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -832,11 +919,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) { @@ -844,145 +929,147 @@ 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 = (37 * hash) + INCLUDE_ALL_USERS_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getIncludeAllUsers()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getIncludeAllUsers()); hash = (37 * hash) + EXPAND_GROUPS_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getExpandGroups()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getExpandGroups()); 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(); @@ -1036,9 +1123,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 @@ -1057,14 +1144,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_); @@ -1109,14 +1200,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_; @@ -1142,38 +1231,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; @@ -1181,7 +1271,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; @@ -1205,9 +1296,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_); } @@ -1231,9 +1323,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_); } @@ -1257,9 +1350,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_); } @@ -1300,9 +1394,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_); } @@ -1343,113 +1438,123 @@ 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 - case 96: { - includeAllUsers_ = input.readBool(); - bitField0_ |= 0x00000800; - break; - } // case 96 - case 104: { - expandGroups_ = input.readBool(); - bitField0_ |= 0x00001000; - break; - } // case 104 - 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 + case 96: + { + includeAllUsers_ = input.readBool(); + bitField0_ |= 0x00000800; + break; + } // case 96 + case 104: + { + expandGroups_ = input.readBool(); + bitField0_ |= 0x00001000; + break; + } // case 104 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1459,10 +1564,13 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object entity_ = ""; /** + * + * *
      * The Data Access Report supports requesting at the property level or account
      * level. If requested at the account level, Data Access Reports include all
@@ -1475,13 +1583,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; @@ -1490,6 +1598,8 @@ public java.lang.String getEntity() { } } /** + * + * *
      * The Data Access Report supports requesting at the property level or account
      * level. If requested at the account level, Data Access Reports include all
@@ -1502,15 +1612,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 { @@ -1518,6 +1627,8 @@ public java.lang.String getEntity() { } } /** + * + * *
      * The Data Access Report supports requesting at the property level or account
      * level. If requested at the account level, Data Access Reports include all
@@ -1530,18 +1641,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 supports requesting at the property level or account
      * level. If requested at the account level, Data Access Reports include all
@@ -1554,6 +1669,7 @@ public Builder setEntity(
      * 
* * string entity = 1; + * * @return This builder for chaining. */ public Builder clearEntity() { @@ -1563,6 +1679,8 @@ public Builder clearEntity() { return this; } /** + * + * *
      * The Data Access Report supports requesting at the property level or account
      * level. If requested at the account level, Data Access Reports include all
@@ -1575,12 +1693,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; @@ -1589,18 +1709,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.
@@ -1616,6 +1744,8 @@ public java.util.List getDim
       }
     }
     /**
+     *
+     *
      * 
      * The dimensions requested and displayed in the response. Requests are
      * allowed up to 9 dimensions.
@@ -1631,6 +1761,8 @@ public int getDimensionsCount() {
       }
     }
     /**
+     *
+     *
      * 
      * The dimensions requested and displayed in the response. Requests are
      * allowed up to 9 dimensions.
@@ -1646,6 +1778,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.
@@ -1668,6 +1802,8 @@ public Builder setDimensions(
       return this;
     }
     /**
+     *
+     *
      * 
      * The dimensions requested and displayed in the response. Requests are
      * allowed up to 9 dimensions.
@@ -1687,6 +1823,8 @@ public Builder setDimensions(
       return this;
     }
     /**
+     *
+     *
      * 
      * The dimensions requested and displayed in the response. Requests are
      * allowed up to 9 dimensions.
@@ -1708,6 +1846,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.
@@ -1730,6 +1870,8 @@ public Builder addDimensions(
       return this;
     }
     /**
+     *
+     *
      * 
      * The dimensions requested and displayed in the response. Requests are
      * allowed up to 9 dimensions.
@@ -1749,6 +1891,8 @@ public Builder addDimensions(
       return this;
     }
     /**
+     *
+     *
      * 
      * The dimensions requested and displayed in the response. Requests are
      * allowed up to 9 dimensions.
@@ -1768,6 +1912,8 @@ public Builder addDimensions(
       return this;
     }
     /**
+     *
+     *
      * 
      * The dimensions requested and displayed in the response. Requests are
      * allowed up to 9 dimensions.
@@ -1779,8 +1925,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);
@@ -1788,6 +1933,8 @@ public Builder addAllDimensions(
       return this;
     }
     /**
+     *
+     *
      * 
      * The dimensions requested and displayed in the response. Requests are
      * allowed up to 9 dimensions.
@@ -1806,6 +1953,8 @@ public Builder clearDimensions() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The dimensions requested and displayed in the response. Requests are
      * allowed up to 9 dimensions.
@@ -1824,6 +1973,8 @@ public Builder removeDimensions(int index) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The dimensions requested and displayed in the response. Requests are
      * allowed up to 9 dimensions.
@@ -1836,6 +1987,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.
@@ -1846,11 +1999,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.
@@ -1858,8 +2014,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 {
@@ -1867,6 +2023,8 @@ public com.google.analytics.admin.v1alpha.AccessDimensionOrBuilder getDimensions
       }
     }
     /**
+     *
+     *
      * 
      * The dimensions requested and displayed in the response. Requests are
      * allowed up to 9 dimensions.
@@ -1875,10 +2033,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.
@@ -1888,10 +2048,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.
@@ -1899,38 +2062,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.
@@ -1946,6 +2119,8 @@ public java.util.List getMetric
       }
     }
     /**
+     *
+     *
      * 
      * The metrics requested and displayed in the response. Requests are allowed
      * up to 10 metrics.
@@ -1961,6 +2136,8 @@ public int getMetricsCount() {
       }
     }
     /**
+     *
+     *
      * 
      * The metrics requested and displayed in the response. Requests are allowed
      * up to 10 metrics.
@@ -1976,6 +2153,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.
@@ -1983,8 +2162,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();
@@ -1998,6 +2176,8 @@ public Builder setMetrics(
       return this;
     }
     /**
+     *
+     *
      * 
      * The metrics requested and displayed in the response. Requests are allowed
      * up to 10 metrics.
@@ -2017,6 +2197,8 @@ public Builder setMetrics(
       return this;
     }
     /**
+     *
+     *
      * 
      * The metrics requested and displayed in the response. Requests are allowed
      * up to 10 metrics.
@@ -2038,6 +2220,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.
@@ -2045,8 +2229,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();
@@ -2060,6 +2243,8 @@ public Builder addMetrics(
       return this;
     }
     /**
+     *
+     *
      * 
      * The metrics requested and displayed in the response. Requests are allowed
      * up to 10 metrics.
@@ -2079,6 +2264,8 @@ public Builder addMetrics(
       return this;
     }
     /**
+     *
+     *
      * 
      * The metrics requested and displayed in the response. Requests are allowed
      * up to 10 metrics.
@@ -2098,6 +2285,8 @@ public Builder addMetrics(
       return this;
     }
     /**
+     *
+     *
      * 
      * The metrics requested and displayed in the response. Requests are allowed
      * up to 10 metrics.
@@ -2109,8 +2298,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);
@@ -2118,6 +2306,8 @@ public Builder addAllMetrics(
       return this;
     }
     /**
+     *
+     *
      * 
      * The metrics requested and displayed in the response. Requests are allowed
      * up to 10 metrics.
@@ -2136,6 +2326,8 @@ public Builder clearMetrics() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The metrics requested and displayed in the response. Requests are allowed
      * up to 10 metrics.
@@ -2154,6 +2346,8 @@ public Builder removeMetrics(int index) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The metrics requested and displayed in the response. Requests are allowed
      * up to 10 metrics.
@@ -2161,11 +2355,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.
@@ -2173,14 +2368,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.
@@ -2188,8 +2385,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 {
@@ -2197,6 +2394,8 @@ public com.google.analytics.admin.v1alpha.AccessMetricOrBuilder getMetricsOrBuil
       }
     }
     /**
+     *
+     *
      * 
      * The metrics requested and displayed in the response. Requests are allowed
      * up to 10 metrics.
@@ -2205,10 +2404,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.
@@ -2216,12 +2417,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.
@@ -2229,38 +2431,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
@@ -2279,6 +2492,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
@@ -2297,6 +2512,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
@@ -2315,6 +2532,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
@@ -2340,6 +2559,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
@@ -2362,6 +2583,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
@@ -2386,6 +2609,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
@@ -2411,6 +2636,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
@@ -2433,6 +2660,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
@@ -2455,6 +2684,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
@@ -2469,8 +2700,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);
@@ -2478,6 +2708,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
@@ -2499,6 +2731,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
@@ -2520,6 +2754,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
@@ -2535,6 +2771,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
@@ -2548,11 +2786,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
@@ -2563,8 +2804,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 {
@@ -2572,6 +2813,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
@@ -2583,10 +2826,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
@@ -2599,10 +2844,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
@@ -2613,20 +2861,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_;
@@ -2634,8 +2885,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 let you restrict report response to specific
      * dimension values which match the filter. For example, filtering on access
@@ -2645,12 +2901,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 let you restrict report response to specific
      * dimension values which match the filter. For example, filtering on access
@@ -2660,16 +2919,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 let you restrict report response to specific
      * dimension values which match the filter. For example, filtering on access
@@ -2680,7 +2944,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();
@@ -2694,6 +2959,8 @@ public Builder setDimensionFilter(com.google.analytics.admin.v1alpha.AccessFilte
       return this;
     }
     /**
+     *
+     *
      * 
      * Dimension filters let you restrict report response to specific
      * dimension values which match the filter. For example, filtering on access
@@ -2716,6 +2983,8 @@ public Builder setDimensionFilter(
       return this;
     }
     /**
+     *
+     *
      * 
      * Dimension filters let you restrict report response to specific
      * dimension values which match the filter. For example, filtering on access
@@ -2726,11 +2995,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;
@@ -2743,6 +3014,8 @@ public Builder mergeDimensionFilter(com.google.analytics.admin.v1alpha.AccessFil
       return this;
     }
     /**
+     *
+     *
      * 
      * Dimension filters let you restrict report response to specific
      * dimension values which match the filter. For example, filtering on access
@@ -2764,6 +3037,8 @@ public Builder clearDimensionFilter() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Dimension filters let you restrict report response to specific
      * dimension values which match the filter. For example, filtering on access
@@ -2774,12 +3049,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 let you restrict report response to specific
      * dimension values which match the filter. For example, filtering on access
@@ -2790,15 +3068,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 let you restrict report response to specific
      * dimension values which match the filter. For example, filtering on access
@@ -2810,14 +3092,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_;
@@ -2825,8 +3110,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
@@ -2835,12 +3125,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
@@ -2849,16 +3142,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
@@ -2868,7 +3166,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();
@@ -2882,6 +3181,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
@@ -2903,6 +3204,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
@@ -2912,11 +3215,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;
@@ -2929,6 +3234,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
@@ -2949,6 +3256,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
@@ -2958,12 +3267,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
@@ -2973,15 +3285,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
@@ -2992,21 +3308,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
@@ -3017,6 +3338,7 @@ public com.google.analytics.admin.v1alpha.AccessFilterExpressionOrBuilder getMet
      * 
* * int64 offset = 7; + * * @return The offset. */ @java.lang.Override @@ -3024,6 +3346,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
@@ -3034,6 +3358,7 @@ public long getOffset() {
      * 
* * int64 offset = 7; + * * @param value The offset to set. * @return This builder for chaining. */ @@ -3045,6 +3370,8 @@ public Builder setOffset(long value) { 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
@@ -3055,6 +3382,7 @@ public Builder setOffset(long value) {
      * 
* * int64 offset = 7; + * * @return This builder for chaining. */ public Builder clearOffset() { @@ -3064,8 +3392,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
@@ -3082,6 +3412,7 @@ public Builder clearOffset() {
      * 
* * int64 limit = 8; + * * @return The limit. */ @java.lang.Override @@ -3089,6 +3420,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
@@ -3105,6 +3438,7 @@ public long getLimit() {
      * 
* * int64 limit = 8; + * * @param value The limit to set. * @return This builder for chaining. */ @@ -3116,6 +3450,8 @@ public Builder setLimit(long value) { 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
@@ -3132,6 +3468,7 @@ public Builder setLimit(long value) {
      * 
* * int64 limit = 8; + * * @return This builder for chaining. */ public Builder clearLimit() { @@ -3143,6 +3480,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
@@ -3154,13 +3493,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; @@ -3169,6 +3508,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
@@ -3180,15 +3521,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 { @@ -3196,6 +3536,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
@@ -3207,18 +3549,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
@@ -3230,6 +3576,7 @@ public Builder setTimeZone(
      * 
* * string time_zone = 9; + * * @return This builder for chaining. */ public Builder clearTimeZone() { @@ -3239,6 +3586,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
@@ -3250,12 +3599,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; @@ -3264,18 +3615,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.
      * 
@@ -3290,6 +3648,8 @@ public java.util.List getOrder } } /** + * + * *
      * Specifies how rows are ordered in the response.
      * 
@@ -3304,6 +3664,8 @@ public int getOrderBysCount() { } } /** + * + * *
      * Specifies how rows are ordered in the response.
      * 
@@ -3318,14 +3680,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(); @@ -3339,6 +3702,8 @@ public Builder setOrderBys( return this; } /** + * + * *
      * Specifies how rows are ordered in the response.
      * 
@@ -3357,6 +3722,8 @@ public Builder setOrderBys( return this; } /** + * + * *
      * Specifies how rows are ordered in the response.
      * 
@@ -3377,14 +3744,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(); @@ -3398,6 +3766,8 @@ public Builder addOrderBys( return this; } /** + * + * *
      * Specifies how rows are ordered in the response.
      * 
@@ -3416,6 +3786,8 @@ public Builder addOrderBys( return this; } /** + * + * *
      * Specifies how rows are ordered in the response.
      * 
@@ -3434,6 +3806,8 @@ public Builder addOrderBys( return this; } /** + * + * *
      * Specifies how rows are ordered in the response.
      * 
@@ -3444,8 +3818,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); @@ -3453,6 +3826,8 @@ public Builder addAllOrderBys( return this; } /** + * + * *
      * Specifies how rows are ordered in the response.
      * 
@@ -3470,6 +3845,8 @@ public Builder clearOrderBys() { return this; } /** + * + * *
      * Specifies how rows are ordered in the response.
      * 
@@ -3487,17 +3864,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.
      * 
@@ -3507,19 +3887,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 { @@ -3527,6 +3910,8 @@ public com.google.analytics.admin.v1alpha.AccessOrderByOrBuilder getOrderBysOrBu } } /** + * + * *
      * Specifies how rows are ordered in the response.
      * 
@@ -3534,49 +3919,57 @@ 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). For account-level
@@ -3584,6 +3977,7 @@ public com.google.analytics.admin.v1alpha.AccessOrderBy.Builder addOrderBysBuild
      * 
* * bool return_entity_quota = 11; + * * @return The returnEntityQuota. */ @java.lang.Override @@ -3591,6 +3985,8 @@ public boolean getReturnEntityQuota() { return returnEntityQuota_; } /** + * + * *
      * Toggles whether to return the current state of this Analytics Property's
      * quota. Quota is returned in [AccessQuota](#AccessQuota). For account-level
@@ -3598,6 +3994,7 @@ public boolean getReturnEntityQuota() {
      * 
* * bool return_entity_quota = 11; + * * @param value The returnEntityQuota to set. * @return This builder for chaining. */ @@ -3609,6 +4006,8 @@ public Builder setReturnEntityQuota(boolean value) { return this; } /** + * + * *
      * Toggles whether to return the current state of this Analytics Property's
      * quota. Quota is returned in [AccessQuota](#AccessQuota). For account-level
@@ -3616,6 +4015,7 @@ public Builder setReturnEntityQuota(boolean value) {
      * 
* * bool return_entity_quota = 11; + * * @return This builder for chaining. */ public Builder clearReturnEntityQuota() { @@ -3625,8 +4025,10 @@ public Builder clearReturnEntityQuota() { return this; } - private boolean includeAllUsers_ ; + private boolean includeAllUsers_; /** + * + * *
      * Optional. Determines whether to include users who have never made an API
      * call in the response. If true, all users with access to the specified
@@ -3636,6 +4038,7 @@ public Builder clearReturnEntityQuota() {
      * 
* * bool include_all_users = 12 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The includeAllUsers. */ @java.lang.Override @@ -3643,6 +4046,8 @@ public boolean getIncludeAllUsers() { return includeAllUsers_; } /** + * + * *
      * Optional. Determines whether to include users who have never made an API
      * call in the response. If true, all users with access to the specified
@@ -3652,6 +4057,7 @@ public boolean getIncludeAllUsers() {
      * 
* * bool include_all_users = 12 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The includeAllUsers to set. * @return This builder for chaining. */ @@ -3663,6 +4069,8 @@ public Builder setIncludeAllUsers(boolean value) { return this; } /** + * + * *
      * Optional. Determines whether to include users who have never made an API
      * call in the response. If true, all users with access to the specified
@@ -3672,6 +4080,7 @@ public Builder setIncludeAllUsers(boolean value) {
      * 
* * bool include_all_users = 12 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearIncludeAllUsers() { @@ -3681,8 +4090,10 @@ public Builder clearIncludeAllUsers() { return this; } - private boolean expandGroups_ ; + private boolean expandGroups_; /** + * + * *
      * Optional. Decides whether to return the users within user groups. This
      * field works only when include_all_users is set to true. If true, it will
@@ -3691,6 +4102,7 @@ public Builder clearIncludeAllUsers() {
      * 
* * bool expand_groups = 13 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The expandGroups. */ @java.lang.Override @@ -3698,6 +4110,8 @@ public boolean getExpandGroups() { return expandGroups_; } /** + * + * *
      * Optional. Decides whether to return the users within user groups. This
      * field works only when include_all_users is set to true. If true, it will
@@ -3706,6 +4120,7 @@ public boolean getExpandGroups() {
      * 
* * bool expand_groups = 13 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The expandGroups to set. * @return This builder for chaining. */ @@ -3717,6 +4132,8 @@ public Builder setExpandGroups(boolean value) { return this; } /** + * + * *
      * Optional. Decides whether to return the users within user groups. This
      * field works only when include_all_users is set to true. If true, it will
@@ -3725,6 +4142,7 @@ public Builder setExpandGroups(boolean value) {
      * 
* * bool expand_groups = 13 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearExpandGroups() { @@ -3733,9 +4151,9 @@ public Builder clearExpandGroups() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -3745,12 +4163,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(); } @@ -3759,27 +4177,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; @@ -3794,6 +4212,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 91% 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 96781ab2bdc3..5461495c7937 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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 supports requesting at the property level or account
    * level. If requested at the account level, Data Access Reports include all
@@ -20,10 +38,13 @@ public interface RunAccessReportRequestOrBuilder extends
    * 
* * string entity = 1; + * * @return The entity. */ java.lang.String getEntity(); /** + * + * *
    * The Data Access Report supports requesting at the property level or account
    * level. If requested at the account level, Data Access Reports include all
@@ -36,12 +57,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.
@@ -49,9 +72,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.
@@ -61,6 +85,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.
@@ -70,6 +96,8 @@ public interface RunAccessReportRequestOrBuilder extends
    */
   int getDimensionsCount();
   /**
+   *
+   *
    * 
    * The dimensions requested and displayed in the response. Requests are
    * allowed up to 9 dimensions.
@@ -77,9 +105,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.
@@ -87,10 +117,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.
@@ -98,9 +129,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.
@@ -110,6 +142,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.
@@ -119,6 +153,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.
@@ -126,9 +162,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.
@@ -136,10 +174,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
@@ -150,9 +189,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
@@ -165,6 +205,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
@@ -177,6 +219,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
@@ -187,9 +231,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
@@ -200,10 +246,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 let you restrict report response to specific
    * dimension values which match the filter. For example, filtering on access
@@ -213,10 +260,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 let you restrict report response to specific
    * dimension values which match the filter. For example, filtering on access
@@ -226,10 +276,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 let you restrict report response to specific
    * dimension values which match the filter. For example, filtering on access
@@ -243,6 +296,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
@@ -251,10 +306,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
@@ -263,10 +321,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
@@ -279,6 +340,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
@@ -289,11 +352,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
@@ -310,11 +376,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
@@ -326,10 +395,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
@@ -341,21 +413,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.
    * 
@@ -364,6 +439,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.
    * 
@@ -372,25 +449,30 @@ 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). For account-level
@@ -398,11 +480,14 @@ com.google.analytics.admin.v1alpha.AccessOrderByOrBuilder getOrderBysOrBuilder(
    * 
* * bool return_entity_quota = 11; + * * @return The returnEntityQuota. */ boolean getReturnEntityQuota(); /** + * + * *
    * Optional. Determines whether to include users who have never made an API
    * call in the response. If true, all users with access to the specified
@@ -412,11 +497,14 @@ com.google.analytics.admin.v1alpha.AccessOrderByOrBuilder getOrderBysOrBuilder(
    * 
* * bool include_all_users = 12 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The includeAllUsers. */ boolean getIncludeAllUsers(); /** + * + * *
    * Optional. Decides whether to return the users within user groups. This
    * field works only when include_all_users is set to true. If true, it will
@@ -425,6 +513,7 @@ com.google.analytics.admin.v1alpha.AccessOrderByOrBuilder getOrderBysOrBuilder(
    * 
* * bool expand_groups = 13 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The expandGroups. */ boolean getExpandGroups(); 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 77% 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 d2a24a8b725d..639c3979d22a 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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,99 +45,121 @@ private RunAccessReportResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new RunAccessReportResponse(); } - 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
@@ -129,10 +169,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
@@ -142,11 +185,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
@@ -160,6 +205,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
@@ -173,6 +220,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
@@ -188,9 +237,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.
    * 
@@ -202,6 +254,8 @@ public java.util.List getRowsList( return rows_; } /** + * + * *
    * Rows of dimension value combinations and metric values in the report.
    * 
@@ -209,11 +263,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.
    * 
@@ -225,6 +281,8 @@ public int getRowsCount() { return rows_.size(); } /** + * + * *
    * Rows of dimension value combinations and metric values in the report.
    * 
@@ -236,6 +294,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.
    * 
@@ -243,14 +303,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
@@ -263,6 +324,7 @@ public com.google.analytics.admin.v1alpha.AccessRowOrBuilder getRowsOrBuilder(
    * 
* * int32 row_count = 4; + * * @return The rowCount. */ @java.lang.Override @@ -273,12 +335,15 @@ 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. This
    * field doesn't work with account-level requests.
    * 
* * .google.analytics.admin.v1alpha.AccessQuota quota = 5; + * * @return Whether the quota field is set. */ @java.lang.Override @@ -286,19 +351,26 @@ public boolean hasQuota() { return quota_ != null; } /** + * + * *
    * The quota state for this Analytics property including this request. This
    * field doesn't work with account-level requests.
    * 
* * .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. This
    * field doesn't work with account-level requests.
@@ -308,10 +380,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;
@@ -323,8 +398,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  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));
     }
@@ -350,24 +424,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;
@@ -377,25 +446,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;
@@ -432,131 +497,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(); @@ -592,9 +662,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 @@ -613,14 +683,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_); @@ -656,9 +730,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(); } } @@ -666,38 +738,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; @@ -705,7 +778,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()) { @@ -724,9 +798,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_); } @@ -750,9 +825,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_); } @@ -776,9 +852,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_); } @@ -816,63 +893,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) { @@ -882,30 +962,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 { @@ -913,13 +1004,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) { @@ -929,13 +1023,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) { @@ -945,13 +1042,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) { @@ -968,16 +1068,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()); @@ -988,15 +1092,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(); @@ -1010,13 +1118,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) { @@ -1033,13 +1144,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) { @@ -1053,16 +1167,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()); @@ -1073,20 +1191,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); @@ -1094,13 +1215,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) { @@ -1113,13 +1237,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) { @@ -1132,45 +1259,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 { @@ -1178,51 +1316,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(), @@ -1233,18 +1389,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
@@ -1253,7 +1417,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 {
@@ -1261,6 +1426,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
@@ -1277,6 +1444,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
@@ -1293,6 +1462,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
@@ -1316,6 +1487,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
@@ -1336,6 +1509,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
@@ -1358,6 +1533,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
@@ -1381,6 +1558,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
@@ -1401,6 +1580,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
@@ -1421,6 +1602,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
@@ -1430,11 +1613,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);
@@ -1442,6 +1625,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
@@ -1461,6 +1646,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
@@ -1480,6 +1667,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
@@ -1493,6 +1682,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
@@ -1504,11 +1695,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
@@ -1517,8 +1711,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 {
@@ -1526,6 +1720,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
@@ -1535,10 +1731,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
@@ -1549,10 +1747,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
@@ -1561,16 +1762,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(),
@@ -1581,18 +1788,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.
      * 
@@ -1607,6 +1820,8 @@ public java.util.List getRowsList( } } /** + * + * *
      * Rows of dimension value combinations and metric values in the report.
      * 
@@ -1621,6 +1836,8 @@ public int getRowsCount() { } } /** + * + * *
      * Rows of dimension value combinations and metric values in the report.
      * 
@@ -1635,14 +1852,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(); @@ -1656,6 +1874,8 @@ public Builder setRows( return this; } /** + * + * *
      * Rows of dimension value combinations and metric values in the report.
      * 
@@ -1674,6 +1894,8 @@ public Builder setRows( return this; } /** + * + * *
      * Rows of dimension value combinations and metric values in the report.
      * 
@@ -1694,14 +1916,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(); @@ -1715,14 +1938,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()); @@ -1733,6 +1957,8 @@ public Builder addRows( return this; } /** + * + * *
      * Rows of dimension value combinations and metric values in the report.
      * 
@@ -1751,6 +1977,8 @@ public Builder addRows( return this; } /** + * + * *
      * Rows of dimension value combinations and metric values in the report.
      * 
@@ -1761,8 +1989,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); @@ -1770,6 +1997,8 @@ public Builder addAllRows( return this; } /** + * + * *
      * Rows of dimension value combinations and metric values in the report.
      * 
@@ -1787,6 +2016,8 @@ public Builder clearRows() { return this; } /** + * + * *
      * Rows of dimension value combinations and metric values in the report.
      * 
@@ -1804,39 +2035,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 { @@ -1844,6 +2080,8 @@ public com.google.analytics.admin.v1alpha.AccessRowOrBuilder getRowsOrBuilder( } } /** + * + * *
      * Rows of dimension value combinations and metric values in the report.
      * 
@@ -1851,49 +2089,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
@@ -1906,6 +2152,7 @@ public com.google.analytics.admin.v1alpha.AccessRow.Builder addRowsBuilder(
      * 
* * int32 row_count = 4; + * * @return The rowCount. */ @java.lang.Override @@ -1913,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
@@ -1925,6 +2174,7 @@ public int getRowCount() {
      * 
* * int32 row_count = 4; + * * @param value The rowCount to set. * @return This builder for chaining. */ @@ -1936,6 +2186,8 @@ public Builder setRowCount(int value) { 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
@@ -1948,6 +2200,7 @@ public Builder setRowCount(int value) {
      * 
* * int32 row_count = 4; + * * @return This builder for chaining. */ public Builder clearRowCount() { @@ -1959,36 +2212,49 @@ 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. This
      * field doesn't work with account-level requests.
      * 
* * .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. This
      * field doesn't work with account-level requests.
      * 
* * .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. This
      * field doesn't work with account-level requests.
@@ -2010,6 +2276,8 @@ public Builder setQuota(com.google.analytics.admin.v1alpha.AccessQuota value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The quota state for this Analytics property including this request. This
      * field doesn't work with account-level requests.
@@ -2029,6 +2297,8 @@ public Builder setQuota(
       return this;
     }
     /**
+     *
+     *
      * 
      * The quota state for this Analytics property including this request. This
      * field doesn't work with account-level requests.
@@ -2038,9 +2308,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;
@@ -2053,6 +2323,8 @@ public Builder mergeQuota(com.google.analytics.admin.v1alpha.AccessQuota value)
       return this;
     }
     /**
+     *
+     *
      * 
      * The quota state for this Analytics property including this request. This
      * field doesn't work with account-level requests.
@@ -2071,6 +2343,8 @@ public Builder clearQuota() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The quota state for this Analytics property including this request. This
      * field doesn't work with account-level requests.
@@ -2084,6 +2358,8 @@ public com.google.analytics.admin.v1alpha.AccessQuota.Builder getQuotaBuilder()
       return getQuotaFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The quota state for this Analytics property including this request. This
      * field doesn't work with account-level requests.
@@ -2095,11 +2371,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. This
      * field doesn't work with account-level requests.
@@ -2108,21 +2387,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);
     }
 
@@ -2132,12 +2414,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();
   }
@@ -2146,27 +2428,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;
@@ -2181,6 +2463,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 761123d052e1..b1895f87e69f 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 2023 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the 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
@@ -172,31 +222,40 @@ 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. This
    * field doesn't work with account-level requests.
    * 
* * .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. This
    * field doesn't work with account-level requests.
    * 
* * .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. This
    * field doesn't work with account-level requests.
diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/SKAdNetworkConversionValueSchema.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/SKAdNetworkConversionValueSchema.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/SKAdNetworkConversionValueSchema.java
rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/SKAdNetworkConversionValueSchema.java
index 4f6f5b7ebed7..8bcf96ce2d5e 100644
--- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/SKAdNetworkConversionValueSchema.java
+++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/SKAdNetworkConversionValueSchema.java
@@ -1,52 +1,75 @@
+/*
+ * Copyright 2023 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for 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;
 
 /**
+ *
+ *
  * 
  * SKAdNetwork conversion value schema of an iOS stream.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema} */ -public final class SKAdNetworkConversionValueSchema extends - com.google.protobuf.GeneratedMessageV3 implements +public final class SKAdNetworkConversionValueSchema extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema) SKAdNetworkConversionValueSchemaOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use SKAdNetworkConversionValueSchema.newBuilder() to construct. - private SKAdNetworkConversionValueSchema(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private SKAdNetworkConversionValueSchema( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private SKAdNetworkConversionValueSchema() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new SKAdNetworkConversionValueSchema(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_SKAdNetworkConversionValueSchema_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.ResourcesProto + .internal_static_google_analytics_admin_v1alpha_SKAdNetworkConversionValueSchema_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_SKAdNetworkConversionValueSchema_fieldAccessorTable + return com.google.analytics.admin.v1alpha.ResourcesProto + .internal_static_google_analytics_admin_v1alpha_SKAdNetworkConversionValueSchema_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema.class, com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema.Builder.class); + com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema.class, + com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Output only. Resource name of the schema. This will be child of ONLY an iOS
    * stream, and there can be at most one such child under an iOS stream.
@@ -55,6 +78,7 @@ protected java.lang.Object newInstance(
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ @java.lang.Override @@ -63,14 +87,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 the schema. This will be child of ONLY an iOS
    * stream, and there can be at most one such child under an iOS stream.
@@ -79,16 +104,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 { @@ -99,6 +123,8 @@ public java.lang.String getName() { public static final int POSTBACK_WINDOW_ONE_FIELD_NUMBER = 2; private com.google.analytics.admin.v1alpha.PostbackWindow postbackWindowOne_; /** + * + * *
    * Required. The conversion value settings for the first postback window.
    * These differ from values for postback window two and three in that they
@@ -108,7 +134,10 @@ public java.lang.String getName() {
    * are optional and may inherit this window's settings if unset or disabled.
    * 
* - * .google.analytics.admin.v1alpha.PostbackWindow postback_window_one = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.PostbackWindow postback_window_one = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the postbackWindowOne field is set. */ @java.lang.Override @@ -116,6 +145,8 @@ public boolean hasPostbackWindowOne() { return postbackWindowOne_ != null; } /** + * + * *
    * Required. The conversion value settings for the first postback window.
    * These differ from values for postback window two and three in that they
@@ -125,14 +156,21 @@ public boolean hasPostbackWindowOne() {
    * are optional and may inherit this window's settings if unset or disabled.
    * 
* - * .google.analytics.admin.v1alpha.PostbackWindow postback_window_one = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.PostbackWindow postback_window_one = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The postbackWindowOne. */ @java.lang.Override public com.google.analytics.admin.v1alpha.PostbackWindow getPostbackWindowOne() { - return postbackWindowOne_ == null ? com.google.analytics.admin.v1alpha.PostbackWindow.getDefaultInstance() : postbackWindowOne_; + return postbackWindowOne_ == null + ? com.google.analytics.admin.v1alpha.PostbackWindow.getDefaultInstance() + : postbackWindowOne_; } /** + * + * *
    * Required. The conversion value settings for the first postback window.
    * These differ from values for postback window two and three in that they
@@ -142,16 +180,23 @@ public com.google.analytics.admin.v1alpha.PostbackWindow getPostbackWindowOne()
    * are optional and may inherit this window's settings if unset or disabled.
    * 
* - * .google.analytics.admin.v1alpha.PostbackWindow postback_window_one = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.PostbackWindow postback_window_one = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public com.google.analytics.admin.v1alpha.PostbackWindowOrBuilder getPostbackWindowOneOrBuilder() { - return postbackWindowOne_ == null ? com.google.analytics.admin.v1alpha.PostbackWindow.getDefaultInstance() : postbackWindowOne_; + public com.google.analytics.admin.v1alpha.PostbackWindowOrBuilder + getPostbackWindowOneOrBuilder() { + return postbackWindowOne_ == null + ? com.google.analytics.admin.v1alpha.PostbackWindow.getDefaultInstance() + : postbackWindowOne_; } public static final int POSTBACK_WINDOW_TWO_FIELD_NUMBER = 3; private com.google.analytics.admin.v1alpha.PostbackWindow postbackWindowTwo_; /** + * + * *
    * The conversion value settings for the second postback window.
    *
@@ -163,6 +208,7 @@ public com.google.analytics.admin.v1alpha.PostbackWindowOrBuilder getPostbackWin
    * 
* * .google.analytics.admin.v1alpha.PostbackWindow postback_window_two = 3; + * * @return Whether the postbackWindowTwo field is set. */ @java.lang.Override @@ -170,6 +216,8 @@ public boolean hasPostbackWindowTwo() { return postbackWindowTwo_ != null; } /** + * + * *
    * The conversion value settings for the second postback window.
    *
@@ -181,13 +229,18 @@ public boolean hasPostbackWindowTwo() {
    * 
* * .google.analytics.admin.v1alpha.PostbackWindow postback_window_two = 3; + * * @return The postbackWindowTwo. */ @java.lang.Override public com.google.analytics.admin.v1alpha.PostbackWindow getPostbackWindowTwo() { - return postbackWindowTwo_ == null ? com.google.analytics.admin.v1alpha.PostbackWindow.getDefaultInstance() : postbackWindowTwo_; + return postbackWindowTwo_ == null + ? com.google.analytics.admin.v1alpha.PostbackWindow.getDefaultInstance() + : postbackWindowTwo_; } /** + * + * *
    * The conversion value settings for the second postback window.
    *
@@ -201,13 +254,18 @@ public com.google.analytics.admin.v1alpha.PostbackWindow getPostbackWindowTwo()
    * .google.analytics.admin.v1alpha.PostbackWindow postback_window_two = 3;
    */
   @java.lang.Override
-  public com.google.analytics.admin.v1alpha.PostbackWindowOrBuilder getPostbackWindowTwoOrBuilder() {
-    return postbackWindowTwo_ == null ? com.google.analytics.admin.v1alpha.PostbackWindow.getDefaultInstance() : postbackWindowTwo_;
+  public com.google.analytics.admin.v1alpha.PostbackWindowOrBuilder
+      getPostbackWindowTwoOrBuilder() {
+    return postbackWindowTwo_ == null
+        ? com.google.analytics.admin.v1alpha.PostbackWindow.getDefaultInstance()
+        : postbackWindowTwo_;
   }
 
   public static final int POSTBACK_WINDOW_THREE_FIELD_NUMBER = 4;
   private com.google.analytics.admin.v1alpha.PostbackWindow postbackWindowThree_;
   /**
+   *
+   *
    * 
    * The conversion value settings for the third postback window.
    *
@@ -219,6 +277,7 @@ public com.google.analytics.admin.v1alpha.PostbackWindowOrBuilder getPostbackWin
    * 
* * .google.analytics.admin.v1alpha.PostbackWindow postback_window_three = 4; + * * @return Whether the postbackWindowThree field is set. */ @java.lang.Override @@ -226,6 +285,8 @@ public boolean hasPostbackWindowThree() { return postbackWindowThree_ != null; } /** + * + * *
    * The conversion value settings for the third postback window.
    *
@@ -237,13 +298,18 @@ public boolean hasPostbackWindowThree() {
    * 
* * .google.analytics.admin.v1alpha.PostbackWindow postback_window_three = 4; + * * @return The postbackWindowThree. */ @java.lang.Override public com.google.analytics.admin.v1alpha.PostbackWindow getPostbackWindowThree() { - return postbackWindowThree_ == null ? com.google.analytics.admin.v1alpha.PostbackWindow.getDefaultInstance() : postbackWindowThree_; + return postbackWindowThree_ == null + ? com.google.analytics.admin.v1alpha.PostbackWindow.getDefaultInstance() + : postbackWindowThree_; } /** + * + * *
    * The conversion value settings for the third postback window.
    *
@@ -257,13 +323,18 @@ public com.google.analytics.admin.v1alpha.PostbackWindow getPostbackWindowThree(
    * .google.analytics.admin.v1alpha.PostbackWindow postback_window_three = 4;
    */
   @java.lang.Override
-  public com.google.analytics.admin.v1alpha.PostbackWindowOrBuilder getPostbackWindowThreeOrBuilder() {
-    return postbackWindowThree_ == null ? com.google.analytics.admin.v1alpha.PostbackWindow.getDefaultInstance() : postbackWindowThree_;
+  public com.google.analytics.admin.v1alpha.PostbackWindowOrBuilder
+      getPostbackWindowThreeOrBuilder() {
+    return postbackWindowThree_ == null
+        ? com.google.analytics.admin.v1alpha.PostbackWindow.getDefaultInstance()
+        : postbackWindowThree_;
   }
 
   public static final int APPLY_CONVERSION_VALUES_FIELD_NUMBER = 5;
   private boolean applyConversionValues_ = false;
   /**
+   *
+   *
    * 
    * If enabled, the GA SDK will set conversion values using this schema
    * definition, and schema will be exported to any Google Ads accounts linked
@@ -272,6 +343,7 @@ public com.google.analytics.admin.v1alpha.PostbackWindowOrBuilder getPostbackWin
    * 
* * bool apply_conversion_values = 5; + * * @return The applyConversionValues. */ @java.lang.Override @@ -280,6 +352,7 @@ public boolean getApplyConversionValues() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -291,8 +364,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -321,20 +393,16 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (postbackWindowOne_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getPostbackWindowOne()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getPostbackWindowOne()); } if (postbackWindowTwo_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getPostbackWindowTwo()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getPostbackWindowTwo()); } if (postbackWindowThree_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, getPostbackWindowThree()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getPostbackWindowThree()); } if (applyConversionValues_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(5, applyConversionValues_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(5, applyConversionValues_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -344,32 +412,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.SKAdNetworkConversionValueSchema)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema other = (com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema) obj; + com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema other = + (com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (hasPostbackWindowOne() != other.hasPostbackWindowOne()) return false; if (hasPostbackWindowOne()) { - if (!getPostbackWindowOne() - .equals(other.getPostbackWindowOne())) return false; + if (!getPostbackWindowOne().equals(other.getPostbackWindowOne())) return false; } if (hasPostbackWindowTwo() != other.hasPostbackWindowTwo()) return false; if (hasPostbackWindowTwo()) { - if (!getPostbackWindowTwo() - .equals(other.getPostbackWindowTwo())) return false; + if (!getPostbackWindowTwo().equals(other.getPostbackWindowTwo())) return false; } if (hasPostbackWindowThree() != other.hasPostbackWindowThree()) return false; if (hasPostbackWindowThree()) { - if (!getPostbackWindowThree() - .equals(other.getPostbackWindowThree())) return false; + if (!getPostbackWindowThree().equals(other.getPostbackWindowThree())) return false; } - if (getApplyConversionValues() - != other.getApplyConversionValues()) return false; + if (getApplyConversionValues() != other.getApplyConversionValues()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -396,139 +460,145 @@ public int hashCode() { hash = (53 * hash) + getPostbackWindowThree().hashCode(); } hash = (37 * hash) + APPLY_CONVERSION_VALUES_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getApplyConversionValues()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getApplyConversionValues()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema parseDelimitedFrom( - java.io.InputStream input, - 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.SKAdNetworkConversionValueSchema + parseDelimitedFrom( + java.io.InputStream input, 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.SKAdNetworkConversionValueSchema parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * SKAdNetwork conversion value schema of an iOS stream.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema) com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchemaOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_SKAdNetworkConversionValueSchema_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.ResourcesProto + .internal_static_google_analytics_admin_v1alpha_SKAdNetworkConversionValueSchema_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.ResourcesProto.internal_static_google_analytics_admin_v1alpha_SKAdNetworkConversionValueSchema_fieldAccessorTable + return com.google.analytics.admin.v1alpha.ResourcesProto + .internal_static_google_analytics_admin_v1alpha_SKAdNetworkConversionValueSchema_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema.class, com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema.Builder.class); + com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema.class, + com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema.Builder.class); } - // Construct using com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema.newBuilder() - private Builder() { - - } + // Construct using + // com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema.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(); @@ -554,14 +624,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_SKAdNetworkConversionValueSchema_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1alpha.ResourcesProto + .internal_static_google_analytics_admin_v1alpha_SKAdNetworkConversionValueSchema_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema getDefaultInstanceForType() { - return com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema.getDefaultInstance(); + public com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema + getDefaultInstanceForType() { + return com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema + .getDefaultInstance(); } @java.lang.Override @@ -575,31 +647,38 @@ public com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema build @java.lang.Override public com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema buildPartial() { - com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema result = new com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema result = + new com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema result) { + private void buildPartial0( + com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.name_ = name_; } if (((from_bitField0_ & 0x00000002) != 0)) { - result.postbackWindowOne_ = postbackWindowOneBuilder_ == null - ? postbackWindowOne_ - : postbackWindowOneBuilder_.build(); + result.postbackWindowOne_ = + postbackWindowOneBuilder_ == null + ? postbackWindowOne_ + : postbackWindowOneBuilder_.build(); } if (((from_bitField0_ & 0x00000004) != 0)) { - result.postbackWindowTwo_ = postbackWindowTwoBuilder_ == null - ? postbackWindowTwo_ - : postbackWindowTwoBuilder_.build(); + result.postbackWindowTwo_ = + postbackWindowTwoBuilder_ == null + ? postbackWindowTwo_ + : postbackWindowTwoBuilder_.build(); } if (((from_bitField0_ & 0x00000008) != 0)) { - result.postbackWindowThree_ = postbackWindowThreeBuilder_ == null - ? postbackWindowThree_ - : postbackWindowThreeBuilder_.build(); + result.postbackWindowThree_ = + postbackWindowThreeBuilder_ == null + ? postbackWindowThree_ + : postbackWindowThreeBuilder_.build(); } if (((from_bitField0_ & 0x00000010) != 0)) { result.applyConversionValues_ = applyConversionValues_; @@ -610,46 +689,51 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.SKAdNetworkConvers public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema) { - return mergeFrom((com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema)other); + return mergeFrom( + (com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema other) { - if (other == com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema other) { + if (other + == com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema + .getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -693,43 +777,46 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - input.readMessage( - getPostbackWindowOneFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - input.readMessage( - getPostbackWindowTwoFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: { - input.readMessage( - getPostbackWindowThreeFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000008; - break; - } // case 34 - case 40: { - applyConversionValues_ = 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: + { + input.readMessage( + getPostbackWindowOneFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + input.readMessage( + getPostbackWindowTwoFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: + { + input.readMessage( + getPostbackWindowThreeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 40: + { + applyConversionValues_ = 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) { @@ -739,10 +826,13 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Output only. Resource name of the schema. This will be child of ONLY an iOS
      * stream, and there can be at most one such child under an iOS stream.
@@ -751,13 +841,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; @@ -766,6 +856,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. Resource name of the schema. This will be child of ONLY an iOS
      * stream, and there can be at most one such child under an iOS stream.
@@ -774,15 +866,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 { @@ -790,6 +881,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. Resource name of the schema. This will be child of ONLY an iOS
      * stream, and there can be at most one such child under an iOS stream.
@@ -798,18 +891,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 the schema. This will be child of ONLY an iOS
      * stream, and there can be at most one such child under an iOS stream.
@@ -818,6 +915,7 @@ public Builder setName(
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearName() { @@ -827,6 +925,8 @@ public Builder clearName() { return this; } /** + * + * *
      * Output only. Resource name of the schema. This will be child of ONLY an iOS
      * stream, and there can be at most one such child under an iOS stream.
@@ -835,12 +935,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; @@ -850,8 +952,13 @@ public Builder setNameBytes( private com.google.analytics.admin.v1alpha.PostbackWindow postbackWindowOne_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.PostbackWindow, com.google.analytics.admin.v1alpha.PostbackWindow.Builder, com.google.analytics.admin.v1alpha.PostbackWindowOrBuilder> postbackWindowOneBuilder_; + com.google.analytics.admin.v1alpha.PostbackWindow, + com.google.analytics.admin.v1alpha.PostbackWindow.Builder, + com.google.analytics.admin.v1alpha.PostbackWindowOrBuilder> + postbackWindowOneBuilder_; /** + * + * *
      * Required. The conversion value settings for the first postback window.
      * These differ from values for postback window two and three in that they
@@ -861,13 +968,18 @@ public Builder setNameBytes(
      * are optional and may inherit this window's settings if unset or disabled.
      * 
* - * .google.analytics.admin.v1alpha.PostbackWindow postback_window_one = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.PostbackWindow postback_window_one = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the postbackWindowOne field is set. */ public boolean hasPostbackWindowOne() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * Required. The conversion value settings for the first postback window.
      * These differ from values for postback window two and three in that they
@@ -877,17 +989,24 @@ public boolean hasPostbackWindowOne() {
      * are optional and may inherit this window's settings if unset or disabled.
      * 
* - * .google.analytics.admin.v1alpha.PostbackWindow postback_window_one = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.PostbackWindow postback_window_one = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The postbackWindowOne. */ public com.google.analytics.admin.v1alpha.PostbackWindow getPostbackWindowOne() { if (postbackWindowOneBuilder_ == null) { - return postbackWindowOne_ == null ? com.google.analytics.admin.v1alpha.PostbackWindow.getDefaultInstance() : postbackWindowOne_; + return postbackWindowOne_ == null + ? com.google.analytics.admin.v1alpha.PostbackWindow.getDefaultInstance() + : postbackWindowOne_; } else { return postbackWindowOneBuilder_.getMessage(); } } /** + * + * *
      * Required. The conversion value settings for the first postback window.
      * These differ from values for postback window two and three in that they
@@ -897,7 +1016,9 @@ public com.google.analytics.admin.v1alpha.PostbackWindow getPostbackWindowOne()
      * are optional and may inherit this window's settings if unset or disabled.
      * 
* - * .google.analytics.admin.v1alpha.PostbackWindow postback_window_one = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.PostbackWindow postback_window_one = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setPostbackWindowOne(com.google.analytics.admin.v1alpha.PostbackWindow value) { if (postbackWindowOneBuilder_ == null) { @@ -913,6 +1034,8 @@ public Builder setPostbackWindowOne(com.google.analytics.admin.v1alpha.PostbackW return this; } /** + * + * *
      * Required. The conversion value settings for the first postback window.
      * These differ from values for postback window two and three in that they
@@ -922,7 +1045,9 @@ public Builder setPostbackWindowOne(com.google.analytics.admin.v1alpha.PostbackW
      * are optional and may inherit this window's settings if unset or disabled.
      * 
* - * .google.analytics.admin.v1alpha.PostbackWindow postback_window_one = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.PostbackWindow postback_window_one = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setPostbackWindowOne( com.google.analytics.admin.v1alpha.PostbackWindow.Builder builderForValue) { @@ -936,6 +1061,8 @@ public Builder setPostbackWindowOne( return this; } /** + * + * *
      * Required. The conversion value settings for the first postback window.
      * These differ from values for postback window two and three in that they
@@ -945,13 +1072,16 @@ public Builder setPostbackWindowOne(
      * are optional and may inherit this window's settings if unset or disabled.
      * 
* - * .google.analytics.admin.v1alpha.PostbackWindow postback_window_one = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.PostbackWindow postback_window_one = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergePostbackWindowOne(com.google.analytics.admin.v1alpha.PostbackWindow value) { if (postbackWindowOneBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) && - postbackWindowOne_ != null && - postbackWindowOne_ != com.google.analytics.admin.v1alpha.PostbackWindow.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) + && postbackWindowOne_ != null + && postbackWindowOne_ + != com.google.analytics.admin.v1alpha.PostbackWindow.getDefaultInstance()) { getPostbackWindowOneBuilder().mergeFrom(value); } else { postbackWindowOne_ = value; @@ -964,6 +1094,8 @@ public Builder mergePostbackWindowOne(com.google.analytics.admin.v1alpha.Postbac return this; } /** + * + * *
      * Required. The conversion value settings for the first postback window.
      * These differ from values for postback window two and three in that they
@@ -973,7 +1105,9 @@ public Builder mergePostbackWindowOne(com.google.analytics.admin.v1alpha.Postbac
      * are optional and may inherit this window's settings if unset or disabled.
      * 
* - * .google.analytics.admin.v1alpha.PostbackWindow postback_window_one = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.PostbackWindow postback_window_one = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearPostbackWindowOne() { bitField0_ = (bitField0_ & ~0x00000002); @@ -986,6 +1120,8 @@ public Builder clearPostbackWindowOne() { return this; } /** + * + * *
      * Required. The conversion value settings for the first postback window.
      * These differ from values for postback window two and three in that they
@@ -995,7 +1131,9 @@ public Builder clearPostbackWindowOne() {
      * are optional and may inherit this window's settings if unset or disabled.
      * 
* - * .google.analytics.admin.v1alpha.PostbackWindow postback_window_one = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.PostbackWindow postback_window_one = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.analytics.admin.v1alpha.PostbackWindow.Builder getPostbackWindowOneBuilder() { bitField0_ |= 0x00000002; @@ -1003,6 +1141,8 @@ public com.google.analytics.admin.v1alpha.PostbackWindow.Builder getPostbackWind return getPostbackWindowOneFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The conversion value settings for the first postback window.
      * These differ from values for postback window two and three in that they
@@ -1012,17 +1152,23 @@ public com.google.analytics.admin.v1alpha.PostbackWindow.Builder getPostbackWind
      * are optional and may inherit this window's settings if unset or disabled.
      * 
* - * .google.analytics.admin.v1alpha.PostbackWindow postback_window_one = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.PostbackWindow postback_window_one = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.analytics.admin.v1alpha.PostbackWindowOrBuilder getPostbackWindowOneOrBuilder() { + public com.google.analytics.admin.v1alpha.PostbackWindowOrBuilder + getPostbackWindowOneOrBuilder() { if (postbackWindowOneBuilder_ != null) { return postbackWindowOneBuilder_.getMessageOrBuilder(); } else { - return postbackWindowOne_ == null ? - com.google.analytics.admin.v1alpha.PostbackWindow.getDefaultInstance() : postbackWindowOne_; + return postbackWindowOne_ == null + ? com.google.analytics.admin.v1alpha.PostbackWindow.getDefaultInstance() + : postbackWindowOne_; } } /** + * + * *
      * Required. The conversion value settings for the first postback window.
      * These differ from values for postback window two and three in that they
@@ -1032,17 +1178,22 @@ public com.google.analytics.admin.v1alpha.PostbackWindowOrBuilder getPostbackWin
      * are optional and may inherit this window's settings if unset or disabled.
      * 
* - * .google.analytics.admin.v1alpha.PostbackWindow postback_window_one = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.PostbackWindow postback_window_one = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.PostbackWindow, com.google.analytics.admin.v1alpha.PostbackWindow.Builder, com.google.analytics.admin.v1alpha.PostbackWindowOrBuilder> + com.google.analytics.admin.v1alpha.PostbackWindow, + com.google.analytics.admin.v1alpha.PostbackWindow.Builder, + com.google.analytics.admin.v1alpha.PostbackWindowOrBuilder> getPostbackWindowOneFieldBuilder() { if (postbackWindowOneBuilder_ == null) { - postbackWindowOneBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.PostbackWindow, com.google.analytics.admin.v1alpha.PostbackWindow.Builder, com.google.analytics.admin.v1alpha.PostbackWindowOrBuilder>( - getPostbackWindowOne(), - getParentForChildren(), - isClean()); + postbackWindowOneBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1alpha.PostbackWindow, + com.google.analytics.admin.v1alpha.PostbackWindow.Builder, + com.google.analytics.admin.v1alpha.PostbackWindowOrBuilder>( + getPostbackWindowOne(), getParentForChildren(), isClean()); postbackWindowOne_ = null; } return postbackWindowOneBuilder_; @@ -1050,8 +1201,13 @@ public com.google.analytics.admin.v1alpha.PostbackWindowOrBuilder getPostbackWin private com.google.analytics.admin.v1alpha.PostbackWindow postbackWindowTwo_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.PostbackWindow, com.google.analytics.admin.v1alpha.PostbackWindow.Builder, com.google.analytics.admin.v1alpha.PostbackWindowOrBuilder> postbackWindowTwoBuilder_; + com.google.analytics.admin.v1alpha.PostbackWindow, + com.google.analytics.admin.v1alpha.PostbackWindow.Builder, + com.google.analytics.admin.v1alpha.PostbackWindowOrBuilder> + postbackWindowTwoBuilder_; /** + * + * *
      * The conversion value settings for the second postback window.
      *
@@ -1063,12 +1219,15 @@ public com.google.analytics.admin.v1alpha.PostbackWindowOrBuilder getPostbackWin
      * 
* * .google.analytics.admin.v1alpha.PostbackWindow postback_window_two = 3; + * * @return Whether the postbackWindowTwo field is set. */ public boolean hasPostbackWindowTwo() { return ((bitField0_ & 0x00000004) != 0); } /** + * + * *
      * The conversion value settings for the second postback window.
      *
@@ -1080,16 +1239,21 @@ public boolean hasPostbackWindowTwo() {
      * 
* * .google.analytics.admin.v1alpha.PostbackWindow postback_window_two = 3; + * * @return The postbackWindowTwo. */ public com.google.analytics.admin.v1alpha.PostbackWindow getPostbackWindowTwo() { if (postbackWindowTwoBuilder_ == null) { - return postbackWindowTwo_ == null ? com.google.analytics.admin.v1alpha.PostbackWindow.getDefaultInstance() : postbackWindowTwo_; + return postbackWindowTwo_ == null + ? com.google.analytics.admin.v1alpha.PostbackWindow.getDefaultInstance() + : postbackWindowTwo_; } else { return postbackWindowTwoBuilder_.getMessage(); } } /** + * + * *
      * The conversion value settings for the second postback window.
      *
@@ -1116,6 +1280,8 @@ public Builder setPostbackWindowTwo(com.google.analytics.admin.v1alpha.PostbackW
       return this;
     }
     /**
+     *
+     *
      * 
      * The conversion value settings for the second postback window.
      *
@@ -1140,6 +1306,8 @@ public Builder setPostbackWindowTwo(
       return this;
     }
     /**
+     *
+     *
      * 
      * The conversion value settings for the second postback window.
      *
@@ -1154,9 +1322,10 @@ public Builder setPostbackWindowTwo(
      */
     public Builder mergePostbackWindowTwo(com.google.analytics.admin.v1alpha.PostbackWindow value) {
       if (postbackWindowTwoBuilder_ == null) {
-        if (((bitField0_ & 0x00000004) != 0) &&
-          postbackWindowTwo_ != null &&
-          postbackWindowTwo_ != com.google.analytics.admin.v1alpha.PostbackWindow.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000004) != 0)
+            && postbackWindowTwo_ != null
+            && postbackWindowTwo_
+                != com.google.analytics.admin.v1alpha.PostbackWindow.getDefaultInstance()) {
           getPostbackWindowTwoBuilder().mergeFrom(value);
         } else {
           postbackWindowTwo_ = value;
@@ -1169,6 +1338,8 @@ public Builder mergePostbackWindowTwo(com.google.analytics.admin.v1alpha.Postbac
       return this;
     }
     /**
+     *
+     *
      * 
      * The conversion value settings for the second postback window.
      *
@@ -1192,6 +1363,8 @@ public Builder clearPostbackWindowTwo() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The conversion value settings for the second postback window.
      *
@@ -1210,6 +1383,8 @@ public com.google.analytics.admin.v1alpha.PostbackWindow.Builder getPostbackWind
       return getPostbackWindowTwoFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The conversion value settings for the second postback window.
      *
@@ -1222,15 +1397,19 @@ public com.google.analytics.admin.v1alpha.PostbackWindow.Builder getPostbackWind
      *
      * .google.analytics.admin.v1alpha.PostbackWindow postback_window_two = 3;
      */
-    public com.google.analytics.admin.v1alpha.PostbackWindowOrBuilder getPostbackWindowTwoOrBuilder() {
+    public com.google.analytics.admin.v1alpha.PostbackWindowOrBuilder
+        getPostbackWindowTwoOrBuilder() {
       if (postbackWindowTwoBuilder_ != null) {
         return postbackWindowTwoBuilder_.getMessageOrBuilder();
       } else {
-        return postbackWindowTwo_ == null ?
-            com.google.analytics.admin.v1alpha.PostbackWindow.getDefaultInstance() : postbackWindowTwo_;
+        return postbackWindowTwo_ == null
+            ? com.google.analytics.admin.v1alpha.PostbackWindow.getDefaultInstance()
+            : postbackWindowTwo_;
       }
     }
     /**
+     *
+     *
      * 
      * The conversion value settings for the second postback window.
      *
@@ -1244,14 +1423,17 @@ public com.google.analytics.admin.v1alpha.PostbackWindowOrBuilder getPostbackWin
      * .google.analytics.admin.v1alpha.PostbackWindow postback_window_two = 3;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.analytics.admin.v1alpha.PostbackWindow, com.google.analytics.admin.v1alpha.PostbackWindow.Builder, com.google.analytics.admin.v1alpha.PostbackWindowOrBuilder> 
+            com.google.analytics.admin.v1alpha.PostbackWindow,
+            com.google.analytics.admin.v1alpha.PostbackWindow.Builder,
+            com.google.analytics.admin.v1alpha.PostbackWindowOrBuilder>
         getPostbackWindowTwoFieldBuilder() {
       if (postbackWindowTwoBuilder_ == null) {
-        postbackWindowTwoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.analytics.admin.v1alpha.PostbackWindow, com.google.analytics.admin.v1alpha.PostbackWindow.Builder, com.google.analytics.admin.v1alpha.PostbackWindowOrBuilder>(
-                getPostbackWindowTwo(),
-                getParentForChildren(),
-                isClean());
+        postbackWindowTwoBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.analytics.admin.v1alpha.PostbackWindow,
+                com.google.analytics.admin.v1alpha.PostbackWindow.Builder,
+                com.google.analytics.admin.v1alpha.PostbackWindowOrBuilder>(
+                getPostbackWindowTwo(), getParentForChildren(), isClean());
         postbackWindowTwo_ = null;
       }
       return postbackWindowTwoBuilder_;
@@ -1259,8 +1441,13 @@ public com.google.analytics.admin.v1alpha.PostbackWindowOrBuilder getPostbackWin
 
     private com.google.analytics.admin.v1alpha.PostbackWindow postbackWindowThree_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.analytics.admin.v1alpha.PostbackWindow, com.google.analytics.admin.v1alpha.PostbackWindow.Builder, com.google.analytics.admin.v1alpha.PostbackWindowOrBuilder> postbackWindowThreeBuilder_;
+            com.google.analytics.admin.v1alpha.PostbackWindow,
+            com.google.analytics.admin.v1alpha.PostbackWindow.Builder,
+            com.google.analytics.admin.v1alpha.PostbackWindowOrBuilder>
+        postbackWindowThreeBuilder_;
     /**
+     *
+     *
      * 
      * The conversion value settings for the third postback window.
      *
@@ -1272,12 +1459,15 @@ public com.google.analytics.admin.v1alpha.PostbackWindowOrBuilder getPostbackWin
      * 
* * .google.analytics.admin.v1alpha.PostbackWindow postback_window_three = 4; + * * @return Whether the postbackWindowThree field is set. */ public boolean hasPostbackWindowThree() { return ((bitField0_ & 0x00000008) != 0); } /** + * + * *
      * The conversion value settings for the third postback window.
      *
@@ -1289,16 +1479,21 @@ public boolean hasPostbackWindowThree() {
      * 
* * .google.analytics.admin.v1alpha.PostbackWindow postback_window_three = 4; + * * @return The postbackWindowThree. */ public com.google.analytics.admin.v1alpha.PostbackWindow getPostbackWindowThree() { if (postbackWindowThreeBuilder_ == null) { - return postbackWindowThree_ == null ? com.google.analytics.admin.v1alpha.PostbackWindow.getDefaultInstance() : postbackWindowThree_; + return postbackWindowThree_ == null + ? com.google.analytics.admin.v1alpha.PostbackWindow.getDefaultInstance() + : postbackWindowThree_; } else { return postbackWindowThreeBuilder_.getMessage(); } } /** + * + * *
      * The conversion value settings for the third postback window.
      *
@@ -1325,6 +1520,8 @@ public Builder setPostbackWindowThree(com.google.analytics.admin.v1alpha.Postbac
       return this;
     }
     /**
+     *
+     *
      * 
      * The conversion value settings for the third postback window.
      *
@@ -1349,6 +1546,8 @@ public Builder setPostbackWindowThree(
       return this;
     }
     /**
+     *
+     *
      * 
      * The conversion value settings for the third postback window.
      *
@@ -1361,11 +1560,13 @@ public Builder setPostbackWindowThree(
      *
      * .google.analytics.admin.v1alpha.PostbackWindow postback_window_three = 4;
      */
-    public Builder mergePostbackWindowThree(com.google.analytics.admin.v1alpha.PostbackWindow value) {
+    public Builder mergePostbackWindowThree(
+        com.google.analytics.admin.v1alpha.PostbackWindow value) {
       if (postbackWindowThreeBuilder_ == null) {
-        if (((bitField0_ & 0x00000008) != 0) &&
-          postbackWindowThree_ != null &&
-          postbackWindowThree_ != com.google.analytics.admin.v1alpha.PostbackWindow.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000008) != 0)
+            && postbackWindowThree_ != null
+            && postbackWindowThree_
+                != com.google.analytics.admin.v1alpha.PostbackWindow.getDefaultInstance()) {
           getPostbackWindowThreeBuilder().mergeFrom(value);
         } else {
           postbackWindowThree_ = value;
@@ -1378,6 +1579,8 @@ public Builder mergePostbackWindowThree(com.google.analytics.admin.v1alpha.Postb
       return this;
     }
     /**
+     *
+     *
      * 
      * The conversion value settings for the third postback window.
      *
@@ -1401,6 +1604,8 @@ public Builder clearPostbackWindowThree() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The conversion value settings for the third postback window.
      *
@@ -1413,12 +1618,15 @@ public Builder clearPostbackWindowThree() {
      *
      * .google.analytics.admin.v1alpha.PostbackWindow postback_window_three = 4;
      */
-    public com.google.analytics.admin.v1alpha.PostbackWindow.Builder getPostbackWindowThreeBuilder() {
+    public com.google.analytics.admin.v1alpha.PostbackWindow.Builder
+        getPostbackWindowThreeBuilder() {
       bitField0_ |= 0x00000008;
       onChanged();
       return getPostbackWindowThreeFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The conversion value settings for the third postback window.
      *
@@ -1431,15 +1639,19 @@ public com.google.analytics.admin.v1alpha.PostbackWindow.Builder getPostbackWind
      *
      * .google.analytics.admin.v1alpha.PostbackWindow postback_window_three = 4;
      */
-    public com.google.analytics.admin.v1alpha.PostbackWindowOrBuilder getPostbackWindowThreeOrBuilder() {
+    public com.google.analytics.admin.v1alpha.PostbackWindowOrBuilder
+        getPostbackWindowThreeOrBuilder() {
       if (postbackWindowThreeBuilder_ != null) {
         return postbackWindowThreeBuilder_.getMessageOrBuilder();
       } else {
-        return postbackWindowThree_ == null ?
-            com.google.analytics.admin.v1alpha.PostbackWindow.getDefaultInstance() : postbackWindowThree_;
+        return postbackWindowThree_ == null
+            ? com.google.analytics.admin.v1alpha.PostbackWindow.getDefaultInstance()
+            : postbackWindowThree_;
       }
     }
     /**
+     *
+     *
      * 
      * The conversion value settings for the third postback window.
      *
@@ -1453,21 +1665,26 @@ public com.google.analytics.admin.v1alpha.PostbackWindowOrBuilder getPostbackWin
      * .google.analytics.admin.v1alpha.PostbackWindow postback_window_three = 4;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.analytics.admin.v1alpha.PostbackWindow, com.google.analytics.admin.v1alpha.PostbackWindow.Builder, com.google.analytics.admin.v1alpha.PostbackWindowOrBuilder> 
+            com.google.analytics.admin.v1alpha.PostbackWindow,
+            com.google.analytics.admin.v1alpha.PostbackWindow.Builder,
+            com.google.analytics.admin.v1alpha.PostbackWindowOrBuilder>
         getPostbackWindowThreeFieldBuilder() {
       if (postbackWindowThreeBuilder_ == null) {
-        postbackWindowThreeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.analytics.admin.v1alpha.PostbackWindow, com.google.analytics.admin.v1alpha.PostbackWindow.Builder, com.google.analytics.admin.v1alpha.PostbackWindowOrBuilder>(
-                getPostbackWindowThree(),
-                getParentForChildren(),
-                isClean());
+        postbackWindowThreeBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.analytics.admin.v1alpha.PostbackWindow,
+                com.google.analytics.admin.v1alpha.PostbackWindow.Builder,
+                com.google.analytics.admin.v1alpha.PostbackWindowOrBuilder>(
+                getPostbackWindowThree(), getParentForChildren(), isClean());
         postbackWindowThree_ = null;
       }
       return postbackWindowThreeBuilder_;
     }
 
-    private boolean applyConversionValues_ ;
+    private boolean applyConversionValues_;
     /**
+     *
+     *
      * 
      * If enabled, the GA SDK will set conversion values using this schema
      * definition, and schema will be exported to any Google Ads accounts linked
@@ -1476,6 +1693,7 @@ public com.google.analytics.admin.v1alpha.PostbackWindowOrBuilder getPostbackWin
      * 
* * bool apply_conversion_values = 5; + * * @return The applyConversionValues. */ @java.lang.Override @@ -1483,6 +1701,8 @@ public boolean getApplyConversionValues() { return applyConversionValues_; } /** + * + * *
      * If enabled, the GA SDK will set conversion values using this schema
      * definition, and schema will be exported to any Google Ads accounts linked
@@ -1491,6 +1711,7 @@ public boolean getApplyConversionValues() {
      * 
* * bool apply_conversion_values = 5; + * * @param value The applyConversionValues to set. * @return This builder for chaining. */ @@ -1502,6 +1723,8 @@ public Builder setApplyConversionValues(boolean value) { return this; } /** + * + * *
      * If enabled, the GA SDK will set conversion values using this schema
      * definition, and schema will be exported to any Google Ads accounts linked
@@ -1510,6 +1733,7 @@ public Builder setApplyConversionValues(boolean value) {
      * 
* * bool apply_conversion_values = 5; + * * @return This builder for chaining. */ public Builder clearApplyConversionValues() { @@ -1518,9 +1742,9 @@ public Builder clearApplyConversionValues() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1530,41 +1754,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema) - private static final com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema DEFAULT_INSTANCE; + private static final com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema(); } - public static com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema getDefaultInstance() { + public static com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SKAdNetworkConversionValueSchema parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SKAdNetworkConversionValueSchema parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1576,9 +1802,8 @@ public com.google.protobuf.Parser getParserFor } @java.lang.Override - public com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema + 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/SKAdNetworkConversionValueSchemaName.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/SKAdNetworkConversionValueSchemaName.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/SKAdNetworkConversionValueSchemaName.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/SKAdNetworkConversionValueSchemaName.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/SKAdNetworkConversionValueSchemaOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/SKAdNetworkConversionValueSchemaOrBuilder.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/SKAdNetworkConversionValueSchemaOrBuilder.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/SKAdNetworkConversionValueSchemaOrBuilder.java index ec7bb7c7fefc..a24729e60bd0 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/SKAdNetworkConversionValueSchemaOrBuilder.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/SKAdNetworkConversionValueSchemaOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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 SKAdNetworkConversionValueSchemaOrBuilder extends +public interface SKAdNetworkConversionValueSchemaOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Output only. Resource name of the schema. This will be child of ONLY an iOS
    * stream, and there can be at most one such child under an iOS stream.
@@ -16,10 +34,13 @@ public interface SKAdNetworkConversionValueSchemaOrBuilder extends
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Output only. Resource name of the schema. This will be child of ONLY an iOS
    * stream, and there can be at most one such child under an iOS stream.
@@ -28,12 +49,14 @@ public interface SKAdNetworkConversionValueSchemaOrBuilder 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 conversion value settings for the first postback window.
    * These differ from values for postback window two and three in that they
@@ -43,11 +66,16 @@ public interface SKAdNetworkConversionValueSchemaOrBuilder extends
    * are optional and may inherit this window's settings if unset or disabled.
    * 
* - * .google.analytics.admin.v1alpha.PostbackWindow postback_window_one = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.PostbackWindow postback_window_one = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the postbackWindowOne field is set. */ boolean hasPostbackWindowOne(); /** + * + * *
    * Required. The conversion value settings for the first postback window.
    * These differ from values for postback window two and three in that they
@@ -57,11 +85,16 @@ public interface SKAdNetworkConversionValueSchemaOrBuilder extends
    * are optional and may inherit this window's settings if unset or disabled.
    * 
* - * .google.analytics.admin.v1alpha.PostbackWindow postback_window_one = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.PostbackWindow postback_window_one = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The postbackWindowOne. */ com.google.analytics.admin.v1alpha.PostbackWindow getPostbackWindowOne(); /** + * + * *
    * Required. The conversion value settings for the first postback window.
    * These differ from values for postback window two and three in that they
@@ -71,11 +104,15 @@ public interface SKAdNetworkConversionValueSchemaOrBuilder extends
    * are optional and may inherit this window's settings if unset or disabled.
    * 
* - * .google.analytics.admin.v1alpha.PostbackWindow postback_window_one = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.PostbackWindow postback_window_one = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.analytics.admin.v1alpha.PostbackWindowOrBuilder getPostbackWindowOneOrBuilder(); /** + * + * *
    * The conversion value settings for the second postback window.
    *
@@ -87,10 +124,13 @@ public interface SKAdNetworkConversionValueSchemaOrBuilder extends
    * 
* * .google.analytics.admin.v1alpha.PostbackWindow postback_window_two = 3; + * * @return Whether the postbackWindowTwo field is set. */ boolean hasPostbackWindowTwo(); /** + * + * *
    * The conversion value settings for the second postback window.
    *
@@ -102,10 +142,13 @@ public interface SKAdNetworkConversionValueSchemaOrBuilder extends
    * 
* * .google.analytics.admin.v1alpha.PostbackWindow postback_window_two = 3; + * * @return The postbackWindowTwo. */ com.google.analytics.admin.v1alpha.PostbackWindow getPostbackWindowTwo(); /** + * + * *
    * The conversion value settings for the second postback window.
    *
@@ -121,6 +164,8 @@ public interface SKAdNetworkConversionValueSchemaOrBuilder extends
   com.google.analytics.admin.v1alpha.PostbackWindowOrBuilder getPostbackWindowTwoOrBuilder();
 
   /**
+   *
+   *
    * 
    * The conversion value settings for the third postback window.
    *
@@ -132,10 +177,13 @@ public interface SKAdNetworkConversionValueSchemaOrBuilder extends
    * 
* * .google.analytics.admin.v1alpha.PostbackWindow postback_window_three = 4; + * * @return Whether the postbackWindowThree field is set. */ boolean hasPostbackWindowThree(); /** + * + * *
    * The conversion value settings for the third postback window.
    *
@@ -147,10 +195,13 @@ public interface SKAdNetworkConversionValueSchemaOrBuilder extends
    * 
* * .google.analytics.admin.v1alpha.PostbackWindow postback_window_three = 4; + * * @return The postbackWindowThree. */ com.google.analytics.admin.v1alpha.PostbackWindow getPostbackWindowThree(); /** + * + * *
    * The conversion value settings for the third postback window.
    *
@@ -166,6 +217,8 @@ public interface SKAdNetworkConversionValueSchemaOrBuilder extends
   com.google.analytics.admin.v1alpha.PostbackWindowOrBuilder getPostbackWindowThreeOrBuilder();
 
   /**
+   *
+   *
    * 
    * If enabled, the GA SDK will set conversion values using this schema
    * definition, and schema will be exported to any Google Ads accounts linked
@@ -174,6 +227,7 @@ public interface SKAdNetworkConversionValueSchemaOrBuilder extends
    * 
* * bool apply_conversion_values = 5; + * * @return The applyConversionValues. */ boolean getApplyConversionValues(); 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 a8124d783f51..fb4ea2b39ece 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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,28 +45,32 @@ private SearchAds360Link() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new SearchAds360Link(); } - 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}
@@ -57,6 +79,7 @@ protected java.lang.Object newInstance(
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ @java.lang.Override @@ -65,14 +88,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}
@@ -81,16 +105,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 { @@ -99,15 +122,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 @@ -116,30 +143,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 { @@ -150,6 +177,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
@@ -157,7 +186,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 @@ -165,6 +197,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
@@ -172,14 +206,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
@@ -187,16 +228,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
@@ -205,7 +252,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 @@ -213,6 +263,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
@@ -221,14 +273,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
@@ -237,23 +296,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 @@ -262,30 +329,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 { @@ -296,12 +363,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 @@ -309,19 +379,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.
@@ -331,18 +408,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 @@ -350,19 +432,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.
@@ -372,10 +461,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;
@@ -387,8 +479,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.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_);
     }
@@ -426,23 +517,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;
@@ -452,38 +545,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;
@@ -524,131 +613,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(); @@ -680,9 +773,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 @@ -701,8 +794,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; } @@ -716,27 +812,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(); } } @@ -744,38 +844,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; @@ -783,7 +884,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; @@ -837,55 +939,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) { @@ -895,10 +1001,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 +1016,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 +1031,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. The resource name for this SearchAds360Link resource.
      * Format: properties/{propertyId}/searchAds360Links/{linkId}
@@ -930,15 +1041,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 { @@ -946,6 +1056,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. The resource name for this SearchAds360Link resource.
      * Format: properties/{propertyId}/searchAds360Links/{linkId}
@@ -954,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}
@@ -974,6 +1090,7 @@ public Builder setName(
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearName() { @@ -983,6 +1100,8 @@ public Builder clearName() { return this; } /** + * + * *
      * Output only. The resource name for this SearchAds360Link resource.
      * Format: properties/{propertyId}/searchAds360Links/{linkId}
@@ -991,12 +1110,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; @@ -1006,19 +1127,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; @@ -1027,21 +1150,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 { @@ -1049,30 +1173,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() { @@ -1082,18 +1213,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; @@ -1103,8 +1238,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
@@ -1112,13 +1252,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
@@ -1126,17 +1271,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
@@ -1144,7 +1296,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) { @@ -1160,6 +1314,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
@@ -1167,7 +1323,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) { @@ -1181,6 +1339,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
@@ -1188,13 +1348,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; @@ -1207,6 +1369,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
@@ -1214,7 +1378,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); @@ -1227,6 +1393,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
@@ -1234,7 +1402,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; @@ -1242,6 +1412,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
@@ -1249,17 +1421,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
@@ -1267,17 +1444,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_; @@ -1285,8 +1467,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
@@ -1295,13 +1482,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
@@ -1310,17 +1502,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
@@ -1329,7 +1528,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) { @@ -1345,6 +1546,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
@@ -1353,7 +1556,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) { @@ -1367,6 +1572,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
@@ -1375,13 +1582,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; @@ -1394,6 +1603,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
@@ -1402,7 +1613,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); @@ -1415,6 +1628,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
@@ -1423,7 +1638,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; @@ -1431,6 +1648,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
@@ -1439,17 +1658,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
@@ -1458,17 +1682,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_; @@ -1476,19 +1705,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; @@ -1497,21 +1728,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 { @@ -1519,30 +1751,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() { @@ -1552,18 +1791,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; @@ -1573,36 +1816,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.
@@ -1624,6 +1880,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.
@@ -1643,6 +1901,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.
@@ -1652,9 +1912,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;
@@ -1667,6 +1927,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.
@@ -1685,6 +1947,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.
@@ -1698,6 +1962,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.
@@ -1709,11 +1975,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.
@@ -1722,14 +1991,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_;
@@ -1737,36 +2009,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.
@@ -1788,6 +2073,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.
@@ -1807,6 +2094,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.
@@ -1816,9 +2105,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;
@@ -1831,6 +2120,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.
@@ -1849,6 +2140,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.
@@ -1862,6 +2155,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.
@@ -1873,11 +2168,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.
@@ -1886,21 +2184,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);
     }
 
@@ -1910,12 +2211,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();
   }
@@ -1924,27 +2225,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;
@@ -1959,6 +2260,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 4f707d8156ef..46853ce639ba 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 2023 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for 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}
@@ -16,10 +34,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}
@@ -28,34 +49,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
@@ -63,11 +91,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
@@ -75,11 +108,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
@@ -87,11 +125,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
@@ -100,11 +142,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
@@ -113,11 +160,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
@@ -126,53 +178,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.
@@ -183,26 +250,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 a90875daa8e3..d1261da16bf0 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,64 +1,89 @@
+/*
+ * Copyright 2023 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the 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_ = ""; resourceType_ = java.util.Collections.emptyList(); action_ = java.util.Collections.emptyList(); - actorEmail_ = - com.google.protobuf.LazyStringArrayList.emptyList(); + actorEmail_ = com.google.protobuf.LazyStringArrayList.emptyList(); pageToken_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new SearchChangeHistoryEventsRequest(); } - 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 @@ -67,30 +92,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 { @@ -99,15 +126,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 @@ -116,30 +149,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 { @@ -148,38 +183,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 @@ -187,12 +241,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. */ @@ -201,26 +260,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. */ @@ -228,41 +296,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 @@ -270,12 +356,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. */ @@ -284,26 +375,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. */ @@ -311,44 +411,54 @@ 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.LazyStringArrayList actorEmail_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** + * + * *
    * 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. */ @@ -356,28 +466,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 @@ -385,37 +502,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 @@ -423,32 +558,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
@@ -457,6 +607,7 @@ public com.google.protobuf.TimestampOrBuilder getLatestChangeTimeOrBuilder() {
    * 
* * int32 page_size = 8 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ @java.lang.Override @@ -465,9 +616,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
@@ -477,6 +631,7 @@ public int getPageSize() {
    * 
* * string page_token = 9 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageToken. */ @java.lang.Override @@ -485,14 +640,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
@@ -502,16 +658,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 { @@ -520,6 +675,7 @@ public java.lang.String getPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -531,8 +687,7 @@ public final boolean isInitialized() { } @java.lang.Override - 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_); @@ -587,26 +742,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; @@ -617,16 +773,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_); @@ -639,35 +792,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; } @@ -713,131 +860,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(); @@ -848,8 +1002,7 @@ public Builder clear() { bitField0_ = (bitField0_ & ~0x00000004); action_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000008); - actorEmail_ = - com.google.protobuf.LazyStringArrayList.emptyList(); + actorEmail_ = com.google.protobuf.LazyStringArrayList.emptyList(); earliestChangeTime_ = null; if (earliestChangeTimeBuilder_ != null) { earliestChangeTimeBuilder_.dispose(); @@ -866,14 +1019,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 @@ -887,14 +1042,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); @@ -907,7 +1066,8 @@ private void buildPartialRepeatedFields(com.google.analytics.admin.v1alpha.Searc result.action_ = action_; } - 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_; @@ -920,14 +1080,14 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.SearchChangeHistor result.actorEmail_ = actorEmail_; } 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_; @@ -941,46 +1101,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; @@ -1061,86 +1226,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) { @@ -1150,23 +1325,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; @@ -1175,21 +1355,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 { @@ -1197,30 +1380,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() { @@ -1230,18 +1424,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; @@ -1251,19 +1451,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; @@ -1272,21 +1476,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 { @@ -1294,30 +1501,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() { @@ -1327,18 +1545,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; @@ -1346,8 +1570,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_); @@ -1355,37 +1579,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. */ @@ -1393,12 +1634,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. @@ -1414,16 +1660,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(); } @@ -1433,17 +1685,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()); @@ -1452,12 +1710,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() { @@ -1467,25 +1730,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. */ @@ -1493,30 +1765,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. */ @@ -1527,17 +1808,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); @@ -1546,8 +1831,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_); @@ -1555,37 +1840,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. */ @@ -1593,18 +1894,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(); } @@ -1614,12 +1919,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. */ @@ -1633,12 +1943,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. */ @@ -1652,12 +1967,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() { @@ -1667,25 +1987,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. */ @@ -1693,30 +2022,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. */ @@ -1727,17 +2065,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,6 +2090,7 @@ public Builder addAllActionValue( private com.google.protobuf.LazyStringArrayList actorEmail_ = com.google.protobuf.LazyStringArrayList.emptyList(); + private void ensureActorEmailIsMutable() { if (!actorEmail_.isModifiable()) { actorEmail_ = new com.google.protobuf.LazyStringArrayList(actorEmail_); @@ -1755,38 +2098,46 @@ private void ensureActorEmailIsMutable() { 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() { actorEmail_.makeImmutable(); 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. */ @@ -1794,33 +2145,39 @@ 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); bitField0_ |= 0x00000010; @@ -1828,18 +2185,22 @@ public Builder setActorEmail( 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); bitField0_ |= 0x00000010; @@ -1847,53 +2208,61 @@ public Builder addActorEmail( 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_); bitField0_ |= 0x00000010; 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() { - actorEmail_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000010);; + actorEmail_ = com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000010); + ; 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 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); @@ -1904,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) { @@ -1952,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 { @@ -1970,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; @@ -1993,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); @@ -2010,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; @@ -2022,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_; @@ -2059,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) { @@ -2107,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 { @@ -2125,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; @@ -2148,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); @@ -2165,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; @@ -2177,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
@@ -2222,6 +2685,7 @@ public com.google.protobuf.TimestampOrBuilder getLatestChangeTimeOrBuilder() {
      * 
* * int32 page_size = 8 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ @java.lang.Override @@ -2229,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
@@ -2237,6 +2703,7 @@ public int getPageSize() {
      * 
* * int32 page_size = 8 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The pageSize to set. * @return This builder for chaining. */ @@ -2248,6 +2715,8 @@ public Builder setPageSize(int value) { return this; } /** + * + * *
      * Optional. The maximum number of ChangeHistoryEvent items to return.
      * The service may return fewer than this value, even if there are additional
@@ -2256,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() { @@ -2267,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
@@ -2276,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; @@ -2291,6 +2763,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * Optional. A page token, received from a previous
      * `SearchChangeHistoryEvents` call. Provide this to retrieve the subsequent
@@ -2300,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 { @@ -2316,6 +2789,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * Optional. A page token, received from a previous
      * `SearchChangeHistoryEvents` call. Provide this to retrieve the subsequent
@@ -2325,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
@@ -2346,6 +2825,7 @@ public Builder setPageToken(
      * 
* * string page_token = 9 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -2355,6 +2835,8 @@ public Builder clearPageToken() { return this; } /** + * + * *
      * Optional. A page token, received from a previous
      * `SearchChangeHistoryEvents` call. Provide this to retrieve the subsequent
@@ -2364,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); } @@ -2388,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; @@ -2434,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..885131e496c2 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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 67% 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 9418222503ff..62d56d1d7506 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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,95 +45,118 @@ private SearchChangeHistoryEventsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new SearchChangeHistoryEventsResponse(); } - 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 @@ -123,30 +165,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 { @@ -155,6 +197,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -166,8 +209,7 @@ public final boolean isInitialized() { } @java.lang.Override - 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)); } @@ -184,8 +226,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_); @@ -198,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.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; } @@ -232,131 +273,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(); @@ -373,14 +421,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 @@ -394,14 +444,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_); @@ -413,7 +467,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_; @@ -424,46 +479,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()) { @@ -482,9 +542,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_); } @@ -521,30 +582,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) { @@ -554,28 +618,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 { @@ -583,11 +658,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) { @@ -597,11 +675,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) { @@ -611,11 +692,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) { @@ -632,11 +716,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) { @@ -650,13 +737,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(); @@ -670,11 +761,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) { @@ -691,11 +785,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) { @@ -709,11 +806,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) { @@ -727,18 +827,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); @@ -746,11 +849,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) { @@ -763,11 +869,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) { @@ -780,39 +889,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 { @@ -820,45 +939,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(), @@ -870,19 +1006,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; @@ -891,21 +1029,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 { @@ -913,30 +1052,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() { @@ -946,27 +1092,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); } @@ -976,41 +1126,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; @@ -1022,9 +1174,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..ad5ac9777b6f 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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..dbde7218caf2 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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 e9453273cd0c..db564151ee86 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,52 +1,77 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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(); } - 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.
@@ -55,6 +80,7 @@ protected java.lang.Object newInstance(
    * 
* * string property = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The property. */ @java.lang.Override @@ -63,14 +89,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.
@@ -79,16 +106,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 { @@ -99,11 +125,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 @@ -112,6 +141,7 @@ public boolean getOptOut() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -123,8 +153,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -144,8 +173,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; @@ -155,17 +183,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; } @@ -180,139 +208,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) 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 + 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) 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 + parseDelimitedFrom( + java.io.InputStream input, 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) 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( + 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(); @@ -323,19 +363,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); } @@ -343,14 +386,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_; @@ -364,46 +412,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; @@ -438,22 +492,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) { @@ -463,10 +520,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.
@@ -475,13 +535,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; @@ -490,6 +550,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.
@@ -498,15 +560,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 { @@ -514,6 +575,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.
@@ -522,18 +585,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.
@@ -542,6 +609,7 @@ public Builder setProperty(
      * 
* * string property = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearProperty() { @@ -551,6 +619,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.
@@ -559,12 +629,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; @@ -572,13 +644,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 @@ -586,11 +661,14 @@ public boolean getOptOut() { return optOut_; } /** + * + * *
      * The status to set.
      * 
* * bool opt_out = 2; + * * @param value The optOut to set. * @return This builder for chaining. */ @@ -602,11 +680,14 @@ public Builder setOptOut(boolean value) { return this; } /** + * + * *
      * The status to set.
      * 
* * bool opt_out = 2; + * * @return This builder for chaining. */ public Builder clearOptOut() { @@ -615,9 +696,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); } @@ -627,41 +708,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; @@ -673,9 +759,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..2491b8661456 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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..de7cfad6764d --- /dev/null +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/SetAutomatedGa4ConfigurationOptOutResponse.java @@ -0,0 +1,461 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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(); + } + + 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..c63979df62f8 --- /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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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/SubpropertyEventFilter.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/SubpropertyEventFilter.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/SubpropertyEventFilter.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/SubpropertyEventFilter.java index ec02cbb08801..8e7896e963f6 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/SubpropertyEventFilter.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/SubpropertyEventFilter.java @@ -1,24 +1,42 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/subproperty_event_filter.proto package com.google.analytics.admin.v1alpha; /** + * + * *
  * A resource message representing a GA4 Subproperty event filter.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.SubpropertyEventFilter} */ -public final class SubpropertyEventFilter extends - com.google.protobuf.GeneratedMessageV3 implements +public final class SubpropertyEventFilter extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.SubpropertyEventFilter) SubpropertyEventFilterOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use SubpropertyEventFilter.newBuilder() to construct. private SubpropertyEventFilter(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private SubpropertyEventFilter() { name_ = ""; applyToProperty_ = ""; @@ -27,29 +45,33 @@ private SubpropertyEventFilter() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new SubpropertyEventFilter(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.SubpropertyEventFilterProto.internal_static_google_analytics_admin_v1alpha_SubpropertyEventFilter_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.SubpropertyEventFilterProto + .internal_static_google_analytics_admin_v1alpha_SubpropertyEventFilter_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.SubpropertyEventFilterProto.internal_static_google_analytics_admin_v1alpha_SubpropertyEventFilter_fieldAccessorTable + return com.google.analytics.admin.v1alpha.SubpropertyEventFilterProto + .internal_static_google_analytics_admin_v1alpha_SubpropertyEventFilter_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.SubpropertyEventFilter.class, com.google.analytics.admin.v1alpha.SubpropertyEventFilter.Builder.class); + com.google.analytics.admin.v1alpha.SubpropertyEventFilter.class, + com.google.analytics.admin.v1alpha.SubpropertyEventFilter.Builder.class); } private int bitField0_; public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Output only. Format:
    * properties/{ordinary_property_id}/subpropertyEventFilters/{sub_property_event_filter}
@@ -57,6 +79,7 @@ protected java.lang.Object newInstance(
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ @java.lang.Override @@ -65,14 +88,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/{ordinary_property_id}/subpropertyEventFilters/{sub_property_event_filter}
@@ -80,16 +104,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 { @@ -98,14 +121,18 @@ public java.lang.String getName() { } public static final int APPLY_TO_PROPERTY_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object applyToProperty_ = ""; /** + * + * *
    * Immutable. Resource name of the Subproperty that uses this filter.
    * 
* * optional string apply_to_property = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return Whether the applyToProperty field is set. */ @java.lang.Override @@ -113,11 +140,14 @@ public boolean hasApplyToProperty() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
    * Immutable. Resource name of the Subproperty that uses this filter.
    * 
* * optional string apply_to_property = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return The applyToProperty. */ @java.lang.Override @@ -126,29 +156,29 @@ public java.lang.String getApplyToProperty() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); applyToProperty_ = s; return s; } } /** + * + * *
    * Immutable. Resource name of the Subproperty that uses this filter.
    * 
* * optional string apply_to_property = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return The bytes for applyToProperty. */ @java.lang.Override - public com.google.protobuf.ByteString - getApplyToPropertyBytes() { + public com.google.protobuf.ByteString getApplyToPropertyBytes() { java.lang.Object ref = applyToProperty_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); applyToProperty_ = b; return b; } else { @@ -157,77 +187,103 @@ public java.lang.String getApplyToProperty() { } public static final int FILTER_CLAUSES_FIELD_NUMBER = 3; + @SuppressWarnings("serial") - private java.util.List filterClauses_; + private java.util.List + filterClauses_; /** + * + * *
    * Required. Unordered list. Filter clauses that define the
    * SubpropertyEventFilter. All clauses are AND'ed together to determine what
    * data is sent to the subproperty.
    * 
* - * repeated .google.analytics.admin.v1alpha.SubpropertyEventFilterClause filter_clauses = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST]; + * + * repeated .google.analytics.admin.v1alpha.SubpropertyEventFilterClause filter_clauses = 3 [(.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. Unordered list. Filter clauses that define the
    * SubpropertyEventFilter. All clauses are AND'ed together to determine what
    * data is sent to the subproperty.
    * 
* - * repeated .google.analytics.admin.v1alpha.SubpropertyEventFilterClause filter_clauses = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST]; + * + * repeated .google.analytics.admin.v1alpha.SubpropertyEventFilterClause filter_clauses = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST]; + * */ @java.lang.Override - public java.util.List + public java.util.List< + ? extends com.google.analytics.admin.v1alpha.SubpropertyEventFilterClauseOrBuilder> getFilterClausesOrBuilderList() { return filterClauses_; } /** + * + * *
    * Required. Unordered list. Filter clauses that define the
    * SubpropertyEventFilter. All clauses are AND'ed together to determine what
    * data is sent to the subproperty.
    * 
* - * repeated .google.analytics.admin.v1alpha.SubpropertyEventFilterClause filter_clauses = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST]; + * + * repeated .google.analytics.admin.v1alpha.SubpropertyEventFilterClause filter_clauses = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST]; + * */ @java.lang.Override public int getFilterClausesCount() { return filterClauses_.size(); } /** + * + * *
    * Required. Unordered list. Filter clauses that define the
    * SubpropertyEventFilter. All clauses are AND'ed together to determine what
    * data is sent to the subproperty.
    * 
* - * repeated .google.analytics.admin.v1alpha.SubpropertyEventFilterClause filter_clauses = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST]; + * + * repeated .google.analytics.admin.v1alpha.SubpropertyEventFilterClause filter_clauses = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST]; + * */ @java.lang.Override - public com.google.analytics.admin.v1alpha.SubpropertyEventFilterClause getFilterClauses(int index) { + public com.google.analytics.admin.v1alpha.SubpropertyEventFilterClause getFilterClauses( + int index) { return filterClauses_.get(index); } /** + * + * *
    * Required. Unordered list. Filter clauses that define the
    * SubpropertyEventFilter. All clauses are AND'ed together to determine what
    * data is sent to the subproperty.
    * 
* - * repeated .google.analytics.admin.v1alpha.SubpropertyEventFilterClause filter_clauses = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST]; + * + * repeated .google.analytics.admin.v1alpha.SubpropertyEventFilterClause filter_clauses = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST]; + * */ @java.lang.Override - public com.google.analytics.admin.v1alpha.SubpropertyEventFilterClauseOrBuilder getFilterClausesOrBuilder( - int index) { + public com.google.analytics.admin.v1alpha.SubpropertyEventFilterClauseOrBuilder + getFilterClausesOrBuilder(int index) { return filterClauses_.get(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -239,8 +295,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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,8 +321,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, applyToProperty_); } for (int i = 0; i < filterClauses_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, filterClauses_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, filterClauses_.get(i)); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -277,22 +331,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.SubpropertyEventFilter)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.SubpropertyEventFilter other = (com.google.analytics.admin.v1alpha.SubpropertyEventFilter) obj; + com.google.analytics.admin.v1alpha.SubpropertyEventFilter other = + (com.google.analytics.admin.v1alpha.SubpropertyEventFilter) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (hasApplyToProperty() != other.hasApplyToProperty()) return false; if (hasApplyToProperty()) { - if (!getApplyToProperty() - .equals(other.getApplyToProperty())) return false; + if (!getApplyToProperty().equals(other.getApplyToProperty())) 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; } @@ -320,131 +372,136 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.SubpropertyEventFilter parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.SubpropertyEventFilter parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.SubpropertyEventFilter parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.SubpropertyEventFilter parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.SubpropertyEventFilter parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.SubpropertyEventFilter parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.SubpropertyEventFilter parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.SubpropertyEventFilter parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.SubpropertyEventFilter parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.SubpropertyEventFilter parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.SubpropertyEventFilter parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.analytics.admin.v1alpha.SubpropertyEventFilter parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.SubpropertyEventFilter parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.SubpropertyEventFilter parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1alpha.SubpropertyEventFilter prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1alpha.SubpropertyEventFilter prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 Subproperty event filter.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.SubpropertyEventFilter} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.SubpropertyEventFilter) com.google.analytics.admin.v1alpha.SubpropertyEventFilterOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.SubpropertyEventFilterProto.internal_static_google_analytics_admin_v1alpha_SubpropertyEventFilter_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.SubpropertyEventFilterProto + .internal_static_google_analytics_admin_v1alpha_SubpropertyEventFilter_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.SubpropertyEventFilterProto.internal_static_google_analytics_admin_v1alpha_SubpropertyEventFilter_fieldAccessorTable + return com.google.analytics.admin.v1alpha.SubpropertyEventFilterProto + .internal_static_google_analytics_admin_v1alpha_SubpropertyEventFilter_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.SubpropertyEventFilter.class, com.google.analytics.admin.v1alpha.SubpropertyEventFilter.Builder.class); + com.google.analytics.admin.v1alpha.SubpropertyEventFilter.class, + com.google.analytics.admin.v1alpha.SubpropertyEventFilter.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.SubpropertyEventFilter.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(); @@ -462,9 +519,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.analytics.admin.v1alpha.SubpropertyEventFilterProto.internal_static_google_analytics_admin_v1alpha_SubpropertyEventFilter_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1alpha.SubpropertyEventFilterProto + .internal_static_google_analytics_admin_v1alpha_SubpropertyEventFilter_descriptor; } @java.lang.Override @@ -483,14 +540,18 @@ public com.google.analytics.admin.v1alpha.SubpropertyEventFilter build() { @java.lang.Override public com.google.analytics.admin.v1alpha.SubpropertyEventFilter buildPartial() { - com.google.analytics.admin.v1alpha.SubpropertyEventFilter result = new com.google.analytics.admin.v1alpha.SubpropertyEventFilter(this); + com.google.analytics.admin.v1alpha.SubpropertyEventFilter result = + new com.google.analytics.admin.v1alpha.SubpropertyEventFilter(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartialRepeatedFields(com.google.analytics.admin.v1alpha.SubpropertyEventFilter result) { + private void buildPartialRepeatedFields( + com.google.analytics.admin.v1alpha.SubpropertyEventFilter result) { if (filterClausesBuilder_ == null) { if (((bitField0_ & 0x00000004) != 0)) { filterClauses_ = java.util.Collections.unmodifiableList(filterClauses_); @@ -519,38 +580,39 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.SubpropertyEventFi public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.analytics.admin.v1alpha.SubpropertyEventFilter) { - return mergeFrom((com.google.analytics.admin.v1alpha.SubpropertyEventFilter)other); + return mergeFrom((com.google.analytics.admin.v1alpha.SubpropertyEventFilter) other); } else { super.mergeFrom(other); return this; @@ -558,7 +620,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1alpha.SubpropertyEventFilter other) { - if (other == com.google.analytics.admin.v1alpha.SubpropertyEventFilter.getDefaultInstance()) return this; + if (other == com.google.analytics.admin.v1alpha.SubpropertyEventFilter.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -587,9 +650,10 @@ public Builder mergeFrom(com.google.analytics.admin.v1alpha.SubpropertyEventFilt filterClausesBuilder_ = null; filterClauses_ = other.filterClauses_; bitField0_ = (bitField0_ & ~0x00000004); - filterClausesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getFilterClausesFieldBuilder() : null; + filterClausesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getFilterClausesFieldBuilder() + : null; } else { filterClausesBuilder_.addAllMessages(other.filterClauses_); } @@ -621,35 +685,39 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - applyToProperty_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - com.google.analytics.admin.v1alpha.SubpropertyEventFilterClause m = - input.readMessage( - com.google.analytics.admin.v1alpha.SubpropertyEventFilterClause.parser(), - extensionRegistry); - if (filterClausesBuilder_ == null) { - ensureFilterClausesIsMutable(); - filterClauses_.add(m); - } else { - filterClausesBuilder_.addMessage(m); - } - 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: + { + applyToProperty_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + com.google.analytics.admin.v1alpha.SubpropertyEventFilterClause m = + input.readMessage( + com.google.analytics.admin.v1alpha.SubpropertyEventFilterClause.parser(), + extensionRegistry); + if (filterClausesBuilder_ == null) { + ensureFilterClausesIsMutable(); + filterClauses_.add(m); + } else { + filterClausesBuilder_.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) { @@ -659,10 +727,13 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Output only. Format:
      * properties/{ordinary_property_id}/subpropertyEventFilters/{sub_property_event_filter}
@@ -670,13 +741,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; @@ -685,6 +756,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. Format:
      * properties/{ordinary_property_id}/subpropertyEventFilters/{sub_property_event_filter}
@@ -692,15 +765,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 { @@ -708,6 +780,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. Format:
      * properties/{ordinary_property_id}/subpropertyEventFilters/{sub_property_event_filter}
@@ -715,18 +789,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/{ordinary_property_id}/subpropertyEventFilters/{sub_property_event_filter}
@@ -734,6 +812,7 @@ public Builder setName(
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearName() { @@ -743,6 +822,8 @@ public Builder clearName() { return this; } /** + * + * *
      * Output only. Format:
      * properties/{ordinary_property_id}/subpropertyEventFilters/{sub_property_event_filter}
@@ -750,12 +831,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; @@ -765,29 +848,36 @@ public Builder setNameBytes( private java.lang.Object applyToProperty_ = ""; /** + * + * *
      * Immutable. Resource name of the Subproperty that uses this filter.
      * 
* - * optional string apply_to_property = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * optional string apply_to_property = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * + * * @return Whether the applyToProperty field is set. */ public boolean hasApplyToProperty() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * Immutable. Resource name of the Subproperty that uses this filter.
      * 
* - * optional string apply_to_property = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * optional string apply_to_property = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The applyToProperty. */ public java.lang.String getApplyToProperty() { java.lang.Object ref = applyToProperty_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); applyToProperty_ = s; return s; @@ -796,20 +886,22 @@ public java.lang.String getApplyToProperty() { } } /** + * + * *
      * Immutable. Resource name of the Subproperty that uses this filter.
      * 
* - * optional string apply_to_property = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * optional string apply_to_property = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The bytes for applyToProperty. */ - public com.google.protobuf.ByteString - getApplyToPropertyBytes() { + public com.google.protobuf.ByteString getApplyToPropertyBytes() { java.lang.Object ref = applyToProperty_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); applyToProperty_ = b; return b; } else { @@ -817,28 +909,37 @@ public java.lang.String getApplyToProperty() { } } /** + * + * *
      * Immutable. Resource name of the Subproperty that uses this filter.
      * 
* - * optional string apply_to_property = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * optional string apply_to_property = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * + * * @param value The applyToProperty to set. * @return This builder for chaining. */ - public Builder setApplyToProperty( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setApplyToProperty(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } applyToProperty_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Immutable. Resource name of the Subproperty that uses this filter.
      * 
* - * optional string apply_to_property = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * optional string apply_to_property = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * + * * @return This builder for chaining. */ public Builder clearApplyToProperty() { @@ -848,17 +949,22 @@ public Builder clearApplyToProperty() { return this; } /** + * + * *
      * Immutable. Resource name of the Subproperty that uses this filter.
      * 
* - * optional string apply_to_property = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * optional string apply_to_property = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * + * * @param value The bytes for applyToProperty to set. * @return This builder for chaining. */ - public Builder setApplyToPropertyBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setApplyToPropertyBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); applyToProperty_ = value; bitField0_ |= 0x00000002; @@ -866,28 +972,39 @@ public Builder setApplyToPropertyBytes( return this; } - private java.util.List filterClauses_ = - java.util.Collections.emptyList(); + private java.util.List + filterClauses_ = java.util.Collections.emptyList(); + private void ensureFilterClausesIsMutable() { if (!((bitField0_ & 0x00000004) != 0)) { - filterClauses_ = new java.util.ArrayList(filterClauses_); + filterClauses_ = + new java.util.ArrayList< + com.google.analytics.admin.v1alpha.SubpropertyEventFilterClause>(filterClauses_); bitField0_ |= 0x00000004; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.SubpropertyEventFilterClause, com.google.analytics.admin.v1alpha.SubpropertyEventFilterClause.Builder, com.google.analytics.admin.v1alpha.SubpropertyEventFilterClauseOrBuilder> filterClausesBuilder_; + com.google.analytics.admin.v1alpha.SubpropertyEventFilterClause, + com.google.analytics.admin.v1alpha.SubpropertyEventFilterClause.Builder, + com.google.analytics.admin.v1alpha.SubpropertyEventFilterClauseOrBuilder> + filterClausesBuilder_; /** + * + * *
      * Required. Unordered list. Filter clauses that define the
      * SubpropertyEventFilter. All clauses are AND'ed together to determine what
      * data is sent to the subproperty.
      * 
* - * repeated .google.analytics.admin.v1alpha.SubpropertyEventFilterClause filter_clauses = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST]; + * + * repeated .google.analytics.admin.v1alpha.SubpropertyEventFilterClause filter_clauses = 3 [(.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 { @@ -895,13 +1012,17 @@ public java.util.List * Required. Unordered list. Filter clauses that define the * SubpropertyEventFilter. All clauses are AND'ed together to determine what * data is sent to the subproperty. *
* - * repeated .google.analytics.admin.v1alpha.SubpropertyEventFilterClause filter_clauses = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST]; + * + * repeated .google.analytics.admin.v1alpha.SubpropertyEventFilterClause filter_clauses = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST]; + * */ public int getFilterClausesCount() { if (filterClausesBuilder_ == null) { @@ -911,15 +1032,20 @@ public int getFilterClausesCount() { } } /** + * + * *
      * Required. Unordered list. Filter clauses that define the
      * SubpropertyEventFilter. All clauses are AND'ed together to determine what
      * data is sent to the subproperty.
      * 
* - * repeated .google.analytics.admin.v1alpha.SubpropertyEventFilterClause filter_clauses = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST]; + * + * repeated .google.analytics.admin.v1alpha.SubpropertyEventFilterClause filter_clauses = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST]; + * */ - public com.google.analytics.admin.v1alpha.SubpropertyEventFilterClause getFilterClauses(int index) { + public com.google.analytics.admin.v1alpha.SubpropertyEventFilterClause getFilterClauses( + int index) { if (filterClausesBuilder_ == null) { return filterClauses_.get(index); } else { @@ -927,13 +1053,17 @@ public com.google.analytics.admin.v1alpha.SubpropertyEventFilterClause getFilter } } /** + * + * *
      * Required. Unordered list. Filter clauses that define the
      * SubpropertyEventFilter. All clauses are AND'ed together to determine what
      * data is sent to the subproperty.
      * 
* - * repeated .google.analytics.admin.v1alpha.SubpropertyEventFilterClause filter_clauses = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST]; + * + * repeated .google.analytics.admin.v1alpha.SubpropertyEventFilterClause filter_clauses = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST]; + * */ public Builder setFilterClauses( int index, com.google.analytics.admin.v1alpha.SubpropertyEventFilterClause value) { @@ -950,16 +1080,21 @@ public Builder setFilterClauses( return this; } /** + * + * *
      * Required. Unordered list. Filter clauses that define the
      * SubpropertyEventFilter. All clauses are AND'ed together to determine what
      * data is sent to the subproperty.
      * 
* - * repeated .google.analytics.admin.v1alpha.SubpropertyEventFilterClause filter_clauses = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST]; + * + * repeated .google.analytics.admin.v1alpha.SubpropertyEventFilterClause filter_clauses = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST]; + * */ public Builder setFilterClauses( - int index, com.google.analytics.admin.v1alpha.SubpropertyEventFilterClause.Builder builderForValue) { + int index, + com.google.analytics.admin.v1alpha.SubpropertyEventFilterClause.Builder builderForValue) { if (filterClausesBuilder_ == null) { ensureFilterClausesIsMutable(); filterClauses_.set(index, builderForValue.build()); @@ -970,15 +1105,20 @@ public Builder setFilterClauses( return this; } /** + * + * *
      * Required. Unordered list. Filter clauses that define the
      * SubpropertyEventFilter. All clauses are AND'ed together to determine what
      * data is sent to the subproperty.
      * 
* - * repeated .google.analytics.admin.v1alpha.SubpropertyEventFilterClause filter_clauses = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST]; + * + * repeated .google.analytics.admin.v1alpha.SubpropertyEventFilterClause filter_clauses = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST]; + * */ - public Builder addFilterClauses(com.google.analytics.admin.v1alpha.SubpropertyEventFilterClause value) { + public Builder addFilterClauses( + com.google.analytics.admin.v1alpha.SubpropertyEventFilterClause value) { if (filterClausesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -992,13 +1132,17 @@ public Builder addFilterClauses(com.google.analytics.admin.v1alpha.SubpropertyEv return this; } /** + * + * *
      * Required. Unordered list. Filter clauses that define the
      * SubpropertyEventFilter. All clauses are AND'ed together to determine what
      * data is sent to the subproperty.
      * 
* - * repeated .google.analytics.admin.v1alpha.SubpropertyEventFilterClause filter_clauses = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST]; + * + * repeated .google.analytics.admin.v1alpha.SubpropertyEventFilterClause filter_clauses = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST]; + * */ public Builder addFilterClauses( int index, com.google.analytics.admin.v1alpha.SubpropertyEventFilterClause value) { @@ -1015,13 +1159,17 @@ public Builder addFilterClauses( return this; } /** + * + * *
      * Required. Unordered list. Filter clauses that define the
      * SubpropertyEventFilter. All clauses are AND'ed together to determine what
      * data is sent to the subproperty.
      * 
* - * repeated .google.analytics.admin.v1alpha.SubpropertyEventFilterClause filter_clauses = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST]; + * + * repeated .google.analytics.admin.v1alpha.SubpropertyEventFilterClause filter_clauses = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST]; + * */ public Builder addFilterClauses( com.google.analytics.admin.v1alpha.SubpropertyEventFilterClause.Builder builderForValue) { @@ -1035,16 +1183,21 @@ public Builder addFilterClauses( return this; } /** + * + * *
      * Required. Unordered list. Filter clauses that define the
      * SubpropertyEventFilter. All clauses are AND'ed together to determine what
      * data is sent to the subproperty.
      * 
* - * repeated .google.analytics.admin.v1alpha.SubpropertyEventFilterClause filter_clauses = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST]; + * + * repeated .google.analytics.admin.v1alpha.SubpropertyEventFilterClause filter_clauses = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST]; + * */ public Builder addFilterClauses( - int index, com.google.analytics.admin.v1alpha.SubpropertyEventFilterClause.Builder builderForValue) { + int index, + com.google.analytics.admin.v1alpha.SubpropertyEventFilterClause.Builder builderForValue) { if (filterClausesBuilder_ == null) { ensureFilterClausesIsMutable(); filterClauses_.add(index, builderForValue.build()); @@ -1055,20 +1208,25 @@ public Builder addFilterClauses( return this; } /** + * + * *
      * Required. Unordered list. Filter clauses that define the
      * SubpropertyEventFilter. All clauses are AND'ed together to determine what
      * data is sent to the subproperty.
      * 
* - * repeated .google.analytics.admin.v1alpha.SubpropertyEventFilterClause filter_clauses = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST]; + * + * repeated .google.analytics.admin.v1alpha.SubpropertyEventFilterClause filter_clauses = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST]; + * */ public Builder addAllFilterClauses( - java.lang.Iterable values) { + java.lang.Iterable< + ? extends com.google.analytics.admin.v1alpha.SubpropertyEventFilterClause> + 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); @@ -1076,13 +1234,17 @@ public Builder addAllFilterClauses( return this; } /** + * + * *
      * Required. Unordered list. Filter clauses that define the
      * SubpropertyEventFilter. All clauses are AND'ed together to determine what
      * data is sent to the subproperty.
      * 
* - * repeated .google.analytics.admin.v1alpha.SubpropertyEventFilterClause filter_clauses = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST]; + * + * repeated .google.analytics.admin.v1alpha.SubpropertyEventFilterClause filter_clauses = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST]; + * */ public Builder clearFilterClauses() { if (filterClausesBuilder_ == null) { @@ -1095,13 +1257,17 @@ public Builder clearFilterClauses() { return this; } /** + * + * *
      * Required. Unordered list. Filter clauses that define the
      * SubpropertyEventFilter. All clauses are AND'ed together to determine what
      * data is sent to the subproperty.
      * 
* - * repeated .google.analytics.admin.v1alpha.SubpropertyEventFilterClause filter_clauses = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST]; + * + * repeated .google.analytics.admin.v1alpha.SubpropertyEventFilterClause filter_clauses = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST]; + * */ public Builder removeFilterClauses(int index) { if (filterClausesBuilder_ == null) { @@ -1114,45 +1280,59 @@ public Builder removeFilterClauses(int index) { return this; } /** + * + * *
      * Required. Unordered list. Filter clauses that define the
      * SubpropertyEventFilter. All clauses are AND'ed together to determine what
      * data is sent to the subproperty.
      * 
* - * repeated .google.analytics.admin.v1alpha.SubpropertyEventFilterClause filter_clauses = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST]; + * + * repeated .google.analytics.admin.v1alpha.SubpropertyEventFilterClause filter_clauses = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST]; + * */ - public com.google.analytics.admin.v1alpha.SubpropertyEventFilterClause.Builder getFilterClausesBuilder( - int index) { + public com.google.analytics.admin.v1alpha.SubpropertyEventFilterClause.Builder + getFilterClausesBuilder(int index) { return getFilterClausesFieldBuilder().getBuilder(index); } /** + * + * *
      * Required. Unordered list. Filter clauses that define the
      * SubpropertyEventFilter. All clauses are AND'ed together to determine what
      * data is sent to the subproperty.
      * 
* - * repeated .google.analytics.admin.v1alpha.SubpropertyEventFilterClause filter_clauses = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST]; + * + * repeated .google.analytics.admin.v1alpha.SubpropertyEventFilterClause filter_clauses = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST]; + * */ - public com.google.analytics.admin.v1alpha.SubpropertyEventFilterClauseOrBuilder getFilterClausesOrBuilder( - int index) { + public com.google.analytics.admin.v1alpha.SubpropertyEventFilterClauseOrBuilder + getFilterClausesOrBuilder(int index) { if (filterClausesBuilder_ == null) { - return filterClauses_.get(index); } else { + return filterClauses_.get(index); + } else { return filterClausesBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Required. Unordered list. Filter clauses that define the
      * SubpropertyEventFilter. All clauses are AND'ed together to determine what
      * data is sent to the subproperty.
      * 
* - * repeated .google.analytics.admin.v1alpha.SubpropertyEventFilterClause filter_clauses = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST]; + * + * repeated .google.analytics.admin.v1alpha.SubpropertyEventFilterClause filter_clauses = 3 [(.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.SubpropertyEventFilterClauseOrBuilder> + getFilterClausesOrBuilderList() { if (filterClausesBuilder_ != null) { return filterClausesBuilder_.getMessageOrBuilderList(); } else { @@ -1160,51 +1340,73 @@ public com.google.analytics.admin.v1alpha.SubpropertyEventFilterClauseOrBuilder } } /** + * + * *
      * Required. Unordered list. Filter clauses that define the
      * SubpropertyEventFilter. All clauses are AND'ed together to determine what
      * data is sent to the subproperty.
      * 
* - * repeated .google.analytics.admin.v1alpha.SubpropertyEventFilterClause filter_clauses = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST]; + * + * repeated .google.analytics.admin.v1alpha.SubpropertyEventFilterClause filter_clauses = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST]; + * */ - public com.google.analytics.admin.v1alpha.SubpropertyEventFilterClause.Builder addFilterClausesBuilder() { - return getFilterClausesFieldBuilder().addBuilder( - com.google.analytics.admin.v1alpha.SubpropertyEventFilterClause.getDefaultInstance()); + public com.google.analytics.admin.v1alpha.SubpropertyEventFilterClause.Builder + addFilterClausesBuilder() { + return getFilterClausesFieldBuilder() + .addBuilder( + com.google.analytics.admin.v1alpha.SubpropertyEventFilterClause.getDefaultInstance()); } /** + * + * *
      * Required. Unordered list. Filter clauses that define the
      * SubpropertyEventFilter. All clauses are AND'ed together to determine what
      * data is sent to the subproperty.
      * 
* - * repeated .google.analytics.admin.v1alpha.SubpropertyEventFilterClause filter_clauses = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST]; + * + * repeated .google.analytics.admin.v1alpha.SubpropertyEventFilterClause filter_clauses = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST]; + * */ - public com.google.analytics.admin.v1alpha.SubpropertyEventFilterClause.Builder addFilterClausesBuilder( - int index) { - return getFilterClausesFieldBuilder().addBuilder( - index, com.google.analytics.admin.v1alpha.SubpropertyEventFilterClause.getDefaultInstance()); + public com.google.analytics.admin.v1alpha.SubpropertyEventFilterClause.Builder + addFilterClausesBuilder(int index) { + return getFilterClausesFieldBuilder() + .addBuilder( + index, + com.google.analytics.admin.v1alpha.SubpropertyEventFilterClause.getDefaultInstance()); } /** + * + * *
      * Required. Unordered list. Filter clauses that define the
      * SubpropertyEventFilter. All clauses are AND'ed together to determine what
      * data is sent to the subproperty.
      * 
* - * repeated .google.analytics.admin.v1alpha.SubpropertyEventFilterClause filter_clauses = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST]; + * + * repeated .google.analytics.admin.v1alpha.SubpropertyEventFilterClause filter_clauses = 3 [(.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.SubpropertyEventFilterClause, com.google.analytics.admin.v1alpha.SubpropertyEventFilterClause.Builder, com.google.analytics.admin.v1alpha.SubpropertyEventFilterClauseOrBuilder> + com.google.analytics.admin.v1alpha.SubpropertyEventFilterClause, + com.google.analytics.admin.v1alpha.SubpropertyEventFilterClause.Builder, + com.google.analytics.admin.v1alpha.SubpropertyEventFilterClauseOrBuilder> getFilterClausesFieldBuilder() { if (filterClausesBuilder_ == null) { - filterClausesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.SubpropertyEventFilterClause, com.google.analytics.admin.v1alpha.SubpropertyEventFilterClause.Builder, com.google.analytics.admin.v1alpha.SubpropertyEventFilterClauseOrBuilder>( + filterClausesBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.analytics.admin.v1alpha.SubpropertyEventFilterClause, + com.google.analytics.admin.v1alpha.SubpropertyEventFilterClause.Builder, + com.google.analytics.admin.v1alpha.SubpropertyEventFilterClauseOrBuilder>( filterClauses_, ((bitField0_ & 0x00000004) != 0), getParentForChildren(), @@ -1213,9 +1415,9 @@ public com.google.analytics.admin.v1alpha.SubpropertyEventFilterClause.Builder a } 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); } @@ -1225,12 +1427,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.SubpropertyEventFilter) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.SubpropertyEventFilter) private static final com.google.analytics.admin.v1alpha.SubpropertyEventFilter DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.SubpropertyEventFilter(); } @@ -1239,27 +1441,27 @@ public static com.google.analytics.admin.v1alpha.SubpropertyEventFilter getDefau return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SubpropertyEventFilter parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SubpropertyEventFilter parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.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 +1476,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1alpha.SubpropertyEventFilter 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/SubpropertyEventFilterClause.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/SubpropertyEventFilterClause.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/SubpropertyEventFilterClause.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/SubpropertyEventFilterClause.java index c72d72f353d3..3d22d1281c14 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/SubpropertyEventFilterClause.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/SubpropertyEventFilterClause.java @@ -1,9 +1,26 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/subproperty_event_filter.proto package com.google.analytics.admin.v1alpha; /** + * + * *
  * A clause for defining a filter. A filter may be inclusive (events satisfying
  * the filter clause are included in the subproperty's data) or exclusive
@@ -13,49 +30,55 @@
  *
  * Protobuf type {@code google.analytics.admin.v1alpha.SubpropertyEventFilterClause}
  */
-public final class SubpropertyEventFilterClause extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class SubpropertyEventFilterClause extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.SubpropertyEventFilterClause)
     SubpropertyEventFilterClauseOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use SubpropertyEventFilterClause.newBuilder() to construct.
   private SubpropertyEventFilterClause(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private SubpropertyEventFilterClause() {
     filterClauseType_ = 0;
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new SubpropertyEventFilterClause();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.analytics.admin.v1alpha.SubpropertyEventFilterProto.internal_static_google_analytics_admin_v1alpha_SubpropertyEventFilterClause_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.analytics.admin.v1alpha.SubpropertyEventFilterProto
+        .internal_static_google_analytics_admin_v1alpha_SubpropertyEventFilterClause_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.analytics.admin.v1alpha.SubpropertyEventFilterProto.internal_static_google_analytics_admin_v1alpha_SubpropertyEventFilterClause_fieldAccessorTable
+    return com.google.analytics.admin.v1alpha.SubpropertyEventFilterProto
+        .internal_static_google_analytics_admin_v1alpha_SubpropertyEventFilterClause_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.analytics.admin.v1alpha.SubpropertyEventFilterClause.class, com.google.analytics.admin.v1alpha.SubpropertyEventFilterClause.Builder.class);
+            com.google.analytics.admin.v1alpha.SubpropertyEventFilterClause.class,
+            com.google.analytics.admin.v1alpha.SubpropertyEventFilterClause.Builder.class);
   }
 
   /**
+   *
+   *
    * 
    * Specifies whether this is an include or exclude filter clause.
    * 
* - * Protobuf enum {@code google.analytics.admin.v1alpha.SubpropertyEventFilterClause.FilterClauseType} + * Protobuf enum {@code + * google.analytics.admin.v1alpha.SubpropertyEventFilterClause.FilterClauseType} */ - public enum FilterClauseType - implements com.google.protobuf.ProtocolMessageEnum { + public enum FilterClauseType implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Filter clause type unknown or not specified.
      * 
@@ -64,6 +87,8 @@ public enum FilterClauseType */ FILTER_CLAUSE_TYPE_UNSPECIFIED(0), /** + * + * *
      * Events will be included in the Sub property if the filter clause is met.
      * 
@@ -72,6 +97,8 @@ public enum FilterClauseType */ INCLUDE(1), /** + * + * *
      * Events will be excluded from the Sub property if the filter clause is
      * met.
@@ -84,6 +111,8 @@ public enum FilterClauseType
     ;
 
     /**
+     *
+     *
      * 
      * Filter clause type unknown or not specified.
      * 
@@ -92,6 +121,8 @@ public enum FilterClauseType */ public static final int FILTER_CLAUSE_TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Events will be included in the Sub property if the filter clause is met.
      * 
@@ -100,6 +131,8 @@ public enum FilterClauseType */ public static final int INCLUDE_VALUE = 1; /** + * + * *
      * Events will be excluded from the Sub property if the filter clause is
      * met.
@@ -109,7 +142,6 @@ public enum FilterClauseType
      */
     public static final int EXCLUDE_VALUE = 2;
 
-
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -134,40 +166,45 @@ public static FilterClauseType valueOf(int value) {
      */
     public static FilterClauseType forNumber(int value) {
       switch (value) {
-        case 0: return FILTER_CLAUSE_TYPE_UNSPECIFIED;
-        case 1: return INCLUDE;
-        case 2: return EXCLUDE;
-        default: return null;
+        case 0:
+          return FILTER_CLAUSE_TYPE_UNSPECIFIED;
+        case 1:
+          return INCLUDE;
+        case 2:
+          return EXCLUDE;
+        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<
-        FilterClauseType> internalValueMap =
-          new com.google.protobuf.Internal.EnumLiteMap() {
-            public FilterClauseType findValueByNumber(int number) {
-              return FilterClauseType.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 FilterClauseType findValueByNumber(int number) {
+                return FilterClauseType.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.SubpropertyEventFilterClause.getDescriptor().getEnumTypes().get(0);
+
+    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+      return com.google.analytics.admin.v1alpha.SubpropertyEventFilterClause.getDescriptor()
+          .getEnumTypes()
+          .get(0);
     }
 
     private static final FilterClauseType[] VALUES = values();
@@ -175,8 +212,7 @@ public FilterClauseType findValueByNumber(int number) {
     public static FilterClauseType 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,38 +232,61 @@ private FilterClauseType(int value) {
   public static final int FILTER_CLAUSE_TYPE_FIELD_NUMBER = 1;
   private int filterClauseType_ = 0;
   /**
+   *
+   *
    * 
    * Required. The type for the filter clause.
    * 
* - * .google.analytics.admin.v1alpha.SubpropertyEventFilterClause.FilterClauseType filter_clause_type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.SubpropertyEventFilterClause.FilterClauseType filter_clause_type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The enum numeric value on the wire for filterClauseType. */ - @java.lang.Override public int getFilterClauseTypeValue() { + @java.lang.Override + public int getFilterClauseTypeValue() { return filterClauseType_; } /** + * + * *
    * Required. The type for the filter clause.
    * 
* - * .google.analytics.admin.v1alpha.SubpropertyEventFilterClause.FilterClauseType filter_clause_type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.SubpropertyEventFilterClause.FilterClauseType filter_clause_type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The filterClauseType. */ - @java.lang.Override public com.google.analytics.admin.v1alpha.SubpropertyEventFilterClause.FilterClauseType getFilterClauseType() { - com.google.analytics.admin.v1alpha.SubpropertyEventFilterClause.FilterClauseType result = com.google.analytics.admin.v1alpha.SubpropertyEventFilterClause.FilterClauseType.forNumber(filterClauseType_); - return result == null ? com.google.analytics.admin.v1alpha.SubpropertyEventFilterClause.FilterClauseType.UNRECOGNIZED : result; + @java.lang.Override + public com.google.analytics.admin.v1alpha.SubpropertyEventFilterClause.FilterClauseType + getFilterClauseType() { + com.google.analytics.admin.v1alpha.SubpropertyEventFilterClause.FilterClauseType result = + com.google.analytics.admin.v1alpha.SubpropertyEventFilterClause.FilterClauseType.forNumber( + filterClauseType_); + return result == null + ? com.google.analytics.admin.v1alpha.SubpropertyEventFilterClause.FilterClauseType + .UNRECOGNIZED + : result; } public static final int FILTER_EXPRESSION_FIELD_NUMBER = 2; private com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpression filterExpression_; /** + * + * *
    * Required. The logical expression for what events are sent to the
    * subproperty.
    * 
* - * .google.analytics.admin.v1alpha.SubpropertyEventFilterExpression filter_expression = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.SubpropertyEventFilterExpression filter_expression = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the filterExpression field is set. */ @java.lang.Override @@ -235,32 +294,47 @@ public boolean hasFilterExpression() { return filterExpression_ != null; } /** + * + * *
    * Required. The logical expression for what events are sent to the
    * subproperty.
    * 
* - * .google.analytics.admin.v1alpha.SubpropertyEventFilterExpression filter_expression = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.SubpropertyEventFilterExpression filter_expression = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The filterExpression. */ @java.lang.Override public com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpression getFilterExpression() { - return filterExpression_ == null ? com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpression.getDefaultInstance() : filterExpression_; + return filterExpression_ == null + ? com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpression.getDefaultInstance() + : filterExpression_; } /** + * + * *
    * Required. The logical expression for what events are sent to the
    * subproperty.
    * 
* - * .google.analytics.admin.v1alpha.SubpropertyEventFilterExpression filter_expression = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.SubpropertyEventFilterExpression filter_expression = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpressionOrBuilder getFilterExpressionOrBuilder() { - return filterExpression_ == null ? com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpression.getDefaultInstance() : filterExpression_; + public com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpressionOrBuilder + getFilterExpressionOrBuilder() { + return filterExpression_ == null + ? com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpression.getDefaultInstance() + : filterExpression_; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -272,9 +346,11 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (filterClauseType_ != com.google.analytics.admin.v1alpha.SubpropertyEventFilterClause.FilterClauseType.FILTER_CLAUSE_TYPE_UNSPECIFIED.getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (filterClauseType_ + != com.google.analytics.admin.v1alpha.SubpropertyEventFilterClause.FilterClauseType + .FILTER_CLAUSE_TYPE_UNSPECIFIED + .getNumber()) { output.writeEnum(1, filterClauseType_); } if (filterExpression_ != null) { @@ -289,13 +365,14 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (filterClauseType_ != com.google.analytics.admin.v1alpha.SubpropertyEventFilterClause.FilterClauseType.FILTER_CLAUSE_TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(1, filterClauseType_); + if (filterClauseType_ + != com.google.analytics.admin.v1alpha.SubpropertyEventFilterClause.FilterClauseType + .FILTER_CLAUSE_TYPE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, filterClauseType_); } if (filterExpression_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getFilterExpression()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getFilterExpression()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -305,18 +382,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.SubpropertyEventFilterClause)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.SubpropertyEventFilterClause other = (com.google.analytics.admin.v1alpha.SubpropertyEventFilterClause) obj; + com.google.analytics.admin.v1alpha.SubpropertyEventFilterClause other = + (com.google.analytics.admin.v1alpha.SubpropertyEventFilterClause) obj; if (filterClauseType_ != other.filterClauseType_) 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; @@ -341,98 +418,104 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.SubpropertyEventFilterClause parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.SubpropertyEventFilterClause parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.SubpropertyEventFilterClause parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.SubpropertyEventFilterClause parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.SubpropertyEventFilterClause parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.analytics.admin.v1alpha.SubpropertyEventFilterClause parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.SubpropertyEventFilterClause parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.SubpropertyEventFilterClause parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.SubpropertyEventFilterClause parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.SubpropertyEventFilterClause parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.SubpropertyEventFilterClause parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.SubpropertyEventFilterClause parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.analytics.admin.v1alpha.SubpropertyEventFilterClause parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.SubpropertyEventFilterClause parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.SubpropertyEventFilterClause parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1alpha.SubpropertyEventFilterClause prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1alpha.SubpropertyEventFilterClause prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 a filter. A filter may be inclusive (events satisfying
    * the filter clause are included in the subproperty's data) or exclusive
@@ -442,33 +525,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.analytics.admin.v1alpha.SubpropertyEventFilterClause}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.SubpropertyEventFilterClause)
       com.google.analytics.admin.v1alpha.SubpropertyEventFilterClauseOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.analytics.admin.v1alpha.SubpropertyEventFilterProto.internal_static_google_analytics_admin_v1alpha_SubpropertyEventFilterClause_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.analytics.admin.v1alpha.SubpropertyEventFilterProto
+          .internal_static_google_analytics_admin_v1alpha_SubpropertyEventFilterClause_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.analytics.admin.v1alpha.SubpropertyEventFilterProto.internal_static_google_analytics_admin_v1alpha_SubpropertyEventFilterClause_fieldAccessorTable
+      return com.google.analytics.admin.v1alpha.SubpropertyEventFilterProto
+          .internal_static_google_analytics_admin_v1alpha_SubpropertyEventFilterClause_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.analytics.admin.v1alpha.SubpropertyEventFilterClause.class, com.google.analytics.admin.v1alpha.SubpropertyEventFilterClause.Builder.class);
+              com.google.analytics.admin.v1alpha.SubpropertyEventFilterClause.class,
+              com.google.analytics.admin.v1alpha.SubpropertyEventFilterClause.Builder.class);
     }
 
     // Construct using com.google.analytics.admin.v1alpha.SubpropertyEventFilterClause.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();
@@ -483,13 +565,14 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.analytics.admin.v1alpha.SubpropertyEventFilterProto.internal_static_google_analytics_admin_v1alpha_SubpropertyEventFilterClause_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.analytics.admin.v1alpha.SubpropertyEventFilterProto
+          .internal_static_google_analytics_admin_v1alpha_SubpropertyEventFilterClause_descriptor;
     }
 
     @java.lang.Override
-    public com.google.analytics.admin.v1alpha.SubpropertyEventFilterClause getDefaultInstanceForType() {
+    public com.google.analytics.admin.v1alpha.SubpropertyEventFilterClause
+        getDefaultInstanceForType() {
       return com.google.analytics.admin.v1alpha.SubpropertyEventFilterClause.getDefaultInstance();
     }
 
@@ -504,21 +587,24 @@ public com.google.analytics.admin.v1alpha.SubpropertyEventFilterClause build() {
 
     @java.lang.Override
     public com.google.analytics.admin.v1alpha.SubpropertyEventFilterClause buildPartial() {
-      com.google.analytics.admin.v1alpha.SubpropertyEventFilterClause result = new com.google.analytics.admin.v1alpha.SubpropertyEventFilterClause(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.analytics.admin.v1alpha.SubpropertyEventFilterClause result =
+          new com.google.analytics.admin.v1alpha.SubpropertyEventFilterClause(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
 
-    private void buildPartial0(com.google.analytics.admin.v1alpha.SubpropertyEventFilterClause result) {
+    private void buildPartial0(
+        com.google.analytics.admin.v1alpha.SubpropertyEventFilterClause result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000001) != 0)) {
         result.filterClauseType_ = filterClauseType_;
       }
       if (((from_bitField0_ & 0x00000002) != 0)) {
-        result.filterExpression_ = filterExpressionBuilder_ == null
-            ? filterExpression_
-            : filterExpressionBuilder_.build();
+        result.filterExpression_ =
+            filterExpressionBuilder_ == null ? filterExpression_ : filterExpressionBuilder_.build();
       }
     }
 
@@ -526,46 +612,50 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.SubpropertyEventFi
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.analytics.admin.v1alpha.SubpropertyEventFilterClause) {
-        return mergeFrom((com.google.analytics.admin.v1alpha.SubpropertyEventFilterClause)other);
+        return mergeFrom((com.google.analytics.admin.v1alpha.SubpropertyEventFilterClause) other);
       } else {
         super.mergeFrom(other);
         return this;
       }
     }
 
-    public Builder mergeFrom(com.google.analytics.admin.v1alpha.SubpropertyEventFilterClause other) {
-      if (other == com.google.analytics.admin.v1alpha.SubpropertyEventFilterClause.getDefaultInstance()) return this;
+    public Builder mergeFrom(
+        com.google.analytics.admin.v1alpha.SubpropertyEventFilterClause other) {
+      if (other
+          == com.google.analytics.admin.v1alpha.SubpropertyEventFilterClause.getDefaultInstance())
+        return this;
       if (other.filterClauseType_ != 0) {
         setFilterClauseTypeValue(other.getFilterClauseTypeValue());
       }
@@ -598,24 +688,26 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 8: {
-              filterClauseType_ = 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:
+              {
+                filterClauseType_ = 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) {
@@ -625,26 +717,38 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private int filterClauseType_ = 0;
     /**
+     *
+     *
      * 
      * Required. The type for the filter clause.
      * 
* - * .google.analytics.admin.v1alpha.SubpropertyEventFilterClause.FilterClauseType filter_clause_type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.SubpropertyEventFilterClause.FilterClauseType filter_clause_type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The enum numeric value on the wire for filterClauseType. */ - @java.lang.Override public int getFilterClauseTypeValue() { + @java.lang.Override + public int getFilterClauseTypeValue() { return filterClauseType_; } /** + * + * *
      * Required. The type for the filter clause.
      * 
* - * .google.analytics.admin.v1alpha.SubpropertyEventFilterClause.FilterClauseType filter_clause_type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.SubpropertyEventFilterClause.FilterClauseType filter_clause_type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param value The enum numeric value on the wire for filterClauseType to set. * @return This builder for chaining. */ @@ -655,28 +759,45 @@ public Builder setFilterClauseTypeValue(int value) { return this; } /** + * + * *
      * Required. The type for the filter clause.
      * 
* - * .google.analytics.admin.v1alpha.SubpropertyEventFilterClause.FilterClauseType filter_clause_type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.SubpropertyEventFilterClause.FilterClauseType filter_clause_type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The filterClauseType. */ @java.lang.Override - public com.google.analytics.admin.v1alpha.SubpropertyEventFilterClause.FilterClauseType getFilterClauseType() { - com.google.analytics.admin.v1alpha.SubpropertyEventFilterClause.FilterClauseType result = com.google.analytics.admin.v1alpha.SubpropertyEventFilterClause.FilterClauseType.forNumber(filterClauseType_); - return result == null ? com.google.analytics.admin.v1alpha.SubpropertyEventFilterClause.FilterClauseType.UNRECOGNIZED : result; + public com.google.analytics.admin.v1alpha.SubpropertyEventFilterClause.FilterClauseType + getFilterClauseType() { + com.google.analytics.admin.v1alpha.SubpropertyEventFilterClause.FilterClauseType result = + com.google.analytics.admin.v1alpha.SubpropertyEventFilterClause.FilterClauseType + .forNumber(filterClauseType_); + return result == null + ? com.google.analytics.admin.v1alpha.SubpropertyEventFilterClause.FilterClauseType + .UNRECOGNIZED + : result; } /** + * + * *
      * Required. The type for the filter clause.
      * 
* - * .google.analytics.admin.v1alpha.SubpropertyEventFilterClause.FilterClauseType filter_clause_type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.SubpropertyEventFilterClause.FilterClauseType filter_clause_type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param value The filterClauseType to set. * @return This builder for chaining. */ - public Builder setFilterClauseType(com.google.analytics.admin.v1alpha.SubpropertyEventFilterClause.FilterClauseType value) { + public Builder setFilterClauseType( + com.google.analytics.admin.v1alpha.SubpropertyEventFilterClause.FilterClauseType value) { if (value == null) { throw new NullPointerException(); } @@ -686,11 +807,16 @@ public Builder setFilterClauseType(com.google.analytics.admin.v1alpha.Subpropert return this; } /** + * + * *
      * Required. The type for the filter clause.
      * 
* - * .google.analytics.admin.v1alpha.SubpropertyEventFilterClause.FilterClauseType filter_clause_type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.SubpropertyEventFilterClause.FilterClauseType filter_clause_type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return This builder for chaining. */ public Builder clearFilterClauseType() { @@ -702,44 +828,66 @@ public Builder clearFilterClauseType() { private com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpression filterExpression_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpression, com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpression.Builder, com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpressionOrBuilder> filterExpressionBuilder_; + com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpression, + com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpression.Builder, + com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpressionOrBuilder> + filterExpressionBuilder_; /** + * + * *
      * Required. The logical expression for what events are sent to the
      * subproperty.
      * 
* - * .google.analytics.admin.v1alpha.SubpropertyEventFilterExpression filter_expression = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.SubpropertyEventFilterExpression filter_expression = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the filterExpression field is set. */ public boolean hasFilterExpression() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * Required. The logical expression for what events are sent to the
      * subproperty.
      * 
* - * .google.analytics.admin.v1alpha.SubpropertyEventFilterExpression filter_expression = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.SubpropertyEventFilterExpression filter_expression = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The filterExpression. */ - public com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpression getFilterExpression() { + public com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpression + getFilterExpression() { if (filterExpressionBuilder_ == null) { - return filterExpression_ == null ? com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpression.getDefaultInstance() : filterExpression_; + return filterExpression_ == null + ? com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpression + .getDefaultInstance() + : filterExpression_; } else { return filterExpressionBuilder_.getMessage(); } } /** + * + * *
      * Required. The logical expression for what events are sent to the
      * subproperty.
      * 
* - * .google.analytics.admin.v1alpha.SubpropertyEventFilterExpression filter_expression = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.SubpropertyEventFilterExpression filter_expression = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setFilterExpression(com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpression value) { + public Builder setFilterExpression( + com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpression value) { if (filterExpressionBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -753,15 +901,20 @@ public Builder setFilterExpression(com.google.analytics.admin.v1alpha.Subpropert return this; } /** + * + * *
      * Required. The logical expression for what events are sent to the
      * subproperty.
      * 
* - * .google.analytics.admin.v1alpha.SubpropertyEventFilterExpression filter_expression = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.SubpropertyEventFilterExpression filter_expression = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setFilterExpression( - com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpression.Builder builderForValue) { + com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpression.Builder + builderForValue) { if (filterExpressionBuilder_ == null) { filterExpression_ = builderForValue.build(); } else { @@ -772,18 +925,25 @@ public Builder setFilterExpression( return this; } /** + * + * *
      * Required. The logical expression for what events are sent to the
      * subproperty.
      * 
* - * .google.analytics.admin.v1alpha.SubpropertyEventFilterExpression filter_expression = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.SubpropertyEventFilterExpression filter_expression = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder mergeFilterExpression(com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpression value) { + public Builder mergeFilterExpression( + com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpression value) { if (filterExpressionBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) && - filterExpression_ != null && - filterExpression_ != com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpression.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) + && filterExpression_ != null + && filterExpression_ + != com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpression + .getDefaultInstance()) { getFilterExpressionBuilder().mergeFrom(value); } else { filterExpression_ = value; @@ -796,12 +956,16 @@ public Builder mergeFilterExpression(com.google.analytics.admin.v1alpha.Subprope return this; } /** + * + * *
      * Required. The logical expression for what events are sent to the
      * subproperty.
      * 
* - * .google.analytics.admin.v1alpha.SubpropertyEventFilterExpression filter_expression = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.SubpropertyEventFilterExpression filter_expression = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearFilterExpression() { bitField0_ = (bitField0_ & ~0x00000002); @@ -814,58 +978,77 @@ public Builder clearFilterExpression() { return this; } /** + * + * *
      * Required. The logical expression for what events are sent to the
      * subproperty.
      * 
* - * .google.analytics.admin.v1alpha.SubpropertyEventFilterExpression filter_expression = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.SubpropertyEventFilterExpression filter_expression = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpression.Builder getFilterExpressionBuilder() { + public com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpression.Builder + getFilterExpressionBuilder() { bitField0_ |= 0x00000002; onChanged(); return getFilterExpressionFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The logical expression for what events are sent to the
      * subproperty.
      * 
* - * .google.analytics.admin.v1alpha.SubpropertyEventFilterExpression filter_expression = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.SubpropertyEventFilterExpression filter_expression = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpressionOrBuilder getFilterExpressionOrBuilder() { + public com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpressionOrBuilder + getFilterExpressionOrBuilder() { if (filterExpressionBuilder_ != null) { return filterExpressionBuilder_.getMessageOrBuilder(); } else { - return filterExpression_ == null ? - com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpression.getDefaultInstance() : filterExpression_; + return filterExpression_ == null + ? com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpression + .getDefaultInstance() + : filterExpression_; } } /** + * + * *
      * Required. The logical expression for what events are sent to the
      * subproperty.
      * 
* - * .google.analytics.admin.v1alpha.SubpropertyEventFilterExpression filter_expression = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.SubpropertyEventFilterExpression filter_expression = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpression, com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpression.Builder, com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpressionOrBuilder> + com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpression, + com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpression.Builder, + com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpressionOrBuilder> getFilterExpressionFieldBuilder() { if (filterExpressionBuilder_ == null) { - filterExpressionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpression, com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpression.Builder, com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpressionOrBuilder>( - getFilterExpression(), - getParentForChildren(), - isClean()); + filterExpressionBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpression, + com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpression.Builder, + com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpressionOrBuilder>( + 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); } @@ -875,41 +1058,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.SubpropertyEventFilterClause) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.SubpropertyEventFilterClause) - private static final com.google.analytics.admin.v1alpha.SubpropertyEventFilterClause DEFAULT_INSTANCE; + private static final com.google.analytics.admin.v1alpha.SubpropertyEventFilterClause + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.SubpropertyEventFilterClause(); } - public static com.google.analytics.admin.v1alpha.SubpropertyEventFilterClause getDefaultInstance() { + public static com.google.analytics.admin.v1alpha.SubpropertyEventFilterClause + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SubpropertyEventFilterClause parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SubpropertyEventFilterClause parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -921,9 +1106,8 @@ public com.google.protobuf.Parser getParserForType } @java.lang.Override - public com.google.analytics.admin.v1alpha.SubpropertyEventFilterClause getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.SubpropertyEventFilterClause + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/SubpropertyEventFilterClauseOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/SubpropertyEventFilterClauseOrBuilder.java new file mode 100644 index 000000000000..92a13b314662 --- /dev/null +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/SubpropertyEventFilterClauseOrBuilder.java @@ -0,0 +1,100 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/analytics/admin/v1alpha/subproperty_event_filter.proto + +package com.google.analytics.admin.v1alpha; + +public interface SubpropertyEventFilterClauseOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.SubpropertyEventFilterClause) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The type for the filter clause.
+   * 
+ * + * + * .google.analytics.admin.v1alpha.SubpropertyEventFilterClause.FilterClauseType filter_clause_type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The enum numeric value on the wire for filterClauseType. + */ + int getFilterClauseTypeValue(); + /** + * + * + *
+   * Required. The type for the filter clause.
+   * 
+ * + * + * .google.analytics.admin.v1alpha.SubpropertyEventFilterClause.FilterClauseType filter_clause_type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The filterClauseType. + */ + com.google.analytics.admin.v1alpha.SubpropertyEventFilterClause.FilterClauseType + getFilterClauseType(); + + /** + * + * + *
+   * Required. The logical expression for what events are sent to the
+   * subproperty.
+   * 
+ * + * + * .google.analytics.admin.v1alpha.SubpropertyEventFilterExpression filter_expression = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return Whether the filterExpression field is set. + */ + boolean hasFilterExpression(); + /** + * + * + *
+   * Required. The logical expression for what events are sent to the
+   * subproperty.
+   * 
+ * + * + * .google.analytics.admin.v1alpha.SubpropertyEventFilterExpression filter_expression = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The filterExpression. + */ + com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpression getFilterExpression(); + /** + * + * + *
+   * Required. The logical expression for what events are sent to the
+   * subproperty.
+   * 
+ * + * + * .google.analytics.admin.v1alpha.SubpropertyEventFilterExpression filter_expression = 2 [(.google.api.field_behavior) = REQUIRED]; + * + */ + com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpressionOrBuilder + getFilterExpressionOrBuilder(); +} diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/SubpropertyEventFilterCondition.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/SubpropertyEventFilterCondition.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/SubpropertyEventFilterCondition.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/SubpropertyEventFilterCondition.java index 17647dbd71bd..224b88803494 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/SubpropertyEventFilterCondition.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/SubpropertyEventFilterCondition.java @@ -1,118 +1,162 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/subproperty_event_filter.proto package com.google.analytics.admin.v1alpha; /** + * + * *
  * A specific filter expression
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.SubpropertyEventFilterCondition} */ -public final class SubpropertyEventFilterCondition extends - com.google.protobuf.GeneratedMessageV3 implements +public final class SubpropertyEventFilterCondition extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.SubpropertyEventFilterCondition) SubpropertyEventFilterConditionOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use SubpropertyEventFilterCondition.newBuilder() to construct. - private SubpropertyEventFilterCondition(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private SubpropertyEventFilterCondition( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private SubpropertyEventFilterCondition() { fieldName_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new SubpropertyEventFilterCondition(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.SubpropertyEventFilterProto.internal_static_google_analytics_admin_v1alpha_SubpropertyEventFilterCondition_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.SubpropertyEventFilterProto + .internal_static_google_analytics_admin_v1alpha_SubpropertyEventFilterCondition_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.SubpropertyEventFilterProto.internal_static_google_analytics_admin_v1alpha_SubpropertyEventFilterCondition_fieldAccessorTable + return com.google.analytics.admin.v1alpha.SubpropertyEventFilterProto + .internal_static_google_analytics_admin_v1alpha_SubpropertyEventFilterCondition_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.SubpropertyEventFilterCondition.class, com.google.analytics.admin.v1alpha.SubpropertyEventFilterCondition.Builder.class); + com.google.analytics.admin.v1alpha.SubpropertyEventFilterCondition.class, + com.google.analytics.admin.v1alpha.SubpropertyEventFilterCondition.Builder.class); } - public interface StringFilterOrBuilder extends + public interface StringFilterOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.SubpropertyEventFilterCondition.StringFilter) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Required. The match type for the string filter.
      * 
* - * .google.analytics.admin.v1alpha.SubpropertyEventFilterCondition.StringFilter.MatchType match_type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.SubpropertyEventFilterCondition.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.SubpropertyEventFilterCondition.StringFilter.MatchType match_type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.SubpropertyEventFilterCondition.StringFilter.MatchType match_type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The matchType. */ - com.google.analytics.admin.v1alpha.SubpropertyEventFilterCondition.StringFilter.MatchType getMatchType(); + com.google.analytics.admin.v1alpha.SubpropertyEventFilterCondition.StringFilter.MatchType + getMatchType(); /** + * + * *
      * Required. The string value used for the matching.
      * 
* * string value = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The value. */ java.lang.String getValue(); /** + * + * *
      * Required. The string value used for the matching.
      * 
* * 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 string value 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.SubpropertyEventFilterCondition.StringFilter} + * Protobuf type {@code + * google.analytics.admin.v1alpha.SubpropertyEventFilterCondition.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.SubpropertyEventFilterCondition.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_ = ""; @@ -120,34 +164,40 @@ private StringFilter() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new StringFilter(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.SubpropertyEventFilterProto.internal_static_google_analytics_admin_v1alpha_SubpropertyEventFilterCondition_StringFilter_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.SubpropertyEventFilterProto + .internal_static_google_analytics_admin_v1alpha_SubpropertyEventFilterCondition_StringFilter_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.SubpropertyEventFilterProto.internal_static_google_analytics_admin_v1alpha_SubpropertyEventFilterCondition_StringFilter_fieldAccessorTable + return com.google.analytics.admin.v1alpha.SubpropertyEventFilterProto + .internal_static_google_analytics_admin_v1alpha_SubpropertyEventFilterCondition_StringFilter_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.SubpropertyEventFilterCondition.StringFilter.class, com.google.analytics.admin.v1alpha.SubpropertyEventFilterCondition.StringFilter.Builder.class); + com.google.analytics.admin.v1alpha.SubpropertyEventFilterCondition.StringFilter.class, + com.google.analytics.admin.v1alpha.SubpropertyEventFilterCondition.StringFilter + .Builder.class); } /** + * + * *
      * How the filter will be used to determine a match.
      * 
* - * Protobuf enum {@code google.analytics.admin.v1alpha.SubpropertyEventFilterCondition.StringFilter.MatchType} + * Protobuf enum {@code + * google.analytics.admin.v1alpha.SubpropertyEventFilterCondition.StringFilter.MatchType} */ - public enum MatchType - implements com.google.protobuf.ProtocolMessageEnum { + public enum MatchType implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
        * Match type unknown or not specified.
        * 
@@ -156,6 +206,8 @@ public enum MatchType */ MATCH_TYPE_UNSPECIFIED(0), /** + * + * *
        * Exact match of the string value.
        * 
@@ -164,6 +216,8 @@ public enum MatchType */ EXACT(1), /** + * + * *
        * Begins with the string value.
        * 
@@ -172,6 +226,8 @@ public enum MatchType */ BEGINS_WITH(2), /** + * + * *
        * Ends with the string value.
        * 
@@ -180,6 +236,8 @@ public enum MatchType */ ENDS_WITH(3), /** + * + * *
        * Contains the string value.
        * 
@@ -188,6 +246,8 @@ public enum MatchType */ CONTAINS(4), /** + * + * *
        * Full regular expression matches with the string value.
        * 
@@ -196,6 +256,8 @@ public enum MatchType */ FULL_REGEXP(5), /** + * + * *
        * Partial regular expression matches with the string value.
        * 
@@ -207,6 +269,8 @@ public enum MatchType ; /** + * + * *
        * Match type unknown or not specified.
        * 
@@ -215,6 +279,8 @@ public enum MatchType */ public static final int MATCH_TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
        * Exact match of the string value.
        * 
@@ -223,6 +289,8 @@ public enum MatchType */ public static final int EXACT_VALUE = 1; /** + * + * *
        * Begins with the string value.
        * 
@@ -231,6 +299,8 @@ public enum MatchType */ public static final int BEGINS_WITH_VALUE = 2; /** + * + * *
        * Ends with the string value.
        * 
@@ -239,6 +309,8 @@ public enum MatchType */ public static final int ENDS_WITH_VALUE = 3; /** + * + * *
        * Contains the string value.
        * 
@@ -247,6 +319,8 @@ public enum MatchType */ public static final int CONTAINS_VALUE = 4; /** + * + * *
        * Full regular expression matches with the string value.
        * 
@@ -255,6 +329,8 @@ public enum MatchType */ public static final int FULL_REGEXP_VALUE = 5; /** + * + * *
        * Partial regular expression matches with the string value.
        * 
@@ -263,7 +339,6 @@ public enum MatchType */ public static final int PARTIAL_REGEXP_VALUE = 6; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -288,53 +363,60 @@ 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.SubpropertyEventFilterCondition.StringFilter.getDescriptor().getEnumTypes().get(0); + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.SubpropertyEventFilterCondition.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; @@ -354,38 +436,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.SubpropertyEventFilterCondition.StringFilter.MatchType match_type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.SubpropertyEventFilterCondition.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.SubpropertyEventFilterCondition.StringFilter.MatchType match_type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.SubpropertyEventFilterCondition.StringFilter.MatchType match_type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The matchType. */ - @java.lang.Override public com.google.analytics.admin.v1alpha.SubpropertyEventFilterCondition.StringFilter.MatchType getMatchType() { - com.google.analytics.admin.v1alpha.SubpropertyEventFilterCondition.StringFilter.MatchType result = com.google.analytics.admin.v1alpha.SubpropertyEventFilterCondition.StringFilter.MatchType.forNumber(matchType_); - return result == null ? com.google.analytics.admin.v1alpha.SubpropertyEventFilterCondition.StringFilter.MatchType.UNRECOGNIZED : result; + @java.lang.Override + public com.google.analytics.admin.v1alpha.SubpropertyEventFilterCondition.StringFilter.MatchType + getMatchType() { + com.google.analytics.admin.v1alpha.SubpropertyEventFilterCondition.StringFilter.MatchType + result = + com.google.analytics.admin.v1alpha.SubpropertyEventFilterCondition.StringFilter + .MatchType.forNumber(matchType_); + return result == null + ? com.google.analytics.admin.v1alpha.SubpropertyEventFilterCondition.StringFilter + .MatchType.UNRECOGNIZED + : result; } public static final int VALUE_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object value_ = ""; /** + * + * *
      * Required. The string value used for the matching.
      * 
* * string value = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The value. */ @java.lang.Override @@ -394,29 +499,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 used for the matching.
      * 
* * 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 { @@ -427,12 +532,15 @@ public java.lang.String getValue() { public static final int CASE_SENSITIVE_FIELD_NUMBER = 3; private boolean caseSensitive_ = false; /** + * + * *
      * Optional. If true, the string value 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 @@ -441,6 +549,7 @@ public boolean getCaseSensitive() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -452,9 +561,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.SubpropertyEventFilterCondition.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.SubpropertyEventFilterCondition.StringFilter + .MatchType.MATCH_TYPE_UNSPECIFIED + .getNumber()) { output.writeEnum(1, matchType_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(value_)) { @@ -472,16 +583,17 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (matchType_ != com.google.analytics.admin.v1alpha.SubpropertyEventFilterCondition.StringFilter.MatchType.MATCH_TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(1, matchType_); + if (matchType_ + != com.google.analytics.admin.v1alpha.SubpropertyEventFilterCondition.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; @@ -491,18 +603,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.SubpropertyEventFilterCondition.StringFilter)) { + if (!(obj + instanceof + com.google.analytics.admin.v1alpha.SubpropertyEventFilterCondition.StringFilter)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.SubpropertyEventFilterCondition.StringFilter other = (com.google.analytics.admin.v1alpha.SubpropertyEventFilterCondition.StringFilter) obj; + com.google.analytics.admin.v1alpha.SubpropertyEventFilterCondition.StringFilter other = + (com.google.analytics.admin.v1alpha.SubpropertyEventFilterCondition.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; } @@ -519,97 +632,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.SubpropertyEventFilterCondition.StringFilter parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.analytics.admin.v1alpha.SubpropertyEventFilterCondition.StringFilter + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.SubpropertyEventFilterCondition.StringFilter parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.analytics.admin.v1alpha.SubpropertyEventFilterCondition.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.SubpropertyEventFilterCondition.StringFilter parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.analytics.admin.v1alpha.SubpropertyEventFilterCondition.StringFilter + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.SubpropertyEventFilterCondition.StringFilter parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.analytics.admin.v1alpha.SubpropertyEventFilterCondition.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.SubpropertyEventFilterCondition.StringFilter parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.analytics.admin.v1alpha.SubpropertyEventFilterCondition.StringFilter + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.SubpropertyEventFilterCondition.StringFilter parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.analytics.admin.v1alpha.SubpropertyEventFilterCondition.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.SubpropertyEventFilterCondition.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.SubpropertyEventFilterCondition.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.SubpropertyEventFilterCondition.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.SubpropertyEventFilterCondition.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.SubpropertyEventFilterCondition.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.SubpropertyEventFilterCondition.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.SubpropertyEventFilterCondition.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.SubpropertyEventFilterCondition.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.SubpropertyEventFilterCondition.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.SubpropertyEventFilterCondition.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.SubpropertyEventFilterCondition.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.SubpropertyEventFilterCondition.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.SubpropertyEventFilterCondition.StringFilter prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1alpha.SubpropertyEventFilterCondition.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 @@ -619,39 +742,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.SubpropertyEventFilterCondition.StringFilter} + * Protobuf type {@code + * google.analytics.admin.v1alpha.SubpropertyEventFilterCondition.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.SubpropertyEventFilterCondition.StringFilter) com.google.analytics.admin.v1alpha.SubpropertyEventFilterCondition.StringFilterOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.SubpropertyEventFilterProto.internal_static_google_analytics_admin_v1alpha_SubpropertyEventFilterCondition_StringFilter_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.SubpropertyEventFilterProto + .internal_static_google_analytics_admin_v1alpha_SubpropertyEventFilterCondition_StringFilter_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.SubpropertyEventFilterProto.internal_static_google_analytics_admin_v1alpha_SubpropertyEventFilterCondition_StringFilter_fieldAccessorTable + return com.google.analytics.admin.v1alpha.SubpropertyEventFilterProto + .internal_static_google_analytics_admin_v1alpha_SubpropertyEventFilterCondition_StringFilter_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.SubpropertyEventFilterCondition.StringFilter.class, com.google.analytics.admin.v1alpha.SubpropertyEventFilterCondition.StringFilter.Builder.class); + com.google.analytics.admin.v1alpha.SubpropertyEventFilterCondition.StringFilter + .class, + com.google.analytics.admin.v1alpha.SubpropertyEventFilterCondition.StringFilter + .Builder.class); } - // Construct using com.google.analytics.admin.v1alpha.SubpropertyEventFilterCondition.StringFilter.newBuilder() - private Builder() { - - } + // Construct using + // com.google.analytics.admin.v1alpha.SubpropertyEventFilterCondition.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(); @@ -663,19 +792,23 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.analytics.admin.v1alpha.SubpropertyEventFilterProto.internal_static_google_analytics_admin_v1alpha_SubpropertyEventFilterCondition_StringFilter_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1alpha.SubpropertyEventFilterProto + .internal_static_google_analytics_admin_v1alpha_SubpropertyEventFilterCondition_StringFilter_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.SubpropertyEventFilterCondition.StringFilter getDefaultInstanceForType() { - return com.google.analytics.admin.v1alpha.SubpropertyEventFilterCondition.StringFilter.getDefaultInstance(); + public com.google.analytics.admin.v1alpha.SubpropertyEventFilterCondition.StringFilter + getDefaultInstanceForType() { + return com.google.analytics.admin.v1alpha.SubpropertyEventFilterCondition.StringFilter + .getDefaultInstance(); } @java.lang.Override - public com.google.analytics.admin.v1alpha.SubpropertyEventFilterCondition.StringFilter build() { - com.google.analytics.admin.v1alpha.SubpropertyEventFilterCondition.StringFilter result = buildPartial(); + public com.google.analytics.admin.v1alpha.SubpropertyEventFilterCondition.StringFilter + build() { + com.google.analytics.admin.v1alpha.SubpropertyEventFilterCondition.StringFilter result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -683,14 +816,20 @@ public com.google.analytics.admin.v1alpha.SubpropertyEventFilterCondition.String } @java.lang.Override - public com.google.analytics.admin.v1alpha.SubpropertyEventFilterCondition.StringFilter buildPartial() { - com.google.analytics.admin.v1alpha.SubpropertyEventFilterCondition.StringFilter result = new com.google.analytics.admin.v1alpha.SubpropertyEventFilterCondition.StringFilter(this); - if (bitField0_ != 0) { buildPartial0(result); } + public com.google.analytics.admin.v1alpha.SubpropertyEventFilterCondition.StringFilter + buildPartial() { + com.google.analytics.admin.v1alpha.SubpropertyEventFilterCondition.StringFilter result = + new com.google.analytics.admin.v1alpha.SubpropertyEventFilterCondition.StringFilter( + this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.analytics.admin.v1alpha.SubpropertyEventFilterCondition.StringFilter result) { + private void buildPartial0( + com.google.analytics.admin.v1alpha.SubpropertyEventFilterCondition.StringFilter result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.matchType_ = matchType_; @@ -707,46 +846,56 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.SubpropertyEventFi public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.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.SubpropertyEventFilterCondition.StringFilter) { - return mergeFrom((com.google.analytics.admin.v1alpha.SubpropertyEventFilterCondition.StringFilter)other); + if (other + instanceof + com.google.analytics.admin.v1alpha.SubpropertyEventFilterCondition.StringFilter) { + return mergeFrom( + (com.google.analytics.admin.v1alpha.SubpropertyEventFilterCondition.StringFilter) + other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.analytics.admin.v1alpha.SubpropertyEventFilterCondition.StringFilter other) { - if (other == com.google.analytics.admin.v1alpha.SubpropertyEventFilterCondition.StringFilter.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.analytics.admin.v1alpha.SubpropertyEventFilterCondition.StringFilter other) { + if (other + == com.google.analytics.admin.v1alpha.SubpropertyEventFilterCondition.StringFilter + .getDefaultInstance()) return this; if (other.matchType_ != 0) { setMatchTypeValue(other.getMatchTypeValue()); } @@ -784,27 +933,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) { @@ -814,26 +967,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.SubpropertyEventFilterCondition.StringFilter.MatchType match_type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.SubpropertyEventFilterCondition.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.SubpropertyEventFilterCondition.StringFilter.MatchType match_type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.SubpropertyEventFilterCondition.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. */ @@ -844,28 +1009,48 @@ public Builder setMatchTypeValue(int value) { return this; } /** + * + * *
        * Required. The match type for the string filter.
        * 
* - * .google.analytics.admin.v1alpha.SubpropertyEventFilterCondition.StringFilter.MatchType match_type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.SubpropertyEventFilterCondition.StringFilter.MatchType match_type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The matchType. */ @java.lang.Override - public com.google.analytics.admin.v1alpha.SubpropertyEventFilterCondition.StringFilter.MatchType getMatchType() { - com.google.analytics.admin.v1alpha.SubpropertyEventFilterCondition.StringFilter.MatchType result = com.google.analytics.admin.v1alpha.SubpropertyEventFilterCondition.StringFilter.MatchType.forNumber(matchType_); - return result == null ? com.google.analytics.admin.v1alpha.SubpropertyEventFilterCondition.StringFilter.MatchType.UNRECOGNIZED : result; + public com.google.analytics.admin.v1alpha.SubpropertyEventFilterCondition.StringFilter + .MatchType + getMatchType() { + com.google.analytics.admin.v1alpha.SubpropertyEventFilterCondition.StringFilter.MatchType + result = + com.google.analytics.admin.v1alpha.SubpropertyEventFilterCondition.StringFilter + .MatchType.forNumber(matchType_); + return result == null + ? com.google.analytics.admin.v1alpha.SubpropertyEventFilterCondition.StringFilter + .MatchType.UNRECOGNIZED + : result; } /** + * + * *
        * Required. The match type for the string filter.
        * 
* - * .google.analytics.admin.v1alpha.SubpropertyEventFilterCondition.StringFilter.MatchType match_type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.SubpropertyEventFilterCondition.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.SubpropertyEventFilterCondition.StringFilter.MatchType value) { + public Builder setMatchType( + com.google.analytics.admin.v1alpha.SubpropertyEventFilterCondition.StringFilter.MatchType + value) { if (value == null) { throw new NullPointerException(); } @@ -875,11 +1060,16 @@ public Builder setMatchType(com.google.analytics.admin.v1alpha.SubpropertyEventF return this; } /** + * + * *
        * Required. The match type for the string filter.
        * 
* - * .google.analytics.admin.v1alpha.SubpropertyEventFilterCondition.StringFilter.MatchType match_type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.SubpropertyEventFilterCondition.StringFilter.MatchType match_type = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return This builder for chaining. */ public Builder clearMatchType() { @@ -891,18 +1081,20 @@ public Builder clearMatchType() { private java.lang.Object value_ = ""; /** + * + * *
        * Required. The string value used for the matching.
        * 
* * 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; @@ -911,20 +1103,21 @@ public java.lang.String getValue() { } } /** + * + * *
        * Required. The string value used for the matching.
        * 
* * 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 { @@ -932,28 +1125,35 @@ public java.lang.String getValue() { } } /** + * + * *
        * Required. The string value used for the matching.
        * 
* * 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 used for the matching.
        * 
* * string value = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearValue() { @@ -963,17 +1163,21 @@ public Builder clearValue() { return this; } /** + * + * *
        * Required. The string value used for the matching.
        * 
* * 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; @@ -981,14 +1185,17 @@ public Builder setValueBytes( return this; } - private boolean caseSensitive_ ; + private boolean caseSensitive_; /** + * + * *
        * Optional. If true, the string value 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 @@ -996,12 +1203,15 @@ public boolean getCaseSensitive() { return caseSensitive_; } /** + * + * *
        * Optional. If true, the string value 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. */ @@ -1013,12 +1223,15 @@ public Builder setCaseSensitive(boolean value) { return this; } /** + * + * *
        * Optional. If true, the string value 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() { @@ -1027,6 +1240,7 @@ public Builder clearCaseSensitive() { onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1039,41 +1253,46 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.SubpropertyEventFilterCondition.StringFilter) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.SubpropertyEventFilterCondition.StringFilter) - private static final com.google.analytics.admin.v1alpha.SubpropertyEventFilterCondition.StringFilter DEFAULT_INSTANCE; + private static final com.google.analytics.admin.v1alpha.SubpropertyEventFilterCondition + .StringFilter + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.SubpropertyEventFilterCondition.StringFilter(); + DEFAULT_INSTANCE = + new com.google.analytics.admin.v1alpha.SubpropertyEventFilterCondition.StringFilter(); } - public static com.google.analytics.admin.v1alpha.SubpropertyEventFilterCondition.StringFilter getDefaultInstance() { + public static com.google.analytics.admin.v1alpha.SubpropertyEventFilterCondition.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; @@ -1085,22 +1304,26 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.analytics.admin.v1alpha.SubpropertyEventFilterCondition.StringFilter getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.SubpropertyEventFilterCondition.StringFilter + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } private int oneFilterCase_ = 0; + @SuppressWarnings("serial") 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 { NULL_FILTER(2), STRING_FILTER(3), ONEFILTER_NOT_SET(0); private final int value; + private OneFilterCase(int value) { this.value = value; } @@ -1116,30 +1339,36 @@ public static OneFilterCase valueOf(int value) { public static OneFilterCase forNumber(int value) { switch (value) { - case 2: return NULL_FILTER; - case 3: return STRING_FILTER; - case 0: return ONEFILTER_NOT_SET; - default: return null; + case 2: + return NULL_FILTER; + case 3: + return STRING_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 NULL_FILTER_FIELD_NUMBER = 2; /** + * + * *
    * A filter for null values.
    * 
* * bool null_filter = 2; + * * @return Whether the nullFilter field is set. */ @java.lang.Override @@ -1147,11 +1376,14 @@ public boolean hasNullFilter() { return oneFilterCase_ == 2; } /** + * + * *
    * A filter for null values.
    * 
* * bool null_filter = 2; + * * @return The nullFilter. */ @java.lang.Override @@ -1164,11 +1396,16 @@ public boolean getNullFilter() { public static final int STRING_FILTER_FIELD_NUMBER = 3; /** + * + * *
    * A filter for a string-type dimension that matches a particular pattern.
    * 
* - * .google.analytics.admin.v1alpha.SubpropertyEventFilterCondition.StringFilter string_filter = 3; + * + * .google.analytics.admin.v1alpha.SubpropertyEventFilterCondition.StringFilter string_filter = 3; + * + * * @return Whether the stringFilter field is set. */ @java.lang.Override @@ -1176,44 +1413,63 @@ public boolean hasStringFilter() { return oneFilterCase_ == 3; } /** + * + * *
    * A filter for a string-type dimension that matches a particular pattern.
    * 
* - * .google.analytics.admin.v1alpha.SubpropertyEventFilterCondition.StringFilter string_filter = 3; + * + * .google.analytics.admin.v1alpha.SubpropertyEventFilterCondition.StringFilter string_filter = 3; + * + * * @return The stringFilter. */ @java.lang.Override - public com.google.analytics.admin.v1alpha.SubpropertyEventFilterCondition.StringFilter getStringFilter() { + public com.google.analytics.admin.v1alpha.SubpropertyEventFilterCondition.StringFilter + getStringFilter() { if (oneFilterCase_ == 3) { - return (com.google.analytics.admin.v1alpha.SubpropertyEventFilterCondition.StringFilter) oneFilter_; + return (com.google.analytics.admin.v1alpha.SubpropertyEventFilterCondition.StringFilter) + oneFilter_; } - return com.google.analytics.admin.v1alpha.SubpropertyEventFilterCondition.StringFilter.getDefaultInstance(); + return com.google.analytics.admin.v1alpha.SubpropertyEventFilterCondition.StringFilter + .getDefaultInstance(); } /** + * + * *
    * A filter for a string-type dimension that matches a particular pattern.
    * 
* - * .google.analytics.admin.v1alpha.SubpropertyEventFilterCondition.StringFilter string_filter = 3; + * + * .google.analytics.admin.v1alpha.SubpropertyEventFilterCondition.StringFilter string_filter = 3; + * */ @java.lang.Override - public com.google.analytics.admin.v1alpha.SubpropertyEventFilterCondition.StringFilterOrBuilder getStringFilterOrBuilder() { + public com.google.analytics.admin.v1alpha.SubpropertyEventFilterCondition.StringFilterOrBuilder + getStringFilterOrBuilder() { if (oneFilterCase_ == 3) { - return (com.google.analytics.admin.v1alpha.SubpropertyEventFilterCondition.StringFilter) oneFilter_; + return (com.google.analytics.admin.v1alpha.SubpropertyEventFilterCondition.StringFilter) + oneFilter_; } - return com.google.analytics.admin.v1alpha.SubpropertyEventFilterCondition.StringFilter.getDefaultInstance(); + return com.google.analytics.admin.v1alpha.SubpropertyEventFilterCondition.StringFilter + .getDefaultInstance(); } public static final int FIELD_NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object fieldName_ = ""; /** + * + * *
    * Required. The field that is being filtered.
    * 
* * string field_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The fieldName. */ @java.lang.Override @@ -1222,29 +1478,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 field that is being filtered.
    * 
* * 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 { @@ -1253,6 +1509,7 @@ public java.lang.String getFieldName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1264,17 +1521,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(fieldName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, fieldName_); } if (oneFilterCase_ == 2) { - output.writeBool( - 2, (boolean)((java.lang.Boolean) oneFilter_)); + output.writeBool(2, (boolean) ((java.lang.Boolean) oneFilter_)); } if (oneFilterCase_ == 3) { - output.writeMessage(3, (com.google.analytics.admin.v1alpha.SubpropertyEventFilterCondition.StringFilter) oneFilter_); + output.writeMessage( + 3, + (com.google.analytics.admin.v1alpha.SubpropertyEventFilterCondition.StringFilter) + oneFilter_); } getUnknownFields().writeTo(output); } @@ -1289,13 +1547,16 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, fieldName_); } if (oneFilterCase_ == 2) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize( - 2, (boolean)((java.lang.Boolean) oneFilter_)); + size += + com.google.protobuf.CodedOutputStream.computeBoolSize( + 2, (boolean) ((java.lang.Boolean) oneFilter_)); } if (oneFilterCase_ == 3) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, (com.google.analytics.admin.v1alpha.SubpropertyEventFilterCondition.StringFilter) oneFilter_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 3, + (com.google.analytics.admin.v1alpha.SubpropertyEventFilterCondition.StringFilter) + oneFilter_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1305,24 +1566,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.SubpropertyEventFilterCondition)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.SubpropertyEventFilterCondition other = (com.google.analytics.admin.v1alpha.SubpropertyEventFilterCondition) obj; + com.google.analytics.admin.v1alpha.SubpropertyEventFilterCondition other = + (com.google.analytics.admin.v1alpha.SubpropertyEventFilterCondition) 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 (getNullFilter() - != other.getNullFilter()) return false; + if (getNullFilter() != other.getNullFilter()) return false; break; case 3: - if (!getStringFilter() - .equals(other.getStringFilter())) return false; + if (!getStringFilter().equals(other.getStringFilter())) return false; break; case 0: default: @@ -1343,8 +1602,7 @@ public int hashCode() { switch (oneFilterCase_) { case 2: hash = (37 * hash) + NULL_FILTER_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getNullFilter()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getNullFilter()); break; case 3: hash = (37 * hash) + STRING_FILTER_FIELD_NUMBER; @@ -1359,131 +1617,138 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.SubpropertyEventFilterCondition parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.SubpropertyEventFilterCondition parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.SubpropertyEventFilterCondition parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.SubpropertyEventFilterCondition parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.SubpropertyEventFilterCondition parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.analytics.admin.v1alpha.SubpropertyEventFilterCondition parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.SubpropertyEventFilterCondition parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.SubpropertyEventFilterCondition parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.SubpropertyEventFilterCondition parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.SubpropertyEventFilterCondition parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.SubpropertyEventFilterCondition parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.SubpropertyEventFilterCondition + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.SubpropertyEventFilterCondition parseDelimitedFrom( - java.io.InputStream input, - 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.SubpropertyEventFilterCondition + parseDelimitedFrom( + java.io.InputStream input, 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.SubpropertyEventFilterCondition parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.SubpropertyEventFilterCondition parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1alpha.SubpropertyEventFilterCondition prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1alpha.SubpropertyEventFilterCondition prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 expression
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.SubpropertyEventFilterCondition} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.SubpropertyEventFilterCondition) com.google.analytics.admin.v1alpha.SubpropertyEventFilterConditionOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.SubpropertyEventFilterProto.internal_static_google_analytics_admin_v1alpha_SubpropertyEventFilterCondition_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.SubpropertyEventFilterProto + .internal_static_google_analytics_admin_v1alpha_SubpropertyEventFilterCondition_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.SubpropertyEventFilterProto.internal_static_google_analytics_admin_v1alpha_SubpropertyEventFilterCondition_fieldAccessorTable + return com.google.analytics.admin.v1alpha.SubpropertyEventFilterProto + .internal_static_google_analytics_admin_v1alpha_SubpropertyEventFilterCondition_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.SubpropertyEventFilterCondition.class, com.google.analytics.admin.v1alpha.SubpropertyEventFilterCondition.Builder.class); + com.google.analytics.admin.v1alpha.SubpropertyEventFilterCondition.class, + com.google.analytics.admin.v1alpha.SubpropertyEventFilterCondition.Builder.class); } - // Construct using com.google.analytics.admin.v1alpha.SubpropertyEventFilterCondition.newBuilder() - private Builder() { + // Construct using + // com.google.analytics.admin.v1alpha.SubpropertyEventFilterCondition.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(); @@ -1498,14 +1763,16 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.analytics.admin.v1alpha.SubpropertyEventFilterProto.internal_static_google_analytics_admin_v1alpha_SubpropertyEventFilterCondition_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1alpha.SubpropertyEventFilterProto + .internal_static_google_analytics_admin_v1alpha_SubpropertyEventFilterCondition_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.SubpropertyEventFilterCondition getDefaultInstanceForType() { - return com.google.analytics.admin.v1alpha.SubpropertyEventFilterCondition.getDefaultInstance(); + public com.google.analytics.admin.v1alpha.SubpropertyEventFilterCondition + getDefaultInstanceForType() { + return com.google.analytics.admin.v1alpha.SubpropertyEventFilterCondition + .getDefaultInstance(); } @java.lang.Override @@ -1519,25 +1786,29 @@ public com.google.analytics.admin.v1alpha.SubpropertyEventFilterCondition build( @java.lang.Override public com.google.analytics.admin.v1alpha.SubpropertyEventFilterCondition buildPartial() { - com.google.analytics.admin.v1alpha.SubpropertyEventFilterCondition result = new com.google.analytics.admin.v1alpha.SubpropertyEventFilterCondition(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.analytics.admin.v1alpha.SubpropertyEventFilterCondition result = + new com.google.analytics.admin.v1alpha.SubpropertyEventFilterCondition(this); + if (bitField0_ != 0) { + buildPartial0(result); + } buildPartialOneofs(result); onBuilt(); return result; } - private void buildPartial0(com.google.analytics.admin.v1alpha.SubpropertyEventFilterCondition result) { + private void buildPartial0( + com.google.analytics.admin.v1alpha.SubpropertyEventFilterCondition result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000004) != 0)) { result.fieldName_ = fieldName_; } } - private void buildPartialOneofs(com.google.analytics.admin.v1alpha.SubpropertyEventFilterCondition result) { + private void buildPartialOneofs( + com.google.analytics.admin.v1alpha.SubpropertyEventFilterCondition result) { result.oneFilterCase_ = oneFilterCase_; result.oneFilter_ = this.oneFilter_; - if (oneFilterCase_ == 3 && - stringFilterBuilder_ != null) { + if (oneFilterCase_ == 3 && stringFilterBuilder_ != null) { result.oneFilter_ = stringFilterBuilder_.build(); } } @@ -1546,63 +1817,71 @@ private void buildPartialOneofs(com.google.analytics.admin.v1alpha.SubpropertyEv public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.analytics.admin.v1alpha.SubpropertyEventFilterCondition) { - return mergeFrom((com.google.analytics.admin.v1alpha.SubpropertyEventFilterCondition)other); + return mergeFrom( + (com.google.analytics.admin.v1alpha.SubpropertyEventFilterCondition) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.analytics.admin.v1alpha.SubpropertyEventFilterCondition other) { - if (other == com.google.analytics.admin.v1alpha.SubpropertyEventFilterCondition.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.analytics.admin.v1alpha.SubpropertyEventFilterCondition other) { + if (other + == com.google.analytics.admin.v1alpha.SubpropertyEventFilterCondition + .getDefaultInstance()) return this; if (!other.getFieldName().isEmpty()) { fieldName_ = other.fieldName_; bitField0_ |= 0x00000004; onChanged(); } switch (other.getOneFilterCase()) { - case NULL_FILTER: { - setNullFilter(other.getNullFilter()); - break; - } - case STRING_FILTER: { - mergeStringFilter(other.getStringFilter()); - break; - } - case ONEFILTER_NOT_SET: { - break; - } + case NULL_FILTER: + { + setNullFilter(other.getNullFilter()); + break; + } + case STRING_FILTER: + { + mergeStringFilter(other.getStringFilter()); + break; + } + case ONEFILTER_NOT_SET: + { + break; + } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -1630,29 +1909,31 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - fieldName_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 10 - case 16: { - oneFilter_ = input.readBool(); - oneFilterCase_ = 2; - break; - } // case 16 - case 26: { - input.readMessage( - getStringFilterFieldBuilder().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 16: + { + oneFilter_ = input.readBool(); + oneFilterCase_ = 2; + break; + } // case 16 + case 26: + { + input.readMessage(getStringFilterFieldBuilder().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) { @@ -1662,12 +1943,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() { @@ -1680,22 +1961,28 @@ public Builder clearOneFilter() { private int bitField0_; /** + * + * *
      * A filter for null values.
      * 
* * bool null_filter = 2; + * * @return Whether the nullFilter field is set. */ public boolean hasNullFilter() { return oneFilterCase_ == 2; } /** + * + * *
      * A filter for null values.
      * 
* * bool null_filter = 2; + * * @return The nullFilter. */ public boolean getNullFilter() { @@ -1705,11 +1992,14 @@ public boolean getNullFilter() { return false; } /** + * + * *
      * A filter for null values.
      * 
* * bool null_filter = 2; + * * @param value The nullFilter to set. * @return This builder for chaining. */ @@ -1721,11 +2011,14 @@ public Builder setNullFilter(boolean value) { return this; } /** + * + * *
      * A filter for null values.
      * 
* * bool null_filter = 2; + * * @return This builder for chaining. */ public Builder clearNullFilter() { @@ -1738,13 +2031,22 @@ public Builder clearNullFilter() { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.SubpropertyEventFilterCondition.StringFilter, com.google.analytics.admin.v1alpha.SubpropertyEventFilterCondition.StringFilter.Builder, com.google.analytics.admin.v1alpha.SubpropertyEventFilterCondition.StringFilterOrBuilder> stringFilterBuilder_; + com.google.analytics.admin.v1alpha.SubpropertyEventFilterCondition.StringFilter, + com.google.analytics.admin.v1alpha.SubpropertyEventFilterCondition.StringFilter.Builder, + com.google.analytics.admin.v1alpha.SubpropertyEventFilterCondition + .StringFilterOrBuilder> + stringFilterBuilder_; /** + * + * *
      * A filter for a string-type dimension that matches a particular pattern.
      * 
* - * .google.analytics.admin.v1alpha.SubpropertyEventFilterCondition.StringFilter string_filter = 3; + * + * .google.analytics.admin.v1alpha.SubpropertyEventFilterCondition.StringFilter string_filter = 3; + * + * * @return Whether the stringFilter field is set. */ @java.lang.Override @@ -1752,35 +2054,49 @@ public boolean hasStringFilter() { return oneFilterCase_ == 3; } /** + * + * *
      * A filter for a string-type dimension that matches a particular pattern.
      * 
* - * .google.analytics.admin.v1alpha.SubpropertyEventFilterCondition.StringFilter string_filter = 3; + * + * .google.analytics.admin.v1alpha.SubpropertyEventFilterCondition.StringFilter string_filter = 3; + * + * * @return The stringFilter. */ @java.lang.Override - public com.google.analytics.admin.v1alpha.SubpropertyEventFilterCondition.StringFilter getStringFilter() { + public com.google.analytics.admin.v1alpha.SubpropertyEventFilterCondition.StringFilter + getStringFilter() { if (stringFilterBuilder_ == null) { if (oneFilterCase_ == 3) { - return (com.google.analytics.admin.v1alpha.SubpropertyEventFilterCondition.StringFilter) oneFilter_; + return (com.google.analytics.admin.v1alpha.SubpropertyEventFilterCondition.StringFilter) + oneFilter_; } - return com.google.analytics.admin.v1alpha.SubpropertyEventFilterCondition.StringFilter.getDefaultInstance(); + return com.google.analytics.admin.v1alpha.SubpropertyEventFilterCondition.StringFilter + .getDefaultInstance(); } else { if (oneFilterCase_ == 3) { return stringFilterBuilder_.getMessage(); } - return com.google.analytics.admin.v1alpha.SubpropertyEventFilterCondition.StringFilter.getDefaultInstance(); + return com.google.analytics.admin.v1alpha.SubpropertyEventFilterCondition.StringFilter + .getDefaultInstance(); } } /** + * + * *
      * A filter for a string-type dimension that matches a particular pattern.
      * 
* - * .google.analytics.admin.v1alpha.SubpropertyEventFilterCondition.StringFilter string_filter = 3; + * + * .google.analytics.admin.v1alpha.SubpropertyEventFilterCondition.StringFilter string_filter = 3; + * */ - public Builder setStringFilter(com.google.analytics.admin.v1alpha.SubpropertyEventFilterCondition.StringFilter value) { + public Builder setStringFilter( + com.google.analytics.admin.v1alpha.SubpropertyEventFilterCondition.StringFilter value) { if (stringFilterBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1794,14 +2110,19 @@ public Builder setStringFilter(com.google.analytics.admin.v1alpha.SubpropertyEve return this; } /** + * + * *
      * A filter for a string-type dimension that matches a particular pattern.
      * 
* - * .google.analytics.admin.v1alpha.SubpropertyEventFilterCondition.StringFilter string_filter = 3; + * + * .google.analytics.admin.v1alpha.SubpropertyEventFilterCondition.StringFilter string_filter = 3; + * */ public Builder setStringFilter( - com.google.analytics.admin.v1alpha.SubpropertyEventFilterCondition.StringFilter.Builder builderForValue) { + com.google.analytics.admin.v1alpha.SubpropertyEventFilterCondition.StringFilter.Builder + builderForValue) { if (stringFilterBuilder_ == null) { oneFilter_ = builderForValue.build(); onChanged(); @@ -1812,18 +2133,31 @@ public Builder setStringFilter( return this; } /** + * + * *
      * A filter for a string-type dimension that matches a particular pattern.
      * 
* - * .google.analytics.admin.v1alpha.SubpropertyEventFilterCondition.StringFilter string_filter = 3; + * + * .google.analytics.admin.v1alpha.SubpropertyEventFilterCondition.StringFilter string_filter = 3; + * */ - public Builder mergeStringFilter(com.google.analytics.admin.v1alpha.SubpropertyEventFilterCondition.StringFilter value) { + public Builder mergeStringFilter( + com.google.analytics.admin.v1alpha.SubpropertyEventFilterCondition.StringFilter value) { if (stringFilterBuilder_ == null) { - if (oneFilterCase_ == 3 && - oneFilter_ != com.google.analytics.admin.v1alpha.SubpropertyEventFilterCondition.StringFilter.getDefaultInstance()) { - oneFilter_ = com.google.analytics.admin.v1alpha.SubpropertyEventFilterCondition.StringFilter.newBuilder((com.google.analytics.admin.v1alpha.SubpropertyEventFilterCondition.StringFilter) oneFilter_) - .mergeFrom(value).buildPartial(); + if (oneFilterCase_ == 3 + && oneFilter_ + != com.google.analytics.admin.v1alpha.SubpropertyEventFilterCondition.StringFilter + .getDefaultInstance()) { + oneFilter_ = + com.google.analytics.admin.v1alpha.SubpropertyEventFilterCondition.StringFilter + .newBuilder( + (com.google.analytics.admin.v1alpha.SubpropertyEventFilterCondition + .StringFilter) + oneFilter_) + .mergeFrom(value) + .buildPartial(); } else { oneFilter_ = value; } @@ -1839,11 +2173,15 @@ public Builder mergeStringFilter(com.google.analytics.admin.v1alpha.SubpropertyE return this; } /** + * + * *
      * A filter for a string-type dimension that matches a particular pattern.
      * 
* - * .google.analytics.admin.v1alpha.SubpropertyEventFilterCondition.StringFilter string_filter = 3; + * + * .google.analytics.admin.v1alpha.SubpropertyEventFilterCondition.StringFilter string_filter = 3; + * */ public Builder clearStringFilter() { if (stringFilterBuilder_ == null) { @@ -1862,50 +2200,77 @@ public Builder clearStringFilter() { return this; } /** + * + * *
      * A filter for a string-type dimension that matches a particular pattern.
      * 
* - * .google.analytics.admin.v1alpha.SubpropertyEventFilterCondition.StringFilter string_filter = 3; + * + * .google.analytics.admin.v1alpha.SubpropertyEventFilterCondition.StringFilter string_filter = 3; + * */ - public com.google.analytics.admin.v1alpha.SubpropertyEventFilterCondition.StringFilter.Builder getStringFilterBuilder() { + public com.google.analytics.admin.v1alpha.SubpropertyEventFilterCondition.StringFilter.Builder + getStringFilterBuilder() { return getStringFilterFieldBuilder().getBuilder(); } /** + * + * *
      * A filter for a string-type dimension that matches a particular pattern.
      * 
* - * .google.analytics.admin.v1alpha.SubpropertyEventFilterCondition.StringFilter string_filter = 3; + * + * .google.analytics.admin.v1alpha.SubpropertyEventFilterCondition.StringFilter string_filter = 3; + * */ @java.lang.Override - public com.google.analytics.admin.v1alpha.SubpropertyEventFilterCondition.StringFilterOrBuilder getStringFilterOrBuilder() { + public com.google.analytics.admin.v1alpha.SubpropertyEventFilterCondition.StringFilterOrBuilder + getStringFilterOrBuilder() { if ((oneFilterCase_ == 3) && (stringFilterBuilder_ != null)) { return stringFilterBuilder_.getMessageOrBuilder(); } else { if (oneFilterCase_ == 3) { - return (com.google.analytics.admin.v1alpha.SubpropertyEventFilterCondition.StringFilter) oneFilter_; + return (com.google.analytics.admin.v1alpha.SubpropertyEventFilterCondition.StringFilter) + oneFilter_; } - return com.google.analytics.admin.v1alpha.SubpropertyEventFilterCondition.StringFilter.getDefaultInstance(); + return com.google.analytics.admin.v1alpha.SubpropertyEventFilterCondition.StringFilter + .getDefaultInstance(); } } /** + * + * *
      * A filter for a string-type dimension that matches a particular pattern.
      * 
* - * .google.analytics.admin.v1alpha.SubpropertyEventFilterCondition.StringFilter string_filter = 3; + * + * .google.analytics.admin.v1alpha.SubpropertyEventFilterCondition.StringFilter string_filter = 3; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.SubpropertyEventFilterCondition.StringFilter, com.google.analytics.admin.v1alpha.SubpropertyEventFilterCondition.StringFilter.Builder, com.google.analytics.admin.v1alpha.SubpropertyEventFilterCondition.StringFilterOrBuilder> + com.google.analytics.admin.v1alpha.SubpropertyEventFilterCondition.StringFilter, + com.google.analytics.admin.v1alpha.SubpropertyEventFilterCondition.StringFilter.Builder, + com.google.analytics.admin.v1alpha.SubpropertyEventFilterCondition + .StringFilterOrBuilder> getStringFilterFieldBuilder() { if (stringFilterBuilder_ == null) { if (!(oneFilterCase_ == 3)) { - oneFilter_ = com.google.analytics.admin.v1alpha.SubpropertyEventFilterCondition.StringFilter.getDefaultInstance(); + oneFilter_ = + com.google.analytics.admin.v1alpha.SubpropertyEventFilterCondition.StringFilter + .getDefaultInstance(); } - stringFilterBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.SubpropertyEventFilterCondition.StringFilter, com.google.analytics.admin.v1alpha.SubpropertyEventFilterCondition.StringFilter.Builder, com.google.analytics.admin.v1alpha.SubpropertyEventFilterCondition.StringFilterOrBuilder>( - (com.google.analytics.admin.v1alpha.SubpropertyEventFilterCondition.StringFilter) oneFilter_, + stringFilterBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1alpha.SubpropertyEventFilterCondition.StringFilter, + com.google.analytics.admin.v1alpha.SubpropertyEventFilterCondition.StringFilter + .Builder, + com.google.analytics.admin.v1alpha.SubpropertyEventFilterCondition + .StringFilterOrBuilder>( + (com.google.analytics.admin.v1alpha.SubpropertyEventFilterCondition.StringFilter) + oneFilter_, getParentForChildren(), isClean()); oneFilter_ = null; @@ -1917,18 +2282,20 @@ public com.google.analytics.admin.v1alpha.SubpropertyEventFilterCondition.String private java.lang.Object fieldName_ = ""; /** + * + * *
      * Required. The field that is being filtered.
      * 
* * 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; @@ -1937,20 +2304,21 @@ public java.lang.String getFieldName() { } } /** + * + * *
      * Required. The field that is being filtered.
      * 
* * 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 { @@ -1958,28 +2326,35 @@ public java.lang.String getFieldName() { } } /** + * + * *
      * Required. The field that is being filtered.
      * 
* * 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 field that is being filtered.
      * 
* * string field_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearFieldName() { @@ -1989,26 +2364,30 @@ public Builder clearFieldName() { return this; } /** + * + * *
      * Required. The field that is being filtered.
      * 
* * 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); } @@ -2018,41 +2397,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.SubpropertyEventFilterCondition) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.SubpropertyEventFilterCondition) - private static final com.google.analytics.admin.v1alpha.SubpropertyEventFilterCondition DEFAULT_INSTANCE; + private static final com.google.analytics.admin.v1alpha.SubpropertyEventFilterCondition + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.SubpropertyEventFilterCondition(); } - public static com.google.analytics.admin.v1alpha.SubpropertyEventFilterCondition getDefaultInstance() { + public static com.google.analytics.admin.v1alpha.SubpropertyEventFilterCondition + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SubpropertyEventFilterCondition parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SubpropertyEventFilterCondition parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2064,9 +2445,8 @@ public com.google.protobuf.Parser getParserForT } @java.lang.Override - public com.google.analytics.admin.v1alpha.SubpropertyEventFilterCondition getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.SubpropertyEventFilterCondition + 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/SubpropertyEventFilterConditionOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/SubpropertyEventFilterConditionOrBuilder.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/SubpropertyEventFilterConditionOrBuilder.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/SubpropertyEventFilterConditionOrBuilder.java index 6e70622019b1..f334741b9030 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/SubpropertyEventFilterConditionOrBuilder.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/SubpropertyEventFilterConditionOrBuilder.java @@ -1,77 +1,120 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/subproperty_event_filter.proto package com.google.analytics.admin.v1alpha; -public interface SubpropertyEventFilterConditionOrBuilder extends +public interface SubpropertyEventFilterConditionOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.SubpropertyEventFilterCondition) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * A filter for null values.
    * 
* * bool null_filter = 2; + * * @return Whether the nullFilter field is set. */ boolean hasNullFilter(); /** + * + * *
    * A filter for null values.
    * 
* * bool null_filter = 2; + * * @return The nullFilter. */ boolean getNullFilter(); /** + * + * *
    * A filter for a string-type dimension that matches a particular pattern.
    * 
* - * .google.analytics.admin.v1alpha.SubpropertyEventFilterCondition.StringFilter string_filter = 3; + * + * .google.analytics.admin.v1alpha.SubpropertyEventFilterCondition.StringFilter string_filter = 3; + * + * * @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.SubpropertyEventFilterCondition.StringFilter string_filter = 3; + * + * .google.analytics.admin.v1alpha.SubpropertyEventFilterCondition.StringFilter string_filter = 3; + * + * * @return The stringFilter. */ com.google.analytics.admin.v1alpha.SubpropertyEventFilterCondition.StringFilter getStringFilter(); /** + * + * *
    * A filter for a string-type dimension that matches a particular pattern.
    * 
* - * .google.analytics.admin.v1alpha.SubpropertyEventFilterCondition.StringFilter string_filter = 3; + * + * .google.analytics.admin.v1alpha.SubpropertyEventFilterCondition.StringFilter string_filter = 3; + * */ - com.google.analytics.admin.v1alpha.SubpropertyEventFilterCondition.StringFilterOrBuilder getStringFilterOrBuilder(); + com.google.analytics.admin.v1alpha.SubpropertyEventFilterCondition.StringFilterOrBuilder + getStringFilterOrBuilder(); /** + * + * *
    * Required. The field that is being filtered.
    * 
* * string field_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The fieldName. */ java.lang.String getFieldName(); /** + * + * *
    * Required. The field that is being filtered.
    * 
* * string field_name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for fieldName. */ - com.google.protobuf.ByteString - getFieldNameBytes(); + com.google.protobuf.ByteString getFieldNameBytes(); - com.google.analytics.admin.v1alpha.SubpropertyEventFilterCondition.OneFilterCase getOneFilterCase(); + com.google.analytics.admin.v1alpha.SubpropertyEventFilterCondition.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/SubpropertyEventFilterExpression.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/SubpropertyEventFilterExpression.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/SubpropertyEventFilterExpression.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/SubpropertyEventFilterExpression.java index 2a5d090b4ea4..b0d3d9c158ab 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/SubpropertyEventFilterExpression.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/SubpropertyEventFilterExpression.java @@ -1,58 +1,81 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/subproperty_event_filter.proto package com.google.analytics.admin.v1alpha; /** + * + * *
  * A logical expression of Subproperty event filters.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.SubpropertyEventFilterExpression} */ -public final class SubpropertyEventFilterExpression extends - com.google.protobuf.GeneratedMessageV3 implements +public final class SubpropertyEventFilterExpression extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.SubpropertyEventFilterExpression) SubpropertyEventFilterExpressionOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use SubpropertyEventFilterExpression.newBuilder() to construct. - private SubpropertyEventFilterExpression(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private SubpropertyEventFilterExpression( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private SubpropertyEventFilterExpression() { - } + + private SubpropertyEventFilterExpression() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new SubpropertyEventFilterExpression(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.SubpropertyEventFilterProto.internal_static_google_analytics_admin_v1alpha_SubpropertyEventFilterExpression_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.SubpropertyEventFilterProto + .internal_static_google_analytics_admin_v1alpha_SubpropertyEventFilterExpression_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.SubpropertyEventFilterProto.internal_static_google_analytics_admin_v1alpha_SubpropertyEventFilterExpression_fieldAccessorTable + return com.google.analytics.admin.v1alpha.SubpropertyEventFilterProto + .internal_static_google_analytics_admin_v1alpha_SubpropertyEventFilterExpression_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpression.class, com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpression.Builder.class); + com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpression.class, + com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpression.Builder.class); } private int exprCase_ = 0; + @SuppressWarnings("serial") 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 { OR_GROUP(1), NOT_EXPRESSION(2), FILTER_CONDITION(3), EXPR_NOT_SET(0); private final int value; + private ExprCase(int value) { this.value = value; } @@ -68,32 +91,39 @@ public static ExprCase valueOf(int value) { public static ExprCase forNumber(int value) { switch (value) { - case 1: return OR_GROUP; - case 2: return NOT_EXPRESSION; - case 3: return FILTER_CONDITION; - case 0: return EXPR_NOT_SET; - default: return null; + case 1: + return OR_GROUP; + case 2: + return NOT_EXPRESSION; + case 3: + return FILTER_CONDITION; + 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 OR_GROUP_FIELD_NUMBER = 1; /** + * + * *
    * A list of expressions to OR’ed together. Must only contain
    * not_expression or filter_condition expressions.
    * 
* * .google.analytics.admin.v1alpha.SubpropertyEventFilterExpressionList or_group = 1; + * * @return Whether the orGroup field is set. */ @java.lang.Override @@ -101,22 +131,28 @@ public boolean hasOrGroup() { return exprCase_ == 1; } /** + * + * *
    * A list of expressions to OR’ed together. Must only contain
    * not_expression or filter_condition expressions.
    * 
* * .google.analytics.admin.v1alpha.SubpropertyEventFilterExpressionList or_group = 1; + * * @return The orGroup. */ @java.lang.Override public com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpressionList getOrGroup() { if (exprCase_ == 1) { - return (com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpressionList) expr_; + return (com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpressionList) expr_; } - return com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpressionList.getDefaultInstance(); + return com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpressionList + .getDefaultInstance(); } /** + * + * *
    * A list of expressions to OR’ed together. Must only contain
    * not_expression or filter_condition expressions.
@@ -125,22 +161,28 @@ public com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpressionList g
    * .google.analytics.admin.v1alpha.SubpropertyEventFilterExpressionList or_group = 1;
    */
   @java.lang.Override
-  public com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpressionListOrBuilder getOrGroupOrBuilder() {
+  public com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpressionListOrBuilder
+      getOrGroupOrBuilder() {
     if (exprCase_ == 1) {
-       return (com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpressionList) expr_;
+      return (com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpressionList) expr_;
     }
-    return com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpressionList.getDefaultInstance();
+    return com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpressionList
+        .getDefaultInstance();
   }
 
   public static final int NOT_EXPRESSION_FIELD_NUMBER = 2;
   /**
+   *
+   *
    * 
    * A filter expression to be NOT'ed (inverted, complemented). It can only
    * include a filter. This cannot be set on the top level
    * SubpropertyEventFilterExpression.
    * 
* - * .google.analytics.admin.v1alpha.SubpropertyEventFilterExpression not_expression = 2; + * .google.analytics.admin.v1alpha.SubpropertyEventFilterExpression not_expression = 2; + * + * * @return Whether the notExpression field is set. */ @java.lang.Override @@ -148,47 +190,59 @@ public boolean hasNotExpression() { return exprCase_ == 2; } /** + * + * *
    * A filter expression to be NOT'ed (inverted, complemented). It can only
    * include a filter. This cannot be set on the top level
    * SubpropertyEventFilterExpression.
    * 
* - * .google.analytics.admin.v1alpha.SubpropertyEventFilterExpression not_expression = 2; + * .google.analytics.admin.v1alpha.SubpropertyEventFilterExpression not_expression = 2; + * + * * @return The notExpression. */ @java.lang.Override public com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpression getNotExpression() { if (exprCase_ == 2) { - return (com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpression) expr_; + return (com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpression) expr_; } return com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpression.getDefaultInstance(); } /** + * + * *
    * A filter expression to be NOT'ed (inverted, complemented). It can only
    * include a filter. This cannot be set on the top level
    * SubpropertyEventFilterExpression.
    * 
* - * .google.analytics.admin.v1alpha.SubpropertyEventFilterExpression not_expression = 2; + * .google.analytics.admin.v1alpha.SubpropertyEventFilterExpression not_expression = 2; + * */ @java.lang.Override - public com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpressionOrBuilder getNotExpressionOrBuilder() { + public com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpressionOrBuilder + getNotExpressionOrBuilder() { if (exprCase_ == 2) { - return (com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpression) expr_; + return (com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpression) expr_; } return com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpression.getDefaultInstance(); } public static final int FILTER_CONDITION_FIELD_NUMBER = 3; /** + * + * *
    * Creates a filter that matches a specific event. This cannot be set on the
    * top level SubpropertyEventFilterExpression.
    * 
* - * .google.analytics.admin.v1alpha.SubpropertyEventFilterCondition filter_condition = 3; + * .google.analytics.admin.v1alpha.SubpropertyEventFilterCondition filter_condition = 3; + * + * * @return Whether the filterCondition field is set. */ @java.lang.Override @@ -196,38 +250,47 @@ public boolean hasFilterCondition() { return exprCase_ == 3; } /** + * + * *
    * Creates a filter that matches a specific event. This cannot be set on the
    * top level SubpropertyEventFilterExpression.
    * 
* - * .google.analytics.admin.v1alpha.SubpropertyEventFilterCondition filter_condition = 3; + * .google.analytics.admin.v1alpha.SubpropertyEventFilterCondition filter_condition = 3; + * + * * @return The filterCondition. */ @java.lang.Override public com.google.analytics.admin.v1alpha.SubpropertyEventFilterCondition getFilterCondition() { if (exprCase_ == 3) { - return (com.google.analytics.admin.v1alpha.SubpropertyEventFilterCondition) expr_; + return (com.google.analytics.admin.v1alpha.SubpropertyEventFilterCondition) expr_; } return com.google.analytics.admin.v1alpha.SubpropertyEventFilterCondition.getDefaultInstance(); } /** + * + * *
    * Creates a filter that matches a specific event. This cannot be set on the
    * top level SubpropertyEventFilterExpression.
    * 
* - * .google.analytics.admin.v1alpha.SubpropertyEventFilterCondition filter_condition = 3; + * .google.analytics.admin.v1alpha.SubpropertyEventFilterCondition filter_condition = 3; + * */ @java.lang.Override - public com.google.analytics.admin.v1alpha.SubpropertyEventFilterConditionOrBuilder getFilterConditionOrBuilder() { + public com.google.analytics.admin.v1alpha.SubpropertyEventFilterConditionOrBuilder + getFilterConditionOrBuilder() { if (exprCase_ == 3) { - return (com.google.analytics.admin.v1alpha.SubpropertyEventFilterCondition) expr_; + return (com.google.analytics.admin.v1alpha.SubpropertyEventFilterCondition) expr_; } return com.google.analytics.admin.v1alpha.SubpropertyEventFilterCondition.getDefaultInstance(); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -239,16 +302,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 (exprCase_ == 1) { - output.writeMessage(1, (com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpressionList) expr_); + output.writeMessage( + 1, (com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpressionList) expr_); } if (exprCase_ == 2) { - output.writeMessage(2, (com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpression) expr_); + output.writeMessage( + 2, (com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpression) expr_); } if (exprCase_ == 3) { - output.writeMessage(3, (com.google.analytics.admin.v1alpha.SubpropertyEventFilterCondition) expr_); + output.writeMessage( + 3, (com.google.analytics.admin.v1alpha.SubpropertyEventFilterCondition) expr_); } getUnknownFields().writeTo(output); } @@ -260,16 +325,19 @@ public int getSerializedSize() { size = 0; if (exprCase_ == 1) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, (com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpressionList) expr_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 1, (com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpressionList) expr_); } if (exprCase_ == 2) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, (com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpression) expr_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 2, (com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpression) expr_); } if (exprCase_ == 3) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, (com.google.analytics.admin.v1alpha.SubpropertyEventFilterCondition) expr_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 3, (com.google.analytics.admin.v1alpha.SubpropertyEventFilterCondition) expr_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -279,26 +347,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.SubpropertyEventFilterExpression)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpression other = (com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpression) obj; + com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpression other = + (com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpression) obj; if (!getExprCase().equals(other.getExprCase())) return false; switch (exprCase_) { case 1: - if (!getOrGroup() - .equals(other.getOrGroup())) return false; + if (!getOrGroup().equals(other.getOrGroup())) return false; break; case 2: - if (!getNotExpression() - .equals(other.getNotExpression())) return false; + if (!getNotExpression().equals(other.getNotExpression())) return false; break; case 3: - if (!getFilterCondition() - .equals(other.getFilterCondition())) return false; + if (!getFilterCondition().equals(other.getFilterCondition())) return false; break; case 0: default: @@ -336,131 +402,138 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpression parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpression parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpression parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpression parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpression parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpression parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpression parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpression parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpression parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpression parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpression parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpression + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpression parseDelimitedFrom( - java.io.InputStream input, - 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.SubpropertyEventFilterExpression + parseDelimitedFrom( + java.io.InputStream input, 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.SubpropertyEventFilterExpression parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpression parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpression prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpression prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 Subproperty event filters.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.SubpropertyEventFilterExpression} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.SubpropertyEventFilterExpression) com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpressionOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.SubpropertyEventFilterProto.internal_static_google_analytics_admin_v1alpha_SubpropertyEventFilterExpression_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.SubpropertyEventFilterProto + .internal_static_google_analytics_admin_v1alpha_SubpropertyEventFilterExpression_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.SubpropertyEventFilterProto.internal_static_google_analytics_admin_v1alpha_SubpropertyEventFilterExpression_fieldAccessorTable + return com.google.analytics.admin.v1alpha.SubpropertyEventFilterProto + .internal_static_google_analytics_admin_v1alpha_SubpropertyEventFilterExpression_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpression.class, com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpression.Builder.class); + com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpression.class, + com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpression.Builder.class); } - // Construct using com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpression.newBuilder() - private Builder() { + // Construct using + // com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpression.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(); @@ -480,14 +553,16 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.analytics.admin.v1alpha.SubpropertyEventFilterProto.internal_static_google_analytics_admin_v1alpha_SubpropertyEventFilterExpression_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1alpha.SubpropertyEventFilterProto + .internal_static_google_analytics_admin_v1alpha_SubpropertyEventFilterExpression_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpression getDefaultInstanceForType() { - return com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpression.getDefaultInstance(); + public com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpression + getDefaultInstanceForType() { + return com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpression + .getDefaultInstance(); } @java.lang.Override @@ -501,30 +576,32 @@ public com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpression build @java.lang.Override public com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpression buildPartial() { - com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpression result = new com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpression(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpression result = + new com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpression(this); + if (bitField0_ != 0) { + buildPartial0(result); + } buildPartialOneofs(result); onBuilt(); return result; } - private void buildPartial0(com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpression result) { + private void buildPartial0( + com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpression result) { int from_bitField0_ = bitField0_; } - private void buildPartialOneofs(com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpression result) { + private void buildPartialOneofs( + com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpression result) { result.exprCase_ = exprCase_; result.expr_ = this.expr_; - if (exprCase_ == 1 && - orGroupBuilder_ != null) { + if (exprCase_ == 1 && orGroupBuilder_ != null) { result.expr_ = orGroupBuilder_.build(); } - if (exprCase_ == 2 && - notExpressionBuilder_ != null) { + if (exprCase_ == 2 && notExpressionBuilder_ != null) { result.expr_ = notExpressionBuilder_.build(); } - if (exprCase_ == 3 && - filterConditionBuilder_ != null) { + if (exprCase_ == 3 && filterConditionBuilder_ != null) { result.expr_ = filterConditionBuilder_.build(); } } @@ -533,62 +610,71 @@ private void buildPartialOneofs(com.google.analytics.admin.v1alpha.SubpropertyEv public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpression) { - return mergeFrom((com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpression)other); + return mergeFrom( + (com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpression) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpression other) { - if (other == com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpression.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpression other) { + if (other + == com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpression + .getDefaultInstance()) return this; switch (other.getExprCase()) { - case OR_GROUP: { - mergeOrGroup(other.getOrGroup()); - break; - } - case NOT_EXPRESSION: { - mergeNotExpression(other.getNotExpression()); - break; - } - case FILTER_CONDITION: { - mergeFilterCondition(other.getFilterCondition()); - break; - } - case EXPR_NOT_SET: { - break; - } + case OR_GROUP: + { + mergeOrGroup(other.getOrGroup()); + break; + } + case NOT_EXPRESSION: + { + mergeNotExpression(other.getNotExpression()); + break; + } + case FILTER_CONDITION: + { + mergeFilterCondition(other.getFilterCondition()); + break; + } + case EXPR_NOT_SET: + { + break; + } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -616,33 +702,31 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getOrGroupFieldBuilder().getBuilder(), - extensionRegistry); - exprCase_ = 1; - break; - } // case 10 - case 18: { - input.readMessage( - getNotExpressionFieldBuilder().getBuilder(), - extensionRegistry); - exprCase_ = 2; - break; - } // case 18 - case 26: { - input.readMessage( - getFilterConditionFieldBuilder().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(getOrGroupFieldBuilder().getBuilder(), extensionRegistry); + exprCase_ = 1; + break; + } // case 10 + case 18: + { + input.readMessage(getNotExpressionFieldBuilder().getBuilder(), extensionRegistry); + exprCase_ = 2; + break; + } // case 18 + case 26: + { + input.readMessage(getFilterConditionFieldBuilder().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) { @@ -652,12 +736,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() { @@ -670,14 +754,21 @@ public Builder clearExpr() { private int bitField0_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpressionList, com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpressionList.Builder, com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpressionListOrBuilder> orGroupBuilder_; + com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpressionList, + com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpressionList.Builder, + com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpressionListOrBuilder> + orGroupBuilder_; /** + * + * *
      * A list of expressions to OR’ed together. Must only contain
      * not_expression or filter_condition expressions.
      * 
* - * .google.analytics.admin.v1alpha.SubpropertyEventFilterExpressionList or_group = 1; + * .google.analytics.admin.v1alpha.SubpropertyEventFilterExpressionList or_group = 1; + * + * * @return Whether the orGroup field is set. */ @java.lang.Override @@ -685,12 +776,16 @@ public boolean hasOrGroup() { return exprCase_ == 1; } /** + * + * *
      * A list of expressions to OR’ed together. Must only contain
      * not_expression or filter_condition expressions.
      * 
* - * .google.analytics.admin.v1alpha.SubpropertyEventFilterExpressionList or_group = 1; + * .google.analytics.admin.v1alpha.SubpropertyEventFilterExpressionList or_group = 1; + * + * * @return The orGroup. */ @java.lang.Override @@ -699,23 +794,29 @@ public com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpressionList g if (exprCase_ == 1) { return (com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpressionList) expr_; } - return com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpressionList.getDefaultInstance(); + return com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpressionList + .getDefaultInstance(); } else { if (exprCase_ == 1) { return orGroupBuilder_.getMessage(); } - return com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpressionList.getDefaultInstance(); + return com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpressionList + .getDefaultInstance(); } } /** + * + * *
      * A list of expressions to OR’ed together. Must only contain
      * not_expression or filter_condition expressions.
      * 
* - * .google.analytics.admin.v1alpha.SubpropertyEventFilterExpressionList or_group = 1; + * .google.analytics.admin.v1alpha.SubpropertyEventFilterExpressionList or_group = 1; + * */ - public Builder setOrGroup(com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpressionList value) { + public Builder setOrGroup( + com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpressionList value) { if (orGroupBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -729,15 +830,19 @@ public Builder setOrGroup(com.google.analytics.admin.v1alpha.SubpropertyEventFil return this; } /** + * + * *
      * A list of expressions to OR’ed together. Must only contain
      * not_expression or filter_condition expressions.
      * 
* - * .google.analytics.admin.v1alpha.SubpropertyEventFilterExpressionList or_group = 1; + * .google.analytics.admin.v1alpha.SubpropertyEventFilterExpressionList or_group = 1; + * */ public Builder setOrGroup( - com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpressionList.Builder builderForValue) { + com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpressionList.Builder + builderForValue) { if (orGroupBuilder_ == null) { expr_ = builderForValue.build(); onChanged(); @@ -748,19 +853,29 @@ public Builder setOrGroup( return this; } /** + * + * *
      * A list of expressions to OR’ed together. Must only contain
      * not_expression or filter_condition expressions.
      * 
* - * .google.analytics.admin.v1alpha.SubpropertyEventFilterExpressionList or_group = 1; + * .google.analytics.admin.v1alpha.SubpropertyEventFilterExpressionList or_group = 1; + * */ - public Builder mergeOrGroup(com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpressionList value) { + public Builder mergeOrGroup( + com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpressionList value) { if (orGroupBuilder_ == null) { - if (exprCase_ == 1 && - expr_ != com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpressionList.getDefaultInstance()) { - expr_ = com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpressionList.newBuilder((com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpressionList) expr_) - .mergeFrom(value).buildPartial(); + if (exprCase_ == 1 + && expr_ + != com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpressionList + .getDefaultInstance()) { + expr_ = + com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpressionList.newBuilder( + (com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpressionList) + expr_) + .mergeFrom(value) + .buildPartial(); } else { expr_ = value; } @@ -776,12 +891,15 @@ public Builder mergeOrGroup(com.google.analytics.admin.v1alpha.SubpropertyEventF return this; } /** + * + * *
      * A list of expressions to OR’ed together. Must only contain
      * not_expression or filter_condition expressions.
      * 
* - * .google.analytics.admin.v1alpha.SubpropertyEventFilterExpressionList or_group = 1; + * .google.analytics.admin.v1alpha.SubpropertyEventFilterExpressionList or_group = 1; + * */ public Builder clearOrGroup() { if (orGroupBuilder_ == null) { @@ -800,52 +918,71 @@ public Builder clearOrGroup() { return this; } /** + * + * *
      * A list of expressions to OR’ed together. Must only contain
      * not_expression or filter_condition expressions.
      * 
* - * .google.analytics.admin.v1alpha.SubpropertyEventFilterExpressionList or_group = 1; + * .google.analytics.admin.v1alpha.SubpropertyEventFilterExpressionList or_group = 1; + * */ - public com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpressionList.Builder getOrGroupBuilder() { + public com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpressionList.Builder + getOrGroupBuilder() { return getOrGroupFieldBuilder().getBuilder(); } /** + * + * *
      * A list of expressions to OR’ed together. Must only contain
      * not_expression or filter_condition expressions.
      * 
* - * .google.analytics.admin.v1alpha.SubpropertyEventFilterExpressionList or_group = 1; + * .google.analytics.admin.v1alpha.SubpropertyEventFilterExpressionList or_group = 1; + * */ @java.lang.Override - public com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpressionListOrBuilder getOrGroupOrBuilder() { + public com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpressionListOrBuilder + getOrGroupOrBuilder() { if ((exprCase_ == 1) && (orGroupBuilder_ != null)) { return orGroupBuilder_.getMessageOrBuilder(); } else { if (exprCase_ == 1) { return (com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpressionList) expr_; } - return com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpressionList.getDefaultInstance(); + return com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpressionList + .getDefaultInstance(); } } /** + * + * *
      * A list of expressions to OR’ed together. Must only contain
      * not_expression or filter_condition expressions.
      * 
* - * .google.analytics.admin.v1alpha.SubpropertyEventFilterExpressionList or_group = 1; + * .google.analytics.admin.v1alpha.SubpropertyEventFilterExpressionList or_group = 1; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpressionList, com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpressionList.Builder, com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpressionListOrBuilder> + com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpressionList, + com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpressionList.Builder, + com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpressionListOrBuilder> getOrGroupFieldBuilder() { if (orGroupBuilder_ == null) { if (!(exprCase_ == 1)) { - expr_ = com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpressionList.getDefaultInstance(); + expr_ = + com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpressionList + .getDefaultInstance(); } - orGroupBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpressionList, com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpressionList.Builder, com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpressionListOrBuilder>( + orGroupBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpressionList, + com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpressionList.Builder, + com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpressionListOrBuilder>( (com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpressionList) expr_, getParentForChildren(), isClean()); @@ -857,15 +994,22 @@ public com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpressionListOr } private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpression, com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpression.Builder, com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpressionOrBuilder> notExpressionBuilder_; + com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpression, + com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpression.Builder, + com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpressionOrBuilder> + notExpressionBuilder_; /** + * + * *
      * A filter expression to be NOT'ed (inverted, complemented). It can only
      * include a filter. This cannot be set on the top level
      * SubpropertyEventFilterExpression.
      * 
* - * .google.analytics.admin.v1alpha.SubpropertyEventFilterExpression not_expression = 2; + * .google.analytics.admin.v1alpha.SubpropertyEventFilterExpression not_expression = 2; + * + * * @return Whether the notExpression field is set. */ @java.lang.Override @@ -873,13 +1017,17 @@ public boolean hasNotExpression() { return exprCase_ == 2; } /** + * + * *
      * A filter expression to be NOT'ed (inverted, complemented). It can only
      * include a filter. This cannot be set on the top level
      * SubpropertyEventFilterExpression.
      * 
* - * .google.analytics.admin.v1alpha.SubpropertyEventFilterExpression not_expression = 2; + * .google.analytics.admin.v1alpha.SubpropertyEventFilterExpression not_expression = 2; + * + * * @return The notExpression. */ @java.lang.Override @@ -888,24 +1036,30 @@ public com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpression getNo if (exprCase_ == 2) { return (com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpression) expr_; } - return com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpression.getDefaultInstance(); + return com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpression + .getDefaultInstance(); } else { if (exprCase_ == 2) { return notExpressionBuilder_.getMessage(); } - return com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpression.getDefaultInstance(); + return com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpression + .getDefaultInstance(); } } /** + * + * *
      * A filter expression to be NOT'ed (inverted, complemented). It can only
      * include a filter. This cannot be set on the top level
      * SubpropertyEventFilterExpression.
      * 
* - * .google.analytics.admin.v1alpha.SubpropertyEventFilterExpression not_expression = 2; + * .google.analytics.admin.v1alpha.SubpropertyEventFilterExpression not_expression = 2; + * */ - public Builder setNotExpression(com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpression value) { + public Builder setNotExpression( + com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpression value) { if (notExpressionBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -919,16 +1073,20 @@ public Builder setNotExpression(com.google.analytics.admin.v1alpha.SubpropertyEv return this; } /** + * + * *
      * A filter expression to be NOT'ed (inverted, complemented). It can only
      * include a filter. This cannot be set on the top level
      * SubpropertyEventFilterExpression.
      * 
* - * .google.analytics.admin.v1alpha.SubpropertyEventFilterExpression not_expression = 2; + * .google.analytics.admin.v1alpha.SubpropertyEventFilterExpression not_expression = 2; + * */ public Builder setNotExpression( - com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpression.Builder builderForValue) { + com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpression.Builder + builderForValue) { if (notExpressionBuilder_ == null) { expr_ = builderForValue.build(); onChanged(); @@ -939,20 +1097,29 @@ public Builder setNotExpression( return this; } /** + * + * *
      * A filter expression to be NOT'ed (inverted, complemented). It can only
      * include a filter. This cannot be set on the top level
      * SubpropertyEventFilterExpression.
      * 
* - * .google.analytics.admin.v1alpha.SubpropertyEventFilterExpression not_expression = 2; + * .google.analytics.admin.v1alpha.SubpropertyEventFilterExpression not_expression = 2; + * */ - public Builder mergeNotExpression(com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpression value) { + public Builder mergeNotExpression( + com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpression value) { if (notExpressionBuilder_ == null) { - if (exprCase_ == 2 && - expr_ != com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpression.getDefaultInstance()) { - expr_ = com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpression.newBuilder((com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpression) expr_) - .mergeFrom(value).buildPartial(); + if (exprCase_ == 2 + && expr_ + != com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpression + .getDefaultInstance()) { + expr_ = + com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpression.newBuilder( + (com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpression) expr_) + .mergeFrom(value) + .buildPartial(); } else { expr_ = value; } @@ -968,13 +1135,16 @@ public Builder mergeNotExpression(com.google.analytics.admin.v1alpha.Subproperty return this; } /** + * + * *
      * A filter expression to be NOT'ed (inverted, complemented). It can only
      * include a filter. This cannot be set on the top level
      * SubpropertyEventFilterExpression.
      * 
* - * .google.analytics.admin.v1alpha.SubpropertyEventFilterExpression not_expression = 2; + * .google.analytics.admin.v1alpha.SubpropertyEventFilterExpression not_expression = 2; + * */ public Builder clearNotExpression() { if (notExpressionBuilder_ == null) { @@ -993,55 +1163,74 @@ public Builder clearNotExpression() { return this; } /** + * + * *
      * A filter expression to be NOT'ed (inverted, complemented). It can only
      * include a filter. This cannot be set on the top level
      * SubpropertyEventFilterExpression.
      * 
* - * .google.analytics.admin.v1alpha.SubpropertyEventFilterExpression not_expression = 2; + * .google.analytics.admin.v1alpha.SubpropertyEventFilterExpression not_expression = 2; + * */ - public com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpression.Builder getNotExpressionBuilder() { + public com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpression.Builder + getNotExpressionBuilder() { return getNotExpressionFieldBuilder().getBuilder(); } /** + * + * *
      * A filter expression to be NOT'ed (inverted, complemented). It can only
      * include a filter. This cannot be set on the top level
      * SubpropertyEventFilterExpression.
      * 
* - * .google.analytics.admin.v1alpha.SubpropertyEventFilterExpression not_expression = 2; + * .google.analytics.admin.v1alpha.SubpropertyEventFilterExpression not_expression = 2; + * */ @java.lang.Override - public com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpressionOrBuilder getNotExpressionOrBuilder() { + public com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpressionOrBuilder + getNotExpressionOrBuilder() { if ((exprCase_ == 2) && (notExpressionBuilder_ != null)) { return notExpressionBuilder_.getMessageOrBuilder(); } else { if (exprCase_ == 2) { return (com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpression) expr_; } - return com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpression.getDefaultInstance(); + return com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpression + .getDefaultInstance(); } } /** + * + * *
      * A filter expression to be NOT'ed (inverted, complemented). It can only
      * include a filter. This cannot be set on the top level
      * SubpropertyEventFilterExpression.
      * 
* - * .google.analytics.admin.v1alpha.SubpropertyEventFilterExpression not_expression = 2; + * .google.analytics.admin.v1alpha.SubpropertyEventFilterExpression not_expression = 2; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpression, com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpression.Builder, com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpressionOrBuilder> + com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpression, + com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpression.Builder, + com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpressionOrBuilder> getNotExpressionFieldBuilder() { if (notExpressionBuilder_ == null) { if (!(exprCase_ == 2)) { - expr_ = com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpression.getDefaultInstance(); + expr_ = + com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpression + .getDefaultInstance(); } - notExpressionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpression, com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpression.Builder, com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpressionOrBuilder>( + notExpressionBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpression, + com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpression.Builder, + com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpressionOrBuilder>( (com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpression) expr_, getParentForChildren(), isClean()); @@ -1053,14 +1242,21 @@ public com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpressionOrBuil } private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.SubpropertyEventFilterCondition, com.google.analytics.admin.v1alpha.SubpropertyEventFilterCondition.Builder, com.google.analytics.admin.v1alpha.SubpropertyEventFilterConditionOrBuilder> filterConditionBuilder_; + com.google.analytics.admin.v1alpha.SubpropertyEventFilterCondition, + com.google.analytics.admin.v1alpha.SubpropertyEventFilterCondition.Builder, + com.google.analytics.admin.v1alpha.SubpropertyEventFilterConditionOrBuilder> + filterConditionBuilder_; /** + * + * *
      * Creates a filter that matches a specific event. This cannot be set on the
      * top level SubpropertyEventFilterExpression.
      * 
* - * .google.analytics.admin.v1alpha.SubpropertyEventFilterCondition filter_condition = 3; + * .google.analytics.admin.v1alpha.SubpropertyEventFilterCondition filter_condition = 3; + * + * * @return Whether the filterCondition field is set. */ @java.lang.Override @@ -1068,12 +1264,16 @@ public boolean hasFilterCondition() { return exprCase_ == 3; } /** + * + * *
      * Creates a filter that matches a specific event. This cannot be set on the
      * top level SubpropertyEventFilterExpression.
      * 
* - * .google.analytics.admin.v1alpha.SubpropertyEventFilterCondition filter_condition = 3; + * .google.analytics.admin.v1alpha.SubpropertyEventFilterCondition filter_condition = 3; + * + * * @return The filterCondition. */ @java.lang.Override @@ -1082,23 +1282,29 @@ public com.google.analytics.admin.v1alpha.SubpropertyEventFilterCondition getFil if (exprCase_ == 3) { return (com.google.analytics.admin.v1alpha.SubpropertyEventFilterCondition) expr_; } - return com.google.analytics.admin.v1alpha.SubpropertyEventFilterCondition.getDefaultInstance(); + return com.google.analytics.admin.v1alpha.SubpropertyEventFilterCondition + .getDefaultInstance(); } else { if (exprCase_ == 3) { return filterConditionBuilder_.getMessage(); } - return com.google.analytics.admin.v1alpha.SubpropertyEventFilterCondition.getDefaultInstance(); + return com.google.analytics.admin.v1alpha.SubpropertyEventFilterCondition + .getDefaultInstance(); } } /** + * + * *
      * Creates a filter that matches a specific event. This cannot be set on the
      * top level SubpropertyEventFilterExpression.
      * 
* - * .google.analytics.admin.v1alpha.SubpropertyEventFilterCondition filter_condition = 3; + * .google.analytics.admin.v1alpha.SubpropertyEventFilterCondition filter_condition = 3; + * */ - public Builder setFilterCondition(com.google.analytics.admin.v1alpha.SubpropertyEventFilterCondition value) { + public Builder setFilterCondition( + com.google.analytics.admin.v1alpha.SubpropertyEventFilterCondition value) { if (filterConditionBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1112,15 +1318,19 @@ public Builder setFilterCondition(com.google.analytics.admin.v1alpha.Subproperty return this; } /** + * + * *
      * Creates a filter that matches a specific event. This cannot be set on the
      * top level SubpropertyEventFilterExpression.
      * 
* - * .google.analytics.admin.v1alpha.SubpropertyEventFilterCondition filter_condition = 3; + * .google.analytics.admin.v1alpha.SubpropertyEventFilterCondition filter_condition = 3; + * */ public Builder setFilterCondition( - com.google.analytics.admin.v1alpha.SubpropertyEventFilterCondition.Builder builderForValue) { + com.google.analytics.admin.v1alpha.SubpropertyEventFilterCondition.Builder + builderForValue) { if (filterConditionBuilder_ == null) { expr_ = builderForValue.build(); onChanged(); @@ -1131,19 +1341,28 @@ public Builder setFilterCondition( return this; } /** + * + * *
      * Creates a filter that matches a specific event. This cannot be set on the
      * top level SubpropertyEventFilterExpression.
      * 
* - * .google.analytics.admin.v1alpha.SubpropertyEventFilterCondition filter_condition = 3; + * .google.analytics.admin.v1alpha.SubpropertyEventFilterCondition filter_condition = 3; + * */ - public Builder mergeFilterCondition(com.google.analytics.admin.v1alpha.SubpropertyEventFilterCondition value) { + public Builder mergeFilterCondition( + com.google.analytics.admin.v1alpha.SubpropertyEventFilterCondition value) { if (filterConditionBuilder_ == null) { - if (exprCase_ == 3 && - expr_ != com.google.analytics.admin.v1alpha.SubpropertyEventFilterCondition.getDefaultInstance()) { - expr_ = com.google.analytics.admin.v1alpha.SubpropertyEventFilterCondition.newBuilder((com.google.analytics.admin.v1alpha.SubpropertyEventFilterCondition) expr_) - .mergeFrom(value).buildPartial(); + if (exprCase_ == 3 + && expr_ + != com.google.analytics.admin.v1alpha.SubpropertyEventFilterCondition + .getDefaultInstance()) { + expr_ = + com.google.analytics.admin.v1alpha.SubpropertyEventFilterCondition.newBuilder( + (com.google.analytics.admin.v1alpha.SubpropertyEventFilterCondition) expr_) + .mergeFrom(value) + .buildPartial(); } else { expr_ = value; } @@ -1159,12 +1378,15 @@ public Builder mergeFilterCondition(com.google.analytics.admin.v1alpha.Subproper return this; } /** + * + * *
      * Creates a filter that matches a specific event. This cannot be set on the
      * top level SubpropertyEventFilterExpression.
      * 
* - * .google.analytics.admin.v1alpha.SubpropertyEventFilterCondition filter_condition = 3; + * .google.analytics.admin.v1alpha.SubpropertyEventFilterCondition filter_condition = 3; + * */ public Builder clearFilterCondition() { if (filterConditionBuilder_ == null) { @@ -1183,52 +1405,71 @@ public Builder clearFilterCondition() { return this; } /** + * + * *
      * Creates a filter that matches a specific event. This cannot be set on the
      * top level SubpropertyEventFilterExpression.
      * 
* - * .google.analytics.admin.v1alpha.SubpropertyEventFilterCondition filter_condition = 3; + * .google.analytics.admin.v1alpha.SubpropertyEventFilterCondition filter_condition = 3; + * */ - public com.google.analytics.admin.v1alpha.SubpropertyEventFilterCondition.Builder getFilterConditionBuilder() { + public com.google.analytics.admin.v1alpha.SubpropertyEventFilterCondition.Builder + getFilterConditionBuilder() { return getFilterConditionFieldBuilder().getBuilder(); } /** + * + * *
      * Creates a filter that matches a specific event. This cannot be set on the
      * top level SubpropertyEventFilterExpression.
      * 
* - * .google.analytics.admin.v1alpha.SubpropertyEventFilterCondition filter_condition = 3; + * .google.analytics.admin.v1alpha.SubpropertyEventFilterCondition filter_condition = 3; + * */ @java.lang.Override - public com.google.analytics.admin.v1alpha.SubpropertyEventFilterConditionOrBuilder getFilterConditionOrBuilder() { + public com.google.analytics.admin.v1alpha.SubpropertyEventFilterConditionOrBuilder + getFilterConditionOrBuilder() { if ((exprCase_ == 3) && (filterConditionBuilder_ != null)) { return filterConditionBuilder_.getMessageOrBuilder(); } else { if (exprCase_ == 3) { return (com.google.analytics.admin.v1alpha.SubpropertyEventFilterCondition) expr_; } - return com.google.analytics.admin.v1alpha.SubpropertyEventFilterCondition.getDefaultInstance(); + return com.google.analytics.admin.v1alpha.SubpropertyEventFilterCondition + .getDefaultInstance(); } } /** + * + * *
      * Creates a filter that matches a specific event. This cannot be set on the
      * top level SubpropertyEventFilterExpression.
      * 
* - * .google.analytics.admin.v1alpha.SubpropertyEventFilterCondition filter_condition = 3; + * .google.analytics.admin.v1alpha.SubpropertyEventFilterCondition filter_condition = 3; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.SubpropertyEventFilterCondition, com.google.analytics.admin.v1alpha.SubpropertyEventFilterCondition.Builder, com.google.analytics.admin.v1alpha.SubpropertyEventFilterConditionOrBuilder> + com.google.analytics.admin.v1alpha.SubpropertyEventFilterCondition, + com.google.analytics.admin.v1alpha.SubpropertyEventFilterCondition.Builder, + com.google.analytics.admin.v1alpha.SubpropertyEventFilterConditionOrBuilder> getFilterConditionFieldBuilder() { if (filterConditionBuilder_ == null) { if (!(exprCase_ == 3)) { - expr_ = com.google.analytics.admin.v1alpha.SubpropertyEventFilterCondition.getDefaultInstance(); + expr_ = + com.google.analytics.admin.v1alpha.SubpropertyEventFilterCondition + .getDefaultInstance(); } - filterConditionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.SubpropertyEventFilterCondition, com.google.analytics.admin.v1alpha.SubpropertyEventFilterCondition.Builder, com.google.analytics.admin.v1alpha.SubpropertyEventFilterConditionOrBuilder>( + filterConditionBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1alpha.SubpropertyEventFilterCondition, + com.google.analytics.admin.v1alpha.SubpropertyEventFilterCondition.Builder, + com.google.analytics.admin.v1alpha.SubpropertyEventFilterConditionOrBuilder>( (com.google.analytics.admin.v1alpha.SubpropertyEventFilterCondition) expr_, getParentForChildren(), isClean()); @@ -1238,9 +1479,9 @@ public com.google.analytics.admin.v1alpha.SubpropertyEventFilterConditionOrBuild onChanged(); return filterConditionBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1250,41 +1491,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.SubpropertyEventFilterExpression) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.SubpropertyEventFilterExpression) - private static final com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpression DEFAULT_INSTANCE; + private static final com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpression + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpression(); } - public static com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpression getDefaultInstance() { + public static com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpression + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SubpropertyEventFilterExpression parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SubpropertyEventFilterExpression parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1296,9 +1539,8 @@ public com.google.protobuf.Parser getParserFor } @java.lang.Override - public com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpression getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpression + 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/SubpropertyEventFilterExpressionList.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/SubpropertyEventFilterExpressionList.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/SubpropertyEventFilterExpressionList.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/SubpropertyEventFilterExpressionList.java index ccd2c57e7a40..87cf420aa05a 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/SubpropertyEventFilterExpressionList.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/SubpropertyEventFilterExpressionList.java @@ -1,110 +1,157 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/subproperty_event_filter.proto package com.google.analytics.admin.v1alpha; /** + * + * *
  * A list of Subproperty event filter expressions.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.SubpropertyEventFilterExpressionList} */ -public final class SubpropertyEventFilterExpressionList extends - com.google.protobuf.GeneratedMessageV3 implements +public final class SubpropertyEventFilterExpressionList + extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.SubpropertyEventFilterExpressionList) SubpropertyEventFilterExpressionListOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use SubpropertyEventFilterExpressionList.newBuilder() to construct. - private SubpropertyEventFilterExpressionList(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private SubpropertyEventFilterExpressionList( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private SubpropertyEventFilterExpressionList() { 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 SubpropertyEventFilterExpressionList(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.SubpropertyEventFilterProto.internal_static_google_analytics_admin_v1alpha_SubpropertyEventFilterExpressionList_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.SubpropertyEventFilterProto + .internal_static_google_analytics_admin_v1alpha_SubpropertyEventFilterExpressionList_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.SubpropertyEventFilterProto.internal_static_google_analytics_admin_v1alpha_SubpropertyEventFilterExpressionList_fieldAccessorTable + return com.google.analytics.admin.v1alpha.SubpropertyEventFilterProto + .internal_static_google_analytics_admin_v1alpha_SubpropertyEventFilterExpressionList_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpressionList.class, com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpressionList.Builder.class); + com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpressionList.class, + com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpressionList.Builder.class); } public static final int FILTER_EXPRESSIONS_FIELD_NUMBER = 1; + @SuppressWarnings("serial") - private java.util.List filterExpressions_; + private java.util.List + filterExpressions_; /** + * + * *
    * Required. Unordered list. A list of Subproperty event filter expressions
    * 
* - * repeated .google.analytics.admin.v1alpha.SubpropertyEventFilterExpression filter_expressions = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST]; + * + * repeated .google.analytics.admin.v1alpha.SubpropertyEventFilterExpression filter_expressions = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST]; + * */ @java.lang.Override - public java.util.List getFilterExpressionsList() { + public java.util.List + getFilterExpressionsList() { return filterExpressions_; } /** + * + * *
    * Required. Unordered list. A list of Subproperty event filter expressions
    * 
* - * repeated .google.analytics.admin.v1alpha.SubpropertyEventFilterExpression filter_expressions = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST]; + * + * repeated .google.analytics.admin.v1alpha.SubpropertyEventFilterExpression filter_expressions = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST]; + * */ @java.lang.Override - public java.util.List + public java.util.List< + ? extends com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpressionOrBuilder> getFilterExpressionsOrBuilderList() { return filterExpressions_; } /** + * + * *
    * Required. Unordered list. A list of Subproperty event filter expressions
    * 
* - * repeated .google.analytics.admin.v1alpha.SubpropertyEventFilterExpression filter_expressions = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST]; + * + * repeated .google.analytics.admin.v1alpha.SubpropertyEventFilterExpression filter_expressions = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST]; + * */ @java.lang.Override public int getFilterExpressionsCount() { return filterExpressions_.size(); } /** + * + * *
    * Required. Unordered list. A list of Subproperty event filter expressions
    * 
* - * repeated .google.analytics.admin.v1alpha.SubpropertyEventFilterExpression filter_expressions = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST]; + * + * repeated .google.analytics.admin.v1alpha.SubpropertyEventFilterExpression filter_expressions = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST]; + * */ @java.lang.Override - public com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpression getFilterExpressions(int index) { + public com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpression getFilterExpressions( + int index) { return filterExpressions_.get(index); } /** + * + * *
    * Required. Unordered list. A list of Subproperty event filter expressions
    * 
* - * repeated .google.analytics.admin.v1alpha.SubpropertyEventFilterExpression filter_expressions = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST]; + * + * repeated .google.analytics.admin.v1alpha.SubpropertyEventFilterExpression filter_expressions = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST]; + * */ @java.lang.Override - public com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpressionOrBuilder getFilterExpressionsOrBuilder( - int index) { + public com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpressionOrBuilder + getFilterExpressionsOrBuilder(int index) { return filterExpressions_.get(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -116,8 +163,7 @@ public final boolean isInitialized() { } @java.lang.Override - 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)); } @@ -131,8 +177,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; @@ -142,15 +188,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.SubpropertyEventFilterExpressionList)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpressionList other = (com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpressionList) obj; + com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpressionList other = + (com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpressionList) obj; - if (!getFilterExpressionsList() - .equals(other.getFilterExpressionsList())) return false; + if (!getFilterExpressionsList().equals(other.getFilterExpressionsList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -172,131 +218,139 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpressionList parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpressionList parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpressionList parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpressionList parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpressionList parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpressionList parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpressionList parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpressionList parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpressionList parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpressionList parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpressionList parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpressionList + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpressionList parseDelimitedFrom( - java.io.InputStream input, - 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.SubpropertyEventFilterExpressionList + parseDelimitedFrom( + java.io.InputStream input, 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.SubpropertyEventFilterExpressionList parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpressionList parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpressionList prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpressionList prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 Subproperty event filter expressions.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.SubpropertyEventFilterExpressionList} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.SubpropertyEventFilterExpressionList) com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpressionListOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.SubpropertyEventFilterProto.internal_static_google_analytics_admin_v1alpha_SubpropertyEventFilterExpressionList_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.SubpropertyEventFilterProto + .internal_static_google_analytics_admin_v1alpha_SubpropertyEventFilterExpressionList_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.SubpropertyEventFilterProto.internal_static_google_analytics_admin_v1alpha_SubpropertyEventFilterExpressionList_fieldAccessorTable + return com.google.analytics.admin.v1alpha.SubpropertyEventFilterProto + .internal_static_google_analytics_admin_v1alpha_SubpropertyEventFilterExpressionList_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpressionList.class, com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpressionList.Builder.class); + com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpressionList.class, + com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpressionList.Builder + .class); } - // Construct using com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpressionList.newBuilder() - private Builder() { - - } + // Construct using + // com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpressionList.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(); @@ -312,19 +366,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.analytics.admin.v1alpha.SubpropertyEventFilterProto.internal_static_google_analytics_admin_v1alpha_SubpropertyEventFilterExpressionList_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1alpha.SubpropertyEventFilterProto + .internal_static_google_analytics_admin_v1alpha_SubpropertyEventFilterExpressionList_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpressionList getDefaultInstanceForType() { - return com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpressionList.getDefaultInstance(); + public com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpressionList + getDefaultInstanceForType() { + return com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpressionList + .getDefaultInstance(); } @java.lang.Override public com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpressionList build() { - com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpressionList result = buildPartial(); + com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpressionList result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -333,14 +390,18 @@ public com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpressionList b @java.lang.Override public com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpressionList buildPartial() { - com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpressionList result = new com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpressionList(this); + com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpressionList result = + new com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpressionList(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartialRepeatedFields(com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpressionList result) { + private void buildPartialRepeatedFields( + com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpressionList result) { if (filterExpressionsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { filterExpressions_ = java.util.Collections.unmodifiableList(filterExpressions_); @@ -352,7 +413,8 @@ private void buildPartialRepeatedFields(com.google.analytics.admin.v1alpha.Subpr } } - private void buildPartial0(com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpressionList result) { + private void buildPartial0( + com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpressionList result) { int from_bitField0_ = bitField0_; } @@ -360,46 +422,52 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.SubpropertyEventFi public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpressionList) { - return mergeFrom((com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpressionList)other); + if (other + instanceof com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpressionList) { + return mergeFrom( + (com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpressionList) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpressionList other) { - if (other == com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpressionList.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpressionList other) { + if (other + == com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpressionList + .getDefaultInstance()) return this; if (filterExpressionsBuilder_ == null) { if (!other.filterExpressions_.isEmpty()) { if (filterExpressions_.isEmpty()) { @@ -418,9 +486,10 @@ public Builder mergeFrom(com.google.analytics.admin.v1alpha.SubpropertyEventFilt 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_); } @@ -452,25 +521,28 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpression m = - input.readMessage( - com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpression.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.SubpropertyEventFilterExpression m = + input.readMessage( + com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpression + .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) { @@ -480,28 +552,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.SubpropertyEventFilterExpression>( + filterExpressions_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpression, com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpression.Builder, com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpressionOrBuilder> filterExpressionsBuilder_; + com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpression, + com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpression.Builder, + com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpressionOrBuilder> + filterExpressionsBuilder_; /** + * + * *
      * Required. Unordered list. A list of Subproperty event filter expressions
      * 
* - * repeated .google.analytics.admin.v1alpha.SubpropertyEventFilterExpression filter_expressions = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST]; + * + * repeated .google.analytics.admin.v1alpha.SubpropertyEventFilterExpression filter_expressions = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST]; + * */ - public java.util.List getFilterExpressionsList() { + public java.util.List + getFilterExpressionsList() { if (filterExpressionsBuilder_ == null) { return java.util.Collections.unmodifiableList(filterExpressions_); } else { @@ -509,11 +594,15 @@ public java.util.List * Required. Unordered list. A list of Subproperty event filter expressions *
* - * repeated .google.analytics.admin.v1alpha.SubpropertyEventFilterExpression filter_expressions = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST]; + * + * repeated .google.analytics.admin.v1alpha.SubpropertyEventFilterExpression filter_expressions = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST]; + * */ public int getFilterExpressionsCount() { if (filterExpressionsBuilder_ == null) { @@ -523,13 +612,18 @@ public int getFilterExpressionsCount() { } } /** + * + * *
      * Required. Unordered list. A list of Subproperty event filter expressions
      * 
* - * repeated .google.analytics.admin.v1alpha.SubpropertyEventFilterExpression filter_expressions = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST]; + * + * repeated .google.analytics.admin.v1alpha.SubpropertyEventFilterExpression filter_expressions = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST]; + * */ - public com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpression getFilterExpressions(int index) { + public com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpression getFilterExpressions( + int index) { if (filterExpressionsBuilder_ == null) { return filterExpressions_.get(index); } else { @@ -537,11 +631,15 @@ public com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpression getFi } } /** + * + * *
      * Required. Unordered list. A list of Subproperty event filter expressions
      * 
* - * repeated .google.analytics.admin.v1alpha.SubpropertyEventFilterExpression filter_expressions = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST]; + * + * repeated .google.analytics.admin.v1alpha.SubpropertyEventFilterExpression filter_expressions = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST]; + * */ public Builder setFilterExpressions( int index, com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpression value) { @@ -558,14 +656,20 @@ public Builder setFilterExpressions( return this; } /** + * + * *
      * Required. Unordered list. A list of Subproperty event filter expressions
      * 
* - * repeated .google.analytics.admin.v1alpha.SubpropertyEventFilterExpression filter_expressions = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST]; + * + * repeated .google.analytics.admin.v1alpha.SubpropertyEventFilterExpression filter_expressions = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST]; + * */ public Builder setFilterExpressions( - int index, com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpression.Builder builderForValue) { + int index, + com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpression.Builder + builderForValue) { if (filterExpressionsBuilder_ == null) { ensureFilterExpressionsIsMutable(); filterExpressions_.set(index, builderForValue.build()); @@ -576,13 +680,18 @@ public Builder setFilterExpressions( return this; } /** + * + * *
      * Required. Unordered list. A list of Subproperty event filter expressions
      * 
* - * repeated .google.analytics.admin.v1alpha.SubpropertyEventFilterExpression filter_expressions = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST]; + * + * repeated .google.analytics.admin.v1alpha.SubpropertyEventFilterExpression filter_expressions = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST]; + * */ - public Builder addFilterExpressions(com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpression value) { + public Builder addFilterExpressions( + com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpression value) { if (filterExpressionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -596,11 +705,15 @@ public Builder addFilterExpressions(com.google.analytics.admin.v1alpha.Subproper return this; } /** + * + * *
      * Required. Unordered list. A list of Subproperty event filter expressions
      * 
* - * repeated .google.analytics.admin.v1alpha.SubpropertyEventFilterExpression filter_expressions = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST]; + * + * repeated .google.analytics.admin.v1alpha.SubpropertyEventFilterExpression filter_expressions = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST]; + * */ public Builder addFilterExpressions( int index, com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpression value) { @@ -617,14 +730,19 @@ public Builder addFilterExpressions( return this; } /** + * + * *
      * Required. Unordered list. A list of Subproperty event filter expressions
      * 
* - * repeated .google.analytics.admin.v1alpha.SubpropertyEventFilterExpression filter_expressions = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST]; + * + * repeated .google.analytics.admin.v1alpha.SubpropertyEventFilterExpression filter_expressions = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST]; + * */ public Builder addFilterExpressions( - com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpression.Builder builderForValue) { + com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpression.Builder + builderForValue) { if (filterExpressionsBuilder_ == null) { ensureFilterExpressionsIsMutable(); filterExpressions_.add(builderForValue.build()); @@ -635,14 +753,20 @@ public Builder addFilterExpressions( return this; } /** + * + * *
      * Required. Unordered list. A list of Subproperty event filter expressions
      * 
* - * repeated .google.analytics.admin.v1alpha.SubpropertyEventFilterExpression filter_expressions = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST]; + * + * repeated .google.analytics.admin.v1alpha.SubpropertyEventFilterExpression filter_expressions = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST]; + * */ public Builder addFilterExpressions( - int index, com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpression.Builder builderForValue) { + int index, + com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpression.Builder + builderForValue) { if (filterExpressionsBuilder_ == null) { ensureFilterExpressionsIsMutable(); filterExpressions_.add(index, builderForValue.build()); @@ -653,18 +777,23 @@ public Builder addFilterExpressions( return this; } /** + * + * *
      * Required. Unordered list. A list of Subproperty event filter expressions
      * 
* - * repeated .google.analytics.admin.v1alpha.SubpropertyEventFilterExpression filter_expressions = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST]; + * + * repeated .google.analytics.admin.v1alpha.SubpropertyEventFilterExpression filter_expressions = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST]; + * */ public Builder addAllFilterExpressions( - java.lang.Iterable values) { + java.lang.Iterable< + ? extends com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpression> + 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); @@ -672,11 +801,15 @@ public Builder addAllFilterExpressions( return this; } /** + * + * *
      * Required. Unordered list. A list of Subproperty event filter expressions
      * 
* - * repeated .google.analytics.admin.v1alpha.SubpropertyEventFilterExpression filter_expressions = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST]; + * + * repeated .google.analytics.admin.v1alpha.SubpropertyEventFilterExpression filter_expressions = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST]; + * */ public Builder clearFilterExpressions() { if (filterExpressionsBuilder_ == null) { @@ -689,11 +822,15 @@ public Builder clearFilterExpressions() { return this; } /** + * + * *
      * Required. Unordered list. A list of Subproperty event filter expressions
      * 
* - * repeated .google.analytics.admin.v1alpha.SubpropertyEventFilterExpression filter_expressions = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST]; + * + * repeated .google.analytics.admin.v1alpha.SubpropertyEventFilterExpression filter_expressions = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST]; + * */ public Builder removeFilterExpressions(int index) { if (filterExpressionsBuilder_ == null) { @@ -706,39 +843,53 @@ public Builder removeFilterExpressions(int index) { return this; } /** + * + * *
      * Required. Unordered list. A list of Subproperty event filter expressions
      * 
* - * repeated .google.analytics.admin.v1alpha.SubpropertyEventFilterExpression filter_expressions = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST]; + * + * repeated .google.analytics.admin.v1alpha.SubpropertyEventFilterExpression filter_expressions = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST]; + * */ - public com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpression.Builder getFilterExpressionsBuilder( - int index) { + public com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpression.Builder + getFilterExpressionsBuilder(int index) { return getFilterExpressionsFieldBuilder().getBuilder(index); } /** + * + * *
      * Required. Unordered list. A list of Subproperty event filter expressions
      * 
* - * repeated .google.analytics.admin.v1alpha.SubpropertyEventFilterExpression filter_expressions = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST]; + * + * repeated .google.analytics.admin.v1alpha.SubpropertyEventFilterExpression filter_expressions = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST]; + * */ - public com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpressionOrBuilder getFilterExpressionsOrBuilder( - int index) { + public com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpressionOrBuilder + getFilterExpressionsOrBuilder(int index) { if (filterExpressionsBuilder_ == null) { - return filterExpressions_.get(index); } else { + return filterExpressions_.get(index); + } else { return filterExpressionsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Required. Unordered list. A list of Subproperty event filter expressions
      * 
* - * repeated .google.analytics.admin.v1alpha.SubpropertyEventFilterExpression filter_expressions = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST]; + * + * repeated .google.analytics.admin.v1alpha.SubpropertyEventFilterExpression filter_expressions = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST]; + * */ - public java.util.List - getFilterExpressionsOrBuilderList() { + public java.util.List< + ? extends com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpressionOrBuilder> + getFilterExpressionsOrBuilderList() { if (filterExpressionsBuilder_ != null) { return filterExpressionsBuilder_.getMessageOrBuilderList(); } else { @@ -746,45 +897,70 @@ public com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpressionOrBuil } } /** + * + * *
      * Required. Unordered list. A list of Subproperty event filter expressions
      * 
* - * repeated .google.analytics.admin.v1alpha.SubpropertyEventFilterExpression filter_expressions = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST]; + * + * repeated .google.analytics.admin.v1alpha.SubpropertyEventFilterExpression filter_expressions = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST]; + * */ - public com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpression.Builder addFilterExpressionsBuilder() { - return getFilterExpressionsFieldBuilder().addBuilder( - com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpression.getDefaultInstance()); + public com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpression.Builder + addFilterExpressionsBuilder() { + return getFilterExpressionsFieldBuilder() + .addBuilder( + com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpression + .getDefaultInstance()); } /** + * + * *
      * Required. Unordered list. A list of Subproperty event filter expressions
      * 
* - * repeated .google.analytics.admin.v1alpha.SubpropertyEventFilterExpression filter_expressions = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST]; + * + * repeated .google.analytics.admin.v1alpha.SubpropertyEventFilterExpression filter_expressions = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST]; + * */ - public com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpression.Builder addFilterExpressionsBuilder( - int index) { - return getFilterExpressionsFieldBuilder().addBuilder( - index, com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpression.getDefaultInstance()); + public com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpression.Builder + addFilterExpressionsBuilder(int index) { + return getFilterExpressionsFieldBuilder() + .addBuilder( + index, + com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpression + .getDefaultInstance()); } /** + * + * *
      * Required. Unordered list. A list of Subproperty event filter expressions
      * 
* - * repeated .google.analytics.admin.v1alpha.SubpropertyEventFilterExpression filter_expressions = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST]; + * + * repeated .google.analytics.admin.v1alpha.SubpropertyEventFilterExpression filter_expressions = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST]; + * */ - public java.util.List - getFilterExpressionsBuilderList() { + public java.util.List< + com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpression.Builder> + getFilterExpressionsBuilderList() { return getFilterExpressionsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpression, com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpression.Builder, com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpressionOrBuilder> + com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpression, + com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpression.Builder, + com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpressionOrBuilder> getFilterExpressionsFieldBuilder() { if (filterExpressionsBuilder_ == null) { - filterExpressionsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpression, com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpression.Builder, com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpressionOrBuilder>( + filterExpressionsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpression, + com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpression.Builder, + com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpressionOrBuilder>( filterExpressions_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -793,9 +969,9 @@ public com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpression.Build } 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); } @@ -805,41 +981,44 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.SubpropertyEventFilterExpressionList) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.SubpropertyEventFilterExpressionList) - private static final com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpressionList DEFAULT_INSTANCE; + private static final com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpressionList + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpressionList(); + DEFAULT_INSTANCE = + new com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpressionList(); } - public static com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpressionList getDefaultInstance() { + public static com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpressionList + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SubpropertyEventFilterExpressionList parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SubpropertyEventFilterExpressionList parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -851,9 +1030,8 @@ public com.google.protobuf.Parser getParse } @java.lang.Override - public com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpressionList getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpressionList + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/SubpropertyEventFilterExpressionListOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/SubpropertyEventFilterExpressionListOrBuilder.java new file mode 100644 index 000000000000..1e74881f418f --- /dev/null +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/SubpropertyEventFilterExpressionListOrBuilder.java @@ -0,0 +1,91 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/analytics/admin/v1alpha/subproperty_event_filter.proto + +package com.google.analytics.admin.v1alpha; + +public interface SubpropertyEventFilterExpressionListOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.SubpropertyEventFilterExpressionList) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. Unordered list. A list of Subproperty event filter expressions
+   * 
+ * + * + * repeated .google.analytics.admin.v1alpha.SubpropertyEventFilterExpression filter_expressions = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST]; + * + */ + java.util.List + getFilterExpressionsList(); + /** + * + * + *
+   * Required. Unordered list. A list of Subproperty event filter expressions
+   * 
+ * + * + * repeated .google.analytics.admin.v1alpha.SubpropertyEventFilterExpression filter_expressions = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST]; + * + */ + com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpression getFilterExpressions( + int index); + /** + * + * + *
+   * Required. Unordered list. A list of Subproperty event filter expressions
+   * 
+ * + * + * repeated .google.analytics.admin.v1alpha.SubpropertyEventFilterExpression filter_expressions = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST]; + * + */ + int getFilterExpressionsCount(); + /** + * + * + *
+   * Required. Unordered list. A list of Subproperty event filter expressions
+   * 
+ * + * + * repeated .google.analytics.admin.v1alpha.SubpropertyEventFilterExpression filter_expressions = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST]; + * + */ + java.util.List< + ? extends com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpressionOrBuilder> + getFilterExpressionsOrBuilderList(); + /** + * + * + *
+   * Required. Unordered list. A list of Subproperty event filter expressions
+   * 
+ * + * + * repeated .google.analytics.admin.v1alpha.SubpropertyEventFilterExpression filter_expressions = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST]; + * + */ + com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpressionOrBuilder + 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/SubpropertyEventFilterExpressionOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/SubpropertyEventFilterExpressionOrBuilder.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/SubpropertyEventFilterExpressionOrBuilder.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/SubpropertyEventFilterExpressionOrBuilder.java index 032c3f5e5e80..bb4d99e9179e 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/SubpropertyEventFilterExpressionOrBuilder.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/SubpropertyEventFilterExpressionOrBuilder.java @@ -1,33 +1,57 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/subproperty_event_filter.proto package com.google.analytics.admin.v1alpha; -public interface SubpropertyEventFilterExpressionOrBuilder extends +public interface SubpropertyEventFilterExpressionOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.SubpropertyEventFilterExpression) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * A list of expressions to OR’ed together. Must only contain
    * not_expression or filter_condition expressions.
    * 
* * .google.analytics.admin.v1alpha.SubpropertyEventFilterExpressionList or_group = 1; + * * @return Whether the orGroup field is set. */ boolean hasOrGroup(); /** + * + * *
    * A list of expressions to OR’ed together. Must only contain
    * not_expression or filter_condition expressions.
    * 
* * .google.analytics.admin.v1alpha.SubpropertyEventFilterExpressionList or_group = 1; + * * @return The orGroup. */ com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpressionList getOrGroup(); /** + * + * *
    * A list of expressions to OR’ed together. Must only contain
    * not_expression or filter_condition expressions.
@@ -35,70 +59,95 @@ public interface SubpropertyEventFilterExpressionOrBuilder extends
    *
    * .google.analytics.admin.v1alpha.SubpropertyEventFilterExpressionList or_group = 1;
    */
-  com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpressionListOrBuilder getOrGroupOrBuilder();
+  com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpressionListOrBuilder
+      getOrGroupOrBuilder();
 
   /**
+   *
+   *
    * 
    * A filter expression to be NOT'ed (inverted, complemented). It can only
    * include a filter. This cannot be set on the top level
    * SubpropertyEventFilterExpression.
    * 
* - * .google.analytics.admin.v1alpha.SubpropertyEventFilterExpression not_expression = 2; + * .google.analytics.admin.v1alpha.SubpropertyEventFilterExpression not_expression = 2; + * + * * @return Whether the notExpression field is set. */ boolean hasNotExpression(); /** + * + * *
    * A filter expression to be NOT'ed (inverted, complemented). It can only
    * include a filter. This cannot be set on the top level
    * SubpropertyEventFilterExpression.
    * 
* - * .google.analytics.admin.v1alpha.SubpropertyEventFilterExpression not_expression = 2; + * .google.analytics.admin.v1alpha.SubpropertyEventFilterExpression not_expression = 2; + * + * * @return The notExpression. */ com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpression getNotExpression(); /** + * + * *
    * A filter expression to be NOT'ed (inverted, complemented). It can only
    * include a filter. This cannot be set on the top level
    * SubpropertyEventFilterExpression.
    * 
* - * .google.analytics.admin.v1alpha.SubpropertyEventFilterExpression not_expression = 2; + * .google.analytics.admin.v1alpha.SubpropertyEventFilterExpression not_expression = 2; + * */ - com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpressionOrBuilder getNotExpressionOrBuilder(); + com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpressionOrBuilder + getNotExpressionOrBuilder(); /** + * + * *
    * Creates a filter that matches a specific event. This cannot be set on the
    * top level SubpropertyEventFilterExpression.
    * 
* - * .google.analytics.admin.v1alpha.SubpropertyEventFilterCondition filter_condition = 3; + * .google.analytics.admin.v1alpha.SubpropertyEventFilterCondition filter_condition = 3; + * + * * @return Whether the filterCondition field is set. */ boolean hasFilterCondition(); /** + * + * *
    * Creates a filter that matches a specific event. This cannot be set on the
    * top level SubpropertyEventFilterExpression.
    * 
* - * .google.analytics.admin.v1alpha.SubpropertyEventFilterCondition filter_condition = 3; + * .google.analytics.admin.v1alpha.SubpropertyEventFilterCondition filter_condition = 3; + * + * * @return The filterCondition. */ com.google.analytics.admin.v1alpha.SubpropertyEventFilterCondition getFilterCondition(); /** + * + * *
    * Creates a filter that matches a specific event. This cannot be set on the
    * top level SubpropertyEventFilterExpression.
    * 
* - * .google.analytics.admin.v1alpha.SubpropertyEventFilterCondition filter_condition = 3; + * .google.analytics.admin.v1alpha.SubpropertyEventFilterCondition filter_condition = 3; + * */ - com.google.analytics.admin.v1alpha.SubpropertyEventFilterConditionOrBuilder getFilterConditionOrBuilder(); + com.google.analytics.admin.v1alpha.SubpropertyEventFilterConditionOrBuilder + getFilterConditionOrBuilder(); com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpression.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/SubpropertyEventFilterName.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/SubpropertyEventFilterName.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/SubpropertyEventFilterName.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/SubpropertyEventFilterName.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/SubpropertyEventFilterOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/SubpropertyEventFilterOrBuilder.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/SubpropertyEventFilterOrBuilder.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/SubpropertyEventFilterOrBuilder.java index 67dd076c4b83..b0bee1b20692 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/SubpropertyEventFilterOrBuilder.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/SubpropertyEventFilterOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1alpha/subproperty_event_filter.proto package com.google.analytics.admin.v1alpha; -public interface SubpropertyEventFilterOrBuilder extends +public interface SubpropertyEventFilterOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.SubpropertyEventFilter) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Output only. Format:
    * properties/{ordinary_property_id}/subpropertyEventFilters/{sub_property_event_filter}
@@ -15,10 +33,13 @@ public interface SubpropertyEventFilterOrBuilder extends
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Output only. Format:
    * properties/{ordinary_property_id}/subpropertyEventFilters/{sub_property_event_filter}
@@ -26,91 +47,119 @@ public interface SubpropertyEventFilterOrBuilder 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. Resource name of the Subproperty that uses this filter.
    * 
* * optional string apply_to_property = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return Whether the applyToProperty field is set. */ boolean hasApplyToProperty(); /** + * + * *
    * Immutable. Resource name of the Subproperty that uses this filter.
    * 
* * optional string apply_to_property = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return The applyToProperty. */ java.lang.String getApplyToProperty(); /** + * + * *
    * Immutable. Resource name of the Subproperty that uses this filter.
    * 
* * optional string apply_to_property = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return The bytes for applyToProperty. */ - com.google.protobuf.ByteString - getApplyToPropertyBytes(); + com.google.protobuf.ByteString getApplyToPropertyBytes(); /** + * + * *
    * Required. Unordered list. Filter clauses that define the
    * SubpropertyEventFilter. All clauses are AND'ed together to determine what
    * data is sent to the subproperty.
    * 
* - * repeated .google.analytics.admin.v1alpha.SubpropertyEventFilterClause filter_clauses = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST]; + * + * repeated .google.analytics.admin.v1alpha.SubpropertyEventFilterClause filter_clauses = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST]; + * */ - java.util.List + java.util.List getFilterClausesList(); /** + * + * *
    * Required. Unordered list. Filter clauses that define the
    * SubpropertyEventFilter. All clauses are AND'ed together to determine what
    * data is sent to the subproperty.
    * 
* - * repeated .google.analytics.admin.v1alpha.SubpropertyEventFilterClause filter_clauses = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST]; + * + * repeated .google.analytics.admin.v1alpha.SubpropertyEventFilterClause filter_clauses = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST]; + * */ com.google.analytics.admin.v1alpha.SubpropertyEventFilterClause getFilterClauses(int index); /** + * + * *
    * Required. Unordered list. Filter clauses that define the
    * SubpropertyEventFilter. All clauses are AND'ed together to determine what
    * data is sent to the subproperty.
    * 
* - * repeated .google.analytics.admin.v1alpha.SubpropertyEventFilterClause filter_clauses = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST]; + * + * repeated .google.analytics.admin.v1alpha.SubpropertyEventFilterClause filter_clauses = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST]; + * */ int getFilterClausesCount(); /** + * + * *
    * Required. Unordered list. Filter clauses that define the
    * SubpropertyEventFilter. All clauses are AND'ed together to determine what
    * data is sent to the subproperty.
    * 
* - * repeated .google.analytics.admin.v1alpha.SubpropertyEventFilterClause filter_clauses = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST]; + * + * repeated .google.analytics.admin.v1alpha.SubpropertyEventFilterClause filter_clauses = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST]; + * */ - java.util.List + java.util.List getFilterClausesOrBuilderList(); /** + * + * *
    * Required. Unordered list. Filter clauses that define the
    * SubpropertyEventFilter. All clauses are AND'ed together to determine what
    * data is sent to the subproperty.
    * 
* - * repeated .google.analytics.admin.v1alpha.SubpropertyEventFilterClause filter_clauses = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST]; + * + * repeated .google.analytics.admin.v1alpha.SubpropertyEventFilterClause filter_clauses = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST]; + * */ - com.google.analytics.admin.v1alpha.SubpropertyEventFilterClauseOrBuilder getFilterClausesOrBuilder( - int index); + com.google.analytics.admin.v1alpha.SubpropertyEventFilterClauseOrBuilder + getFilterClausesOrBuilder(int index); } diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/SubpropertyEventFilterProto.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/SubpropertyEventFilterProto.java new file mode 100644 index 000000000000..58e0fe70a959 --- /dev/null +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/SubpropertyEventFilterProto.java @@ -0,0 +1,182 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/analytics/admin/v1alpha/subproperty_event_filter.proto + +package com.google.analytics.admin.v1alpha; + +public final class SubpropertyEventFilterProto { + private SubpropertyEventFilterProto() {} + + 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_SubpropertyEventFilterCondition_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_SubpropertyEventFilterCondition_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_SubpropertyEventFilterCondition_StringFilter_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_SubpropertyEventFilterCondition_StringFilter_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_SubpropertyEventFilterExpression_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_SubpropertyEventFilterExpression_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_SubpropertyEventFilterExpressionList_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_SubpropertyEventFilterExpressionList_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_SubpropertyEventFilterClause_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_SubpropertyEventFilterClause_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1alpha_SubpropertyEventFilter_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1alpha_SubpropertyEventFilter_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/subprop" + + "erty_event_filter.proto\022\036google.analytic" + + "s.admin.v1alpha\032\037google/api/field_behavi" + + "or.proto\032\031google/api/resource.proto\"\205\004\n\037" + + "SubpropertyEventFilterCondition\022\025\n\013null_" + + "filter\030\002 \001(\010H\000\022e\n\rstring_filter\030\003 \001(\0132L." + + "google.analytics.admin.v1alpha.Subproper" + + "tyEventFilterCondition.StringFilterH\000\022\030\n" + + "\nfield_name\030\001 \001(\tB\004\342A\001\002\032\273\002\n\014StringFilter" + + "\022p\n\nmatch_type\030\001 \001(\0162V.google.analytics." + + "admin.v1alpha.SubpropertyEventFilterCond" + + "ition.StringFilter.MatchTypeB\004\342A\001\002\022\023\n\005va" + + "lue\030\002 \001(\tB\004\342A\001\002\022\034\n\016case_sensitive\030\003 \001(\010B" + + "\004\342A\001\001\"\205\001\n\tMatchType\022\032\n\026MATCH_TYPE_UNSPEC" + + "IFIED\020\000\022\t\n\005EXACT\020\001\022\017\n\013BEGINS_WITH\020\002\022\r\n\tE" + + "NDS_WITH\020\003\022\014\n\010CONTAINS\020\004\022\017\n\013FULL_REGEXP\020" + + "\005\022\022\n\016PARTIAL_REGEXP\020\006B\014\n\none_filter\"\275\002\n " + + "SubpropertyEventFilterExpression\022X\n\010or_g" + + "roup\030\001 \001(\0132D.google.analytics.admin.v1al" + + "pha.SubpropertyEventFilterExpressionList" + + "H\000\022Z\n\016not_expression\030\002 \001(\0132@.google.anal" + + "ytics.admin.v1alpha.SubpropertyEventFilt" + + "erExpressionH\000\022[\n\020filter_condition\030\003 \001(\013" + + "2?.google.analytics.admin.v1alpha.Subpro" + + "pertyEventFilterConditionH\000B\006\n\004expr\"\213\001\n$" + + "SubpropertyEventFilterExpressionList\022c\n\022" + + "filter_expressions\030\001 \003(\0132@.google.analyt" + + "ics.admin.v1alpha.SubpropertyEventFilter" + + "ExpressionB\005\342A\002\002\006\"\304\002\n\034SubpropertyEventFi" + + "lterClause\022o\n\022filter_clause_type\030\001 \001(\0162M" + + ".google.analytics.admin.v1alpha.Subprope" + + "rtyEventFilterClause.FilterClauseTypeB\004\342" + + "A\001\002\022a\n\021filter_expression\030\002 \001(\0132@.google." + + "analytics.admin.v1alpha.SubpropertyEvent" + + "FilterExpressionB\004\342A\001\002\"P\n\020FilterClauseTy" + + "pe\022\"\n\036FILTER_CLAUSE_TYPE_UNSPECIFIED\020\000\022\013" + + "\n\007INCLUDE\020\001\022\013\n\007EXCLUDE\020\002\"\376\002\n\026Subproperty" + + "EventFilter\022\022\n\004name\030\001 \001(\tB\004\342A\001\003\022$\n\021apply" + + "_to_property\030\002 \001(\tB\004\342A\001\005H\000\210\001\001\022[\n\016filter_" + + "clauses\030\003 \003(\0132<.google.analytics.admin.v" + + "1alpha.SubpropertyEventFilterClauseB\005\342A\002" + + "\002\006:\266\001\352A\262\001\n4analyticsadmin.googleapis.com" + + "/SubpropertyEventFilter\022Iproperties/{pro" + + "perty}/subpropertyEventFilters/{sub_prop" + + "erty_event_filter}*\027subpropertyEventFilt" + + "ers2\026subpropertyEventFilterB\024\n\022_apply_to" + + "_propertyB\203\001\n\"com.google.analytics.admin" + + ".v1alphaB\033SubpropertyEventFilterProtoP\001Z" + + ">cloud.google.com/go/analytics/admin/api" + + "v1alpha/adminpb;adminpbb\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(), + }); + internal_static_google_analytics_admin_v1alpha_SubpropertyEventFilterCondition_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_analytics_admin_v1alpha_SubpropertyEventFilterCondition_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_SubpropertyEventFilterCondition_descriptor, + new java.lang.String[] { + "NullFilter", "StringFilter", "FieldName", "OneFilter", + }); + internal_static_google_analytics_admin_v1alpha_SubpropertyEventFilterCondition_StringFilter_descriptor = + internal_static_google_analytics_admin_v1alpha_SubpropertyEventFilterCondition_descriptor + .getNestedTypes() + .get(0); + internal_static_google_analytics_admin_v1alpha_SubpropertyEventFilterCondition_StringFilter_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_SubpropertyEventFilterCondition_StringFilter_descriptor, + new java.lang.String[] { + "MatchType", "Value", "CaseSensitive", + }); + internal_static_google_analytics_admin_v1alpha_SubpropertyEventFilterExpression_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_analytics_admin_v1alpha_SubpropertyEventFilterExpression_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_SubpropertyEventFilterExpression_descriptor, + new java.lang.String[] { + "OrGroup", "NotExpression", "FilterCondition", "Expr", + }); + internal_static_google_analytics_admin_v1alpha_SubpropertyEventFilterExpressionList_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_analytics_admin_v1alpha_SubpropertyEventFilterExpressionList_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_SubpropertyEventFilterExpressionList_descriptor, + new java.lang.String[] { + "FilterExpressions", + }); + internal_static_google_analytics_admin_v1alpha_SubpropertyEventFilterClause_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_analytics_admin_v1alpha_SubpropertyEventFilterClause_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_SubpropertyEventFilterClause_descriptor, + new java.lang.String[] { + "FilterClauseType", "FilterExpression", + }); + internal_static_google_analytics_admin_v1alpha_SubpropertyEventFilter_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_analytics_admin_v1alpha_SubpropertyEventFilter_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1alpha_SubpropertyEventFilter_descriptor, + new java.lang.String[] { + "Name", "ApplyToProperty", "FilterClauses", "ApplyToProperty", + }); + 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(); + } + + // @@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/UpdateAccessBindingRequest.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateAccessBindingRequest.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/UpdateAccessBindingRequest.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateAccessBindingRequest.java index dad589a40b6d..196a1672a61f 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateAccessBindingRequest.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateAccessBindingRequest.java @@ -1,55 +1,78 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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 UpdateAccessBinding RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.UpdateAccessBindingRequest} */ -public final class UpdateAccessBindingRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class UpdateAccessBindingRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.UpdateAccessBindingRequest) UpdateAccessBindingRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use UpdateAccessBindingRequest.newBuilder() to construct. private UpdateAccessBindingRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private UpdateAccessBindingRequest() { - } + + private UpdateAccessBindingRequest() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new UpdateAccessBindingRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_UpdateAccessBindingRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_UpdateAccessBindingRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_UpdateAccessBindingRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_UpdateAccessBindingRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.UpdateAccessBindingRequest.class, com.google.analytics.admin.v1alpha.UpdateAccessBindingRequest.Builder.class); + com.google.analytics.admin.v1alpha.UpdateAccessBindingRequest.class, + com.google.analytics.admin.v1alpha.UpdateAccessBindingRequest.Builder.class); } public static final int ACCESS_BINDING_FIELD_NUMBER = 1; private com.google.analytics.admin.v1alpha.AccessBinding accessBinding_; /** + * + * *
    * Required. The access binding to update.
    * 
* - * .google.analytics.admin.v1alpha.AccessBinding access_binding = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.AccessBinding access_binding = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the accessBinding field is set. */ @java.lang.Override @@ -57,30 +80,44 @@ public boolean hasAccessBinding() { return accessBinding_ != null; } /** + * + * *
    * Required. The access binding to update.
    * 
* - * .google.analytics.admin.v1alpha.AccessBinding access_binding = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.AccessBinding access_binding = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The accessBinding. */ @java.lang.Override public com.google.analytics.admin.v1alpha.AccessBinding getAccessBinding() { - return accessBinding_ == null ? com.google.analytics.admin.v1alpha.AccessBinding.getDefaultInstance() : accessBinding_; + return accessBinding_ == null + ? com.google.analytics.admin.v1alpha.AccessBinding.getDefaultInstance() + : accessBinding_; } /** + * + * *
    * Required. The access binding to update.
    * 
* - * .google.analytics.admin.v1alpha.AccessBinding access_binding = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.AccessBinding access_binding = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.analytics.admin.v1alpha.AccessBindingOrBuilder getAccessBindingOrBuilder() { - return accessBinding_ == null ? com.google.analytics.admin.v1alpha.AccessBinding.getDefaultInstance() : accessBinding_; + return accessBinding_ == null + ? com.google.analytics.admin.v1alpha.AccessBinding.getDefaultInstance() + : accessBinding_; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -92,8 +129,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (accessBinding_ != null) { output.writeMessage(1, getAccessBinding()); } @@ -107,8 +143,7 @@ public int getSerializedSize() { size = 0; if (accessBinding_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getAccessBinding()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getAccessBinding()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -118,17 +153,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.UpdateAccessBindingRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.UpdateAccessBindingRequest other = (com.google.analytics.admin.v1alpha.UpdateAccessBindingRequest) obj; + com.google.analytics.admin.v1alpha.UpdateAccessBindingRequest other = + (com.google.analytics.admin.v1alpha.UpdateAccessBindingRequest) obj; if (hasAccessBinding() != other.hasAccessBinding()) return false; if (hasAccessBinding()) { - if (!getAccessBinding() - .equals(other.getAccessBinding())) return false; + if (!getAccessBinding().equals(other.getAccessBinding())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -151,131 +186,136 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.UpdateAccessBindingRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.UpdateAccessBindingRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.UpdateAccessBindingRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.UpdateAccessBindingRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.UpdateAccessBindingRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.UpdateAccessBindingRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.UpdateAccessBindingRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.UpdateAccessBindingRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.UpdateAccessBindingRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.UpdateAccessBindingRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.UpdateAccessBindingRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.analytics.admin.v1alpha.UpdateAccessBindingRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.UpdateAccessBindingRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.UpdateAccessBindingRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1alpha.UpdateAccessBindingRequest prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1alpha.UpdateAccessBindingRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder 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 UpdateAccessBinding RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.UpdateAccessBindingRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.UpdateAccessBindingRequest) com.google.analytics.admin.v1alpha.UpdateAccessBindingRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_UpdateAccessBindingRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_UpdateAccessBindingRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_UpdateAccessBindingRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_UpdateAccessBindingRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.UpdateAccessBindingRequest.class, com.google.analytics.admin.v1alpha.UpdateAccessBindingRequest.Builder.class); + com.google.analytics.admin.v1alpha.UpdateAccessBindingRequest.class, + com.google.analytics.admin.v1alpha.UpdateAccessBindingRequest.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.UpdateAccessBindingRequest.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(); @@ -289,13 +329,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_UpdateAccessBindingRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_UpdateAccessBindingRequest_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.UpdateAccessBindingRequest getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.UpdateAccessBindingRequest + getDefaultInstanceForType() { return com.google.analytics.admin.v1alpha.UpdateAccessBindingRequest.getDefaultInstance(); } @@ -310,18 +351,21 @@ public com.google.analytics.admin.v1alpha.UpdateAccessBindingRequest build() { @java.lang.Override public com.google.analytics.admin.v1alpha.UpdateAccessBindingRequest buildPartial() { - com.google.analytics.admin.v1alpha.UpdateAccessBindingRequest result = new com.google.analytics.admin.v1alpha.UpdateAccessBindingRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.analytics.admin.v1alpha.UpdateAccessBindingRequest result = + new com.google.analytics.admin.v1alpha.UpdateAccessBindingRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.analytics.admin.v1alpha.UpdateAccessBindingRequest result) { + private void buildPartial0( + com.google.analytics.admin.v1alpha.UpdateAccessBindingRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.accessBinding_ = accessBindingBuilder_ == null - ? accessBinding_ - : accessBindingBuilder_.build(); + result.accessBinding_ = + accessBindingBuilder_ == null ? accessBinding_ : accessBindingBuilder_.build(); } } @@ -329,38 +373,39 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.UpdateAccessBindin public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.analytics.admin.v1alpha.UpdateAccessBindingRequest) { - return mergeFrom((com.google.analytics.admin.v1alpha.UpdateAccessBindingRequest)other); + return mergeFrom((com.google.analytics.admin.v1alpha.UpdateAccessBindingRequest) other); } else { super.mergeFrom(other); return this; @@ -368,7 +413,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1alpha.UpdateAccessBindingRequest other) { - if (other == com.google.analytics.admin.v1alpha.UpdateAccessBindingRequest.getDefaultInstance()) return this; + if (other + == com.google.analytics.admin.v1alpha.UpdateAccessBindingRequest.getDefaultInstance()) + return this; if (other.hasAccessBinding()) { mergeAccessBinding(other.getAccessBinding()); } @@ -398,19 +445,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getAccessBindingFieldBuilder().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(getAccessBindingFieldBuilder().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) { @@ -420,43 +467,63 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private com.google.analytics.admin.v1alpha.AccessBinding accessBinding_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.AccessBinding, com.google.analytics.admin.v1alpha.AccessBinding.Builder, com.google.analytics.admin.v1alpha.AccessBindingOrBuilder> accessBindingBuilder_; + com.google.analytics.admin.v1alpha.AccessBinding, + com.google.analytics.admin.v1alpha.AccessBinding.Builder, + com.google.analytics.admin.v1alpha.AccessBindingOrBuilder> + accessBindingBuilder_; /** + * + * *
      * Required. The access binding to update.
      * 
* - * .google.analytics.admin.v1alpha.AccessBinding access_binding = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.AccessBinding access_binding = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the accessBinding field is set. */ public boolean hasAccessBinding() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
      * Required. The access binding to update.
      * 
* - * .google.analytics.admin.v1alpha.AccessBinding access_binding = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.AccessBinding access_binding = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The accessBinding. */ public com.google.analytics.admin.v1alpha.AccessBinding getAccessBinding() { if (accessBindingBuilder_ == null) { - return accessBinding_ == null ? com.google.analytics.admin.v1alpha.AccessBinding.getDefaultInstance() : accessBinding_; + return accessBinding_ == null + ? com.google.analytics.admin.v1alpha.AccessBinding.getDefaultInstance() + : accessBinding_; } else { return accessBindingBuilder_.getMessage(); } } /** + * + * *
      * Required. The access binding to update.
      * 
* - * .google.analytics.admin.v1alpha.AccessBinding access_binding = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.AccessBinding access_binding = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setAccessBinding(com.google.analytics.admin.v1alpha.AccessBinding value) { if (accessBindingBuilder_ == null) { @@ -472,11 +539,15 @@ public Builder setAccessBinding(com.google.analytics.admin.v1alpha.AccessBinding return this; } /** + * + * *
      * Required. The access binding to update.
      * 
* - * .google.analytics.admin.v1alpha.AccessBinding access_binding = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.AccessBinding access_binding = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setAccessBinding( com.google.analytics.admin.v1alpha.AccessBinding.Builder builderForValue) { @@ -490,17 +561,22 @@ public Builder setAccessBinding( return this; } /** + * + * *
      * Required. The access binding to update.
      * 
* - * .google.analytics.admin.v1alpha.AccessBinding access_binding = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.AccessBinding access_binding = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeAccessBinding(com.google.analytics.admin.v1alpha.AccessBinding value) { if (accessBindingBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) && - accessBinding_ != null && - accessBinding_ != com.google.analytics.admin.v1alpha.AccessBinding.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) + && accessBinding_ != null + && accessBinding_ + != com.google.analytics.admin.v1alpha.AccessBinding.getDefaultInstance()) { getAccessBindingBuilder().mergeFrom(value); } else { accessBinding_ = value; @@ -513,11 +589,15 @@ public Builder mergeAccessBinding(com.google.analytics.admin.v1alpha.AccessBindi return this; } /** + * + * *
      * Required. The access binding to update.
      * 
* - * .google.analytics.admin.v1alpha.AccessBinding access_binding = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.AccessBinding access_binding = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearAccessBinding() { bitField0_ = (bitField0_ & ~0x00000001); @@ -530,11 +610,15 @@ public Builder clearAccessBinding() { return this; } /** + * + * *
      * Required. The access binding to update.
      * 
* - * .google.analytics.admin.v1alpha.AccessBinding access_binding = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.AccessBinding access_binding = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.analytics.admin.v1alpha.AccessBinding.Builder getAccessBindingBuilder() { bitField0_ |= 0x00000001; @@ -542,43 +626,55 @@ public com.google.analytics.admin.v1alpha.AccessBinding.Builder getAccessBinding return getAccessBindingFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The access binding to update.
      * 
* - * .google.analytics.admin.v1alpha.AccessBinding access_binding = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.AccessBinding access_binding = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.analytics.admin.v1alpha.AccessBindingOrBuilder getAccessBindingOrBuilder() { if (accessBindingBuilder_ != null) { return accessBindingBuilder_.getMessageOrBuilder(); } else { - return accessBinding_ == null ? - com.google.analytics.admin.v1alpha.AccessBinding.getDefaultInstance() : accessBinding_; + return accessBinding_ == null + ? com.google.analytics.admin.v1alpha.AccessBinding.getDefaultInstance() + : accessBinding_; } } /** + * + * *
      * Required. The access binding to update.
      * 
* - * .google.analytics.admin.v1alpha.AccessBinding access_binding = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.AccessBinding access_binding = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.AccessBinding, com.google.analytics.admin.v1alpha.AccessBinding.Builder, com.google.analytics.admin.v1alpha.AccessBindingOrBuilder> + com.google.analytics.admin.v1alpha.AccessBinding, + com.google.analytics.admin.v1alpha.AccessBinding.Builder, + com.google.analytics.admin.v1alpha.AccessBindingOrBuilder> getAccessBindingFieldBuilder() { if (accessBindingBuilder_ == null) { - accessBindingBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.AccessBinding, com.google.analytics.admin.v1alpha.AccessBinding.Builder, com.google.analytics.admin.v1alpha.AccessBindingOrBuilder>( - getAccessBinding(), - getParentForChildren(), - isClean()); + accessBindingBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1alpha.AccessBinding, + com.google.analytics.admin.v1alpha.AccessBinding.Builder, + com.google.analytics.admin.v1alpha.AccessBindingOrBuilder>( + getAccessBinding(), getParentForChildren(), isClean()); accessBinding_ = null; } return accessBindingBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -588,12 +684,13 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.UpdateAccessBindingRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.UpdateAccessBindingRequest) - private static final com.google.analytics.admin.v1alpha.UpdateAccessBindingRequest DEFAULT_INSTANCE; + private static final com.google.analytics.admin.v1alpha.UpdateAccessBindingRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.UpdateAccessBindingRequest(); } @@ -602,27 +699,27 @@ public static com.google.analytics.admin.v1alpha.UpdateAccessBindingRequest getD return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdateAccessBindingRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdateAccessBindingRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -637,6 +734,4 @@ public com.google.protobuf.Parser getParserForType() public com.google.analytics.admin.v1alpha.UpdateAccessBindingRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateAccessBindingRequestOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateAccessBindingRequestOrBuilder.java new file mode 100644 index 000000000000..67019b134ba8 --- /dev/null +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateAccessBindingRequestOrBuilder.java @@ -0,0 +1,66 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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 UpdateAccessBindingRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.UpdateAccessBindingRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The access binding to update.
+   * 
+ * + * + * .google.analytics.admin.v1alpha.AccessBinding access_binding = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return Whether the accessBinding field is set. + */ + boolean hasAccessBinding(); + /** + * + * + *
+   * Required. The access binding to update.
+   * 
+ * + * + * .google.analytics.admin.v1alpha.AccessBinding access_binding = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The accessBinding. + */ + com.google.analytics.admin.v1alpha.AccessBinding getAccessBinding(); + /** + * + * + *
+   * Required. The access binding to update.
+   * 
+ * + * + * .google.analytics.admin.v1alpha.AccessBinding access_binding = 1 [(.google.api.field_behavior) = REQUIRED]; + * + */ + com.google.analytics.admin.v1alpha.AccessBindingOrBuilder getAccessBindingOrBuilder(); +} 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 e399dfbc1cb9..1a8ce38a74fc 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,56 +1,79 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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(); } - 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 @@ -58,34 +81,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 (for example, "field_to_update"). Omitted fields will not be updated.
@@ -93,7 +131,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 @@ -101,6 +141,8 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** + * + * *
    * Required. The list of fields to be updated. Field names must be in snake
    * case (for example, "field_to_update"). Omitted fields will not be updated.
@@ -108,7 +150,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 @@ -116,6 +160,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 (for example, "field_to_update"). Omitted fields will not be updated.
@@ -123,7 +169,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() { @@ -131,6 +178,7 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -142,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 (account_ != null) { output.writeMessage(1, getAccount()); } @@ -160,12 +207,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; @@ -175,22 +220,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; @@ -217,131 +261,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(); @@ -360,9 +409,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 @@ -381,8 +430,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; } @@ -390,14 +442,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(); } } @@ -405,38 +453,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; @@ -444,7 +493,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()); } @@ -477,26 +527,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 +555,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) { @@ -561,15 +630,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 { @@ -580,18 +652,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; @@ -604,12 +680,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); @@ -622,12 +702,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; @@ -635,38 +719,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_; @@ -674,8 +770,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 (for example, "field_to_update"). Omitted fields will not be updated.
@@ -683,13 +784,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 (for example, "field_to_update"). Omitted fields will not be updated.
@@ -697,17 +802,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 (for example, "field_to_update"). Omitted fields will not be updated.
@@ -715,7 +826,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) { @@ -731,6 +843,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 (for example, "field_to_update"). Omitted fields will not be updated.
@@ -738,10 +852,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 { @@ -752,6 +866,8 @@ public Builder setUpdateMask( return this; } /** + * + * *
      * Required. The list of fields to be updated. Field names must be in snake
      * case (for example, "field_to_update"). Omitted fields will not be updated.
@@ -759,13 +875,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; @@ -778,6 +895,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 (for example, "field_to_update"). Omitted fields will not be updated.
@@ -785,7 +904,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); @@ -798,6 +918,8 @@ public Builder clearUpdateMask() { return this; } /** + * + * *
      * Required. The list of fields to be updated. Field names must be in snake
      * case (for example, "field_to_update"). Omitted fields will not be updated.
@@ -805,7 +927,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; @@ -813,6 +936,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 (for example, "field_to_update"). Omitted fields will not be updated.
@@ -820,17 +945,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 (for example, "field_to_update"). Omitted fields will not be updated.
@@ -838,24 +967,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); } @@ -865,12 +998,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(); } @@ -879,27 +1012,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; @@ -914,6 +1047,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 2e301a0b3748..dd07c2edee31 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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 (for example, "field_to_update"). Omitted fields will not be updated.
@@ -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 (for example, "field_to_update"). Omitted fields will not be updated.
@@ -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 (for example, "field_to_update"). Omitted fields will not be updated.
@@ -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 bb6fc713e081..0a7e582331dc 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,56 +1,80 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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(); } - 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 @@ -58,34 +82,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
@@ -93,7 +133,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 @@ -101,6 +143,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
@@ -108,7 +152,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 @@ -116,6 +162,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
@@ -123,7 +171,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() { @@ -131,6 +180,7 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -142,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 (attributionSettings_ != null) { output.writeMessage(1, getAttributionSettings()); } @@ -160,12 +209,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; @@ -175,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.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; @@ -217,131 +263,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(); @@ -360,14 +413,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 @@ -381,23 +436,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(); } } @@ -405,46 +463,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()); } @@ -477,26 +540,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) { @@ -506,48 +569,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(); @@ -561,12 +645,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) { @@ -580,18 +668,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; @@ -604,12 +698,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); @@ -622,51 +720,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_; @@ -674,8 +790,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
@@ -683,13 +804,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
@@ -697,17 +822,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
@@ -715,7 +846,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) { @@ -731,6 +863,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
@@ -738,10 +872,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 { @@ -752,6 +886,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
@@ -759,13 +895,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; @@ -778,6 +915,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
@@ -785,7 +924,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); @@ -798,6 +938,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
@@ -805,7 +947,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; @@ -813,6 +956,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
@@ -820,17 +965,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
@@ -838,24 +987,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); } @@ -865,41 +1018,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; @@ -911,9 +1066,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..4508cf3e199f 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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 2a02501ab74e..b92fdd7e5441 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,56 +1,79 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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(); } - 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 @@ -58,34 +81,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
@@ -93,7 +131,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 @@ -101,6 +141,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
@@ -108,7 +150,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 @@ -116,6 +160,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
@@ -123,7 +169,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() { @@ -131,6 +178,7 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -142,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 (audience_ != null) { output.writeMessage(1, getAudience()); } @@ -160,12 +207,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; @@ -175,22 +220,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; @@ -217,131 +261,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(); @@ -360,9 +409,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 @@ -381,8 +430,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; } @@ -390,14 +442,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(); } } @@ -405,38 +453,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; @@ -444,7 +493,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()); } @@ -477,26 +527,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) { @@ -506,46 +555,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) { @@ -561,12 +630,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) { @@ -580,18 +653,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; @@ -604,12 +681,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); @@ -622,12 +703,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; @@ -635,38 +720,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_; @@ -674,8 +771,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
@@ -683,13 +785,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
@@ -697,17 +803,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
@@ -715,7 +827,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) { @@ -731,6 +844,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
@@ -738,10 +853,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 { @@ -752,6 +867,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
@@ -759,13 +876,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; @@ -778,6 +896,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
@@ -785,7 +905,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); @@ -798,6 +919,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
@@ -805,7 +928,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; @@ -813,6 +937,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
@@ -820,17 +946,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
@@ -838,24 +968,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); } @@ -865,12 +999,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(); } @@ -879,27 +1013,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; @@ -914,6 +1048,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..87e242b230fe 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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/UpdateChannelGroupRequest.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateChannelGroupRequest.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/UpdateChannelGroupRequest.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateChannelGroupRequest.java index f433ddfd8c2e..ac964b25e419 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateChannelGroupRequest.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateChannelGroupRequest.java @@ -1,57 +1,80 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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 UpdateChannelGroup RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.UpdateChannelGroupRequest} */ -public final class UpdateChannelGroupRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class UpdateChannelGroupRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.UpdateChannelGroupRequest) UpdateChannelGroupRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use UpdateChannelGroupRequest.newBuilder() to construct. private UpdateChannelGroupRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private UpdateChannelGroupRequest() { - } + + private UpdateChannelGroupRequest() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new UpdateChannelGroupRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_UpdateChannelGroupRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_UpdateChannelGroupRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_UpdateChannelGroupRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_UpdateChannelGroupRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.UpdateChannelGroupRequest.class, com.google.analytics.admin.v1alpha.UpdateChannelGroupRequest.Builder.class); + com.google.analytics.admin.v1alpha.UpdateChannelGroupRequest.class, + com.google.analytics.admin.v1alpha.UpdateChannelGroupRequest.Builder.class); } public static final int CHANNEL_GROUP_FIELD_NUMBER = 1; private com.google.analytics.admin.v1alpha.ChannelGroup channelGroup_; /** + * + * *
    * Required. The ChannelGroup to update.
    * The resource's `name` field is used to identify the ChannelGroup to be
    * updated.
    * 
* - * .google.analytics.admin.v1alpha.ChannelGroup channel_group = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.ChannelGroup channel_group = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the channelGroup field is set. */ @java.lang.Override @@ -59,36 +82,51 @@ public boolean hasChannelGroup() { return channelGroup_ != null; } /** + * + * *
    * Required. The ChannelGroup to update.
    * The resource's `name` field is used to identify the ChannelGroup to be
    * updated.
    * 
* - * .google.analytics.admin.v1alpha.ChannelGroup channel_group = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.ChannelGroup channel_group = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The channelGroup. */ @java.lang.Override public com.google.analytics.admin.v1alpha.ChannelGroup getChannelGroup() { - return channelGroup_ == null ? com.google.analytics.admin.v1alpha.ChannelGroup.getDefaultInstance() : channelGroup_; + return channelGroup_ == null + ? com.google.analytics.admin.v1alpha.ChannelGroup.getDefaultInstance() + : channelGroup_; } /** + * + * *
    * Required. The ChannelGroup to update.
    * The resource's `name` field is used to identify the ChannelGroup to be
    * updated.
    * 
* - * .google.analytics.admin.v1alpha.ChannelGroup channel_group = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.ChannelGroup channel_group = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.analytics.admin.v1alpha.ChannelGroupOrBuilder getChannelGroupOrBuilder() { - return channelGroup_ == null ? com.google.analytics.admin.v1alpha.ChannelGroup.getDefaultInstance() : channelGroup_; + return channelGroup_ == null + ? com.google.analytics.admin.v1alpha.ChannelGroup.getDefaultInstance() + : channelGroup_; } 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
@@ -96,7 +134,9 @@ public com.google.analytics.admin.v1alpha.ChannelGroupOrBuilder getChannelGroupO
    * 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 @@ -104,6 +144,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
@@ -111,7 +153,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 @@ -119,6 +163,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
@@ -126,7 +172,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() { @@ -134,6 +181,7 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -145,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 (channelGroup_ != null) { output.writeMessage(1, getChannelGroup()); } @@ -163,12 +210,10 @@ public int getSerializedSize() { size = 0; if (channelGroup_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getChannelGroup()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getChannelGroup()); } if (updateMask_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getUpdateMask()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getUpdateMask()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -178,22 +223,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.UpdateChannelGroupRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.UpdateChannelGroupRequest other = (com.google.analytics.admin.v1alpha.UpdateChannelGroupRequest) obj; + com.google.analytics.admin.v1alpha.UpdateChannelGroupRequest other = + (com.google.analytics.admin.v1alpha.UpdateChannelGroupRequest) obj; if (hasChannelGroup() != other.hasChannelGroup()) return false; if (hasChannelGroup()) { - if (!getChannelGroup() - .equals(other.getChannelGroup())) return false; + if (!getChannelGroup().equals(other.getChannelGroup())) 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; @@ -220,131 +264,136 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.UpdateChannelGroupRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.UpdateChannelGroupRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.UpdateChannelGroupRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.UpdateChannelGroupRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.UpdateChannelGroupRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.UpdateChannelGroupRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.UpdateChannelGroupRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.UpdateChannelGroupRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.UpdateChannelGroupRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.UpdateChannelGroupRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.UpdateChannelGroupRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.analytics.admin.v1alpha.UpdateChannelGroupRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.UpdateChannelGroupRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.UpdateChannelGroupRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1alpha.UpdateChannelGroupRequest prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1alpha.UpdateChannelGroupRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder 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 UpdateChannelGroup RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.UpdateChannelGroupRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.UpdateChannelGroupRequest) com.google.analytics.admin.v1alpha.UpdateChannelGroupRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_UpdateChannelGroupRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_UpdateChannelGroupRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_UpdateChannelGroupRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_UpdateChannelGroupRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.UpdateChannelGroupRequest.class, com.google.analytics.admin.v1alpha.UpdateChannelGroupRequest.Builder.class); + com.google.analytics.admin.v1alpha.UpdateChannelGroupRequest.class, + com.google.analytics.admin.v1alpha.UpdateChannelGroupRequest.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.UpdateChannelGroupRequest.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,13 +412,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_UpdateChannelGroupRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_UpdateChannelGroupRequest_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.UpdateChannelGroupRequest getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.UpdateChannelGroupRequest + getDefaultInstanceForType() { return com.google.analytics.admin.v1alpha.UpdateChannelGroupRequest.getDefaultInstance(); } @@ -384,23 +434,24 @@ public com.google.analytics.admin.v1alpha.UpdateChannelGroupRequest build() { @java.lang.Override public com.google.analytics.admin.v1alpha.UpdateChannelGroupRequest buildPartial() { - com.google.analytics.admin.v1alpha.UpdateChannelGroupRequest result = new com.google.analytics.admin.v1alpha.UpdateChannelGroupRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.analytics.admin.v1alpha.UpdateChannelGroupRequest result = + new com.google.analytics.admin.v1alpha.UpdateChannelGroupRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.analytics.admin.v1alpha.UpdateChannelGroupRequest result) { + private void buildPartial0( + com.google.analytics.admin.v1alpha.UpdateChannelGroupRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.channelGroup_ = channelGroupBuilder_ == null - ? channelGroup_ - : channelGroupBuilder_.build(); + result.channelGroup_ = + channelGroupBuilder_ == null ? channelGroup_ : channelGroupBuilder_.build(); } if (((from_bitField0_ & 0x00000002) != 0)) { - result.updateMask_ = updateMaskBuilder_ == null - ? updateMask_ - : updateMaskBuilder_.build(); + result.updateMask_ = updateMaskBuilder_ == null ? updateMask_ : updateMaskBuilder_.build(); } } @@ -408,38 +459,39 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.UpdateChannelGroup public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.analytics.admin.v1alpha.UpdateChannelGroupRequest) { - return mergeFrom((com.google.analytics.admin.v1alpha.UpdateChannelGroupRequest)other); + return mergeFrom((com.google.analytics.admin.v1alpha.UpdateChannelGroupRequest) other); } else { super.mergeFrom(other); return this; @@ -447,7 +499,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1alpha.UpdateChannelGroupRequest other) { - if (other == com.google.analytics.admin.v1alpha.UpdateChannelGroupRequest.getDefaultInstance()) return this; + if (other + == com.google.analytics.admin.v1alpha.UpdateChannelGroupRequest.getDefaultInstance()) + return this; if (other.hasChannelGroup()) { mergeChannelGroup(other.getChannelGroup()); } @@ -480,26 +534,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getChannelGroupFieldBuilder().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(getChannelGroupFieldBuilder().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 +562,69 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private com.google.analytics.admin.v1alpha.ChannelGroup channelGroup_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.ChannelGroup, com.google.analytics.admin.v1alpha.ChannelGroup.Builder, com.google.analytics.admin.v1alpha.ChannelGroupOrBuilder> channelGroupBuilder_; + com.google.analytics.admin.v1alpha.ChannelGroup, + com.google.analytics.admin.v1alpha.ChannelGroup.Builder, + com.google.analytics.admin.v1alpha.ChannelGroupOrBuilder> + channelGroupBuilder_; /** + * + * *
      * Required. The ChannelGroup to update.
      * The resource's `name` field is used to identify the ChannelGroup to be
      * updated.
      * 
* - * .google.analytics.admin.v1alpha.ChannelGroup channel_group = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.ChannelGroup channel_group = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the channelGroup field is set. */ public boolean hasChannelGroup() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
      * Required. The ChannelGroup to update.
      * The resource's `name` field is used to identify the ChannelGroup to be
      * updated.
      * 
* - * .google.analytics.admin.v1alpha.ChannelGroup channel_group = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.ChannelGroup channel_group = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The channelGroup. */ public com.google.analytics.admin.v1alpha.ChannelGroup getChannelGroup() { if (channelGroupBuilder_ == null) { - return channelGroup_ == null ? com.google.analytics.admin.v1alpha.ChannelGroup.getDefaultInstance() : channelGroup_; + return channelGroup_ == null + ? com.google.analytics.admin.v1alpha.ChannelGroup.getDefaultInstance() + : channelGroup_; } else { return channelGroupBuilder_.getMessage(); } } /** + * + * *
      * Required. The ChannelGroup to update.
      * The resource's `name` field is used to identify the ChannelGroup to be
      * updated.
      * 
* - * .google.analytics.admin.v1alpha.ChannelGroup channel_group = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.ChannelGroup channel_group = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setChannelGroup(com.google.analytics.admin.v1alpha.ChannelGroup value) { if (channelGroupBuilder_ == null) { @@ -567,13 +640,17 @@ public Builder setChannelGroup(com.google.analytics.admin.v1alpha.ChannelGroup v return this; } /** + * + * *
      * Required. The ChannelGroup to update.
      * The resource's `name` field is used to identify the ChannelGroup to be
      * updated.
      * 
* - * .google.analytics.admin.v1alpha.ChannelGroup channel_group = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.ChannelGroup channel_group = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setChannelGroup( com.google.analytics.admin.v1alpha.ChannelGroup.Builder builderForValue) { @@ -587,19 +664,24 @@ public Builder setChannelGroup( return this; } /** + * + * *
      * Required. The ChannelGroup to update.
      * The resource's `name` field is used to identify the ChannelGroup to be
      * updated.
      * 
* - * .google.analytics.admin.v1alpha.ChannelGroup channel_group = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.ChannelGroup channel_group = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeChannelGroup(com.google.analytics.admin.v1alpha.ChannelGroup value) { if (channelGroupBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) && - channelGroup_ != null && - channelGroup_ != com.google.analytics.admin.v1alpha.ChannelGroup.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) + && channelGroup_ != null + && channelGroup_ + != com.google.analytics.admin.v1alpha.ChannelGroup.getDefaultInstance()) { getChannelGroupBuilder().mergeFrom(value); } else { channelGroup_ = value; @@ -612,13 +694,17 @@ public Builder mergeChannelGroup(com.google.analytics.admin.v1alpha.ChannelGroup return this; } /** + * + * *
      * Required. The ChannelGroup to update.
      * The resource's `name` field is used to identify the ChannelGroup to be
      * updated.
      * 
* - * .google.analytics.admin.v1alpha.ChannelGroup channel_group = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.ChannelGroup channel_group = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearChannelGroup() { bitField0_ = (bitField0_ & ~0x00000001); @@ -631,13 +717,17 @@ public Builder clearChannelGroup() { return this; } /** + * + * *
      * Required. The ChannelGroup to update.
      * The resource's `name` field is used to identify the ChannelGroup to be
      * updated.
      * 
* - * .google.analytics.admin.v1alpha.ChannelGroup channel_group = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.ChannelGroup channel_group = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.analytics.admin.v1alpha.ChannelGroup.Builder getChannelGroupBuilder() { bitField0_ |= 0x00000001; @@ -645,40 +735,52 @@ public com.google.analytics.admin.v1alpha.ChannelGroup.Builder getChannelGroupBu return getChannelGroupFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The ChannelGroup to update.
      * The resource's `name` field is used to identify the ChannelGroup to be
      * updated.
      * 
* - * .google.analytics.admin.v1alpha.ChannelGroup channel_group = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.ChannelGroup channel_group = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.analytics.admin.v1alpha.ChannelGroupOrBuilder getChannelGroupOrBuilder() { if (channelGroupBuilder_ != null) { return channelGroupBuilder_.getMessageOrBuilder(); } else { - return channelGroup_ == null ? - com.google.analytics.admin.v1alpha.ChannelGroup.getDefaultInstance() : channelGroup_; + return channelGroup_ == null + ? com.google.analytics.admin.v1alpha.ChannelGroup.getDefaultInstance() + : channelGroup_; } } /** + * + * *
      * Required. The ChannelGroup to update.
      * The resource's `name` field is used to identify the ChannelGroup to be
      * updated.
      * 
* - * .google.analytics.admin.v1alpha.ChannelGroup channel_group = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.ChannelGroup channel_group = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.ChannelGroup, com.google.analytics.admin.v1alpha.ChannelGroup.Builder, com.google.analytics.admin.v1alpha.ChannelGroupOrBuilder> + com.google.analytics.admin.v1alpha.ChannelGroup, + com.google.analytics.admin.v1alpha.ChannelGroup.Builder, + com.google.analytics.admin.v1alpha.ChannelGroupOrBuilder> getChannelGroupFieldBuilder() { if (channelGroupBuilder_ == null) { - channelGroupBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.ChannelGroup, com.google.analytics.admin.v1alpha.ChannelGroup.Builder, com.google.analytics.admin.v1alpha.ChannelGroupOrBuilder>( - getChannelGroup(), - getParentForChildren(), - isClean()); + channelGroupBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1alpha.ChannelGroup, + com.google.analytics.admin.v1alpha.ChannelGroup.Builder, + com.google.analytics.admin.v1alpha.ChannelGroupOrBuilder>( + getChannelGroup(), getParentForChildren(), isClean()); channelGroup_ = null; } return channelGroupBuilder_; @@ -686,8 +788,13 @@ public com.google.analytics.admin.v1alpha.ChannelGroupOrBuilder getChannelGroupO 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
@@ -695,13 +802,17 @@ public com.google.analytics.admin.v1alpha.ChannelGroupOrBuilder getChannelGroupO
      * 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
@@ -709,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
@@ -727,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) { @@ -743,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
@@ -750,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 { @@ -764,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
@@ -771,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; @@ -790,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
@@ -797,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); @@ -810,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
@@ -817,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; @@ -825,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
@@ -832,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
@@ -850,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); } @@ -877,12 +1016,13 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.UpdateChannelGroupRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.UpdateChannelGroupRequest) - private static final com.google.analytics.admin.v1alpha.UpdateChannelGroupRequest DEFAULT_INSTANCE; + private static final com.google.analytics.admin.v1alpha.UpdateChannelGroupRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.UpdateChannelGroupRequest(); } @@ -891,27 +1031,27 @@ public static com.google.analytics.admin.v1alpha.UpdateChannelGroupRequest getDe return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdateChannelGroupRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdateChannelGroupRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -926,6 +1066,4 @@ public com.google.protobuf.Parser getParserForType() public com.google.analytics.admin.v1alpha.UpdateChannelGroupRequest 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/UpdateChannelGroupRequestOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateChannelGroupRequestOrBuilder.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/UpdateChannelGroupRequestOrBuilder.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateChannelGroupRequestOrBuilder.java index 2ead129c83d4..9dd26f25c4b2 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateChannelGroupRequestOrBuilder.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateChannelGroupRequestOrBuilder.java @@ -1,46 +1,78 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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 UpdateChannelGroupRequestOrBuilder extends +public interface UpdateChannelGroupRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.UpdateChannelGroupRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The ChannelGroup to update.
    * The resource's `name` field is used to identify the ChannelGroup to be
    * updated.
    * 
* - * .google.analytics.admin.v1alpha.ChannelGroup channel_group = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.ChannelGroup channel_group = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the channelGroup field is set. */ boolean hasChannelGroup(); /** + * + * *
    * Required. The ChannelGroup to update.
    * The resource's `name` field is used to identify the ChannelGroup to be
    * updated.
    * 
* - * .google.analytics.admin.v1alpha.ChannelGroup channel_group = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.ChannelGroup channel_group = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The channelGroup. */ com.google.analytics.admin.v1alpha.ChannelGroup getChannelGroup(); /** + * + * *
    * Required. The ChannelGroup to update.
    * The resource's `name` field is used to identify the ChannelGroup to be
    * updated.
    * 
* - * .google.analytics.admin.v1alpha.ChannelGroup channel_group = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.ChannelGroup channel_group = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.analytics.admin.v1alpha.ChannelGroupOrBuilder getChannelGroupOrBuilder(); /** + * + * *
    * Required. The list 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 UpdateChannelGroupRequestOrBuilder 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 UpdateChannelGroupRequestOrBuilder 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 UpdateChannelGroupRequestOrBuilder 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/UpdateConversionEventRequest.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateConversionEventRequest.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/UpdateConversionEventRequest.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateConversionEventRequest.java index 6c8c3e050b1f..db96bc2bb896 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateConversionEventRequest.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateConversionEventRequest.java @@ -1,56 +1,79 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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 UpdateConversionEvent RPC
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.UpdateConversionEventRequest} */ -public final class UpdateConversionEventRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class UpdateConversionEventRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.UpdateConversionEventRequest) UpdateConversionEventRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use UpdateConversionEventRequest.newBuilder() to construct. private UpdateConversionEventRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private UpdateConversionEventRequest() { - } + + private UpdateConversionEventRequest() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new UpdateConversionEventRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_UpdateConversionEventRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_UpdateConversionEventRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_UpdateConversionEventRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_UpdateConversionEventRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.UpdateConversionEventRequest.class, com.google.analytics.admin.v1alpha.UpdateConversionEventRequest.Builder.class); + com.google.analytics.admin.v1alpha.UpdateConversionEventRequest.class, + com.google.analytics.admin.v1alpha.UpdateConversionEventRequest.Builder.class); } public static final int CONVERSION_EVENT_FIELD_NUMBER = 1; private com.google.analytics.admin.v1alpha.ConversionEvent conversionEvent_; /** + * + * *
    * Required. The conversion event to update.
    * The `name` field is used to identify the settings to be updated.
    * 
* - * .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 @@ -58,34 +81,49 @@ public boolean hasConversionEvent() { return conversionEvent_ != null; } /** + * + * *
    * Required. The conversion event to update.
    * The `name` field is used to identify the settings to be updated.
    * 
* - * .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 update.
    * The `name` field is used to identify the settings to be updated.
    * 
* - * .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 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
@@ -93,7 +131,9 @@ public com.google.analytics.admin.v1alpha.ConversionEventOrBuilder getConversion
    * 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 @@ -101,6 +141,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
@@ -108,7 +150,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 @@ -116,6 +160,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
@@ -123,7 +169,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() { @@ -131,6 +178,7 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -142,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 (conversionEvent_ != null) { output.writeMessage(1, getConversionEvent()); } @@ -160,12 +207,10 @@ 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 (updateMask_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getUpdateMask()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getUpdateMask()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -175,22 +220,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.UpdateConversionEventRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.UpdateConversionEventRequest other = (com.google.analytics.admin.v1alpha.UpdateConversionEventRequest) obj; + com.google.analytics.admin.v1alpha.UpdateConversionEventRequest other = + (com.google.analytics.admin.v1alpha.UpdateConversionEventRequest) obj; if (hasConversionEvent() != other.hasConversionEvent()) return false; if (hasConversionEvent()) { - if (!getConversionEvent() - .equals(other.getConversionEvent())) return false; + if (!getConversionEvent().equals(other.getConversionEvent())) 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; @@ -217,131 +261,136 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.UpdateConversionEventRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.UpdateConversionEventRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.UpdateConversionEventRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.UpdateConversionEventRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.UpdateConversionEventRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.analytics.admin.v1alpha.UpdateConversionEventRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.UpdateConversionEventRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.UpdateConversionEventRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.UpdateConversionEventRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.UpdateConversionEventRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.UpdateConversionEventRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.UpdateConversionEventRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.analytics.admin.v1alpha.UpdateConversionEventRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.UpdateConversionEventRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.UpdateConversionEventRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1alpha.UpdateConversionEventRequest prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1alpha.UpdateConversionEventRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder 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 UpdateConversionEvent RPC
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.UpdateConversionEventRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.UpdateConversionEventRequest) com.google.analytics.admin.v1alpha.UpdateConversionEventRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_UpdateConversionEventRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_UpdateConversionEventRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_UpdateConversionEventRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_UpdateConversionEventRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.UpdateConversionEventRequest.class, com.google.analytics.admin.v1alpha.UpdateConversionEventRequest.Builder.class); + com.google.analytics.admin.v1alpha.UpdateConversionEventRequest.class, + com.google.analytics.admin.v1alpha.UpdateConversionEventRequest.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.UpdateConversionEventRequest.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 +409,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_UpdateConversionEventRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_UpdateConversionEventRequest_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.UpdateConversionEventRequest getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.UpdateConversionEventRequest + getDefaultInstanceForType() { return com.google.analytics.admin.v1alpha.UpdateConversionEventRequest.getDefaultInstance(); } @@ -381,23 +431,24 @@ public com.google.analytics.admin.v1alpha.UpdateConversionEventRequest build() { @java.lang.Override public com.google.analytics.admin.v1alpha.UpdateConversionEventRequest buildPartial() { - com.google.analytics.admin.v1alpha.UpdateConversionEventRequest result = new com.google.analytics.admin.v1alpha.UpdateConversionEventRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.analytics.admin.v1alpha.UpdateConversionEventRequest result = + new com.google.analytics.admin.v1alpha.UpdateConversionEventRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.analytics.admin.v1alpha.UpdateConversionEventRequest result) { + private void buildPartial0( + com.google.analytics.admin.v1alpha.UpdateConversionEventRequest 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.updateMask_ = updateMaskBuilder_ == null - ? updateMask_ - : updateMaskBuilder_.build(); + result.updateMask_ = updateMaskBuilder_ == null ? updateMask_ : updateMaskBuilder_.build(); } } @@ -405,46 +456,50 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.UpdateConversionEv public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.analytics.admin.v1alpha.UpdateConversionEventRequest) { - return mergeFrom((com.google.analytics.admin.v1alpha.UpdateConversionEventRequest)other); + return mergeFrom((com.google.analytics.admin.v1alpha.UpdateConversionEventRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.analytics.admin.v1alpha.UpdateConversionEventRequest other) { - if (other == com.google.analytics.admin.v1alpha.UpdateConversionEventRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.analytics.admin.v1alpha.UpdateConversionEventRequest other) { + if (other + == com.google.analytics.admin.v1alpha.UpdateConversionEventRequest.getDefaultInstance()) + return this; if (other.hasConversionEvent()) { mergeConversionEvent(other.getConversionEvent()); } @@ -477,26 +532,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getConversionEventFieldBuilder().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(getConversionEventFieldBuilder().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 +560,66 @@ 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 update.
      * The `name` field is used to identify the settings to be updated.
      * 
* - * .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 update.
      * The `name` field is used to identify the settings to be updated.
      * 
* - * .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 update.
      * The `name` field is used to identify the settings to be updated.
      * 
* - * .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) { @@ -561,12 +635,16 @@ public Builder setConversionEvent(com.google.analytics.admin.v1alpha.ConversionE return this; } /** + * + * *
      * Required. The conversion event to update.
      * The `name` field is used to identify the settings to be updated.
      * 
* - * .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) { @@ -580,18 +658,23 @@ public Builder setConversionEvent( return this; } /** + * + * *
      * Required. The conversion event to update.
      * The `name` field is used to identify the settings to be updated.
      * 
* - * .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; @@ -604,12 +687,16 @@ public Builder mergeConversionEvent(com.google.analytics.admin.v1alpha.Conversio return this; } /** + * + * *
      * Required. The conversion event to update.
      * The `name` field is used to identify the settings to be updated.
      * 
* - * .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); @@ -622,12 +709,16 @@ public Builder clearConversionEvent() { return this; } /** + * + * *
      * Required. The conversion event to update.
      * The `name` field is used to identify the settings to be updated.
      * 
* - * .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; @@ -635,38 +726,51 @@ public com.google.analytics.admin.v1alpha.ConversionEvent.Builder getConversionE return getConversionEventFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The conversion event to update.
      * The `name` field is used to identify the settings to be updated.
      * 
* - * .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 update.
      * The `name` field is used to identify the settings to be updated.
      * 
* - * .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_; @@ -674,8 +778,13 @@ public com.google.analytics.admin.v1alpha.ConversionEventOrBuilder getConversion 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
@@ -683,13 +792,17 @@ public com.google.analytics.admin.v1alpha.ConversionEventOrBuilder getConversion
      * 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
@@ -697,17 +810,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
@@ -715,7 +834,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) { @@ -731,6 +851,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
@@ -738,10 +860,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 { @@ -752,6 +874,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
@@ -759,13 +883,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; @@ -778,6 +903,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
@@ -785,7 +912,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); @@ -798,6 +926,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
@@ -805,7 +935,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; @@ -813,6 +944,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
@@ -820,17 +953,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
@@ -838,24 +975,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); } @@ -865,41 +1006,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.UpdateConversionEventRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.UpdateConversionEventRequest) - private static final com.google.analytics.admin.v1alpha.UpdateConversionEventRequest DEFAULT_INSTANCE; + private static final com.google.analytics.admin.v1alpha.UpdateConversionEventRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.UpdateConversionEventRequest(); } - public static com.google.analytics.admin.v1alpha.UpdateConversionEventRequest getDefaultInstance() { + public static com.google.analytics.admin.v1alpha.UpdateConversionEventRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdateConversionEventRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdateConversionEventRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -911,9 +1054,8 @@ public com.google.protobuf.Parser getParserForType } @java.lang.Override - public com.google.analytics.admin.v1alpha.UpdateConversionEventRequest getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.UpdateConversionEventRequest + 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/UpdateConversionEventRequestOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateConversionEventRequestOrBuilder.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/UpdateConversionEventRequestOrBuilder.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateConversionEventRequestOrBuilder.java index 100fc60cc686..b6e6987c61fc 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateConversionEventRequestOrBuilder.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateConversionEventRequestOrBuilder.java @@ -1,43 +1,75 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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 UpdateConversionEventRequestOrBuilder extends +public interface UpdateConversionEventRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.UpdateConversionEventRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The conversion event to update.
    * The `name` field is used to identify the settings to be updated.
    * 
* - * .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. */ boolean hasConversionEvent(); /** + * + * *
    * Required. The conversion event to update.
    * The `name` field is used to identify the settings to be updated.
    * 
* - * .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. */ com.google.analytics.admin.v1alpha.ConversionEvent getConversionEvent(); /** + * + * *
    * Required. The conversion event to update.
    * The `name` field is used to identify the settings to be updated.
    * 
* - * .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]; + * */ com.google.analytics.admin.v1alpha.ConversionEventOrBuilder getConversionEventOrBuilder(); /** + * + * *
    * Required. The list 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 UpdateConversionEventRequestOrBuilder 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 UpdateConversionEventRequestOrBuilder 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 UpdateConversionEventRequestOrBuilder 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 67% 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 6a933be39fa4..c80658682190 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,55 +1,76 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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(); } - 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 @@ -57,18 +78,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
    * 
@@ -77,19 +105,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 @@ -97,13 +131,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 @@ -111,13 +149,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() { @@ -125,6 +166,7 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -136,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 (customDimension_ != null) { output.writeMessage(1, getCustomDimension()); } @@ -154,12 +195,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; @@ -169,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.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; @@ -211,131 +249,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(); @@ -354,13 +397,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(); } @@ -375,23 +419,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(); } } @@ -399,46 +444,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()); } @@ -471,26 +520,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) { @@ -500,38 +548,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
      * 
@@ -552,6 +614,8 @@ public Builder setCustomDimension(com.google.analytics.admin.v1alpha.CustomDimen return this; } /** + * + * *
      * The CustomDimension to update
      * 
@@ -570,6 +634,8 @@ public Builder setCustomDimension( return this; } /** + * + * *
      * The CustomDimension to update
      * 
@@ -578,9 +644,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; @@ -593,6 +660,8 @@ public Builder mergeCustomDimension(com.google.analytics.admin.v1alpha.CustomDim return this; } /** + * + * *
      * The CustomDimension to update
      * 
@@ -610,6 +679,8 @@ public Builder clearCustomDimension() { return this; } /** + * + * *
      * The CustomDimension to update
      * 
@@ -622,21 +693,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
      * 
@@ -644,14 +721,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_; @@ -659,45 +739,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) { @@ -713,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 { @@ -733,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; @@ -758,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); @@ -777,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; @@ -791,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); } @@ -841,41 +958,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; @@ -887,9 +1006,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..728101452cc1 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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 68% 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 86fdeb3de364..33f7e490c2f1 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,55 +1,76 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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(); } - 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 @@ -57,18 +78,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
    * 
@@ -77,19 +105,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 @@ -97,13 +131,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 @@ -111,13 +149,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() { @@ -125,6 +166,7 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -136,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 (customMetric_ != null) { output.writeMessage(1, getCustomMetric()); } @@ -154,12 +195,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; @@ -169,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.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; @@ -211,131 +249,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(); @@ -354,13 +397,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(); } @@ -375,23 +419,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(); } } @@ -399,38 +444,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; @@ -438,7 +484,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()); } @@ -471,26 +519,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) { @@ -500,38 +547,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
      * 
@@ -552,6 +613,8 @@ public Builder setCustomMetric(com.google.analytics.admin.v1alpha.CustomMetric v return this; } /** + * + * *
      * The CustomMetric to update
      * 
@@ -570,6 +633,8 @@ public Builder setCustomMetric( return this; } /** + * + * *
      * The CustomMetric to update
      * 
@@ -578,9 +643,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; @@ -593,6 +659,8 @@ public Builder mergeCustomMetric(com.google.analytics.admin.v1alpha.CustomMetric return this; } /** + * + * *
      * The CustomMetric to update
      * 
@@ -610,6 +678,8 @@ public Builder clearCustomMetric() { return this; } /** + * + * *
      * The CustomMetric to update
      * 
@@ -622,6 +692,8 @@ public com.google.analytics.admin.v1alpha.CustomMetric.Builder getCustomMetricBu return getCustomMetricFieldBuilder().getBuilder(); } /** + * + * *
      * The CustomMetric to update
      * 
@@ -632,11 +704,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
      * 
@@ -644,14 +719,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_; @@ -659,45 +737,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) { @@ -713,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 { @@ -733,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; @@ -758,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); @@ -777,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; @@ -791,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); } @@ -841,12 +956,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(); } @@ -855,27 +971,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; @@ -890,6 +1006,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..204e1a65cf99 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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/UpdateDataRedactionSettingsRequest.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateDataRedactionSettingsRequest.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/UpdateDataRedactionSettingsRequest.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateDataRedactionSettingsRequest.java index 958e22434662..8a35f638b1a2 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateDataRedactionSettingsRequest.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateDataRedactionSettingsRequest.java @@ -1,56 +1,80 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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 UpdateDataRedactionSettings RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.UpdateDataRedactionSettingsRequest} */ -public final class UpdateDataRedactionSettingsRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class UpdateDataRedactionSettingsRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.UpdateDataRedactionSettingsRequest) UpdateDataRedactionSettingsRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use UpdateDataRedactionSettingsRequest.newBuilder() to construct. - private UpdateDataRedactionSettingsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private UpdateDataRedactionSettingsRequest( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private UpdateDataRedactionSettingsRequest() { - } + + private UpdateDataRedactionSettingsRequest() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new UpdateDataRedactionSettingsRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_UpdateDataRedactionSettingsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_UpdateDataRedactionSettingsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_UpdateDataRedactionSettingsRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_UpdateDataRedactionSettingsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.UpdateDataRedactionSettingsRequest.class, com.google.analytics.admin.v1alpha.UpdateDataRedactionSettingsRequest.Builder.class); + com.google.analytics.admin.v1alpha.UpdateDataRedactionSettingsRequest.class, + com.google.analytics.admin.v1alpha.UpdateDataRedactionSettingsRequest.Builder.class); } public static final int DATA_REDACTION_SETTINGS_FIELD_NUMBER = 1; private com.google.analytics.admin.v1alpha.DataRedactionSettings dataRedactionSettings_; /** + * + * *
    * Required. The settings to update.
    * The `name` field is used to identify the settings to be updated.
    * 
* - * .google.analytics.admin.v1alpha.DataRedactionSettings data_redaction_settings = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.DataRedactionSettings data_redaction_settings = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the dataRedactionSettings field is set. */ @java.lang.Override @@ -58,34 +82,50 @@ public boolean hasDataRedactionSettings() { return dataRedactionSettings_ != null; } /** + * + * *
    * Required. The settings to update.
    * The `name` field is used to identify the settings to be updated.
    * 
* - * .google.analytics.admin.v1alpha.DataRedactionSettings data_redaction_settings = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.DataRedactionSettings data_redaction_settings = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The dataRedactionSettings. */ @java.lang.Override public com.google.analytics.admin.v1alpha.DataRedactionSettings getDataRedactionSettings() { - return dataRedactionSettings_ == null ? com.google.analytics.admin.v1alpha.DataRedactionSettings.getDefaultInstance() : dataRedactionSettings_; + return dataRedactionSettings_ == null + ? com.google.analytics.admin.v1alpha.DataRedactionSettings.getDefaultInstance() + : dataRedactionSettings_; } /** + * + * *
    * Required. The settings to update.
    * The `name` field is used to identify the settings to be updated.
    * 
* - * .google.analytics.admin.v1alpha.DataRedactionSettings data_redaction_settings = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.DataRedactionSettings data_redaction_settings = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public com.google.analytics.admin.v1alpha.DataRedactionSettingsOrBuilder getDataRedactionSettingsOrBuilder() { - return dataRedactionSettings_ == null ? com.google.analytics.admin.v1alpha.DataRedactionSettings.getDefaultInstance() : dataRedactionSettings_; + public com.google.analytics.admin.v1alpha.DataRedactionSettingsOrBuilder + getDataRedactionSettingsOrBuilder() { + return dataRedactionSettings_ == null + ? com.google.analytics.admin.v1alpha.DataRedactionSettings.getDefaultInstance() + : dataRedactionSettings_; } 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
@@ -93,7 +133,9 @@ public com.google.analytics.admin.v1alpha.DataRedactionSettingsOrBuilder 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 @@ -101,6 +143,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
@@ -108,7 +152,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 @@ -116,6 +162,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
@@ -123,7 +171,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() { @@ -131,6 +180,7 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -142,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 (dataRedactionSettings_ != null) { output.writeMessage(1, getDataRedactionSettings()); } @@ -160,12 +209,11 @@ public int getSerializedSize() { size = 0; if (dataRedactionSettings_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getDataRedactionSettings()); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(1, getDataRedactionSettings()); } if (updateMask_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getUpdateMask()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getUpdateMask()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -175,22 +223,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.UpdateDataRedactionSettingsRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.UpdateDataRedactionSettingsRequest other = (com.google.analytics.admin.v1alpha.UpdateDataRedactionSettingsRequest) obj; + com.google.analytics.admin.v1alpha.UpdateDataRedactionSettingsRequest other = + (com.google.analytics.admin.v1alpha.UpdateDataRedactionSettingsRequest) obj; if (hasDataRedactionSettings() != other.hasDataRedactionSettings()) return false; if (hasDataRedactionSettings()) { - if (!getDataRedactionSettings() - .equals(other.getDataRedactionSettings())) return false; + if (!getDataRedactionSettings().equals(other.getDataRedactionSettings())) 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; @@ -217,131 +264,138 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.UpdateDataRedactionSettingsRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.UpdateDataRedactionSettingsRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.UpdateDataRedactionSettingsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.UpdateDataRedactionSettingsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.UpdateDataRedactionSettingsRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.analytics.admin.v1alpha.UpdateDataRedactionSettingsRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.UpdateDataRedactionSettingsRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.UpdateDataRedactionSettingsRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.UpdateDataRedactionSettingsRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.UpdateDataRedactionSettingsRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.UpdateDataRedactionSettingsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.UpdateDataRedactionSettingsRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.UpdateDataRedactionSettingsRequest parseDelimitedFrom( - java.io.InputStream input, - 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.UpdateDataRedactionSettingsRequest + parseDelimitedFrom( + java.io.InputStream input, 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.UpdateDataRedactionSettingsRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.UpdateDataRedactionSettingsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1alpha.UpdateDataRedactionSettingsRequest prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1alpha.UpdateDataRedactionSettingsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder 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 UpdateDataRedactionSettings RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.UpdateDataRedactionSettingsRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.UpdateDataRedactionSettingsRequest) com.google.analytics.admin.v1alpha.UpdateDataRedactionSettingsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_UpdateDataRedactionSettingsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_UpdateDataRedactionSettingsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_UpdateDataRedactionSettingsRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_UpdateDataRedactionSettingsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.UpdateDataRedactionSettingsRequest.class, com.google.analytics.admin.v1alpha.UpdateDataRedactionSettingsRequest.Builder.class); + com.google.analytics.admin.v1alpha.UpdateDataRedactionSettingsRequest.class, + com.google.analytics.admin.v1alpha.UpdateDataRedactionSettingsRequest.Builder.class); } - // Construct using com.google.analytics.admin.v1alpha.UpdateDataRedactionSettingsRequest.newBuilder() - private Builder() { - - } + // Construct using + // com.google.analytics.admin.v1alpha.UpdateDataRedactionSettingsRequest.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 +414,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_UpdateDataRedactionSettingsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_UpdateDataRedactionSettingsRequest_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.UpdateDataRedactionSettingsRequest getDefaultInstanceForType() { - return com.google.analytics.admin.v1alpha.UpdateDataRedactionSettingsRequest.getDefaultInstance(); + public com.google.analytics.admin.v1alpha.UpdateDataRedactionSettingsRequest + getDefaultInstanceForType() { + return com.google.analytics.admin.v1alpha.UpdateDataRedactionSettingsRequest + .getDefaultInstance(); } @java.lang.Override @@ -381,23 +437,26 @@ public com.google.analytics.admin.v1alpha.UpdateDataRedactionSettingsRequest bui @java.lang.Override public com.google.analytics.admin.v1alpha.UpdateDataRedactionSettingsRequest buildPartial() { - com.google.analytics.admin.v1alpha.UpdateDataRedactionSettingsRequest result = new com.google.analytics.admin.v1alpha.UpdateDataRedactionSettingsRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.analytics.admin.v1alpha.UpdateDataRedactionSettingsRequest result = + new com.google.analytics.admin.v1alpha.UpdateDataRedactionSettingsRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.analytics.admin.v1alpha.UpdateDataRedactionSettingsRequest result) { + private void buildPartial0( + com.google.analytics.admin.v1alpha.UpdateDataRedactionSettingsRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.dataRedactionSettings_ = dataRedactionSettingsBuilder_ == null - ? dataRedactionSettings_ - : dataRedactionSettingsBuilder_.build(); + result.dataRedactionSettings_ = + dataRedactionSettingsBuilder_ == null + ? dataRedactionSettings_ + : dataRedactionSettingsBuilder_.build(); } if (((from_bitField0_ & 0x00000002) != 0)) { - result.updateMask_ = updateMaskBuilder_ == null - ? updateMask_ - : updateMaskBuilder_.build(); + result.updateMask_ = updateMaskBuilder_ == null ? updateMask_ : updateMaskBuilder_.build(); } } @@ -405,46 +464,51 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.UpdateDataRedactio public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.analytics.admin.v1alpha.UpdateDataRedactionSettingsRequest) { - return mergeFrom((com.google.analytics.admin.v1alpha.UpdateDataRedactionSettingsRequest)other); + return mergeFrom( + (com.google.analytics.admin.v1alpha.UpdateDataRedactionSettingsRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.analytics.admin.v1alpha.UpdateDataRedactionSettingsRequest other) { - if (other == com.google.analytics.admin.v1alpha.UpdateDataRedactionSettingsRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.analytics.admin.v1alpha.UpdateDataRedactionSettingsRequest other) { + if (other + == com.google.analytics.admin.v1alpha.UpdateDataRedactionSettingsRequest + .getDefaultInstance()) return this; if (other.hasDataRedactionSettings()) { mergeDataRedactionSettings(other.getDataRedactionSettings()); } @@ -477,26 +541,26 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getDataRedactionSettingsFieldBuilder().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( + getDataRedactionSettingsFieldBuilder().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 +570,69 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private com.google.analytics.admin.v1alpha.DataRedactionSettings dataRedactionSettings_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.DataRedactionSettings, com.google.analytics.admin.v1alpha.DataRedactionSettings.Builder, com.google.analytics.admin.v1alpha.DataRedactionSettingsOrBuilder> dataRedactionSettingsBuilder_; + com.google.analytics.admin.v1alpha.DataRedactionSettings, + com.google.analytics.admin.v1alpha.DataRedactionSettings.Builder, + com.google.analytics.admin.v1alpha.DataRedactionSettingsOrBuilder> + dataRedactionSettingsBuilder_; /** + * + * *
      * Required. The settings to update.
      * The `name` field is used to identify the settings to be updated.
      * 
* - * .google.analytics.admin.v1alpha.DataRedactionSettings data_redaction_settings = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.DataRedactionSettings data_redaction_settings = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the dataRedactionSettings field is set. */ public boolean hasDataRedactionSettings() { 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.DataRedactionSettings data_redaction_settings = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.DataRedactionSettings data_redaction_settings = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The dataRedactionSettings. */ public com.google.analytics.admin.v1alpha.DataRedactionSettings getDataRedactionSettings() { if (dataRedactionSettingsBuilder_ == null) { - return dataRedactionSettings_ == null ? com.google.analytics.admin.v1alpha.DataRedactionSettings.getDefaultInstance() : dataRedactionSettings_; + return dataRedactionSettings_ == null + ? com.google.analytics.admin.v1alpha.DataRedactionSettings.getDefaultInstance() + : dataRedactionSettings_; } else { return dataRedactionSettingsBuilder_.getMessage(); } } /** + * + * *
      * Required. The settings to update.
      * The `name` field is used to identify the settings to be updated.
      * 
* - * .google.analytics.admin.v1alpha.DataRedactionSettings data_redaction_settings = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.DataRedactionSettings data_redaction_settings = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setDataRedactionSettings(com.google.analytics.admin.v1alpha.DataRedactionSettings value) { + public Builder setDataRedactionSettings( + com.google.analytics.admin.v1alpha.DataRedactionSettings value) { if (dataRedactionSettingsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -561,12 +646,16 @@ public Builder setDataRedactionSettings(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.DataRedactionSettings data_redaction_settings = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.DataRedactionSettings data_redaction_settings = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setDataRedactionSettings( com.google.analytics.admin.v1alpha.DataRedactionSettings.Builder builderForValue) { @@ -580,18 +669,24 @@ public Builder setDataRedactionSettings( return this; } /** + * + * *
      * Required. The settings to update.
      * The `name` field is used to identify the settings to be updated.
      * 
* - * .google.analytics.admin.v1alpha.DataRedactionSettings data_redaction_settings = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.DataRedactionSettings data_redaction_settings = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder mergeDataRedactionSettings(com.google.analytics.admin.v1alpha.DataRedactionSettings value) { + public Builder mergeDataRedactionSettings( + com.google.analytics.admin.v1alpha.DataRedactionSettings value) { if (dataRedactionSettingsBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) && - dataRedactionSettings_ != null && - dataRedactionSettings_ != com.google.analytics.admin.v1alpha.DataRedactionSettings.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) + && dataRedactionSettings_ != null + && dataRedactionSettings_ + != com.google.analytics.admin.v1alpha.DataRedactionSettings.getDefaultInstance()) { getDataRedactionSettingsBuilder().mergeFrom(value); } else { dataRedactionSettings_ = value; @@ -604,12 +699,16 @@ public Builder mergeDataRedactionSettings(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.DataRedactionSettings data_redaction_settings = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.DataRedactionSettings data_redaction_settings = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearDataRedactionSettings() { bitField0_ = (bitField0_ & ~0x00000001); @@ -622,51 +721,69 @@ public Builder clearDataRedactionSettings() { return this; } /** + * + * *
      * Required. The settings to update.
      * The `name` field is used to identify the settings to be updated.
      * 
* - * .google.analytics.admin.v1alpha.DataRedactionSettings data_redaction_settings = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.DataRedactionSettings data_redaction_settings = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.analytics.admin.v1alpha.DataRedactionSettings.Builder getDataRedactionSettingsBuilder() { + public com.google.analytics.admin.v1alpha.DataRedactionSettings.Builder + getDataRedactionSettingsBuilder() { bitField0_ |= 0x00000001; onChanged(); return getDataRedactionSettingsFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The settings to update.
      * The `name` field is used to identify the settings to be updated.
      * 
* - * .google.analytics.admin.v1alpha.DataRedactionSettings data_redaction_settings = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.DataRedactionSettings data_redaction_settings = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.analytics.admin.v1alpha.DataRedactionSettingsOrBuilder getDataRedactionSettingsOrBuilder() { + public com.google.analytics.admin.v1alpha.DataRedactionSettingsOrBuilder + getDataRedactionSettingsOrBuilder() { if (dataRedactionSettingsBuilder_ != null) { return dataRedactionSettingsBuilder_.getMessageOrBuilder(); } else { - return dataRedactionSettings_ == null ? - com.google.analytics.admin.v1alpha.DataRedactionSettings.getDefaultInstance() : dataRedactionSettings_; + return dataRedactionSettings_ == null + ? com.google.analytics.admin.v1alpha.DataRedactionSettings.getDefaultInstance() + : dataRedactionSettings_; } } /** + * + * *
      * Required. The settings to update.
      * The `name` field is used to identify the settings to be updated.
      * 
* - * .google.analytics.admin.v1alpha.DataRedactionSettings data_redaction_settings = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.DataRedactionSettings data_redaction_settings = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.DataRedactionSettings, com.google.analytics.admin.v1alpha.DataRedactionSettings.Builder, com.google.analytics.admin.v1alpha.DataRedactionSettingsOrBuilder> + com.google.analytics.admin.v1alpha.DataRedactionSettings, + com.google.analytics.admin.v1alpha.DataRedactionSettings.Builder, + com.google.analytics.admin.v1alpha.DataRedactionSettingsOrBuilder> getDataRedactionSettingsFieldBuilder() { if (dataRedactionSettingsBuilder_ == null) { - dataRedactionSettingsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.DataRedactionSettings, com.google.analytics.admin.v1alpha.DataRedactionSettings.Builder, com.google.analytics.admin.v1alpha.DataRedactionSettingsOrBuilder>( - getDataRedactionSettings(), - getParentForChildren(), - isClean()); + dataRedactionSettingsBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1alpha.DataRedactionSettings, + com.google.analytics.admin.v1alpha.DataRedactionSettings.Builder, + com.google.analytics.admin.v1alpha.DataRedactionSettingsOrBuilder>( + getDataRedactionSettings(), getParentForChildren(), isClean()); dataRedactionSettings_ = null; } return dataRedactionSettingsBuilder_; @@ -674,8 +791,13 @@ public com.google.analytics.admin.v1alpha.DataRedactionSettingsOrBuilder 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
@@ -683,13 +805,17 @@ public com.google.analytics.admin.v1alpha.DataRedactionSettingsOrBuilder 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
@@ -697,17 +823,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
@@ -715,7 +847,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) { @@ -731,6 +864,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
@@ -738,10 +873,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 { @@ -752,6 +887,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
@@ -759,13 +896,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; @@ -778,6 +916,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
@@ -785,7 +925,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); @@ -798,6 +939,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
@@ -805,7 +948,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; @@ -813,6 +957,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
@@ -820,17 +966,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
@@ -838,24 +988,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); } @@ -865,41 +1019,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.UpdateDataRedactionSettingsRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.UpdateDataRedactionSettingsRequest) - private static final com.google.analytics.admin.v1alpha.UpdateDataRedactionSettingsRequest DEFAULT_INSTANCE; + private static final com.google.analytics.admin.v1alpha.UpdateDataRedactionSettingsRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.UpdateDataRedactionSettingsRequest(); } - public static com.google.analytics.admin.v1alpha.UpdateDataRedactionSettingsRequest getDefaultInstance() { + public static com.google.analytics.admin.v1alpha.UpdateDataRedactionSettingsRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdateDataRedactionSettingsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdateDataRedactionSettingsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -911,9 +1067,8 @@ public com.google.protobuf.Parser getParserF } @java.lang.Override - public com.google.analytics.admin.v1alpha.UpdateDataRedactionSettingsRequest getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.UpdateDataRedactionSettingsRequest + 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/UpdateDataRedactionSettingsRequestOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateDataRedactionSettingsRequestOrBuilder.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/UpdateDataRedactionSettingsRequestOrBuilder.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateDataRedactionSettingsRequestOrBuilder.java index 616bd9c9a4ff..d80e67ab3db1 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateDataRedactionSettingsRequestOrBuilder.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateDataRedactionSettingsRequestOrBuilder.java @@ -1,43 +1,76 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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 UpdateDataRedactionSettingsRequestOrBuilder extends +public interface UpdateDataRedactionSettingsRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.UpdateDataRedactionSettingsRequest) 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.DataRedactionSettings data_redaction_settings = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.DataRedactionSettings data_redaction_settings = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the dataRedactionSettings field is set. */ boolean hasDataRedactionSettings(); /** + * + * *
    * Required. The settings to update.
    * The `name` field is used to identify the settings to be updated.
    * 
* - * .google.analytics.admin.v1alpha.DataRedactionSettings data_redaction_settings = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.DataRedactionSettings data_redaction_settings = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The dataRedactionSettings. */ com.google.analytics.admin.v1alpha.DataRedactionSettings getDataRedactionSettings(); /** + * + * *
    * Required. The settings to update.
    * The `name` field is used to identify the settings to be updated.
    * 
* - * .google.analytics.admin.v1alpha.DataRedactionSettings data_redaction_settings = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.DataRedactionSettings data_redaction_settings = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - com.google.analytics.admin.v1alpha.DataRedactionSettingsOrBuilder getDataRedactionSettingsOrBuilder(); + com.google.analytics.admin.v1alpha.DataRedactionSettingsOrBuilder + getDataRedactionSettingsOrBuilder(); /** + * + * *
    * Required. The list 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 UpdateDataRedactionSettingsRequestOrBuilder 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 UpdateDataRedactionSettingsRequestOrBuilder 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 UpdateDataRedactionSettingsRequestOrBuilder 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/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 8b286f4fa42a..dde8d5656e55 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,56 +1,80 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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(); } - 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 @@ -58,34 +82,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
@@ -93,7 +133,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 @@ -101,6 +143,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
@@ -108,7 +152,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 @@ -116,6 +162,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
@@ -123,7 +171,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() { @@ -131,6 +180,7 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -142,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 (dataRetentionSettings_ != null) { output.writeMessage(1, getDataRetentionSettings()); } @@ -160,12 +209,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; @@ -175,22 +223,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; @@ -217,131 +264,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(); @@ -360,14 +414,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 @@ -381,23 +437,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(); } } @@ -405,46 +464,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()); } @@ -477,26 +541,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 +570,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(); @@ -561,12 +646,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) { @@ -580,18 +669,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; @@ -604,12 +699,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); @@ -622,51 +721,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_; @@ -674,8 +791,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
@@ -683,13 +805,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
@@ -697,17 +823,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
@@ -715,7 +847,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) { @@ -731,6 +864,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
@@ -738,10 +873,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 { @@ -752,6 +887,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
@@ -759,13 +896,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; @@ -778,6 +916,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
@@ -785,7 +925,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); @@ -798,6 +939,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
@@ -805,7 +948,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; @@ -813,6 +957,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
@@ -820,17 +966,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
@@ -838,24 +988,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); } @@ -865,41 +1019,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; @@ -911,9 +1067,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..a2ff59bc448a 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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 f0f9dc390d71..d906c06fcd39 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,55 +1,76 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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(); } - 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 @@ -57,18 +78,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
    * 
@@ -77,19 +105,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 @@ -97,13 +131,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 @@ -111,13 +149,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() { @@ -125,6 +166,7 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -136,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 (dataStream_ != null) { output.writeMessage(1, getDataStream()); } @@ -154,12 +195,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; @@ -169,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.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; @@ -211,131 +249,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(); @@ -354,9 +397,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 @@ -375,8 +418,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; } @@ -384,14 +430,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(); } } @@ -399,38 +441,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; @@ -438,7 +481,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()); } @@ -471,26 +515,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) { @@ -500,38 +543,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
      * 
@@ -552,6 +609,8 @@ public Builder setDataStream(com.google.analytics.admin.v1alpha.DataStream value return this; } /** + * + * *
      * The DataStream to update
      * 
@@ -570,6 +629,8 @@ public Builder setDataStream( return this; } /** + * + * *
      * The DataStream to update
      * 
@@ -578,9 +639,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; @@ -593,6 +654,8 @@ public Builder mergeDataStream(com.google.analytics.admin.v1alpha.DataStream val return this; } /** + * + * *
      * The DataStream to update
      * 
@@ -610,6 +673,8 @@ public Builder clearDataStream() { return this; } /** + * + * *
      * The DataStream to update
      * 
@@ -622,6 +687,8 @@ public com.google.analytics.admin.v1alpha.DataStream.Builder getDataStreamBuilde return getDataStreamFieldBuilder().getBuilder(); } /** + * + * *
      * The DataStream to update
      * 
@@ -632,11 +699,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
      * 
@@ -644,14 +714,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_; @@ -659,45 +732,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) { @@ -713,16 +802,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 { @@ -733,19 +824,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; @@ -758,13 +852,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); @@ -777,13 +874,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; @@ -791,47 +891,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); } @@ -841,12 +951,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(); } @@ -855,27 +965,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; @@ -890,6 +1000,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..dc9d130d382b 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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 e055a6387072..306fae53610b 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,55 +1,82 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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(); } - 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 @@ -57,39 +84,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 @@ -97,13 +143,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 @@ -111,13 +161,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() { @@ -125,6 +178,7 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -136,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 (displayVideo360AdvertiserLink_ != null) { output.writeMessage(1, getDisplayVideo360AdvertiserLink()); } @@ -154,12 +207,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; @@ -169,22 +222,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; @@ -210,132 +265,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) 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 + 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) 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 + parseDelimitedFrom( + java.io.InputStream input, 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) 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( + 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(); @@ -354,19 +422,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); } @@ -374,24 +445,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(); } } @@ -399,46 +474,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()); } @@ -471,26 +553,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) { @@ -500,45 +582,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(); @@ -552,11 +657,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) { @@ -570,17 +679,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; @@ -593,11 +709,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); @@ -610,48 +730,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_; @@ -659,45 +797,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) { @@ -713,16 +867,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 { @@ -733,19 +889,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; @@ -758,13 +917,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); @@ -777,13 +939,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; @@ -791,47 +956,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); } @@ -841,41 +1016,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; @@ -887,9 +1067,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..35904910f70a 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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/UpdateEnhancedMeasurementSettingsRequest.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateEnhancedMeasurementSettingsRequest.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/UpdateEnhancedMeasurementSettingsRequest.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateEnhancedMeasurementSettingsRequest.java index aba7307adacf..12878047903a 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateEnhancedMeasurementSettingsRequest.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateEnhancedMeasurementSettingsRequest.java @@ -1,56 +1,83 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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 UpdateEnhancedMeasurementSettings RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.UpdateEnhancedMeasurementSettingsRequest} */ -public final class UpdateEnhancedMeasurementSettingsRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class UpdateEnhancedMeasurementSettingsRequest + extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.UpdateEnhancedMeasurementSettingsRequest) UpdateEnhancedMeasurementSettingsRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use UpdateEnhancedMeasurementSettingsRequest.newBuilder() to construct. - private UpdateEnhancedMeasurementSettingsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private UpdateEnhancedMeasurementSettingsRequest( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private UpdateEnhancedMeasurementSettingsRequest() { - } + + private UpdateEnhancedMeasurementSettingsRequest() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new UpdateEnhancedMeasurementSettingsRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_UpdateEnhancedMeasurementSettingsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_UpdateEnhancedMeasurementSettingsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_UpdateEnhancedMeasurementSettingsRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_UpdateEnhancedMeasurementSettingsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.UpdateEnhancedMeasurementSettingsRequest.class, com.google.analytics.admin.v1alpha.UpdateEnhancedMeasurementSettingsRequest.Builder.class); + com.google.analytics.admin.v1alpha.UpdateEnhancedMeasurementSettingsRequest.class, + com.google.analytics.admin.v1alpha.UpdateEnhancedMeasurementSettingsRequest.Builder + .class); } public static final int ENHANCED_MEASUREMENT_SETTINGS_FIELD_NUMBER = 1; - private com.google.analytics.admin.v1alpha.EnhancedMeasurementSettings enhancedMeasurementSettings_; + private com.google.analytics.admin.v1alpha.EnhancedMeasurementSettings + enhancedMeasurementSettings_; /** + * + * *
    * Required. The settings to update.
    * The `name` field is used to identify the settings to be updated.
    * 
* - * .google.analytics.admin.v1alpha.EnhancedMeasurementSettings enhanced_measurement_settings = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.EnhancedMeasurementSettings enhanced_measurement_settings = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the enhancedMeasurementSettings field is set. */ @java.lang.Override @@ -58,34 +85,51 @@ public boolean hasEnhancedMeasurementSettings() { return enhancedMeasurementSettings_ != null; } /** + * + * *
    * Required. The settings to update.
    * The `name` field is used to identify the settings to be updated.
    * 
* - * .google.analytics.admin.v1alpha.EnhancedMeasurementSettings enhanced_measurement_settings = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.EnhancedMeasurementSettings enhanced_measurement_settings = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The enhancedMeasurementSettings. */ @java.lang.Override - public com.google.analytics.admin.v1alpha.EnhancedMeasurementSettings getEnhancedMeasurementSettings() { - return enhancedMeasurementSettings_ == null ? com.google.analytics.admin.v1alpha.EnhancedMeasurementSettings.getDefaultInstance() : enhancedMeasurementSettings_; + public com.google.analytics.admin.v1alpha.EnhancedMeasurementSettings + getEnhancedMeasurementSettings() { + return enhancedMeasurementSettings_ == null + ? com.google.analytics.admin.v1alpha.EnhancedMeasurementSettings.getDefaultInstance() + : enhancedMeasurementSettings_; } /** + * + * *
    * Required. The settings to update.
    * The `name` field is used to identify the settings to be updated.
    * 
* - * .google.analytics.admin.v1alpha.EnhancedMeasurementSettings enhanced_measurement_settings = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.EnhancedMeasurementSettings enhanced_measurement_settings = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public com.google.analytics.admin.v1alpha.EnhancedMeasurementSettingsOrBuilder getEnhancedMeasurementSettingsOrBuilder() { - return enhancedMeasurementSettings_ == null ? com.google.analytics.admin.v1alpha.EnhancedMeasurementSettings.getDefaultInstance() : enhancedMeasurementSettings_; + public com.google.analytics.admin.v1alpha.EnhancedMeasurementSettingsOrBuilder + getEnhancedMeasurementSettingsOrBuilder() { + return enhancedMeasurementSettings_ == null + ? com.google.analytics.admin.v1alpha.EnhancedMeasurementSettings.getDefaultInstance() + : enhancedMeasurementSettings_; } 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
@@ -93,7 +137,9 @@ public com.google.analytics.admin.v1alpha.EnhancedMeasurementSettingsOrBuilder g
    * 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 @@ -101,6 +147,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
@@ -108,7 +156,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 @@ -116,6 +166,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
@@ -123,7 +175,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() { @@ -131,6 +184,7 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -142,8 +196,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (enhancedMeasurementSettings_ != null) { output.writeMessage(1, getEnhancedMeasurementSettings()); } @@ -160,12 +213,12 @@ public int getSerializedSize() { size = 0; if (enhancedMeasurementSettings_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getEnhancedMeasurementSettings()); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 1, getEnhancedMeasurementSettings()); } if (updateMask_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getUpdateMask()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getUpdateMask()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -175,22 +228,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.UpdateEnhancedMeasurementSettingsRequest)) { + if (!(obj + instanceof com.google.analytics.admin.v1alpha.UpdateEnhancedMeasurementSettingsRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.UpdateEnhancedMeasurementSettingsRequest other = (com.google.analytics.admin.v1alpha.UpdateEnhancedMeasurementSettingsRequest) obj; + com.google.analytics.admin.v1alpha.UpdateEnhancedMeasurementSettingsRequest other = + (com.google.analytics.admin.v1alpha.UpdateEnhancedMeasurementSettingsRequest) obj; if (hasEnhancedMeasurementSettings() != other.hasEnhancedMeasurementSettings()) return false; if (hasEnhancedMeasurementSettings()) { - if (!getEnhancedMeasurementSettings() - .equals(other.getEnhancedMeasurementSettings())) return false; + if (!getEnhancedMeasurementSettings().equals(other.getEnhancedMeasurementSettings())) + 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,132 +270,145 @@ public int hashCode() { return hash; } - public static com.google.analytics.admin.v1alpha.UpdateEnhancedMeasurementSettingsRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.analytics.admin.v1alpha.UpdateEnhancedMeasurementSettingsRequest + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.UpdateEnhancedMeasurementSettingsRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.analytics.admin.v1alpha.UpdateEnhancedMeasurementSettingsRequest + 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.UpdateEnhancedMeasurementSettingsRequest parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.analytics.admin.v1alpha.UpdateEnhancedMeasurementSettingsRequest + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.UpdateEnhancedMeasurementSettingsRequest parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.analytics.admin.v1alpha.UpdateEnhancedMeasurementSettingsRequest + parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.UpdateEnhancedMeasurementSettingsRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.analytics.admin.v1alpha.UpdateEnhancedMeasurementSettingsRequest + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.UpdateEnhancedMeasurementSettingsRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.analytics.admin.v1alpha.UpdateEnhancedMeasurementSettingsRequest + 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.UpdateEnhancedMeasurementSettingsRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.UpdateEnhancedMeasurementSettingsRequest + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.UpdateEnhancedMeasurementSettingsRequest 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.UpdateEnhancedMeasurementSettingsRequest + 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.UpdateEnhancedMeasurementSettingsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.UpdateEnhancedMeasurementSettingsRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.UpdateEnhancedMeasurementSettingsRequest parseDelimitedFrom( - java.io.InputStream input, - 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.UpdateEnhancedMeasurementSettingsRequest + parseDelimitedFrom( + java.io.InputStream input, 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.UpdateEnhancedMeasurementSettingsRequest 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.UpdateEnhancedMeasurementSettingsRequest + 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.UpdateEnhancedMeasurementSettingsRequest 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.UpdateEnhancedMeasurementSettingsRequest + 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.UpdateEnhancedMeasurementSettingsRequest prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1alpha.UpdateEnhancedMeasurementSettingsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder 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 UpdateEnhancedMeasurementSettings RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.UpdateEnhancedMeasurementSettingsRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.UpdateEnhancedMeasurementSettingsRequest) com.google.analytics.admin.v1alpha.UpdateEnhancedMeasurementSettingsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_UpdateEnhancedMeasurementSettingsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_UpdateEnhancedMeasurementSettingsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_UpdateEnhancedMeasurementSettingsRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_UpdateEnhancedMeasurementSettingsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.UpdateEnhancedMeasurementSettingsRequest.class, com.google.analytics.admin.v1alpha.UpdateEnhancedMeasurementSettingsRequest.Builder.class); + com.google.analytics.admin.v1alpha.UpdateEnhancedMeasurementSettingsRequest.class, + com.google.analytics.admin.v1alpha.UpdateEnhancedMeasurementSettingsRequest.Builder + .class); } - // Construct using com.google.analytics.admin.v1alpha.UpdateEnhancedMeasurementSettingsRequest.newBuilder() - private Builder() { - - } + // Construct using + // com.google.analytics.admin.v1alpha.UpdateEnhancedMeasurementSettingsRequest.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,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_UpdateEnhancedMeasurementSettingsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_UpdateEnhancedMeasurementSettingsRequest_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.UpdateEnhancedMeasurementSettingsRequest getDefaultInstanceForType() { - return com.google.analytics.admin.v1alpha.UpdateEnhancedMeasurementSettingsRequest.getDefaultInstance(); + public com.google.analytics.admin.v1alpha.UpdateEnhancedMeasurementSettingsRequest + getDefaultInstanceForType() { + return com.google.analytics.admin.v1alpha.UpdateEnhancedMeasurementSettingsRequest + .getDefaultInstance(); } @java.lang.Override public com.google.analytics.admin.v1alpha.UpdateEnhancedMeasurementSettingsRequest build() { - com.google.analytics.admin.v1alpha.UpdateEnhancedMeasurementSettingsRequest result = buildPartial(); + com.google.analytics.admin.v1alpha.UpdateEnhancedMeasurementSettingsRequest result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -380,24 +450,28 @@ public com.google.analytics.admin.v1alpha.UpdateEnhancedMeasurementSettingsReque } @java.lang.Override - public com.google.analytics.admin.v1alpha.UpdateEnhancedMeasurementSettingsRequest buildPartial() { - com.google.analytics.admin.v1alpha.UpdateEnhancedMeasurementSettingsRequest result = new com.google.analytics.admin.v1alpha.UpdateEnhancedMeasurementSettingsRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + public com.google.analytics.admin.v1alpha.UpdateEnhancedMeasurementSettingsRequest + buildPartial() { + com.google.analytics.admin.v1alpha.UpdateEnhancedMeasurementSettingsRequest result = + new com.google.analytics.admin.v1alpha.UpdateEnhancedMeasurementSettingsRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.analytics.admin.v1alpha.UpdateEnhancedMeasurementSettingsRequest result) { + private void buildPartial0( + com.google.analytics.admin.v1alpha.UpdateEnhancedMeasurementSettingsRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.enhancedMeasurementSettings_ = enhancedMeasurementSettingsBuilder_ == null - ? enhancedMeasurementSettings_ - : enhancedMeasurementSettingsBuilder_.build(); + result.enhancedMeasurementSettings_ = + enhancedMeasurementSettingsBuilder_ == null + ? enhancedMeasurementSettings_ + : enhancedMeasurementSettingsBuilder_.build(); } if (((from_bitField0_ & 0x00000002) != 0)) { - result.updateMask_ = updateMaskBuilder_ == null - ? updateMask_ - : updateMaskBuilder_.build(); + result.updateMask_ = updateMaskBuilder_ == null ? updateMask_ : updateMaskBuilder_.build(); } } @@ -405,46 +479,52 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.UpdateEnhancedMeas public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.analytics.admin.v1alpha.UpdateEnhancedMeasurementSettingsRequest) { - return mergeFrom((com.google.analytics.admin.v1alpha.UpdateEnhancedMeasurementSettingsRequest)other); + if (other + instanceof com.google.analytics.admin.v1alpha.UpdateEnhancedMeasurementSettingsRequest) { + return mergeFrom( + (com.google.analytics.admin.v1alpha.UpdateEnhancedMeasurementSettingsRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.analytics.admin.v1alpha.UpdateEnhancedMeasurementSettingsRequest other) { - if (other == com.google.analytics.admin.v1alpha.UpdateEnhancedMeasurementSettingsRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.analytics.admin.v1alpha.UpdateEnhancedMeasurementSettingsRequest other) { + if (other + == com.google.analytics.admin.v1alpha.UpdateEnhancedMeasurementSettingsRequest + .getDefaultInstance()) return this; if (other.hasEnhancedMeasurementSettings()) { mergeEnhancedMeasurementSettings(other.getEnhancedMeasurementSettings()); } @@ -477,26 +557,26 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getEnhancedMeasurementSettingsFieldBuilder().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( + getEnhancedMeasurementSettingsFieldBuilder().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 +586,71 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; - private com.google.analytics.admin.v1alpha.EnhancedMeasurementSettings enhancedMeasurementSettings_; + private com.google.analytics.admin.v1alpha.EnhancedMeasurementSettings + enhancedMeasurementSettings_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.EnhancedMeasurementSettings, com.google.analytics.admin.v1alpha.EnhancedMeasurementSettings.Builder, com.google.analytics.admin.v1alpha.EnhancedMeasurementSettingsOrBuilder> enhancedMeasurementSettingsBuilder_; + com.google.analytics.admin.v1alpha.EnhancedMeasurementSettings, + com.google.analytics.admin.v1alpha.EnhancedMeasurementSettings.Builder, + com.google.analytics.admin.v1alpha.EnhancedMeasurementSettingsOrBuilder> + enhancedMeasurementSettingsBuilder_; /** + * + * *
      * Required. The settings to update.
      * The `name` field is used to identify the settings to be updated.
      * 
* - * .google.analytics.admin.v1alpha.EnhancedMeasurementSettings enhanced_measurement_settings = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.EnhancedMeasurementSettings enhanced_measurement_settings = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the enhancedMeasurementSettings field is set. */ public boolean hasEnhancedMeasurementSettings() { 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.EnhancedMeasurementSettings enhanced_measurement_settings = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.EnhancedMeasurementSettings enhanced_measurement_settings = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The enhancedMeasurementSettings. */ - public com.google.analytics.admin.v1alpha.EnhancedMeasurementSettings getEnhancedMeasurementSettings() { + public com.google.analytics.admin.v1alpha.EnhancedMeasurementSettings + getEnhancedMeasurementSettings() { if (enhancedMeasurementSettingsBuilder_ == null) { - return enhancedMeasurementSettings_ == null ? com.google.analytics.admin.v1alpha.EnhancedMeasurementSettings.getDefaultInstance() : enhancedMeasurementSettings_; + return enhancedMeasurementSettings_ == null + ? com.google.analytics.admin.v1alpha.EnhancedMeasurementSettings.getDefaultInstance() + : enhancedMeasurementSettings_; } else { return enhancedMeasurementSettingsBuilder_.getMessage(); } } /** + * + * *
      * Required. The settings to update.
      * The `name` field is used to identify the settings to be updated.
      * 
* - * .google.analytics.admin.v1alpha.EnhancedMeasurementSettings enhanced_measurement_settings = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.EnhancedMeasurementSettings enhanced_measurement_settings = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setEnhancedMeasurementSettings(com.google.analytics.admin.v1alpha.EnhancedMeasurementSettings value) { + public Builder setEnhancedMeasurementSettings( + com.google.analytics.admin.v1alpha.EnhancedMeasurementSettings value) { if (enhancedMeasurementSettingsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -561,12 +664,16 @@ public Builder setEnhancedMeasurementSettings(com.google.analytics.admin.v1alpha return this; } /** + * + * *
      * Required. The settings to update.
      * The `name` field is used to identify the settings to be updated.
      * 
* - * .google.analytics.admin.v1alpha.EnhancedMeasurementSettings enhanced_measurement_settings = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.EnhancedMeasurementSettings enhanced_measurement_settings = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setEnhancedMeasurementSettings( com.google.analytics.admin.v1alpha.EnhancedMeasurementSettings.Builder builderForValue) { @@ -580,18 +687,25 @@ public Builder setEnhancedMeasurementSettings( return this; } /** + * + * *
      * Required. The settings to update.
      * The `name` field is used to identify the settings to be updated.
      * 
* - * .google.analytics.admin.v1alpha.EnhancedMeasurementSettings enhanced_measurement_settings = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.EnhancedMeasurementSettings enhanced_measurement_settings = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder mergeEnhancedMeasurementSettings(com.google.analytics.admin.v1alpha.EnhancedMeasurementSettings value) { + public Builder mergeEnhancedMeasurementSettings( + com.google.analytics.admin.v1alpha.EnhancedMeasurementSettings value) { if (enhancedMeasurementSettingsBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) && - enhancedMeasurementSettings_ != null && - enhancedMeasurementSettings_ != com.google.analytics.admin.v1alpha.EnhancedMeasurementSettings.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) + && enhancedMeasurementSettings_ != null + && enhancedMeasurementSettings_ + != com.google.analytics.admin.v1alpha.EnhancedMeasurementSettings + .getDefaultInstance()) { getEnhancedMeasurementSettingsBuilder().mergeFrom(value); } else { enhancedMeasurementSettings_ = value; @@ -604,12 +718,16 @@ public Builder mergeEnhancedMeasurementSettings(com.google.analytics.admin.v1alp return this; } /** + * + * *
      * Required. The settings to update.
      * The `name` field is used to identify the settings to be updated.
      * 
* - * .google.analytics.admin.v1alpha.EnhancedMeasurementSettings enhanced_measurement_settings = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.EnhancedMeasurementSettings enhanced_measurement_settings = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearEnhancedMeasurementSettings() { bitField0_ = (bitField0_ & ~0x00000001); @@ -622,51 +740,69 @@ public Builder clearEnhancedMeasurementSettings() { return this; } /** + * + * *
      * Required. The settings to update.
      * The `name` field is used to identify the settings to be updated.
      * 
* - * .google.analytics.admin.v1alpha.EnhancedMeasurementSettings enhanced_measurement_settings = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.EnhancedMeasurementSettings enhanced_measurement_settings = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.analytics.admin.v1alpha.EnhancedMeasurementSettings.Builder getEnhancedMeasurementSettingsBuilder() { + public com.google.analytics.admin.v1alpha.EnhancedMeasurementSettings.Builder + getEnhancedMeasurementSettingsBuilder() { bitField0_ |= 0x00000001; onChanged(); return getEnhancedMeasurementSettingsFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The settings to update.
      * The `name` field is used to identify the settings to be updated.
      * 
* - * .google.analytics.admin.v1alpha.EnhancedMeasurementSettings enhanced_measurement_settings = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.EnhancedMeasurementSettings enhanced_measurement_settings = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.analytics.admin.v1alpha.EnhancedMeasurementSettingsOrBuilder getEnhancedMeasurementSettingsOrBuilder() { + public com.google.analytics.admin.v1alpha.EnhancedMeasurementSettingsOrBuilder + getEnhancedMeasurementSettingsOrBuilder() { if (enhancedMeasurementSettingsBuilder_ != null) { return enhancedMeasurementSettingsBuilder_.getMessageOrBuilder(); } else { - return enhancedMeasurementSettings_ == null ? - com.google.analytics.admin.v1alpha.EnhancedMeasurementSettings.getDefaultInstance() : enhancedMeasurementSettings_; + return enhancedMeasurementSettings_ == null + ? com.google.analytics.admin.v1alpha.EnhancedMeasurementSettings.getDefaultInstance() + : enhancedMeasurementSettings_; } } /** + * + * *
      * Required. The settings to update.
      * The `name` field is used to identify the settings to be updated.
      * 
* - * .google.analytics.admin.v1alpha.EnhancedMeasurementSettings enhanced_measurement_settings = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.EnhancedMeasurementSettings enhanced_measurement_settings = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.EnhancedMeasurementSettings, com.google.analytics.admin.v1alpha.EnhancedMeasurementSettings.Builder, com.google.analytics.admin.v1alpha.EnhancedMeasurementSettingsOrBuilder> + com.google.analytics.admin.v1alpha.EnhancedMeasurementSettings, + com.google.analytics.admin.v1alpha.EnhancedMeasurementSettings.Builder, + com.google.analytics.admin.v1alpha.EnhancedMeasurementSettingsOrBuilder> getEnhancedMeasurementSettingsFieldBuilder() { if (enhancedMeasurementSettingsBuilder_ == null) { - enhancedMeasurementSettingsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.EnhancedMeasurementSettings, com.google.analytics.admin.v1alpha.EnhancedMeasurementSettings.Builder, com.google.analytics.admin.v1alpha.EnhancedMeasurementSettingsOrBuilder>( - getEnhancedMeasurementSettings(), - getParentForChildren(), - isClean()); + enhancedMeasurementSettingsBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1alpha.EnhancedMeasurementSettings, + com.google.analytics.admin.v1alpha.EnhancedMeasurementSettings.Builder, + com.google.analytics.admin.v1alpha.EnhancedMeasurementSettingsOrBuilder>( + getEnhancedMeasurementSettings(), getParentForChildren(), isClean()); enhancedMeasurementSettings_ = null; } return enhancedMeasurementSettingsBuilder_; @@ -674,8 +810,13 @@ public com.google.analytics.admin.v1alpha.EnhancedMeasurementSettingsOrBuilder g 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
@@ -683,13 +824,17 @@ public com.google.analytics.admin.v1alpha.EnhancedMeasurementSettingsOrBuilder g
      * 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
@@ -697,17 +842,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
@@ -715,7 +866,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) { @@ -731,6 +883,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
@@ -738,10 +892,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 { @@ -752,6 +906,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
@@ -759,13 +915,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; @@ -778,6 +935,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
@@ -785,7 +944,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); @@ -798,6 +958,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
@@ -805,7 +967,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; @@ -813,6 +976,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
@@ -820,17 +985,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
@@ -838,24 +1007,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); } @@ -865,41 +1038,44 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.UpdateEnhancedMeasurementSettingsRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.UpdateEnhancedMeasurementSettingsRequest) - private static final com.google.analytics.admin.v1alpha.UpdateEnhancedMeasurementSettingsRequest DEFAULT_INSTANCE; + private static final com.google.analytics.admin.v1alpha.UpdateEnhancedMeasurementSettingsRequest + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.UpdateEnhancedMeasurementSettingsRequest(); + DEFAULT_INSTANCE = + new com.google.analytics.admin.v1alpha.UpdateEnhancedMeasurementSettingsRequest(); } - public static com.google.analytics.admin.v1alpha.UpdateEnhancedMeasurementSettingsRequest getDefaultInstance() { + public static com.google.analytics.admin.v1alpha.UpdateEnhancedMeasurementSettingsRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdateEnhancedMeasurementSettingsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdateEnhancedMeasurementSettingsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -911,9 +1087,8 @@ public com.google.protobuf.Parser getP } @java.lang.Override - public com.google.analytics.admin.v1alpha.UpdateEnhancedMeasurementSettingsRequest getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.UpdateEnhancedMeasurementSettingsRequest + 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/UpdateEnhancedMeasurementSettingsRequestOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateEnhancedMeasurementSettingsRequestOrBuilder.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/UpdateEnhancedMeasurementSettingsRequestOrBuilder.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateEnhancedMeasurementSettingsRequestOrBuilder.java index e38c265b1273..6000fb6e8280 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateEnhancedMeasurementSettingsRequestOrBuilder.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateEnhancedMeasurementSettingsRequestOrBuilder.java @@ -1,43 +1,76 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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 UpdateEnhancedMeasurementSettingsRequestOrBuilder extends +public interface UpdateEnhancedMeasurementSettingsRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.UpdateEnhancedMeasurementSettingsRequest) 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.EnhancedMeasurementSettings enhanced_measurement_settings = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.EnhancedMeasurementSettings enhanced_measurement_settings = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the enhancedMeasurementSettings field is set. */ boolean hasEnhancedMeasurementSettings(); /** + * + * *
    * Required. The settings to update.
    * The `name` field is used to identify the settings to be updated.
    * 
* - * .google.analytics.admin.v1alpha.EnhancedMeasurementSettings enhanced_measurement_settings = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.EnhancedMeasurementSettings enhanced_measurement_settings = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The enhancedMeasurementSettings. */ com.google.analytics.admin.v1alpha.EnhancedMeasurementSettings getEnhancedMeasurementSettings(); /** + * + * *
    * Required. The settings to update.
    * The `name` field is used to identify the settings to be updated.
    * 
* - * .google.analytics.admin.v1alpha.EnhancedMeasurementSettings enhanced_measurement_settings = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.EnhancedMeasurementSettings enhanced_measurement_settings = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - com.google.analytics.admin.v1alpha.EnhancedMeasurementSettingsOrBuilder getEnhancedMeasurementSettingsOrBuilder(); + com.google.analytics.admin.v1alpha.EnhancedMeasurementSettingsOrBuilder + getEnhancedMeasurementSettingsOrBuilder(); /** + * + * *
    * Required. The list 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 UpdateEnhancedMeasurementSettingsRequestOrBuilder 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 UpdateEnhancedMeasurementSettingsRequestOrBuilder 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 UpdateEnhancedMeasurementSettingsRequestOrBuilder 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/UpdateEventCreateRuleRequest.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateEventCreateRuleRequest.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/UpdateEventCreateRuleRequest.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateEventCreateRuleRequest.java index e254d946e8b9..08c67be36213 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateEventCreateRuleRequest.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateEventCreateRuleRequest.java @@ -1,57 +1,80 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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 UpdateEventCreateRule RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.UpdateEventCreateRuleRequest} */ -public final class UpdateEventCreateRuleRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class UpdateEventCreateRuleRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.UpdateEventCreateRuleRequest) UpdateEventCreateRuleRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use UpdateEventCreateRuleRequest.newBuilder() to construct. private UpdateEventCreateRuleRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private UpdateEventCreateRuleRequest() { - } + + private UpdateEventCreateRuleRequest() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new UpdateEventCreateRuleRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_UpdateEventCreateRuleRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_UpdateEventCreateRuleRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_UpdateEventCreateRuleRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_UpdateEventCreateRuleRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.UpdateEventCreateRuleRequest.class, com.google.analytics.admin.v1alpha.UpdateEventCreateRuleRequest.Builder.class); + com.google.analytics.admin.v1alpha.UpdateEventCreateRuleRequest.class, + com.google.analytics.admin.v1alpha.UpdateEventCreateRuleRequest.Builder.class); } public static final int EVENT_CREATE_RULE_FIELD_NUMBER = 1; private com.google.analytics.admin.v1alpha.EventCreateRule eventCreateRule_; /** + * + * *
    * Required. The EventCreateRule to update.
    * The resource's `name` field is used to identify the EventCreateRule to be
    * updated.
    * 
* - * .google.analytics.admin.v1alpha.EventCreateRule event_create_rule = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.EventCreateRule event_create_rule = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the eventCreateRule field is set. */ @java.lang.Override @@ -59,36 +82,51 @@ public boolean hasEventCreateRule() { return eventCreateRule_ != null; } /** + * + * *
    * Required. The EventCreateRule to update.
    * The resource's `name` field is used to identify the EventCreateRule to be
    * updated.
    * 
* - * .google.analytics.admin.v1alpha.EventCreateRule event_create_rule = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.EventCreateRule event_create_rule = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The eventCreateRule. */ @java.lang.Override public com.google.analytics.admin.v1alpha.EventCreateRule getEventCreateRule() { - return eventCreateRule_ == null ? com.google.analytics.admin.v1alpha.EventCreateRule.getDefaultInstance() : eventCreateRule_; + return eventCreateRule_ == null + ? com.google.analytics.admin.v1alpha.EventCreateRule.getDefaultInstance() + : eventCreateRule_; } /** + * + * *
    * Required. The EventCreateRule to update.
    * The resource's `name` field is used to identify the EventCreateRule to be
    * updated.
    * 
* - * .google.analytics.admin.v1alpha.EventCreateRule event_create_rule = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.EventCreateRule event_create_rule = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.analytics.admin.v1alpha.EventCreateRuleOrBuilder getEventCreateRuleOrBuilder() { - return eventCreateRule_ == null ? com.google.analytics.admin.v1alpha.EventCreateRule.getDefaultInstance() : eventCreateRule_; + return eventCreateRule_ == null + ? com.google.analytics.admin.v1alpha.EventCreateRule.getDefaultInstance() + : eventCreateRule_; } 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
@@ -96,7 +134,9 @@ public com.google.analytics.admin.v1alpha.EventCreateRuleOrBuilder getEventCreat
    * 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 @@ -104,6 +144,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
@@ -111,7 +153,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 @@ -119,6 +163,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
@@ -126,7 +172,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() { @@ -134,6 +181,7 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -145,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 (eventCreateRule_ != null) { output.writeMessage(1, getEventCreateRule()); } @@ -163,12 +210,10 @@ public int getSerializedSize() { size = 0; if (eventCreateRule_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getEventCreateRule()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getEventCreateRule()); } if (updateMask_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getUpdateMask()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getUpdateMask()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -178,22 +223,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.UpdateEventCreateRuleRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.UpdateEventCreateRuleRequest other = (com.google.analytics.admin.v1alpha.UpdateEventCreateRuleRequest) obj; + com.google.analytics.admin.v1alpha.UpdateEventCreateRuleRequest other = + (com.google.analytics.admin.v1alpha.UpdateEventCreateRuleRequest) obj; if (hasEventCreateRule() != other.hasEventCreateRule()) return false; if (hasEventCreateRule()) { - if (!getEventCreateRule() - .equals(other.getEventCreateRule())) return false; + if (!getEventCreateRule().equals(other.getEventCreateRule())) 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; @@ -220,131 +264,136 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.UpdateEventCreateRuleRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.UpdateEventCreateRuleRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.UpdateEventCreateRuleRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.UpdateEventCreateRuleRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.UpdateEventCreateRuleRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.analytics.admin.v1alpha.UpdateEventCreateRuleRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.UpdateEventCreateRuleRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.UpdateEventCreateRuleRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.UpdateEventCreateRuleRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.UpdateEventCreateRuleRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.UpdateEventCreateRuleRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.UpdateEventCreateRuleRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.analytics.admin.v1alpha.UpdateEventCreateRuleRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.UpdateEventCreateRuleRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.UpdateEventCreateRuleRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1alpha.UpdateEventCreateRuleRequest prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1alpha.UpdateEventCreateRuleRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder 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 UpdateEventCreateRule RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.UpdateEventCreateRuleRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.UpdateEventCreateRuleRequest) com.google.analytics.admin.v1alpha.UpdateEventCreateRuleRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_UpdateEventCreateRuleRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_UpdateEventCreateRuleRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_UpdateEventCreateRuleRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_UpdateEventCreateRuleRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.UpdateEventCreateRuleRequest.class, com.google.analytics.admin.v1alpha.UpdateEventCreateRuleRequest.Builder.class); + com.google.analytics.admin.v1alpha.UpdateEventCreateRuleRequest.class, + com.google.analytics.admin.v1alpha.UpdateEventCreateRuleRequest.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.UpdateEventCreateRuleRequest.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,13 +412,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_UpdateEventCreateRuleRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_UpdateEventCreateRuleRequest_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.UpdateEventCreateRuleRequest getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.UpdateEventCreateRuleRequest + getDefaultInstanceForType() { return com.google.analytics.admin.v1alpha.UpdateEventCreateRuleRequest.getDefaultInstance(); } @@ -384,23 +434,24 @@ public com.google.analytics.admin.v1alpha.UpdateEventCreateRuleRequest build() { @java.lang.Override public com.google.analytics.admin.v1alpha.UpdateEventCreateRuleRequest buildPartial() { - com.google.analytics.admin.v1alpha.UpdateEventCreateRuleRequest result = new com.google.analytics.admin.v1alpha.UpdateEventCreateRuleRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.analytics.admin.v1alpha.UpdateEventCreateRuleRequest result = + new com.google.analytics.admin.v1alpha.UpdateEventCreateRuleRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.analytics.admin.v1alpha.UpdateEventCreateRuleRequest result) { + private void buildPartial0( + com.google.analytics.admin.v1alpha.UpdateEventCreateRuleRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.eventCreateRule_ = eventCreateRuleBuilder_ == null - ? eventCreateRule_ - : eventCreateRuleBuilder_.build(); + result.eventCreateRule_ = + eventCreateRuleBuilder_ == null ? eventCreateRule_ : eventCreateRuleBuilder_.build(); } if (((from_bitField0_ & 0x00000002) != 0)) { - result.updateMask_ = updateMaskBuilder_ == null - ? updateMask_ - : updateMaskBuilder_.build(); + result.updateMask_ = updateMaskBuilder_ == null ? updateMask_ : updateMaskBuilder_.build(); } } @@ -408,46 +459,50 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.UpdateEventCreateR public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.analytics.admin.v1alpha.UpdateEventCreateRuleRequest) { - return mergeFrom((com.google.analytics.admin.v1alpha.UpdateEventCreateRuleRequest)other); + return mergeFrom((com.google.analytics.admin.v1alpha.UpdateEventCreateRuleRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.analytics.admin.v1alpha.UpdateEventCreateRuleRequest other) { - if (other == com.google.analytics.admin.v1alpha.UpdateEventCreateRuleRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.analytics.admin.v1alpha.UpdateEventCreateRuleRequest other) { + if (other + == com.google.analytics.admin.v1alpha.UpdateEventCreateRuleRequest.getDefaultInstance()) + return this; if (other.hasEventCreateRule()) { mergeEventCreateRule(other.getEventCreateRule()); } @@ -480,26 +535,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getEventCreateRuleFieldBuilder().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(getEventCreateRuleFieldBuilder().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 +563,69 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private com.google.analytics.admin.v1alpha.EventCreateRule eventCreateRule_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.EventCreateRule, com.google.analytics.admin.v1alpha.EventCreateRule.Builder, com.google.analytics.admin.v1alpha.EventCreateRuleOrBuilder> eventCreateRuleBuilder_; + com.google.analytics.admin.v1alpha.EventCreateRule, + com.google.analytics.admin.v1alpha.EventCreateRule.Builder, + com.google.analytics.admin.v1alpha.EventCreateRuleOrBuilder> + eventCreateRuleBuilder_; /** + * + * *
      * Required. The EventCreateRule to update.
      * The resource's `name` field is used to identify the EventCreateRule to be
      * updated.
      * 
* - * .google.analytics.admin.v1alpha.EventCreateRule event_create_rule = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.EventCreateRule event_create_rule = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the eventCreateRule field is set. */ public boolean hasEventCreateRule() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
      * Required. The EventCreateRule to update.
      * The resource's `name` field is used to identify the EventCreateRule to be
      * updated.
      * 
* - * .google.analytics.admin.v1alpha.EventCreateRule event_create_rule = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.EventCreateRule event_create_rule = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The eventCreateRule. */ public com.google.analytics.admin.v1alpha.EventCreateRule getEventCreateRule() { if (eventCreateRuleBuilder_ == null) { - return eventCreateRule_ == null ? com.google.analytics.admin.v1alpha.EventCreateRule.getDefaultInstance() : eventCreateRule_; + return eventCreateRule_ == null + ? com.google.analytics.admin.v1alpha.EventCreateRule.getDefaultInstance() + : eventCreateRule_; } else { return eventCreateRuleBuilder_.getMessage(); } } /** + * + * *
      * Required. The EventCreateRule to update.
      * The resource's `name` field is used to identify the EventCreateRule to be
      * updated.
      * 
* - * .google.analytics.admin.v1alpha.EventCreateRule event_create_rule = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.EventCreateRule event_create_rule = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setEventCreateRule(com.google.analytics.admin.v1alpha.EventCreateRule value) { if (eventCreateRuleBuilder_ == null) { @@ -567,13 +641,17 @@ public Builder setEventCreateRule(com.google.analytics.admin.v1alpha.EventCreate return this; } /** + * + * *
      * Required. The EventCreateRule to update.
      * The resource's `name` field is used to identify the EventCreateRule to be
      * updated.
      * 
* - * .google.analytics.admin.v1alpha.EventCreateRule event_create_rule = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.EventCreateRule event_create_rule = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setEventCreateRule( com.google.analytics.admin.v1alpha.EventCreateRule.Builder builderForValue) { @@ -587,19 +665,24 @@ public Builder setEventCreateRule( return this; } /** + * + * *
      * Required. The EventCreateRule to update.
      * The resource's `name` field is used to identify the EventCreateRule to be
      * updated.
      * 
* - * .google.analytics.admin.v1alpha.EventCreateRule event_create_rule = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.EventCreateRule event_create_rule = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeEventCreateRule(com.google.analytics.admin.v1alpha.EventCreateRule value) { if (eventCreateRuleBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) && - eventCreateRule_ != null && - eventCreateRule_ != com.google.analytics.admin.v1alpha.EventCreateRule.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) + && eventCreateRule_ != null + && eventCreateRule_ + != com.google.analytics.admin.v1alpha.EventCreateRule.getDefaultInstance()) { getEventCreateRuleBuilder().mergeFrom(value); } else { eventCreateRule_ = value; @@ -612,13 +695,17 @@ public Builder mergeEventCreateRule(com.google.analytics.admin.v1alpha.EventCrea return this; } /** + * + * *
      * Required. The EventCreateRule to update.
      * The resource's `name` field is used to identify the EventCreateRule to be
      * updated.
      * 
* - * .google.analytics.admin.v1alpha.EventCreateRule event_create_rule = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.EventCreateRule event_create_rule = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearEventCreateRule() { bitField0_ = (bitField0_ & ~0x00000001); @@ -631,13 +718,17 @@ public Builder clearEventCreateRule() { return this; } /** + * + * *
      * Required. The EventCreateRule to update.
      * The resource's `name` field is used to identify the EventCreateRule to be
      * updated.
      * 
* - * .google.analytics.admin.v1alpha.EventCreateRule event_create_rule = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.EventCreateRule event_create_rule = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.analytics.admin.v1alpha.EventCreateRule.Builder getEventCreateRuleBuilder() { bitField0_ |= 0x00000001; @@ -645,40 +736,53 @@ public com.google.analytics.admin.v1alpha.EventCreateRule.Builder getEventCreate return getEventCreateRuleFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The EventCreateRule to update.
      * The resource's `name` field is used to identify the EventCreateRule to be
      * updated.
      * 
* - * .google.analytics.admin.v1alpha.EventCreateRule event_create_rule = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.EventCreateRule event_create_rule = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.analytics.admin.v1alpha.EventCreateRuleOrBuilder getEventCreateRuleOrBuilder() { + public com.google.analytics.admin.v1alpha.EventCreateRuleOrBuilder + getEventCreateRuleOrBuilder() { if (eventCreateRuleBuilder_ != null) { return eventCreateRuleBuilder_.getMessageOrBuilder(); } else { - return eventCreateRule_ == null ? - com.google.analytics.admin.v1alpha.EventCreateRule.getDefaultInstance() : eventCreateRule_; + return eventCreateRule_ == null + ? com.google.analytics.admin.v1alpha.EventCreateRule.getDefaultInstance() + : eventCreateRule_; } } /** + * + * *
      * Required. The EventCreateRule to update.
      * The resource's `name` field is used to identify the EventCreateRule to be
      * updated.
      * 
* - * .google.analytics.admin.v1alpha.EventCreateRule event_create_rule = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.EventCreateRule event_create_rule = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.EventCreateRule, com.google.analytics.admin.v1alpha.EventCreateRule.Builder, com.google.analytics.admin.v1alpha.EventCreateRuleOrBuilder> + com.google.analytics.admin.v1alpha.EventCreateRule, + com.google.analytics.admin.v1alpha.EventCreateRule.Builder, + com.google.analytics.admin.v1alpha.EventCreateRuleOrBuilder> getEventCreateRuleFieldBuilder() { if (eventCreateRuleBuilder_ == null) { - eventCreateRuleBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.EventCreateRule, com.google.analytics.admin.v1alpha.EventCreateRule.Builder, com.google.analytics.admin.v1alpha.EventCreateRuleOrBuilder>( - getEventCreateRule(), - getParentForChildren(), - isClean()); + eventCreateRuleBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1alpha.EventCreateRule, + com.google.analytics.admin.v1alpha.EventCreateRule.Builder, + com.google.analytics.admin.v1alpha.EventCreateRuleOrBuilder>( + getEventCreateRule(), getParentForChildren(), isClean()); eventCreateRule_ = null; } return eventCreateRuleBuilder_; @@ -686,8 +790,13 @@ public com.google.analytics.admin.v1alpha.EventCreateRuleOrBuilder getEventCreat 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
@@ -695,13 +804,17 @@ public com.google.analytics.admin.v1alpha.EventCreateRuleOrBuilder getEventCreat
      * 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
@@ -709,17 +822,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
@@ -727,7 +846,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) { @@ -743,6 +863,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
@@ -750,10 +872,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 { @@ -764,6 +886,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
@@ -771,13 +895,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; @@ -790,6 +915,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
@@ -797,7 +924,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); @@ -810,6 +938,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
@@ -817,7 +947,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; @@ -825,6 +956,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
@@ -832,17 +965,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
@@ -850,24 +987,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); } @@ -877,41 +1018,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.UpdateEventCreateRuleRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.UpdateEventCreateRuleRequest) - private static final com.google.analytics.admin.v1alpha.UpdateEventCreateRuleRequest DEFAULT_INSTANCE; + private static final com.google.analytics.admin.v1alpha.UpdateEventCreateRuleRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.UpdateEventCreateRuleRequest(); } - public static com.google.analytics.admin.v1alpha.UpdateEventCreateRuleRequest getDefaultInstance() { + public static com.google.analytics.admin.v1alpha.UpdateEventCreateRuleRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdateEventCreateRuleRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdateEventCreateRuleRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -923,9 +1066,8 @@ public com.google.protobuf.Parser getParserForType } @java.lang.Override - public com.google.analytics.admin.v1alpha.UpdateEventCreateRuleRequest getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.UpdateEventCreateRuleRequest + 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/UpdateEventCreateRuleRequestOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateEventCreateRuleRequestOrBuilder.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/UpdateEventCreateRuleRequestOrBuilder.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateEventCreateRuleRequestOrBuilder.java index efd05c20aa94..d4c4e35e927a 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateEventCreateRuleRequestOrBuilder.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateEventCreateRuleRequestOrBuilder.java @@ -1,46 +1,78 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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 UpdateEventCreateRuleRequestOrBuilder extends +public interface UpdateEventCreateRuleRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.UpdateEventCreateRuleRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The EventCreateRule to update.
    * The resource's `name` field is used to identify the EventCreateRule to be
    * updated.
    * 
* - * .google.analytics.admin.v1alpha.EventCreateRule event_create_rule = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.EventCreateRule event_create_rule = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the eventCreateRule field is set. */ boolean hasEventCreateRule(); /** + * + * *
    * Required. The EventCreateRule to update.
    * The resource's `name` field is used to identify the EventCreateRule to be
    * updated.
    * 
* - * .google.analytics.admin.v1alpha.EventCreateRule event_create_rule = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.EventCreateRule event_create_rule = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The eventCreateRule. */ com.google.analytics.admin.v1alpha.EventCreateRule getEventCreateRule(); /** + * + * *
    * Required. The EventCreateRule to update.
    * The resource's `name` field is used to identify the EventCreateRule to be
    * updated.
    * 
* - * .google.analytics.admin.v1alpha.EventCreateRule event_create_rule = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.EventCreateRule event_create_rule = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.analytics.admin.v1alpha.EventCreateRuleOrBuilder getEventCreateRuleOrBuilder(); /** + * + * *
    * Required. The list 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 UpdateEventCreateRuleRequestOrBuilder 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 UpdateEventCreateRuleRequestOrBuilder 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 UpdateEventCreateRuleRequestOrBuilder 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/UpdateExpandedDataSetRequest.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateExpandedDataSetRequest.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/UpdateExpandedDataSetRequest.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateExpandedDataSetRequest.java index f0f99d6b1343..94e44cf347c4 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateExpandedDataSetRequest.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateExpandedDataSetRequest.java @@ -1,57 +1,80 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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 UpdateExpandedDataSet RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.UpdateExpandedDataSetRequest} */ -public final class UpdateExpandedDataSetRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class UpdateExpandedDataSetRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.UpdateExpandedDataSetRequest) UpdateExpandedDataSetRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use UpdateExpandedDataSetRequest.newBuilder() to construct. private UpdateExpandedDataSetRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private UpdateExpandedDataSetRequest() { - } + + private UpdateExpandedDataSetRequest() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new UpdateExpandedDataSetRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_UpdateExpandedDataSetRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_UpdateExpandedDataSetRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_UpdateExpandedDataSetRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_UpdateExpandedDataSetRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.UpdateExpandedDataSetRequest.class, com.google.analytics.admin.v1alpha.UpdateExpandedDataSetRequest.Builder.class); + com.google.analytics.admin.v1alpha.UpdateExpandedDataSetRequest.class, + com.google.analytics.admin.v1alpha.UpdateExpandedDataSetRequest.Builder.class); } public static final int EXPANDED_DATA_SET_FIELD_NUMBER = 1; private com.google.analytics.admin.v1alpha.ExpandedDataSet expandedDataSet_; /** + * + * *
    * Required. The ExpandedDataSet to update.
    * The resource's `name` field is used to identify the ExpandedDataSet to be
    * updated.
    * 
* - * .google.analytics.admin.v1alpha.ExpandedDataSet expanded_data_set = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.ExpandedDataSet expanded_data_set = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the expandedDataSet field is set. */ @java.lang.Override @@ -59,36 +82,51 @@ public boolean hasExpandedDataSet() { return expandedDataSet_ != null; } /** + * + * *
    * Required. The ExpandedDataSet to update.
    * The resource's `name` field is used to identify the ExpandedDataSet to be
    * updated.
    * 
* - * .google.analytics.admin.v1alpha.ExpandedDataSet expanded_data_set = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.ExpandedDataSet expanded_data_set = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The expandedDataSet. */ @java.lang.Override public com.google.analytics.admin.v1alpha.ExpandedDataSet getExpandedDataSet() { - return expandedDataSet_ == null ? com.google.analytics.admin.v1alpha.ExpandedDataSet.getDefaultInstance() : expandedDataSet_; + return expandedDataSet_ == null + ? com.google.analytics.admin.v1alpha.ExpandedDataSet.getDefaultInstance() + : expandedDataSet_; } /** + * + * *
    * Required. The ExpandedDataSet to update.
    * The resource's `name` field is used to identify the ExpandedDataSet to be
    * updated.
    * 
* - * .google.analytics.admin.v1alpha.ExpandedDataSet expanded_data_set = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.ExpandedDataSet expanded_data_set = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.analytics.admin.v1alpha.ExpandedDataSetOrBuilder getExpandedDataSetOrBuilder() { - return expandedDataSet_ == null ? com.google.analytics.admin.v1alpha.ExpandedDataSet.getDefaultInstance() : expandedDataSet_; + return expandedDataSet_ == null + ? com.google.analytics.admin.v1alpha.ExpandedDataSet.getDefaultInstance() + : expandedDataSet_; } 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
@@ -96,7 +134,9 @@ public com.google.analytics.admin.v1alpha.ExpandedDataSetOrBuilder getExpandedDa
    * 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 @@ -104,6 +144,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
@@ -111,7 +153,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 @@ -119,6 +163,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
@@ -126,7 +172,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() { @@ -134,6 +181,7 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -145,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 (expandedDataSet_ != null) { output.writeMessage(1, getExpandedDataSet()); } @@ -163,12 +210,10 @@ public int getSerializedSize() { size = 0; if (expandedDataSet_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getExpandedDataSet()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getExpandedDataSet()); } if (updateMask_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getUpdateMask()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getUpdateMask()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -178,22 +223,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.UpdateExpandedDataSetRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.UpdateExpandedDataSetRequest other = (com.google.analytics.admin.v1alpha.UpdateExpandedDataSetRequest) obj; + com.google.analytics.admin.v1alpha.UpdateExpandedDataSetRequest other = + (com.google.analytics.admin.v1alpha.UpdateExpandedDataSetRequest) obj; if (hasExpandedDataSet() != other.hasExpandedDataSet()) return false; if (hasExpandedDataSet()) { - if (!getExpandedDataSet() - .equals(other.getExpandedDataSet())) return false; + if (!getExpandedDataSet().equals(other.getExpandedDataSet())) 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; @@ -220,131 +264,136 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.UpdateExpandedDataSetRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.UpdateExpandedDataSetRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.UpdateExpandedDataSetRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.UpdateExpandedDataSetRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.UpdateExpandedDataSetRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.analytics.admin.v1alpha.UpdateExpandedDataSetRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.UpdateExpandedDataSetRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.UpdateExpandedDataSetRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.UpdateExpandedDataSetRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.UpdateExpandedDataSetRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.UpdateExpandedDataSetRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.UpdateExpandedDataSetRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.analytics.admin.v1alpha.UpdateExpandedDataSetRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.UpdateExpandedDataSetRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.UpdateExpandedDataSetRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1alpha.UpdateExpandedDataSetRequest prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1alpha.UpdateExpandedDataSetRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder 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 UpdateExpandedDataSet RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.UpdateExpandedDataSetRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.UpdateExpandedDataSetRequest) com.google.analytics.admin.v1alpha.UpdateExpandedDataSetRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_UpdateExpandedDataSetRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_UpdateExpandedDataSetRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_UpdateExpandedDataSetRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_UpdateExpandedDataSetRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.UpdateExpandedDataSetRequest.class, com.google.analytics.admin.v1alpha.UpdateExpandedDataSetRequest.Builder.class); + com.google.analytics.admin.v1alpha.UpdateExpandedDataSetRequest.class, + com.google.analytics.admin.v1alpha.UpdateExpandedDataSetRequest.Builder.class); } // Construct using com.google.analytics.admin.v1alpha.UpdateExpandedDataSetRequest.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,13 +412,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_UpdateExpandedDataSetRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_UpdateExpandedDataSetRequest_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.UpdateExpandedDataSetRequest getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.UpdateExpandedDataSetRequest + getDefaultInstanceForType() { return com.google.analytics.admin.v1alpha.UpdateExpandedDataSetRequest.getDefaultInstance(); } @@ -384,23 +434,24 @@ public com.google.analytics.admin.v1alpha.UpdateExpandedDataSetRequest build() { @java.lang.Override public com.google.analytics.admin.v1alpha.UpdateExpandedDataSetRequest buildPartial() { - com.google.analytics.admin.v1alpha.UpdateExpandedDataSetRequest result = new com.google.analytics.admin.v1alpha.UpdateExpandedDataSetRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.analytics.admin.v1alpha.UpdateExpandedDataSetRequest result = + new com.google.analytics.admin.v1alpha.UpdateExpandedDataSetRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.analytics.admin.v1alpha.UpdateExpandedDataSetRequest result) { + private void buildPartial0( + com.google.analytics.admin.v1alpha.UpdateExpandedDataSetRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.expandedDataSet_ = expandedDataSetBuilder_ == null - ? expandedDataSet_ - : expandedDataSetBuilder_.build(); + result.expandedDataSet_ = + expandedDataSetBuilder_ == null ? expandedDataSet_ : expandedDataSetBuilder_.build(); } if (((from_bitField0_ & 0x00000002) != 0)) { - result.updateMask_ = updateMaskBuilder_ == null - ? updateMask_ - : updateMaskBuilder_.build(); + result.updateMask_ = updateMaskBuilder_ == null ? updateMask_ : updateMaskBuilder_.build(); } } @@ -408,46 +459,50 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.UpdateExpandedData public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.analytics.admin.v1alpha.UpdateExpandedDataSetRequest) { - return mergeFrom((com.google.analytics.admin.v1alpha.UpdateExpandedDataSetRequest)other); + return mergeFrom((com.google.analytics.admin.v1alpha.UpdateExpandedDataSetRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.analytics.admin.v1alpha.UpdateExpandedDataSetRequest other) { - if (other == com.google.analytics.admin.v1alpha.UpdateExpandedDataSetRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.analytics.admin.v1alpha.UpdateExpandedDataSetRequest other) { + if (other + == com.google.analytics.admin.v1alpha.UpdateExpandedDataSetRequest.getDefaultInstance()) + return this; if (other.hasExpandedDataSet()) { mergeExpandedDataSet(other.getExpandedDataSet()); } @@ -480,26 +535,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getExpandedDataSetFieldBuilder().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(getExpandedDataSetFieldBuilder().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 +563,69 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private com.google.analytics.admin.v1alpha.ExpandedDataSet expandedDataSet_; 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_; /** + * + * *
      * Required. The ExpandedDataSet to update.
      * The resource's `name` field is used to identify the ExpandedDataSet to be
      * updated.
      * 
* - * .google.analytics.admin.v1alpha.ExpandedDataSet expanded_data_set = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.ExpandedDataSet expanded_data_set = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the expandedDataSet field is set. */ public boolean hasExpandedDataSet() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
      * Required. The ExpandedDataSet to update.
      * The resource's `name` field is used to identify the ExpandedDataSet to be
      * updated.
      * 
* - * .google.analytics.admin.v1alpha.ExpandedDataSet expanded_data_set = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.ExpandedDataSet expanded_data_set = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The expandedDataSet. */ public com.google.analytics.admin.v1alpha.ExpandedDataSet getExpandedDataSet() { if (expandedDataSetBuilder_ == null) { - return expandedDataSet_ == null ? com.google.analytics.admin.v1alpha.ExpandedDataSet.getDefaultInstance() : expandedDataSet_; + return expandedDataSet_ == null + ? com.google.analytics.admin.v1alpha.ExpandedDataSet.getDefaultInstance() + : expandedDataSet_; } else { return expandedDataSetBuilder_.getMessage(); } } /** + * + * *
      * Required. The ExpandedDataSet to update.
      * The resource's `name` field is used to identify the ExpandedDataSet to be
      * updated.
      * 
* - * .google.analytics.admin.v1alpha.ExpandedDataSet expanded_data_set = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.ExpandedDataSet expanded_data_set = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setExpandedDataSet(com.google.analytics.admin.v1alpha.ExpandedDataSet value) { if (expandedDataSetBuilder_ == null) { @@ -567,13 +641,17 @@ public Builder setExpandedDataSet(com.google.analytics.admin.v1alpha.ExpandedDat return this; } /** + * + * *
      * Required. The ExpandedDataSet to update.
      * The resource's `name` field is used to identify the ExpandedDataSet to be
      * updated.
      * 
* - * .google.analytics.admin.v1alpha.ExpandedDataSet expanded_data_set = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.ExpandedDataSet expanded_data_set = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setExpandedDataSet( com.google.analytics.admin.v1alpha.ExpandedDataSet.Builder builderForValue) { @@ -587,19 +665,24 @@ public Builder setExpandedDataSet( return this; } /** + * + * *
      * Required. The ExpandedDataSet to update.
      * The resource's `name` field is used to identify the ExpandedDataSet to be
      * updated.
      * 
* - * .google.analytics.admin.v1alpha.ExpandedDataSet expanded_data_set = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.ExpandedDataSet expanded_data_set = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeExpandedDataSet(com.google.analytics.admin.v1alpha.ExpandedDataSet value) { if (expandedDataSetBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) && - expandedDataSet_ != null && - expandedDataSet_ != com.google.analytics.admin.v1alpha.ExpandedDataSet.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) + && expandedDataSet_ != null + && expandedDataSet_ + != com.google.analytics.admin.v1alpha.ExpandedDataSet.getDefaultInstance()) { getExpandedDataSetBuilder().mergeFrom(value); } else { expandedDataSet_ = value; @@ -612,13 +695,17 @@ public Builder mergeExpandedDataSet(com.google.analytics.admin.v1alpha.ExpandedD return this; } /** + * + * *
      * Required. The ExpandedDataSet to update.
      * The resource's `name` field is used to identify the ExpandedDataSet to be
      * updated.
      * 
* - * .google.analytics.admin.v1alpha.ExpandedDataSet expanded_data_set = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.ExpandedDataSet expanded_data_set = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearExpandedDataSet() { bitField0_ = (bitField0_ & ~0x00000001); @@ -631,13 +718,17 @@ public Builder clearExpandedDataSet() { return this; } /** + * + * *
      * Required. The ExpandedDataSet to update.
      * The resource's `name` field is used to identify the ExpandedDataSet to be
      * updated.
      * 
* - * .google.analytics.admin.v1alpha.ExpandedDataSet expanded_data_set = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.ExpandedDataSet expanded_data_set = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.analytics.admin.v1alpha.ExpandedDataSet.Builder getExpandedDataSetBuilder() { bitField0_ |= 0x00000001; @@ -645,40 +736,53 @@ public com.google.analytics.admin.v1alpha.ExpandedDataSet.Builder getExpandedDat return getExpandedDataSetFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The ExpandedDataSet to update.
      * The resource's `name` field is used to identify the ExpandedDataSet to be
      * updated.
      * 
* - * .google.analytics.admin.v1alpha.ExpandedDataSet expanded_data_set = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.ExpandedDataSet expanded_data_set = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.analytics.admin.v1alpha.ExpandedDataSetOrBuilder getExpandedDataSetOrBuilder() { + public com.google.analytics.admin.v1alpha.ExpandedDataSetOrBuilder + getExpandedDataSetOrBuilder() { if (expandedDataSetBuilder_ != null) { return expandedDataSetBuilder_.getMessageOrBuilder(); } else { - return expandedDataSet_ == null ? - com.google.analytics.admin.v1alpha.ExpandedDataSet.getDefaultInstance() : expandedDataSet_; + return expandedDataSet_ == null + ? com.google.analytics.admin.v1alpha.ExpandedDataSet.getDefaultInstance() + : expandedDataSet_; } } /** + * + * *
      * Required. The ExpandedDataSet to update.
      * The resource's `name` field is used to identify the ExpandedDataSet to be
      * updated.
      * 
* - * .google.analytics.admin.v1alpha.ExpandedDataSet expanded_data_set = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.ExpandedDataSet expanded_data_set = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ 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) { - 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>( - getExpandedDataSet(), - getParentForChildren(), - isClean()); + 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>( + getExpandedDataSet(), getParentForChildren(), isClean()); expandedDataSet_ = null; } return expandedDataSetBuilder_; @@ -686,8 +790,13 @@ public com.google.analytics.admin.v1alpha.ExpandedDataSetOrBuilder getExpandedDa 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
@@ -695,13 +804,17 @@ public com.google.analytics.admin.v1alpha.ExpandedDataSetOrBuilder getExpandedDa
      * 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
@@ -709,17 +822,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
@@ -727,7 +846,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) { @@ -743,6 +863,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
@@ -750,10 +872,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 { @@ -764,6 +886,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
@@ -771,13 +895,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; @@ -790,6 +915,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
@@ -797,7 +924,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); @@ -810,6 +938,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
@@ -817,7 +947,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; @@ -825,6 +956,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
@@ -832,17 +965,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
@@ -850,24 +987,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); } @@ -877,41 +1018,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.UpdateExpandedDataSetRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.UpdateExpandedDataSetRequest) - private static final com.google.analytics.admin.v1alpha.UpdateExpandedDataSetRequest DEFAULT_INSTANCE; + private static final com.google.analytics.admin.v1alpha.UpdateExpandedDataSetRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.UpdateExpandedDataSetRequest(); } - public static com.google.analytics.admin.v1alpha.UpdateExpandedDataSetRequest getDefaultInstance() { + public static com.google.analytics.admin.v1alpha.UpdateExpandedDataSetRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdateExpandedDataSetRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdateExpandedDataSetRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -923,9 +1066,8 @@ public com.google.protobuf.Parser getParserForType } @java.lang.Override - public com.google.analytics.admin.v1alpha.UpdateExpandedDataSetRequest getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.UpdateExpandedDataSetRequest + 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/UpdateExpandedDataSetRequestOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateExpandedDataSetRequestOrBuilder.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/UpdateExpandedDataSetRequestOrBuilder.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateExpandedDataSetRequestOrBuilder.java index 4a3698b7463b..265efddba8fd 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateExpandedDataSetRequestOrBuilder.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateExpandedDataSetRequestOrBuilder.java @@ -1,46 +1,78 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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 UpdateExpandedDataSetRequestOrBuilder extends +public interface UpdateExpandedDataSetRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.UpdateExpandedDataSetRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The ExpandedDataSet to update.
    * The resource's `name` field is used to identify the ExpandedDataSet to be
    * updated.
    * 
* - * .google.analytics.admin.v1alpha.ExpandedDataSet expanded_data_set = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.ExpandedDataSet expanded_data_set = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the expandedDataSet field is set. */ boolean hasExpandedDataSet(); /** + * + * *
    * Required. The ExpandedDataSet to update.
    * The resource's `name` field is used to identify the ExpandedDataSet to be
    * updated.
    * 
* - * .google.analytics.admin.v1alpha.ExpandedDataSet expanded_data_set = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.ExpandedDataSet expanded_data_set = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The expandedDataSet. */ com.google.analytics.admin.v1alpha.ExpandedDataSet getExpandedDataSet(); /** + * + * *
    * Required. The ExpandedDataSet to update.
    * The resource's `name` field is used to identify the ExpandedDataSet to be
    * updated.
    * 
* - * .google.analytics.admin.v1alpha.ExpandedDataSet expanded_data_set = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.ExpandedDataSet expanded_data_set = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.analytics.admin.v1alpha.ExpandedDataSetOrBuilder getExpandedDataSetOrBuilder(); /** + * + * *
    * Required. The list 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 UpdateExpandedDataSetRequestOrBuilder 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 UpdateExpandedDataSetRequestOrBuilder 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 UpdateExpandedDataSetRequestOrBuilder 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/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 b167c3cf3a3f..2172a940623d 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,55 +1,76 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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(); } - 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 @@ -57,18 +78,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
    * 
@@ -77,12 +105,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
@@ -90,7 +122,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 @@ -98,6 +132,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
@@ -105,7 +141,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 @@ -113,6 +151,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
@@ -120,7 +160,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() { @@ -128,6 +169,7 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -139,8 +181,7 @@ public final boolean isInitialized() { } @java.lang.Override - public 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()); } @@ -157,12 +198,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; @@ -172,22 +211,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; @@ -214,131 +252,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(); @@ -357,13 +400,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(); } @@ -378,23 +422,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(); } } @@ -402,38 +447,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; @@ -441,7 +487,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()); } @@ -474,26 +522,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 +550,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
      * 
@@ -555,6 +616,8 @@ public Builder setGoogleAdsLink(com.google.analytics.admin.v1alpha.GoogleAdsLink return this; } /** + * + * *
      * The GoogleAdsLink to update
      * 
@@ -573,6 +636,8 @@ public Builder setGoogleAdsLink( return this; } /** + * + * *
      * The GoogleAdsLink to update
      * 
@@ -581,9 +646,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; @@ -596,6 +662,8 @@ public Builder mergeGoogleAdsLink(com.google.analytics.admin.v1alpha.GoogleAdsLi return this; } /** + * + * *
      * The GoogleAdsLink to update
      * 
@@ -613,6 +681,8 @@ public Builder clearGoogleAdsLink() { return this; } /** + * + * *
      * The GoogleAdsLink to update
      * 
@@ -625,6 +695,8 @@ public com.google.analytics.admin.v1alpha.GoogleAdsLink.Builder getGoogleAdsLink return getGoogleAdsLinkFieldBuilder().getBuilder(); } /** + * + * *
      * The GoogleAdsLink to update
      * 
@@ -635,11 +707,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
      * 
@@ -647,14 +722,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_; @@ -662,8 +740,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
@@ -671,13 +754,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
@@ -685,17 +772,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
@@ -703,7 +796,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) { @@ -719,6 +813,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
@@ -726,10 +822,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 { @@ -740,6 +836,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
@@ -747,13 +845,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; @@ -766,6 +865,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
@@ -773,7 +874,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); @@ -786,6 +888,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
@@ -793,7 +897,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; @@ -801,6 +906,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
@@ -808,17 +915,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
@@ -826,24 +937,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); } @@ -853,12 +968,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(); } @@ -867,27 +983,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; @@ -902,6 +1018,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..ad1326fc7937 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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 fa71a092092f..940b7ca3ce89 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,56 +1,80 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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(); } - 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 @@ -58,34 +82,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
@@ -93,7 +133,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 @@ -101,6 +143,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
@@ -108,7 +152,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 @@ -116,6 +162,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
@@ -123,7 +171,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() { @@ -131,6 +180,7 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -142,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 (googleSignalsSettings_ != null) { output.writeMessage(1, getGoogleSignalsSettings()); } @@ -160,12 +209,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; @@ -175,22 +223,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; @@ -217,131 +264,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(); @@ -360,14 +414,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 @@ -381,23 +437,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(); } } @@ -405,46 +464,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()); } @@ -477,26 +541,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) { @@ -506,48 +570,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(); @@ -561,12 +646,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) { @@ -580,18 +669,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; @@ -604,12 +699,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); @@ -622,51 +721,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_; @@ -674,8 +791,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
@@ -683,13 +805,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
@@ -697,17 +823,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
@@ -715,7 +847,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) { @@ -731,6 +864,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
@@ -738,10 +873,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 { @@ -752,6 +887,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
@@ -759,13 +896,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; @@ -778,6 +916,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
@@ -785,7 +925,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); @@ -798,6 +939,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
@@ -805,7 +948,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; @@ -813,6 +957,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
@@ -820,17 +966,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
@@ -838,24 +988,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); } @@ -865,41 +1019,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; @@ -911,9 +1067,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..2d306a890ea6 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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 e05308fa017f..ad7dad53d9eb 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,55 +1,81 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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(); } - 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 @@ -57,38 +83,57 @@ 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_; /** + * + * *
    * Required. The list of fields to be updated. Omitted fields will not be
    * updated.
    * 
* - * .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 @@ -96,12 +141,16 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** + * + * *
    * Required. The list of fields to be updated. Omitted fields will not be
    * updated.
    * 
* - * .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 @@ -109,12 +158,15 @@ 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.
    * 
* - * .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() { @@ -122,6 +174,7 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -133,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 (measurementProtocolSecret_ != null) { output.writeMessage(1, getMeasurementProtocolSecret()); } @@ -151,12 +203,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; @@ -166,22 +218,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; @@ -208,131 +261,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 +412,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 +435,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 +464,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 +542,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 +571,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 +645,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 +667,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 +697,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 +718,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,42 +785,58 @@ 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_; /** + * + * *
      * Required. The list of fields to be updated. Omitted fields will not be
      * updated.
      * 
* - * .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.
      * 
* - * .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.
      * 
* - * .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) { @@ -707,15 +852,17 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** + * + * *
      * Required. The list of fields to be updated. Omitted fields will not be
      * updated.
      * 
* - * .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 { @@ -726,18 +873,21 @@ public Builder setUpdateMask( return this; } /** + * + * *
      * Required. The list of fields to be updated. Omitted fields will not be
      * updated.
      * 
* - * .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; @@ -750,12 +900,15 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** + * + * *
      * Required. The list of fields to be updated. Omitted fields will not be
      * updated.
      * 
* - * .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); @@ -768,12 +921,15 @@ public Builder clearUpdateMask() { return this; } /** + * + * *
      * Required. The list of fields to be updated. Omitted fields will not be
      * updated.
      * 
* - * .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; @@ -781,45 +937,55 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { return getUpdateMaskFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The list of fields to be updated. Omitted fields will not be
      * updated.
      * 
* - * .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.
      * 
* - * .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); } @@ -829,41 +995,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; @@ -875,9 +1044,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 56% 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 4f6aee3e437f..9449bf52834b 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,66 +1,108 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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(); /** + * + * *
    * Required. The list of fields to be updated. Omitted fields will not be
    * updated.
    * 
* - * .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.
    * 
* - * .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.
    * 
* - * .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/UpdatePropertyRequest.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdatePropertyRequest.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/UpdatePropertyRequest.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdatePropertyRequest.java index 6076b08e1feb..18b2803ea608 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,57 +1,80 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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(); } - 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 @@ -59,36 +82,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
@@ -96,7 +134,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 @@ -104,6 +144,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
@@ -111,7 +153,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 @@ -119,6 +163,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
@@ -126,7 +172,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() { @@ -134,6 +181,7 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -145,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 (property_ != null) { output.writeMessage(1, getProperty()); } @@ -163,12 +210,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; @@ -178,22 +223,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; @@ -220,131 +264,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(); @@ -363,9 +412,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 @@ -384,8 +433,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; } @@ -393,14 +445,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(); } } @@ -408,38 +456,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; @@ -447,7 +496,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()); } @@ -480,26 +530,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 +558,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) { @@ -567,13 +636,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) { @@ -587,19 +660,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; @@ -612,13 +689,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); @@ -631,13 +712,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; @@ -645,40 +730,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_; @@ -686,8 +783,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
@@ -695,13 +797,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
@@ -709,17 +815,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
@@ -727,7 +839,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) { @@ -743,6 +856,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
@@ -750,10 +865,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 { @@ -764,6 +879,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
@@ -771,13 +888,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; @@ -790,6 +908,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
@@ -797,7 +917,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); @@ -810,6 +931,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
@@ -817,7 +940,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; @@ -825,6 +949,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
@@ -832,17 +958,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
@@ -850,24 +980,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); } @@ -877,12 +1011,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(); } @@ -891,27 +1025,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; @@ -926,6 +1060,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..77c090262ec7 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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/UpdateSKAdNetworkConversionValueSchemaRequest.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateSKAdNetworkConversionValueSchemaRequest.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/UpdateSKAdNetworkConversionValueSchemaRequest.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateSKAdNetworkConversionValueSchemaRequest.java index 2f38328dbef3..4072ba0fa2f9 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateSKAdNetworkConversionValueSchemaRequest.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateSKAdNetworkConversionValueSchemaRequest.java @@ -1,55 +1,83 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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 UpdateSKAdNetworkConversionValueSchema RPC.
  * 
* - * Protobuf type {@code google.analytics.admin.v1alpha.UpdateSKAdNetworkConversionValueSchemaRequest} + * Protobuf type {@code + * google.analytics.admin.v1alpha.UpdateSKAdNetworkConversionValueSchemaRequest} */ -public final class UpdateSKAdNetworkConversionValueSchemaRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class UpdateSKAdNetworkConversionValueSchemaRequest + extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.UpdateSKAdNetworkConversionValueSchemaRequest) UpdateSKAdNetworkConversionValueSchemaRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use UpdateSKAdNetworkConversionValueSchemaRequest.newBuilder() to construct. - private UpdateSKAdNetworkConversionValueSchemaRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private UpdateSKAdNetworkConversionValueSchemaRequest( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private UpdateSKAdNetworkConversionValueSchemaRequest() { - } + + private UpdateSKAdNetworkConversionValueSchemaRequest() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new UpdateSKAdNetworkConversionValueSchemaRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_UpdateSKAdNetworkConversionValueSchemaRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_UpdateSKAdNetworkConversionValueSchemaRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_UpdateSKAdNetworkConversionValueSchemaRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_UpdateSKAdNetworkConversionValueSchemaRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.UpdateSKAdNetworkConversionValueSchemaRequest.class, com.google.analytics.admin.v1alpha.UpdateSKAdNetworkConversionValueSchemaRequest.Builder.class); + com.google.analytics.admin.v1alpha.UpdateSKAdNetworkConversionValueSchemaRequest.class, + com.google.analytics.admin.v1alpha.UpdateSKAdNetworkConversionValueSchemaRequest.Builder + .class); } public static final int SKADNETWORK_CONVERSION_VALUE_SCHEMA_FIELD_NUMBER = 1; - private com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema skadnetworkConversionValueSchema_; + private com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema + skadnetworkConversionValueSchema_; /** + * + * *
    * Required. SKAdNetwork conversion value schema to update.
    * 
* - * .google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema skadnetwork_conversion_value_schema = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema skadnetwork_conversion_value_schema = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the skadnetworkConversionValueSchema field is set. */ @java.lang.Override @@ -57,38 +85,57 @@ public boolean hasSkadnetworkConversionValueSchema() { return skadnetworkConversionValueSchema_ != null; } /** + * + * *
    * Required. SKAdNetwork conversion value schema to update.
    * 
* - * .google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema skadnetwork_conversion_value_schema = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema skadnetwork_conversion_value_schema = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The skadnetworkConversionValueSchema. */ @java.lang.Override - public com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema getSkadnetworkConversionValueSchema() { - return skadnetworkConversionValueSchema_ == null ? com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema.getDefaultInstance() : skadnetworkConversionValueSchema_; + public com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema + getSkadnetworkConversionValueSchema() { + return skadnetworkConversionValueSchema_ == null + ? com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema.getDefaultInstance() + : skadnetworkConversionValueSchema_; } /** + * + * *
    * Required. SKAdNetwork conversion value schema to update.
    * 
* - * .google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema skadnetwork_conversion_value_schema = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema skadnetwork_conversion_value_schema = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchemaOrBuilder getSkadnetworkConversionValueSchemaOrBuilder() { - return skadnetworkConversionValueSchema_ == null ? com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema.getDefaultInstance() : skadnetworkConversionValueSchema_; + public com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchemaOrBuilder + getSkadnetworkConversionValueSchemaOrBuilder() { + return skadnetworkConversionValueSchema_ == null + ? com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema.getDefaultInstance() + : skadnetworkConversionValueSchema_; } 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.
    * 
* - * .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 @@ -96,12 +143,16 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** + * + * *
    * Required. The list of fields to be updated. Omitted fields will not be
    * updated.
    * 
* - * .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 @@ -109,12 +160,15 @@ 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.
    * 
* - * .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() { @@ -122,6 +176,7 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -133,8 +188,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (skadnetworkConversionValueSchema_ != null) { output.writeMessage(1, getSkadnetworkConversionValueSchema()); } @@ -151,12 +205,12 @@ public int getSerializedSize() { size = 0; if (skadnetworkConversionValueSchema_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getSkadnetworkConversionValueSchema()); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 1, getSkadnetworkConversionValueSchema()); } if (updateMask_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getUpdateMask()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getUpdateMask()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -166,22 +220,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.UpdateSKAdNetworkConversionValueSchemaRequest)) { + if (!(obj + instanceof + com.google.analytics.admin.v1alpha.UpdateSKAdNetworkConversionValueSchemaRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.UpdateSKAdNetworkConversionValueSchemaRequest other = (com.google.analytics.admin.v1alpha.UpdateSKAdNetworkConversionValueSchemaRequest) obj; + com.google.analytics.admin.v1alpha.UpdateSKAdNetworkConversionValueSchemaRequest other = + (com.google.analytics.admin.v1alpha.UpdateSKAdNetworkConversionValueSchemaRequest) obj; - if (hasSkadnetworkConversionValueSchema() != other.hasSkadnetworkConversionValueSchema()) return false; + if (hasSkadnetworkConversionValueSchema() != other.hasSkadnetworkConversionValueSchema()) + return false; if (hasSkadnetworkConversionValueSchema()) { if (!getSkadnetworkConversionValueSchema() .equals(other.getSkadnetworkConversionValueSchema())) 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; @@ -207,132 +264,147 @@ public int hashCode() { return hash; } - public static com.google.analytics.admin.v1alpha.UpdateSKAdNetworkConversionValueSchemaRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.analytics.admin.v1alpha.UpdateSKAdNetworkConversionValueSchemaRequest + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.UpdateSKAdNetworkConversionValueSchemaRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.analytics.admin.v1alpha.UpdateSKAdNetworkConversionValueSchemaRequest + 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.UpdateSKAdNetworkConversionValueSchemaRequest parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.analytics.admin.v1alpha.UpdateSKAdNetworkConversionValueSchemaRequest + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.UpdateSKAdNetworkConversionValueSchemaRequest parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.analytics.admin.v1alpha.UpdateSKAdNetworkConversionValueSchemaRequest + parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.UpdateSKAdNetworkConversionValueSchemaRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.analytics.admin.v1alpha.UpdateSKAdNetworkConversionValueSchemaRequest + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.analytics.admin.v1alpha.UpdateSKAdNetworkConversionValueSchemaRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.analytics.admin.v1alpha.UpdateSKAdNetworkConversionValueSchemaRequest + 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.UpdateSKAdNetworkConversionValueSchemaRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.UpdateSKAdNetworkConversionValueSchemaRequest + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.UpdateSKAdNetworkConversionValueSchemaRequest 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.UpdateSKAdNetworkConversionValueSchemaRequest + 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.UpdateSKAdNetworkConversionValueSchemaRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.UpdateSKAdNetworkConversionValueSchemaRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.UpdateSKAdNetworkConversionValueSchemaRequest parseDelimitedFrom( - java.io.InputStream input, - 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.UpdateSKAdNetworkConversionValueSchemaRequest + parseDelimitedFrom( + java.io.InputStream input, 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.UpdateSKAdNetworkConversionValueSchemaRequest 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.UpdateSKAdNetworkConversionValueSchemaRequest + 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.UpdateSKAdNetworkConversionValueSchemaRequest 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.UpdateSKAdNetworkConversionValueSchemaRequest + 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.UpdateSKAdNetworkConversionValueSchemaRequest prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1alpha.UpdateSKAdNetworkConversionValueSchemaRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder 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 UpdateSKAdNetworkConversionValueSchema RPC.
    * 
* - * Protobuf type {@code google.analytics.admin.v1alpha.UpdateSKAdNetworkConversionValueSchemaRequest} + * Protobuf type {@code + * google.analytics.admin.v1alpha.UpdateSKAdNetworkConversionValueSchemaRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.UpdateSKAdNetworkConversionValueSchemaRequest) com.google.analytics.admin.v1alpha.UpdateSKAdNetworkConversionValueSchemaRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_UpdateSKAdNetworkConversionValueSchemaRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_UpdateSKAdNetworkConversionValueSchemaRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_UpdateSKAdNetworkConversionValueSchemaRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_UpdateSKAdNetworkConversionValueSchemaRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.UpdateSKAdNetworkConversionValueSchemaRequest.class, com.google.analytics.admin.v1alpha.UpdateSKAdNetworkConversionValueSchemaRequest.Builder.class); + com.google.analytics.admin.v1alpha.UpdateSKAdNetworkConversionValueSchemaRequest + .class, + com.google.analytics.admin.v1alpha.UpdateSKAdNetworkConversionValueSchemaRequest + .Builder.class); } - // Construct using com.google.analytics.admin.v1alpha.UpdateSKAdNetworkConversionValueSchemaRequest.newBuilder() - private Builder() { - - } + // Construct using + // com.google.analytics.admin.v1alpha.UpdateSKAdNetworkConversionValueSchemaRequest.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 +423,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_UpdateSKAdNetworkConversionValueSchemaRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_UpdateSKAdNetworkConversionValueSchemaRequest_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.UpdateSKAdNetworkConversionValueSchemaRequest getDefaultInstanceForType() { - return com.google.analytics.admin.v1alpha.UpdateSKAdNetworkConversionValueSchemaRequest.getDefaultInstance(); + public com.google.analytics.admin.v1alpha.UpdateSKAdNetworkConversionValueSchemaRequest + getDefaultInstanceForType() { + return com.google.analytics.admin.v1alpha.UpdateSKAdNetworkConversionValueSchemaRequest + .getDefaultInstance(); } @java.lang.Override - public com.google.analytics.admin.v1alpha.UpdateSKAdNetworkConversionValueSchemaRequest build() { - com.google.analytics.admin.v1alpha.UpdateSKAdNetworkConversionValueSchemaRequest result = buildPartial(); + public com.google.analytics.admin.v1alpha.UpdateSKAdNetworkConversionValueSchemaRequest + build() { + com.google.analytics.admin.v1alpha.UpdateSKAdNetworkConversionValueSchemaRequest result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -371,24 +447,29 @@ public com.google.analytics.admin.v1alpha.UpdateSKAdNetworkConversionValueSchema } @java.lang.Override - public com.google.analytics.admin.v1alpha.UpdateSKAdNetworkConversionValueSchemaRequest buildPartial() { - com.google.analytics.admin.v1alpha.UpdateSKAdNetworkConversionValueSchemaRequest result = new com.google.analytics.admin.v1alpha.UpdateSKAdNetworkConversionValueSchemaRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + public com.google.analytics.admin.v1alpha.UpdateSKAdNetworkConversionValueSchemaRequest + buildPartial() { + com.google.analytics.admin.v1alpha.UpdateSKAdNetworkConversionValueSchemaRequest result = + new com.google.analytics.admin.v1alpha.UpdateSKAdNetworkConversionValueSchemaRequest( + this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.analytics.admin.v1alpha.UpdateSKAdNetworkConversionValueSchemaRequest result) { + private void buildPartial0( + com.google.analytics.admin.v1alpha.UpdateSKAdNetworkConversionValueSchemaRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.skadnetworkConversionValueSchema_ = skadnetworkConversionValueSchemaBuilder_ == null - ? skadnetworkConversionValueSchema_ - : skadnetworkConversionValueSchemaBuilder_.build(); + result.skadnetworkConversionValueSchema_ = + skadnetworkConversionValueSchemaBuilder_ == null + ? skadnetworkConversionValueSchema_ + : skadnetworkConversionValueSchemaBuilder_.build(); } if (((from_bitField0_ & 0x00000002) != 0)) { - result.updateMask_ = updateMaskBuilder_ == null - ? updateMask_ - : updateMaskBuilder_.build(); + result.updateMask_ = updateMaskBuilder_ == null ? updateMask_ : updateMaskBuilder_.build(); } } @@ -396,46 +477,54 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.UpdateSKAdNetworkC public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.analytics.admin.v1alpha.UpdateSKAdNetworkConversionValueSchemaRequest) { - return mergeFrom((com.google.analytics.admin.v1alpha.UpdateSKAdNetworkConversionValueSchemaRequest)other); + if (other + instanceof + com.google.analytics.admin.v1alpha.UpdateSKAdNetworkConversionValueSchemaRequest) { + return mergeFrom( + (com.google.analytics.admin.v1alpha.UpdateSKAdNetworkConversionValueSchemaRequest) + other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.analytics.admin.v1alpha.UpdateSKAdNetworkConversionValueSchemaRequest other) { - if (other == com.google.analytics.admin.v1alpha.UpdateSKAdNetworkConversionValueSchemaRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.analytics.admin.v1alpha.UpdateSKAdNetworkConversionValueSchemaRequest other) { + if (other + == com.google.analytics.admin.v1alpha.UpdateSKAdNetworkConversionValueSchemaRequest + .getDefaultInstance()) return this; if (other.hasSkadnetworkConversionValueSchema()) { mergeSkadnetworkConversionValueSchema(other.getSkadnetworkConversionValueSchema()); } @@ -468,26 +557,27 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getSkadnetworkConversionValueSchemaFieldBuilder().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( + getSkadnetworkConversionValueSchemaFieldBuilder().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 +587,69 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; - private com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema skadnetworkConversionValueSchema_; + private com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema + skadnetworkConversionValueSchema_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema, com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema.Builder, com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchemaOrBuilder> skadnetworkConversionValueSchemaBuilder_; + com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema, + com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema.Builder, + com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchemaOrBuilder> + skadnetworkConversionValueSchemaBuilder_; /** + * + * *
      * Required. SKAdNetwork conversion value schema to update.
      * 
* - * .google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema skadnetwork_conversion_value_schema = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema skadnetwork_conversion_value_schema = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the skadnetworkConversionValueSchema field is set. */ public boolean hasSkadnetworkConversionValueSchema() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
      * Required. SKAdNetwork conversion value schema to update.
      * 
* - * .google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema skadnetwork_conversion_value_schema = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema skadnetwork_conversion_value_schema = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The skadnetworkConversionValueSchema. */ - public com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema getSkadnetworkConversionValueSchema() { + public com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema + getSkadnetworkConversionValueSchema() { if (skadnetworkConversionValueSchemaBuilder_ == null) { - return skadnetworkConversionValueSchema_ == null ? com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema.getDefaultInstance() : skadnetworkConversionValueSchema_; + return skadnetworkConversionValueSchema_ == null + ? com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema + .getDefaultInstance() + : skadnetworkConversionValueSchema_; } else { return skadnetworkConversionValueSchemaBuilder_.getMessage(); } } /** + * + * *
      * Required. SKAdNetwork conversion value schema to update.
      * 
* - * .google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema skadnetwork_conversion_value_schema = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema skadnetwork_conversion_value_schema = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setSkadnetworkConversionValueSchema(com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema value) { + public Builder setSkadnetworkConversionValueSchema( + com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema value) { if (skadnetworkConversionValueSchemaBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -549,14 +663,19 @@ public Builder setSkadnetworkConversionValueSchema(com.google.analytics.admin.v1 return this; } /** + * + * *
      * Required. SKAdNetwork conversion value schema to update.
      * 
* - * .google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema skadnetwork_conversion_value_schema = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema skadnetwork_conversion_value_schema = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setSkadnetworkConversionValueSchema( - com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema.Builder builderForValue) { + com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema.Builder + builderForValue) { if (skadnetworkConversionValueSchemaBuilder_ == null) { skadnetworkConversionValueSchema_ = builderForValue.build(); } else { @@ -567,17 +686,24 @@ public Builder setSkadnetworkConversionValueSchema( return this; } /** + * + * *
      * Required. SKAdNetwork conversion value schema to update.
      * 
* - * .google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema skadnetwork_conversion_value_schema = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema skadnetwork_conversion_value_schema = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder mergeSkadnetworkConversionValueSchema(com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema value) { + public Builder mergeSkadnetworkConversionValueSchema( + com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema value) { if (skadnetworkConversionValueSchemaBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) && - skadnetworkConversionValueSchema_ != null && - skadnetworkConversionValueSchema_ != com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) + && skadnetworkConversionValueSchema_ != null + && skadnetworkConversionValueSchema_ + != com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema + .getDefaultInstance()) { getSkadnetworkConversionValueSchemaBuilder().mergeFrom(value); } else { skadnetworkConversionValueSchema_ = value; @@ -590,11 +716,15 @@ public Builder mergeSkadnetworkConversionValueSchema(com.google.analytics.admin. return this; } /** + * + * *
      * Required. SKAdNetwork conversion value schema to update.
      * 
* - * .google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema skadnetwork_conversion_value_schema = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema skadnetwork_conversion_value_schema = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearSkadnetworkConversionValueSchema() { bitField0_ = (bitField0_ & ~0x00000001); @@ -607,48 +737,67 @@ public Builder clearSkadnetworkConversionValueSchema() { return this; } /** + * + * *
      * Required. SKAdNetwork conversion value schema to update.
      * 
* - * .google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema skadnetwork_conversion_value_schema = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema skadnetwork_conversion_value_schema = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema.Builder getSkadnetworkConversionValueSchemaBuilder() { + public com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema.Builder + getSkadnetworkConversionValueSchemaBuilder() { bitField0_ |= 0x00000001; onChanged(); return getSkadnetworkConversionValueSchemaFieldBuilder().getBuilder(); } /** + * + * *
      * Required. SKAdNetwork conversion value schema to update.
      * 
* - * .google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema skadnetwork_conversion_value_schema = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema skadnetwork_conversion_value_schema = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchemaOrBuilder getSkadnetworkConversionValueSchemaOrBuilder() { + public com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchemaOrBuilder + getSkadnetworkConversionValueSchemaOrBuilder() { if (skadnetworkConversionValueSchemaBuilder_ != null) { return skadnetworkConversionValueSchemaBuilder_.getMessageOrBuilder(); } else { - return skadnetworkConversionValueSchema_ == null ? - com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema.getDefaultInstance() : skadnetworkConversionValueSchema_; + return skadnetworkConversionValueSchema_ == null + ? com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema + .getDefaultInstance() + : skadnetworkConversionValueSchema_; } } /** + * + * *
      * Required. SKAdNetwork conversion value schema to update.
      * 
* - * .google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema skadnetwork_conversion_value_schema = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema skadnetwork_conversion_value_schema = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema, com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema.Builder, com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchemaOrBuilder> + com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema, + com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema.Builder, + com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchemaOrBuilder> getSkadnetworkConversionValueSchemaFieldBuilder() { if (skadnetworkConversionValueSchemaBuilder_ == null) { - skadnetworkConversionValueSchemaBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema, com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema.Builder, com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchemaOrBuilder>( - getSkadnetworkConversionValueSchema(), - getParentForChildren(), - isClean()); + skadnetworkConversionValueSchemaBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema, + com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema.Builder, + com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchemaOrBuilder>( + getSkadnetworkConversionValueSchema(), getParentForChildren(), isClean()); skadnetworkConversionValueSchema_ = null; } return skadnetworkConversionValueSchemaBuilder_; @@ -656,42 +805,58 @@ public com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchemaOrBuil 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.
      * 
* - * .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.
      * 
* - * .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.
      * 
* - * .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) { @@ -707,15 +872,17 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** + * + * *
      * Required. The list of fields to be updated. Omitted fields will not be
      * updated.
      * 
* - * .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 { @@ -726,18 +893,21 @@ public Builder setUpdateMask( return this; } /** + * + * *
      * Required. The list of fields to be updated. Omitted fields will not be
      * updated.
      * 
* - * .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; @@ -750,12 +920,15 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** + * + * *
      * Required. The list of fields to be updated. Omitted fields will not be
      * updated.
      * 
* - * .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); @@ -768,12 +941,15 @@ public Builder clearUpdateMask() { return this; } /** + * + * *
      * Required. The list of fields to be updated. Omitted fields will not be
      * updated.
      * 
* - * .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; @@ -781,45 +957,55 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { return getUpdateMaskFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The list of fields to be updated. Omitted fields will not be
      * updated.
      * 
* - * .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.
      * 
* - * .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); } @@ -829,55 +1015,61 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.UpdateSKAdNetworkConversionValueSchemaRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.UpdateSKAdNetworkConversionValueSchemaRequest) - private static final com.google.analytics.admin.v1alpha.UpdateSKAdNetworkConversionValueSchemaRequest DEFAULT_INSTANCE; + private static final com.google.analytics.admin.v1alpha + .UpdateSKAdNetworkConversionValueSchemaRequest + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.UpdateSKAdNetworkConversionValueSchemaRequest(); + DEFAULT_INSTANCE = + new com.google.analytics.admin.v1alpha.UpdateSKAdNetworkConversionValueSchemaRequest(); } - public static com.google.analytics.admin.v1alpha.UpdateSKAdNetworkConversionValueSchemaRequest getDefaultInstance() { + public static com.google.analytics.admin.v1alpha.UpdateSKAdNetworkConversionValueSchemaRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdateSKAdNetworkConversionValueSchemaRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - 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 UpdateSKAdNetworkConversionValueSchemaRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.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.UpdateSKAdNetworkConversionValueSchemaRequest getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.UpdateSKAdNetworkConversionValueSchemaRequest + 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/UpdateSKAdNetworkConversionValueSchemaRequestOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateSKAdNetworkConversionValueSchemaRequestOrBuilder.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/UpdateSKAdNetworkConversionValueSchemaRequestOrBuilder.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateSKAdNetworkConversionValueSchemaRequestOrBuilder.java index cb10b633c004..33f65219c73d 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateSKAdNetworkConversionValueSchemaRequestOrBuilder.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateSKAdNetworkConversionValueSchemaRequestOrBuilder.java @@ -1,66 +1,109 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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 UpdateSKAdNetworkConversionValueSchemaRequestOrBuilder extends +public interface UpdateSKAdNetworkConversionValueSchemaRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.UpdateSKAdNetworkConversionValueSchemaRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. SKAdNetwork conversion value schema to update.
    * 
* - * .google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema skadnetwork_conversion_value_schema = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema skadnetwork_conversion_value_schema = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the skadnetworkConversionValueSchema field is set. */ boolean hasSkadnetworkConversionValueSchema(); /** + * + * *
    * Required. SKAdNetwork conversion value schema to update.
    * 
* - * .google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema skadnetwork_conversion_value_schema = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema skadnetwork_conversion_value_schema = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The skadnetworkConversionValueSchema. */ - com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema getSkadnetworkConversionValueSchema(); + com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema + getSkadnetworkConversionValueSchema(); /** + * + * *
    * Required. SKAdNetwork conversion value schema to update.
    * 
* - * .google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema skadnetwork_conversion_value_schema = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema skadnetwork_conversion_value_schema = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchemaOrBuilder getSkadnetworkConversionValueSchemaOrBuilder(); + com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchemaOrBuilder + getSkadnetworkConversionValueSchemaOrBuilder(); /** + * + * *
    * Required. The list of fields to be updated. Omitted fields will not be
    * updated.
    * 
* - * .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.
    * 
* - * .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.
    * 
* - * .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 910655595d55..4965847d7671 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,55 +1,76 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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(); } - 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 @@ -57,18 +78,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
    * 
@@ -76,20 +104,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 @@ -97,13 +132,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 @@ -111,13 +150,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() { @@ -125,6 +167,7 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -136,8 +179,7 @@ public final boolean isInitialized() { } @java.lang.Override - public 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()); } @@ -154,12 +196,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; @@ -169,22 +209,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; @@ -211,131 +250,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(); @@ -354,13 +398,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(); } @@ -375,23 +420,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(); } } @@ -399,46 +445,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()); } @@ -471,26 +521,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) { @@ -500,38 +550,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
      * 
@@ -552,6 +616,8 @@ public Builder setSearchAds360Link(com.google.analytics.admin.v1alpha.SearchAds3 return this; } /** + * + * *
      * The SearchAds360Link to update
      * 
@@ -570,17 +636,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; @@ -593,6 +663,8 @@ public Builder mergeSearchAds360Link(com.google.analytics.admin.v1alpha.SearchAd return this; } /** + * + * *
      * The SearchAds360Link to update
      * 
@@ -610,33 +682,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
      * 
@@ -644,14 +725,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_; @@ -659,45 +743,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) { @@ -713,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 { @@ -733,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; @@ -758,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); @@ -777,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; @@ -791,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); } @@ -841,41 +962,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; @@ -887,9 +1010,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..cd7331211a3d 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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/UpdateSubpropertyEventFilterRequest.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateSubpropertyEventFilterRequest.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/UpdateSubpropertyEventFilterRequest.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateSubpropertyEventFilterRequest.java index f72fad9c8ae3..9876da44f3db 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateSubpropertyEventFilterRequest.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateSubpropertyEventFilterRequest.java @@ -1,55 +1,80 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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 UpdateSubpropertyEventFilter RPC.
  * 
* * Protobuf type {@code google.analytics.admin.v1alpha.UpdateSubpropertyEventFilterRequest} */ -public final class UpdateSubpropertyEventFilterRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class UpdateSubpropertyEventFilterRequest + extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1alpha.UpdateSubpropertyEventFilterRequest) UpdateSubpropertyEventFilterRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use UpdateSubpropertyEventFilterRequest.newBuilder() to construct. - private UpdateSubpropertyEventFilterRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private UpdateSubpropertyEventFilterRequest( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private UpdateSubpropertyEventFilterRequest() { - } + + private UpdateSubpropertyEventFilterRequest() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new UpdateSubpropertyEventFilterRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_UpdateSubpropertyEventFilterRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_UpdateSubpropertyEventFilterRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_UpdateSubpropertyEventFilterRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_UpdateSubpropertyEventFilterRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.UpdateSubpropertyEventFilterRequest.class, com.google.analytics.admin.v1alpha.UpdateSubpropertyEventFilterRequest.Builder.class); + com.google.analytics.admin.v1alpha.UpdateSubpropertyEventFilterRequest.class, + com.google.analytics.admin.v1alpha.UpdateSubpropertyEventFilterRequest.Builder.class); } public static final int SUBPROPERTY_EVENT_FILTER_FIELD_NUMBER = 1; private com.google.analytics.admin.v1alpha.SubpropertyEventFilter subpropertyEventFilter_; /** + * + * *
    * Required. The subproperty event filter to update.
    * 
* - * .google.analytics.admin.v1alpha.SubpropertyEventFilter subproperty_event_filter = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.SubpropertyEventFilter subproperty_event_filter = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the subpropertyEventFilter field is set. */ @java.lang.Override @@ -57,32 +82,48 @@ public boolean hasSubpropertyEventFilter() { return subpropertyEventFilter_ != null; } /** + * + * *
    * Required. The subproperty event filter to update.
    * 
* - * .google.analytics.admin.v1alpha.SubpropertyEventFilter subproperty_event_filter = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.SubpropertyEventFilter subproperty_event_filter = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The subpropertyEventFilter. */ @java.lang.Override public com.google.analytics.admin.v1alpha.SubpropertyEventFilter getSubpropertyEventFilter() { - return subpropertyEventFilter_ == null ? com.google.analytics.admin.v1alpha.SubpropertyEventFilter.getDefaultInstance() : subpropertyEventFilter_; + return subpropertyEventFilter_ == null + ? com.google.analytics.admin.v1alpha.SubpropertyEventFilter.getDefaultInstance() + : subpropertyEventFilter_; } /** + * + * *
    * Required. The subproperty event filter to update.
    * 
* - * .google.analytics.admin.v1alpha.SubpropertyEventFilter subproperty_event_filter = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.SubpropertyEventFilter subproperty_event_filter = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public com.google.analytics.admin.v1alpha.SubpropertyEventFilterOrBuilder getSubpropertyEventFilterOrBuilder() { - return subpropertyEventFilter_ == null ? com.google.analytics.admin.v1alpha.SubpropertyEventFilter.getDefaultInstance() : subpropertyEventFilter_; + public com.google.analytics.admin.v1alpha.SubpropertyEventFilterOrBuilder + getSubpropertyEventFilterOrBuilder() { + return subpropertyEventFilter_ == null + ? com.google.analytics.admin.v1alpha.SubpropertyEventFilter.getDefaultInstance() + : subpropertyEventFilter_; } public static final int UPDATE_MASK_FIELD_NUMBER = 2; private com.google.protobuf.FieldMask updateMask_; /** + * + * *
    * Required. The list of fields to update. Field names must be in snake case
    * (for example, "field_to_update"). Omitted fields will not be updated. To
@@ -90,7 +131,9 @@ public com.google.analytics.admin.v1alpha.SubpropertyEventFilterOrBuilder getSub
    * 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 @@ -98,6 +141,8 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** + * + * *
    * Required. The list of fields to update. Field names must be in snake case
    * (for example, "field_to_update"). Omitted fields will not be updated. To
@@ -105,7 +150,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 @@ -113,6 +160,8 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** + * + * *
    * Required. The list of fields to update. Field names must be in snake case
    * (for example, "field_to_update"). Omitted fields will not be updated. To
@@ -120,7 +169,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() { @@ -128,6 +178,7 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -139,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 (subpropertyEventFilter_ != null) { output.writeMessage(1, getSubpropertyEventFilter()); } @@ -157,12 +207,11 @@ public int getSerializedSize() { size = 0; if (subpropertyEventFilter_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getSubpropertyEventFilter()); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(1, getSubpropertyEventFilter()); } if (updateMask_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getUpdateMask()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getUpdateMask()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -172,22 +221,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.UpdateSubpropertyEventFilterRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1alpha.UpdateSubpropertyEventFilterRequest other = (com.google.analytics.admin.v1alpha.UpdateSubpropertyEventFilterRequest) obj; + com.google.analytics.admin.v1alpha.UpdateSubpropertyEventFilterRequest other = + (com.google.analytics.admin.v1alpha.UpdateSubpropertyEventFilterRequest) obj; if (hasSubpropertyEventFilter() != other.hasSubpropertyEventFilter()) return false; if (hasSubpropertyEventFilter()) { - if (!getSubpropertyEventFilter() - .equals(other.getSubpropertyEventFilter())) return false; + if (!getSubpropertyEventFilter().equals(other.getSubpropertyEventFilter())) 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; @@ -214,131 +262,138 @@ public int hashCode() { } public static com.google.analytics.admin.v1alpha.UpdateSubpropertyEventFilterRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.UpdateSubpropertyEventFilterRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1alpha.UpdateSubpropertyEventFilterRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.UpdateSubpropertyEventFilterRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.UpdateSubpropertyEventFilterRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.analytics.admin.v1alpha.UpdateSubpropertyEventFilterRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1alpha.UpdateSubpropertyEventFilterRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.UpdateSubpropertyEventFilterRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1alpha.UpdateSubpropertyEventFilterRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.UpdateSubpropertyEventFilterRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1alpha.UpdateSubpropertyEventFilterRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1alpha.UpdateSubpropertyEventFilterRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.analytics.admin.v1alpha.UpdateSubpropertyEventFilterRequest parseDelimitedFrom( - java.io.InputStream input, - 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.UpdateSubpropertyEventFilterRequest + parseDelimitedFrom( + java.io.InputStream input, 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.UpdateSubpropertyEventFilterRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1alpha.UpdateSubpropertyEventFilterRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.analytics.admin.v1alpha.UpdateSubpropertyEventFilterRequest prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1alpha.UpdateSubpropertyEventFilterRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder 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 UpdateSubpropertyEventFilter RPC.
    * 
* * Protobuf type {@code google.analytics.admin.v1alpha.UpdateSubpropertyEventFilterRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1alpha.UpdateSubpropertyEventFilterRequest) com.google.analytics.admin.v1alpha.UpdateSubpropertyEventFilterRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_UpdateSubpropertyEventFilterRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_UpdateSubpropertyEventFilterRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1alpha.AnalyticsAdminProto.internal_static_google_analytics_admin_v1alpha_UpdateSubpropertyEventFilterRequest_fieldAccessorTable + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_UpdateSubpropertyEventFilterRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1alpha.UpdateSubpropertyEventFilterRequest.class, com.google.analytics.admin.v1alpha.UpdateSubpropertyEventFilterRequest.Builder.class); + com.google.analytics.admin.v1alpha.UpdateSubpropertyEventFilterRequest.class, + com.google.analytics.admin.v1alpha.UpdateSubpropertyEventFilterRequest.Builder.class); } - // Construct using com.google.analytics.admin.v1alpha.UpdateSubpropertyEventFilterRequest.newBuilder() - private Builder() { - - } + // Construct using + // com.google.analytics.admin.v1alpha.UpdateSubpropertyEventFilterRequest.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 +412,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_UpdateSubpropertyEventFilterRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1alpha.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1alpha_UpdateSubpropertyEventFilterRequest_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1alpha.UpdateSubpropertyEventFilterRequest getDefaultInstanceForType() { - return com.google.analytics.admin.v1alpha.UpdateSubpropertyEventFilterRequest.getDefaultInstance(); + public com.google.analytics.admin.v1alpha.UpdateSubpropertyEventFilterRequest + getDefaultInstanceForType() { + return com.google.analytics.admin.v1alpha.UpdateSubpropertyEventFilterRequest + .getDefaultInstance(); } @java.lang.Override public com.google.analytics.admin.v1alpha.UpdateSubpropertyEventFilterRequest build() { - com.google.analytics.admin.v1alpha.UpdateSubpropertyEventFilterRequest result = buildPartial(); + com.google.analytics.admin.v1alpha.UpdateSubpropertyEventFilterRequest result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -378,23 +436,26 @@ public com.google.analytics.admin.v1alpha.UpdateSubpropertyEventFilterRequest bu @java.lang.Override public com.google.analytics.admin.v1alpha.UpdateSubpropertyEventFilterRequest buildPartial() { - com.google.analytics.admin.v1alpha.UpdateSubpropertyEventFilterRequest result = new com.google.analytics.admin.v1alpha.UpdateSubpropertyEventFilterRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.analytics.admin.v1alpha.UpdateSubpropertyEventFilterRequest result = + new com.google.analytics.admin.v1alpha.UpdateSubpropertyEventFilterRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.analytics.admin.v1alpha.UpdateSubpropertyEventFilterRequest result) { + private void buildPartial0( + com.google.analytics.admin.v1alpha.UpdateSubpropertyEventFilterRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.subpropertyEventFilter_ = subpropertyEventFilterBuilder_ == null - ? subpropertyEventFilter_ - : subpropertyEventFilterBuilder_.build(); + result.subpropertyEventFilter_ = + subpropertyEventFilterBuilder_ == null + ? subpropertyEventFilter_ + : subpropertyEventFilterBuilder_.build(); } if (((from_bitField0_ & 0x00000002) != 0)) { - result.updateMask_ = updateMaskBuilder_ == null - ? updateMask_ - : updateMaskBuilder_.build(); + result.updateMask_ = updateMaskBuilder_ == null ? updateMask_ : updateMaskBuilder_.build(); } } @@ -402,46 +463,51 @@ private void buildPartial0(com.google.analytics.admin.v1alpha.UpdateSubpropertyE public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.analytics.admin.v1alpha.UpdateSubpropertyEventFilterRequest) { - return mergeFrom((com.google.analytics.admin.v1alpha.UpdateSubpropertyEventFilterRequest)other); + return mergeFrom( + (com.google.analytics.admin.v1alpha.UpdateSubpropertyEventFilterRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.analytics.admin.v1alpha.UpdateSubpropertyEventFilterRequest other) { - if (other == com.google.analytics.admin.v1alpha.UpdateSubpropertyEventFilterRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.analytics.admin.v1alpha.UpdateSubpropertyEventFilterRequest other) { + if (other + == com.google.analytics.admin.v1alpha.UpdateSubpropertyEventFilterRequest + .getDefaultInstance()) return this; if (other.hasSubpropertyEventFilter()) { mergeSubpropertyEventFilter(other.getSubpropertyEventFilter()); } @@ -474,26 +540,26 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getSubpropertyEventFilterFieldBuilder().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( + getSubpropertyEventFilterFieldBuilder().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 +569,66 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private com.google.analytics.admin.v1alpha.SubpropertyEventFilter subpropertyEventFilter_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.SubpropertyEventFilter, com.google.analytics.admin.v1alpha.SubpropertyEventFilter.Builder, com.google.analytics.admin.v1alpha.SubpropertyEventFilterOrBuilder> subpropertyEventFilterBuilder_; + com.google.analytics.admin.v1alpha.SubpropertyEventFilter, + com.google.analytics.admin.v1alpha.SubpropertyEventFilter.Builder, + com.google.analytics.admin.v1alpha.SubpropertyEventFilterOrBuilder> + subpropertyEventFilterBuilder_; /** + * + * *
      * Required. The subproperty event filter to update.
      * 
* - * .google.analytics.admin.v1alpha.SubpropertyEventFilter subproperty_event_filter = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.SubpropertyEventFilter subproperty_event_filter = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the subpropertyEventFilter field is set. */ public boolean hasSubpropertyEventFilter() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
      * Required. The subproperty event filter to update.
      * 
* - * .google.analytics.admin.v1alpha.SubpropertyEventFilter subproperty_event_filter = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.SubpropertyEventFilter subproperty_event_filter = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The subpropertyEventFilter. */ public com.google.analytics.admin.v1alpha.SubpropertyEventFilter getSubpropertyEventFilter() { if (subpropertyEventFilterBuilder_ == null) { - return subpropertyEventFilter_ == null ? com.google.analytics.admin.v1alpha.SubpropertyEventFilter.getDefaultInstance() : subpropertyEventFilter_; + return subpropertyEventFilter_ == null + ? com.google.analytics.admin.v1alpha.SubpropertyEventFilter.getDefaultInstance() + : subpropertyEventFilter_; } else { return subpropertyEventFilterBuilder_.getMessage(); } } /** + * + * *
      * Required. The subproperty event filter to update.
      * 
* - * .google.analytics.admin.v1alpha.SubpropertyEventFilter subproperty_event_filter = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.SubpropertyEventFilter subproperty_event_filter = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setSubpropertyEventFilter(com.google.analytics.admin.v1alpha.SubpropertyEventFilter value) { + public Builder setSubpropertyEventFilter( + com.google.analytics.admin.v1alpha.SubpropertyEventFilter value) { if (subpropertyEventFilterBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -555,11 +642,15 @@ public Builder setSubpropertyEventFilter(com.google.analytics.admin.v1alpha.Subp return this; } /** + * + * *
      * Required. The subproperty event filter to update.
      * 
* - * .google.analytics.admin.v1alpha.SubpropertyEventFilter subproperty_event_filter = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.SubpropertyEventFilter subproperty_event_filter = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setSubpropertyEventFilter( com.google.analytics.admin.v1alpha.SubpropertyEventFilter.Builder builderForValue) { @@ -573,17 +664,23 @@ public Builder setSubpropertyEventFilter( return this; } /** + * + * *
      * Required. The subproperty event filter to update.
      * 
* - * .google.analytics.admin.v1alpha.SubpropertyEventFilter subproperty_event_filter = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.SubpropertyEventFilter subproperty_event_filter = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder mergeSubpropertyEventFilter(com.google.analytics.admin.v1alpha.SubpropertyEventFilter value) { + public Builder mergeSubpropertyEventFilter( + com.google.analytics.admin.v1alpha.SubpropertyEventFilter value) { if (subpropertyEventFilterBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) && - subpropertyEventFilter_ != null && - subpropertyEventFilter_ != com.google.analytics.admin.v1alpha.SubpropertyEventFilter.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) + && subpropertyEventFilter_ != null + && subpropertyEventFilter_ + != com.google.analytics.admin.v1alpha.SubpropertyEventFilter.getDefaultInstance()) { getSubpropertyEventFilterBuilder().mergeFrom(value); } else { subpropertyEventFilter_ = value; @@ -596,11 +693,15 @@ public Builder mergeSubpropertyEventFilter(com.google.analytics.admin.v1alpha.Su return this; } /** + * + * *
      * Required. The subproperty event filter to update.
      * 
* - * .google.analytics.admin.v1alpha.SubpropertyEventFilter subproperty_event_filter = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.SubpropertyEventFilter subproperty_event_filter = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearSubpropertyEventFilter() { bitField0_ = (bitField0_ & ~0x00000001); @@ -613,48 +714,66 @@ public Builder clearSubpropertyEventFilter() { return this; } /** + * + * *
      * Required. The subproperty event filter to update.
      * 
* - * .google.analytics.admin.v1alpha.SubpropertyEventFilter subproperty_event_filter = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.SubpropertyEventFilter subproperty_event_filter = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.analytics.admin.v1alpha.SubpropertyEventFilter.Builder getSubpropertyEventFilterBuilder() { + public com.google.analytics.admin.v1alpha.SubpropertyEventFilter.Builder + getSubpropertyEventFilterBuilder() { bitField0_ |= 0x00000001; onChanged(); return getSubpropertyEventFilterFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The subproperty event filter to update.
      * 
* - * .google.analytics.admin.v1alpha.SubpropertyEventFilter subproperty_event_filter = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.SubpropertyEventFilter subproperty_event_filter = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.analytics.admin.v1alpha.SubpropertyEventFilterOrBuilder getSubpropertyEventFilterOrBuilder() { + public com.google.analytics.admin.v1alpha.SubpropertyEventFilterOrBuilder + getSubpropertyEventFilterOrBuilder() { if (subpropertyEventFilterBuilder_ != null) { return subpropertyEventFilterBuilder_.getMessageOrBuilder(); } else { - return subpropertyEventFilter_ == null ? - com.google.analytics.admin.v1alpha.SubpropertyEventFilter.getDefaultInstance() : subpropertyEventFilter_; + return subpropertyEventFilter_ == null + ? com.google.analytics.admin.v1alpha.SubpropertyEventFilter.getDefaultInstance() + : subpropertyEventFilter_; } } /** + * + * *
      * Required. The subproperty event filter to update.
      * 
* - * .google.analytics.admin.v1alpha.SubpropertyEventFilter subproperty_event_filter = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.SubpropertyEventFilter subproperty_event_filter = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.SubpropertyEventFilter, com.google.analytics.admin.v1alpha.SubpropertyEventFilter.Builder, com.google.analytics.admin.v1alpha.SubpropertyEventFilterOrBuilder> + com.google.analytics.admin.v1alpha.SubpropertyEventFilter, + com.google.analytics.admin.v1alpha.SubpropertyEventFilter.Builder, + com.google.analytics.admin.v1alpha.SubpropertyEventFilterOrBuilder> getSubpropertyEventFilterFieldBuilder() { if (subpropertyEventFilterBuilder_ == null) { - subpropertyEventFilterBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1alpha.SubpropertyEventFilter, com.google.analytics.admin.v1alpha.SubpropertyEventFilter.Builder, com.google.analytics.admin.v1alpha.SubpropertyEventFilterOrBuilder>( - getSubpropertyEventFilter(), - getParentForChildren(), - isClean()); + subpropertyEventFilterBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1alpha.SubpropertyEventFilter, + com.google.analytics.admin.v1alpha.SubpropertyEventFilter.Builder, + com.google.analytics.admin.v1alpha.SubpropertyEventFilterOrBuilder>( + getSubpropertyEventFilter(), getParentForChildren(), isClean()); subpropertyEventFilter_ = null; } return subpropertyEventFilterBuilder_; @@ -662,8 +781,13 @@ public com.google.analytics.admin.v1alpha.SubpropertyEventFilterOrBuilder getSub 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 update. Field names must be in snake case
      * (for example, "field_to_update"). Omitted fields will not be updated. To
@@ -671,13 +795,17 @@ public com.google.analytics.admin.v1alpha.SubpropertyEventFilterOrBuilder getSub
      * 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 update. Field names must be in snake case
      * (for example, "field_to_update"). Omitted fields will not be updated. To
@@ -685,17 +813,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 update. Field names must be in snake case
      * (for example, "field_to_update"). Omitted fields will not be updated. To
@@ -703,7 +837,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) { @@ -719,6 +854,8 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** + * + * *
      * Required. The list of fields to update. Field names must be in snake case
      * (for example, "field_to_update"). Omitted fields will not be updated. To
@@ -726,10 +863,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 { @@ -740,6 +877,8 @@ public Builder setUpdateMask( return this; } /** + * + * *
      * Required. The list of fields to update. Field names must be in snake case
      * (for example, "field_to_update"). Omitted fields will not be updated. To
@@ -747,13 +886,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; @@ -766,6 +906,8 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** + * + * *
      * Required. The list of fields to update. Field names must be in snake case
      * (for example, "field_to_update"). Omitted fields will not be updated. To
@@ -773,7 +915,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); @@ -786,6 +929,8 @@ public Builder clearUpdateMask() { return this; } /** + * + * *
      * Required. The list of fields to update. Field names must be in snake case
      * (for example, "field_to_update"). Omitted fields will not be updated. To
@@ -793,7 +938,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; @@ -801,6 +947,8 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { return getUpdateMaskFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The list of fields to update. Field names must be in snake case
      * (for example, "field_to_update"). Omitted fields will not be updated. To
@@ -808,17 +956,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 update. Field names must be in snake case
      * (for example, "field_to_update"). Omitted fields will not be updated. To
@@ -826,24 +978,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); } @@ -853,41 +1009,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1alpha.UpdateSubpropertyEventFilterRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1alpha.UpdateSubpropertyEventFilterRequest) - private static final com.google.analytics.admin.v1alpha.UpdateSubpropertyEventFilterRequest DEFAULT_INSTANCE; + private static final com.google.analytics.admin.v1alpha.UpdateSubpropertyEventFilterRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1alpha.UpdateSubpropertyEventFilterRequest(); } - public static com.google.analytics.admin.v1alpha.UpdateSubpropertyEventFilterRequest getDefaultInstance() { + public static com.google.analytics.admin.v1alpha.UpdateSubpropertyEventFilterRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdateSubpropertyEventFilterRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdateSubpropertyEventFilterRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -899,9 +1057,8 @@ public com.google.protobuf.Parser getParser } @java.lang.Override - public com.google.analytics.admin.v1alpha.UpdateSubpropertyEventFilterRequest getDefaultInstanceForType() { + public com.google.analytics.admin.v1alpha.UpdateSubpropertyEventFilterRequest + 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/UpdateSubpropertyEventFilterRequestOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateSubpropertyEventFilterRequestOrBuilder.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/UpdateSubpropertyEventFilterRequestOrBuilder.java rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateSubpropertyEventFilterRequestOrBuilder.java index a463244ea5e2..9aac2a776f4f 100644 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateSubpropertyEventFilterRequestOrBuilder.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateSubpropertyEventFilterRequestOrBuilder.java @@ -1,40 +1,73 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the 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 UpdateSubpropertyEventFilterRequestOrBuilder extends +public interface UpdateSubpropertyEventFilterRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.UpdateSubpropertyEventFilterRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The subproperty event filter to update.
    * 
* - * .google.analytics.admin.v1alpha.SubpropertyEventFilter subproperty_event_filter = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.SubpropertyEventFilter subproperty_event_filter = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the subpropertyEventFilter field is set. */ boolean hasSubpropertyEventFilter(); /** + * + * *
    * Required. The subproperty event filter to update.
    * 
* - * .google.analytics.admin.v1alpha.SubpropertyEventFilter subproperty_event_filter = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.SubpropertyEventFilter subproperty_event_filter = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The subpropertyEventFilter. */ com.google.analytics.admin.v1alpha.SubpropertyEventFilter getSubpropertyEventFilter(); /** + * + * *
    * Required. The subproperty event filter to update.
    * 
* - * .google.analytics.admin.v1alpha.SubpropertyEventFilter subproperty_event_filter = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.analytics.admin.v1alpha.SubpropertyEventFilter subproperty_event_filter = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - com.google.analytics.admin.v1alpha.SubpropertyEventFilterOrBuilder getSubpropertyEventFilterOrBuilder(); + com.google.analytics.admin.v1alpha.SubpropertyEventFilterOrBuilder + getSubpropertyEventFilterOrBuilder(); /** + * + * *
    * Required. The list of fields to update. Field names must be in snake case
    * (for example, "field_to_update"). Omitted fields will not be updated. To
@@ -42,11 +75,15 @@ public interface UpdateSubpropertyEventFilterRequestOrBuilder 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 update. Field names must be in snake case
    * (for example, "field_to_update"). Omitted fields will not be updated. To
@@ -54,11 +91,15 @@ public interface UpdateSubpropertyEventFilterRequestOrBuilder 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 update. Field names must be in snake case
    * (for example, "field_to_update"). Omitted fields will not be updated. To
@@ -66,7 +107,8 @@ public interface UpdateSubpropertyEventFilterRequestOrBuilder 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/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/channel_group.proto b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/proto/google/analytics/admin/v1alpha/channel_group.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/channel_group.proto rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/proto/google/analytics/admin/v1alpha/channel_group.proto diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/proto/google/analytics/admin/v1alpha/event_create_and_edit.proto b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/proto/google/analytics/admin/v1alpha/event_create_and_edit.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/event_create_and_edit.proto rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/proto/google/analytics/admin/v1alpha/event_create_and_edit.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/v1alpha/proto-google-analytics-admin-v1alpha/src/main/proto/google/analytics/admin/v1alpha/subproperty_event_filter.proto b/java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/proto/google/analytics/admin/v1alpha/subproperty_event_filter.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/subproperty_event_filter.proto rename to java-analytics-admin/proto-google-analytics-admin-v1alpha/src/main/proto/google/analytics/admin/v1alpha/subproperty_event_filter.proto diff --git a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AccessBetweenFilter.java b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AccessBetweenFilter.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/AccessBetweenFilter.java rename to java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AccessBetweenFilter.java index 201a4f7bc627..7817af40a542 100644 --- a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AccessBetweenFilter.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AccessBetweenFilter.java @@ -1,55 +1,76 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1beta/access_report.proto package com.google.analytics.admin.v1beta; /** + * + * *
  * To express that the result needs to be between two numbers (inclusive).
  * 
* * Protobuf type {@code google.analytics.admin.v1beta.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.v1beta.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(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1beta.AccessReportProto.internal_static_google_analytics_admin_v1beta_AccessBetweenFilter_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1beta.AccessReportProto + .internal_static_google_analytics_admin_v1beta_AccessBetweenFilter_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.AccessReportProto.internal_static_google_analytics_admin_v1beta_AccessBetweenFilter_fieldAccessorTable + return com.google.analytics.admin.v1beta.AccessReportProto + .internal_static_google_analytics_admin_v1beta_AccessBetweenFilter_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.AccessBetweenFilter.class, com.google.analytics.admin.v1beta.AccessBetweenFilter.Builder.class); + com.google.analytics.admin.v1beta.AccessBetweenFilter.class, + com.google.analytics.admin.v1beta.AccessBetweenFilter.Builder.class); } public static final int FROM_VALUE_FIELD_NUMBER = 1; private com.google.analytics.admin.v1beta.NumericValue fromValue_; /** + * + * *
    * Begins with this number.
    * 
* * .google.analytics.admin.v1beta.NumericValue from_value = 1; + * * @return Whether the fromValue field is set. */ @java.lang.Override @@ -57,18 +78,25 @@ public boolean hasFromValue() { return fromValue_ != null; } /** + * + * *
    * Begins with this number.
    * 
* * .google.analytics.admin.v1beta.NumericValue from_value = 1; + * * @return The fromValue. */ @java.lang.Override public com.google.analytics.admin.v1beta.NumericValue getFromValue() { - return fromValue_ == null ? com.google.analytics.admin.v1beta.NumericValue.getDefaultInstance() : fromValue_; + return fromValue_ == null + ? com.google.analytics.admin.v1beta.NumericValue.getDefaultInstance() + : fromValue_; } /** + * + * *
    * Begins with this number.
    * 
@@ -77,17 +105,22 @@ public com.google.analytics.admin.v1beta.NumericValue getFromValue() { */ @java.lang.Override public com.google.analytics.admin.v1beta.NumericValueOrBuilder getFromValueOrBuilder() { - return fromValue_ == null ? com.google.analytics.admin.v1beta.NumericValue.getDefaultInstance() : fromValue_; + return fromValue_ == null + ? com.google.analytics.admin.v1beta.NumericValue.getDefaultInstance() + : fromValue_; } public static final int TO_VALUE_FIELD_NUMBER = 2; private com.google.analytics.admin.v1beta.NumericValue toValue_; /** + * + * *
    * Ends with this number.
    * 
* * .google.analytics.admin.v1beta.NumericValue to_value = 2; + * * @return Whether the toValue field is set. */ @java.lang.Override @@ -95,18 +128,25 @@ public boolean hasToValue() { return toValue_ != null; } /** + * + * *
    * Ends with this number.
    * 
* * .google.analytics.admin.v1beta.NumericValue to_value = 2; + * * @return The toValue. */ @java.lang.Override public com.google.analytics.admin.v1beta.NumericValue getToValue() { - return toValue_ == null ? com.google.analytics.admin.v1beta.NumericValue.getDefaultInstance() : toValue_; + return toValue_ == null + ? com.google.analytics.admin.v1beta.NumericValue.getDefaultInstance() + : toValue_; } /** + * + * *
    * Ends with this number.
    * 
@@ -115,10 +155,13 @@ public com.google.analytics.admin.v1beta.NumericValue getToValue() { */ @java.lang.Override public com.google.analytics.admin.v1beta.NumericValueOrBuilder getToValueOrBuilder() { - return toValue_ == null ? com.google.analytics.admin.v1beta.NumericValue.getDefaultInstance() : toValue_; + return toValue_ == null + ? com.google.analytics.admin.v1beta.NumericValue.getDefaultInstance() + : toValue_; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -130,8 +173,7 @@ public final boolean isInitialized() { } @java.lang.Override - public 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()); } @@ -148,12 +190,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; @@ -163,22 +203,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.AccessBetweenFilter)) { return super.equals(obj); } - com.google.analytics.admin.v1beta.AccessBetweenFilter other = (com.google.analytics.admin.v1beta.AccessBetweenFilter) obj; + com.google.analytics.admin.v1beta.AccessBetweenFilter other = + (com.google.analytics.admin.v1beta.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; @@ -205,131 +244,136 @@ public int hashCode() { } public static com.google.analytics.admin.v1beta.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.v1beta.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.v1beta.AccessBetweenFilter parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1beta.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.v1beta.AccessBetweenFilter parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1beta.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.v1beta.AccessBetweenFilter parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1beta.AccessBetweenFilter parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1beta.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.v1beta.AccessBetweenFilter parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1beta.AccessBetweenFilter parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.analytics.admin.v1beta.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.v1beta.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.v1beta.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.v1beta.AccessBetweenFilter prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1beta.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.v1beta.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.v1beta.AccessBetweenFilter) com.google.analytics.admin.v1beta.AccessBetweenFilterOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1beta.AccessReportProto.internal_static_google_analytics_admin_v1beta_AccessBetweenFilter_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1beta.AccessReportProto + .internal_static_google_analytics_admin_v1beta_AccessBetweenFilter_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.AccessReportProto.internal_static_google_analytics_admin_v1beta_AccessBetweenFilter_fieldAccessorTable + return com.google.analytics.admin.v1beta.AccessReportProto + .internal_static_google_analytics_admin_v1beta_AccessBetweenFilter_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.AccessBetweenFilter.class, com.google.analytics.admin.v1beta.AccessBetweenFilter.Builder.class); + com.google.analytics.admin.v1beta.AccessBetweenFilter.class, + com.google.analytics.admin.v1beta.AccessBetweenFilter.Builder.class); } // Construct using com.google.analytics.admin.v1beta.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(); @@ -348,9 +392,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.analytics.admin.v1beta.AccessReportProto.internal_static_google_analytics_admin_v1beta_AccessBetweenFilter_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1beta.AccessReportProto + .internal_static_google_analytics_admin_v1beta_AccessBetweenFilter_descriptor; } @java.lang.Override @@ -369,8 +413,11 @@ public com.google.analytics.admin.v1beta.AccessBetweenFilter build() { @java.lang.Override public com.google.analytics.admin.v1beta.AccessBetweenFilter buildPartial() { - com.google.analytics.admin.v1beta.AccessBetweenFilter result = new com.google.analytics.admin.v1beta.AccessBetweenFilter(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.analytics.admin.v1beta.AccessBetweenFilter result = + new com.google.analytics.admin.v1beta.AccessBetweenFilter(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -378,14 +425,10 @@ public com.google.analytics.admin.v1beta.AccessBetweenFilter buildPartial() { private void buildPartial0(com.google.analytics.admin.v1beta.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(); } } @@ -393,38 +436,39 @@ private void buildPartial0(com.google.analytics.admin.v1beta.AccessBetweenFilter public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object 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.AccessBetweenFilter) { - return mergeFrom((com.google.analytics.admin.v1beta.AccessBetweenFilter)other); + return mergeFrom((com.google.analytics.admin.v1beta.AccessBetweenFilter) other); } else { super.mergeFrom(other); return this; @@ -432,7 +476,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1beta.AccessBetweenFilter other) { - if (other == com.google.analytics.admin.v1beta.AccessBetweenFilter.getDefaultInstance()) return this; + if (other == com.google.analytics.admin.v1beta.AccessBetweenFilter.getDefaultInstance()) + return this; if (other.hasFromValue()) { mergeFromValue(other.getFromValue()); } @@ -465,26 +510,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) { @@ -494,38 +538,52 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private com.google.analytics.admin.v1beta.NumericValue fromValue_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1beta.NumericValue, com.google.analytics.admin.v1beta.NumericValue.Builder, com.google.analytics.admin.v1beta.NumericValueOrBuilder> fromValueBuilder_; + com.google.analytics.admin.v1beta.NumericValue, + com.google.analytics.admin.v1beta.NumericValue.Builder, + com.google.analytics.admin.v1beta.NumericValueOrBuilder> + fromValueBuilder_; /** + * + * *
      * Begins with this number.
      * 
* * .google.analytics.admin.v1beta.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.v1beta.NumericValue from_value = 1; + * * @return The fromValue. */ public com.google.analytics.admin.v1beta.NumericValue getFromValue() { if (fromValueBuilder_ == null) { - return fromValue_ == null ? com.google.analytics.admin.v1beta.NumericValue.getDefaultInstance() : fromValue_; + return fromValue_ == null + ? com.google.analytics.admin.v1beta.NumericValue.getDefaultInstance() + : fromValue_; } else { return fromValueBuilder_.getMessage(); } } /** + * + * *
      * Begins with this number.
      * 
@@ -546,6 +604,8 @@ public Builder setFromValue(com.google.analytics.admin.v1beta.NumericValue value return this; } /** + * + * *
      * Begins with this number.
      * 
@@ -564,6 +624,8 @@ public Builder setFromValue( return this; } /** + * + * *
      * Begins with this number.
      * 
@@ -572,9 +634,9 @@ public Builder setFromValue( */ public Builder mergeFromValue(com.google.analytics.admin.v1beta.NumericValue value) { if (fromValueBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) && - fromValue_ != null && - fromValue_ != com.google.analytics.admin.v1beta.NumericValue.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) + && fromValue_ != null + && fromValue_ != com.google.analytics.admin.v1beta.NumericValue.getDefaultInstance()) { getFromValueBuilder().mergeFrom(value); } else { fromValue_ = value; @@ -587,6 +649,8 @@ public Builder mergeFromValue(com.google.analytics.admin.v1beta.NumericValue val return this; } /** + * + * *
      * Begins with this number.
      * 
@@ -604,6 +668,8 @@ public Builder clearFromValue() { return this; } /** + * + * *
      * Begins with this number.
      * 
@@ -616,6 +682,8 @@ public com.google.analytics.admin.v1beta.NumericValue.Builder getFromValueBuilde return getFromValueFieldBuilder().getBuilder(); } /** + * + * *
      * Begins with this number.
      * 
@@ -626,11 +694,14 @@ public com.google.analytics.admin.v1beta.NumericValueOrBuilder getFromValueOrBui if (fromValueBuilder_ != null) { return fromValueBuilder_.getMessageOrBuilder(); } else { - return fromValue_ == null ? - com.google.analytics.admin.v1beta.NumericValue.getDefaultInstance() : fromValue_; + return fromValue_ == null + ? com.google.analytics.admin.v1beta.NumericValue.getDefaultInstance() + : fromValue_; } } /** + * + * *
      * Begins with this number.
      * 
@@ -638,14 +709,17 @@ public com.google.analytics.admin.v1beta.NumericValueOrBuilder getFromValueOrBui * .google.analytics.admin.v1beta.NumericValue from_value = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1beta.NumericValue, com.google.analytics.admin.v1beta.NumericValue.Builder, com.google.analytics.admin.v1beta.NumericValueOrBuilder> + com.google.analytics.admin.v1beta.NumericValue, + com.google.analytics.admin.v1beta.NumericValue.Builder, + com.google.analytics.admin.v1beta.NumericValueOrBuilder> getFromValueFieldBuilder() { if (fromValueBuilder_ == null) { - fromValueBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1beta.NumericValue, com.google.analytics.admin.v1beta.NumericValue.Builder, com.google.analytics.admin.v1beta.NumericValueOrBuilder>( - getFromValue(), - getParentForChildren(), - isClean()); + fromValueBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1beta.NumericValue, + com.google.analytics.admin.v1beta.NumericValue.Builder, + com.google.analytics.admin.v1beta.NumericValueOrBuilder>( + getFromValue(), getParentForChildren(), isClean()); fromValue_ = null; } return fromValueBuilder_; @@ -653,34 +727,47 @@ public com.google.analytics.admin.v1beta.NumericValueOrBuilder getFromValueOrBui private com.google.analytics.admin.v1beta.NumericValue toValue_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1beta.NumericValue, com.google.analytics.admin.v1beta.NumericValue.Builder, com.google.analytics.admin.v1beta.NumericValueOrBuilder> toValueBuilder_; + com.google.analytics.admin.v1beta.NumericValue, + com.google.analytics.admin.v1beta.NumericValue.Builder, + com.google.analytics.admin.v1beta.NumericValueOrBuilder> + toValueBuilder_; /** + * + * *
      * Ends with this number.
      * 
* * .google.analytics.admin.v1beta.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.v1beta.NumericValue to_value = 2; + * * @return The toValue. */ public com.google.analytics.admin.v1beta.NumericValue getToValue() { if (toValueBuilder_ == null) { - return toValue_ == null ? com.google.analytics.admin.v1beta.NumericValue.getDefaultInstance() : toValue_; + return toValue_ == null + ? com.google.analytics.admin.v1beta.NumericValue.getDefaultInstance() + : toValue_; } else { return toValueBuilder_.getMessage(); } } /** + * + * *
      * Ends with this number.
      * 
@@ -701,6 +788,8 @@ public Builder setToValue(com.google.analytics.admin.v1beta.NumericValue value) return this; } /** + * + * *
      * Ends with this number.
      * 
@@ -719,6 +808,8 @@ public Builder setToValue( return this; } /** + * + * *
      * Ends with this number.
      * 
@@ -727,9 +818,9 @@ public Builder setToValue( */ public Builder mergeToValue(com.google.analytics.admin.v1beta.NumericValue value) { if (toValueBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) && - toValue_ != null && - toValue_ != com.google.analytics.admin.v1beta.NumericValue.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) + && toValue_ != null + && toValue_ != com.google.analytics.admin.v1beta.NumericValue.getDefaultInstance()) { getToValueBuilder().mergeFrom(value); } else { toValue_ = value; @@ -742,6 +833,8 @@ public Builder mergeToValue(com.google.analytics.admin.v1beta.NumericValue value return this; } /** + * + * *
      * Ends with this number.
      * 
@@ -759,6 +852,8 @@ public Builder clearToValue() { return this; } /** + * + * *
      * Ends with this number.
      * 
@@ -771,6 +866,8 @@ public com.google.analytics.admin.v1beta.NumericValue.Builder getToValueBuilder( return getToValueFieldBuilder().getBuilder(); } /** + * + * *
      * Ends with this number.
      * 
@@ -781,11 +878,14 @@ public com.google.analytics.admin.v1beta.NumericValueOrBuilder getToValueOrBuild if (toValueBuilder_ != null) { return toValueBuilder_.getMessageOrBuilder(); } else { - return toValue_ == null ? - com.google.analytics.admin.v1beta.NumericValue.getDefaultInstance() : toValue_; + return toValue_ == null + ? com.google.analytics.admin.v1beta.NumericValue.getDefaultInstance() + : toValue_; } } /** + * + * *
      * Ends with this number.
      * 
@@ -793,21 +893,24 @@ public com.google.analytics.admin.v1beta.NumericValueOrBuilder getToValueOrBuild * .google.analytics.admin.v1beta.NumericValue to_value = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1beta.NumericValue, com.google.analytics.admin.v1beta.NumericValue.Builder, com.google.analytics.admin.v1beta.NumericValueOrBuilder> + com.google.analytics.admin.v1beta.NumericValue, + com.google.analytics.admin.v1beta.NumericValue.Builder, + com.google.analytics.admin.v1beta.NumericValueOrBuilder> getToValueFieldBuilder() { if (toValueBuilder_ == null) { - toValueBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1beta.NumericValue, com.google.analytics.admin.v1beta.NumericValue.Builder, com.google.analytics.admin.v1beta.NumericValueOrBuilder>( - getToValue(), - getParentForChildren(), - isClean()); + toValueBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1beta.NumericValue, + com.google.analytics.admin.v1beta.NumericValue.Builder, + com.google.analytics.admin.v1beta.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); } @@ -817,12 +920,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1beta.AccessBetweenFilter) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1beta.AccessBetweenFilter) private static final com.google.analytics.admin.v1beta.AccessBetweenFilter DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1beta.AccessBetweenFilter(); } @@ -831,27 +934,27 @@ public static com.google.analytics.admin.v1beta.AccessBetweenFilter getDefaultIn 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; @@ -866,6 +969,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1beta.AccessBetweenFilter 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/AccessBetweenFilterOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AccessBetweenFilterOrBuilder.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/AccessBetweenFilterOrBuilder.java rename to java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AccessBetweenFilterOrBuilder.java index 19ba5298988b..47cf989c4c75 100644 --- a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AccessBetweenFilterOrBuilder.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AccessBetweenFilterOrBuilder.java @@ -1,31 +1,55 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1beta/access_report.proto package com.google.analytics.admin.v1beta; -public interface AccessBetweenFilterOrBuilder extends +public interface AccessBetweenFilterOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1beta.AccessBetweenFilter) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Begins with this number.
    * 
* * .google.analytics.admin.v1beta.NumericValue from_value = 1; + * * @return Whether the fromValue field is set. */ boolean hasFromValue(); /** + * + * *
    * Begins with this number.
    * 
* * .google.analytics.admin.v1beta.NumericValue from_value = 1; + * * @return The fromValue. */ com.google.analytics.admin.v1beta.NumericValue getFromValue(); /** + * + * *
    * Begins with this number.
    * 
@@ -35,24 +59,32 @@ public interface AccessBetweenFilterOrBuilder extends com.google.analytics.admin.v1beta.NumericValueOrBuilder getFromValueOrBuilder(); /** + * + * *
    * Ends with this number.
    * 
* * .google.analytics.admin.v1beta.NumericValue to_value = 2; + * * @return Whether the toValue field is set. */ boolean hasToValue(); /** + * + * *
    * Ends with this number.
    * 
* * .google.analytics.admin.v1beta.NumericValue to_value = 2; + * * @return The toValue. */ com.google.analytics.admin.v1beta.NumericValue getToValue(); /** + * + * *
    * Ends with this number.
    * 
diff --git a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AccessDateRange.java b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AccessDateRange.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/AccessDateRange.java rename to java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AccessDateRange.java index 54a36ad788c0..a4ba8e8cfce3 100644 --- a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AccessDateRange.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AccessDateRange.java @@ -1,24 +1,42 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1beta/access_report.proto package com.google.analytics.admin.v1beta; /** + * + * *
  * A contiguous range of days: startDate, startDate + 1, ..., endDate.
  * 
* * Protobuf type {@code google.analytics.admin.v1beta.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.v1beta.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,28 +44,32 @@ private AccessDateRange() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new AccessDateRange(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1beta.AccessReportProto.internal_static_google_analytics_admin_v1beta_AccessDateRange_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1beta.AccessReportProto + .internal_static_google_analytics_admin_v1beta_AccessDateRange_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.AccessReportProto.internal_static_google_analytics_admin_v1beta_AccessDateRange_fieldAccessorTable + return com.google.analytics.admin.v1beta.AccessReportProto + .internal_static_google_analytics_admin_v1beta_AccessDateRange_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.AccessDateRange.class, com.google.analytics.admin.v1beta.AccessDateRange.Builder.class); + com.google.analytics.admin.v1beta.AccessDateRange.class, + com.google.analytics.admin.v1beta.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
@@ -56,6 +78,7 @@ protected java.lang.Object newInstance(
    * 
* * string start_date = 1; + * * @return The startDate. */ @java.lang.Override @@ -64,14 +87,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
@@ -80,16 +104,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 { @@ -98,9 +121,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
@@ -109,6 +135,7 @@ public java.lang.String getStartDate() {
    * 
* * string end_date = 2; + * * @return The endDate. */ @java.lang.Override @@ -117,14 +144,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
@@ -133,16 +161,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 { @@ -151,6 +178,7 @@ public java.lang.String getEndDate() { } 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(startDate_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, startDate_); } @@ -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.v1beta.AccessDateRange)) { return super.equals(obj); } - com.google.analytics.admin.v1beta.AccessDateRange other = (com.google.analytics.admin.v1beta.AccessDateRange) obj; + com.google.analytics.admin.v1beta.AccessDateRange other = + (com.google.analytics.admin.v1beta.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; } @@ -225,131 +251,135 @@ public int hashCode() { } public static com.google.analytics.admin.v1beta.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.v1beta.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.v1beta.AccessDateRange parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1beta.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.v1beta.AccessDateRange parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1beta.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.v1beta.AccessDateRange parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1beta.AccessDateRange parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1beta.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.v1beta.AccessDateRange parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1beta.AccessDateRange parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.analytics.admin.v1beta.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.v1beta.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.v1beta.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.v1beta.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.v1beta.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.v1beta.AccessDateRange) com.google.analytics.admin.v1beta.AccessDateRangeOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1beta.AccessReportProto.internal_static_google_analytics_admin_v1beta_AccessDateRange_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1beta.AccessReportProto + .internal_static_google_analytics_admin_v1beta_AccessDateRange_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.AccessReportProto.internal_static_google_analytics_admin_v1beta_AccessDateRange_fieldAccessorTable + return com.google.analytics.admin.v1beta.AccessReportProto + .internal_static_google_analytics_admin_v1beta_AccessDateRange_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.AccessDateRange.class, com.google.analytics.admin.v1beta.AccessDateRange.Builder.class); + com.google.analytics.admin.v1beta.AccessDateRange.class, + com.google.analytics.admin.v1beta.AccessDateRange.Builder.class); } // Construct using com.google.analytics.admin.v1beta.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(); @@ -360,9 +390,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.analytics.admin.v1beta.AccessReportProto.internal_static_google_analytics_admin_v1beta_AccessDateRange_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1beta.AccessReportProto + .internal_static_google_analytics_admin_v1beta_AccessDateRange_descriptor; } @java.lang.Override @@ -381,8 +411,11 @@ public com.google.analytics.admin.v1beta.AccessDateRange build() { @java.lang.Override public com.google.analytics.admin.v1beta.AccessDateRange buildPartial() { - com.google.analytics.admin.v1beta.AccessDateRange result = new com.google.analytics.admin.v1beta.AccessDateRange(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.analytics.admin.v1beta.AccessDateRange result = + new com.google.analytics.admin.v1beta.AccessDateRange(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -401,38 +434,39 @@ private void buildPartial0(com.google.analytics.admin.v1beta.AccessDateRange 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.AccessDateRange) { - return mergeFrom((com.google.analytics.admin.v1beta.AccessDateRange)other); + return mergeFrom((com.google.analytics.admin.v1beta.AccessDateRange) other); } else { super.mergeFrom(other); return this; @@ -440,7 +474,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1beta.AccessDateRange other) { - if (other == com.google.analytics.admin.v1beta.AccessDateRange.getDefaultInstance()) return this; + if (other == com.google.analytics.admin.v1beta.AccessDateRange.getDefaultInstance()) + return this; if (!other.getStartDate().isEmpty()) { startDate_ = other.startDate_; bitField0_ |= 0x00000001; @@ -477,22 +512,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) { @@ -502,10 +540,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
@@ -514,13 +555,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; @@ -529,6 +570,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
@@ -537,15 +580,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 { @@ -553,6 +595,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
@@ -561,18 +605,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
@@ -581,6 +629,7 @@ public Builder setStartDate(
      * 
* * string start_date = 1; + * * @return This builder for chaining. */ public Builder clearStartDate() { @@ -590,6 +639,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
@@ -598,12 +649,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; @@ -613,6 +666,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
@@ -621,13 +676,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; @@ -636,6 +691,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
@@ -644,15 +701,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 { @@ -660,6 +716,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
@@ -668,18 +726,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
@@ -688,6 +750,7 @@ public Builder setEndDate(
      * 
* * string end_date = 2; + * * @return This builder for chaining. */ public Builder clearEndDate() { @@ -697,6 +760,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
@@ -705,21 +770,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); } @@ -729,12 +796,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1beta.AccessDateRange) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1beta.AccessDateRange) private static final com.google.analytics.admin.v1beta.AccessDateRange DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1beta.AccessDateRange(); } @@ -743,27 +810,27 @@ public static com.google.analytics.admin.v1beta.AccessDateRange getDefaultInstan 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; @@ -778,6 +845,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1beta.AccessDateRange 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/AccessDateRangeOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AccessDateRangeOrBuilder.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/AccessDateRangeOrBuilder.java rename to java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AccessDateRangeOrBuilder.java index 9397d52064b9..0f125645496f 100644 --- a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AccessDateRangeOrBuilder.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AccessDateRangeOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1beta/access_report.proto package com.google.analytics.admin.v1beta; -public interface AccessDateRangeOrBuilder extends +public interface AccessDateRangeOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1beta.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/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AccessDimension.java b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AccessDimension.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/AccessDimension.java rename to java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AccessDimension.java index 1d11fc441c56..6397151d49bc 100644 --- a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AccessDimension.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AccessDimension.java @@ -1,9 +1,26 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1beta/access_report.proto package com.google.analytics.admin.v1beta; /** + * + * *
  * Dimensions are attributes of your data. For example, the dimension
  * `userEmail` indicates the email of the user that accessed reporting data.
@@ -12,43 +29,48 @@
  *
  * Protobuf type {@code google.analytics.admin.v1beta.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.v1beta.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();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.analytics.admin.v1beta.AccessReportProto.internal_static_google_analytics_admin_v1beta_AccessDimension_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.analytics.admin.v1beta.AccessReportProto
+        .internal_static_google_analytics_admin_v1beta_AccessDimension_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.analytics.admin.v1beta.AccessReportProto.internal_static_google_analytics_admin_v1beta_AccessDimension_fieldAccessorTable
+    return com.google.analytics.admin.v1beta.AccessReportProto
+        .internal_static_google_analytics_admin_v1beta_AccessDimension_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.analytics.admin.v1beta.AccessDimension.class, com.google.analytics.admin.v1beta.AccessDimension.Builder.class);
+            com.google.analytics.admin.v1beta.AccessDimension.class,
+            com.google.analytics.admin.v1beta.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)
@@ -58,6 +80,7 @@ protected java.lang.Object newInstance(
    * 
* * string dimension_name = 1; + * * @return The dimensionName. */ @java.lang.Override @@ -66,14 +89,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)
@@ -83,16 +107,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 { @@ -101,6 +124,7 @@ public java.lang.String getDimensionName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -112,8 +136,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -137,15 +160,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.AccessDimension)) { return super.equals(obj); } - com.google.analytics.admin.v1beta.AccessDimension other = (com.google.analytics.admin.v1beta.AccessDimension) obj; + com.google.analytics.admin.v1beta.AccessDimension other = + (com.google.analytics.admin.v1beta.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; } @@ -165,98 +188,103 @@ public int hashCode() { } public static com.google.analytics.admin.v1beta.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.v1beta.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.v1beta.AccessDimension parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1beta.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.v1beta.AccessDimension parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1beta.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.v1beta.AccessDimension parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1beta.AccessDimension parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1beta.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.v1beta.AccessDimension parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1beta.AccessDimension parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.analytics.admin.v1beta.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.v1beta.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.v1beta.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.v1beta.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.
@@ -265,33 +293,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.analytics.admin.v1beta.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.v1beta.AccessDimension)
       com.google.analytics.admin.v1beta.AccessDimensionOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.analytics.admin.v1beta.AccessReportProto.internal_static_google_analytics_admin_v1beta_AccessDimension_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.analytics.admin.v1beta.AccessReportProto
+          .internal_static_google_analytics_admin_v1beta_AccessDimension_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.analytics.admin.v1beta.AccessReportProto.internal_static_google_analytics_admin_v1beta_AccessDimension_fieldAccessorTable
+      return com.google.analytics.admin.v1beta.AccessReportProto
+          .internal_static_google_analytics_admin_v1beta_AccessDimension_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.analytics.admin.v1beta.AccessDimension.class, com.google.analytics.admin.v1beta.AccessDimension.Builder.class);
+              com.google.analytics.admin.v1beta.AccessDimension.class,
+              com.google.analytics.admin.v1beta.AccessDimension.Builder.class);
     }
 
     // Construct using com.google.analytics.admin.v1beta.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();
@@ -301,9 +328,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.analytics.admin.v1beta.AccessReportProto.internal_static_google_analytics_admin_v1beta_AccessDimension_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.analytics.admin.v1beta.AccessReportProto
+          .internal_static_google_analytics_admin_v1beta_AccessDimension_descriptor;
     }
 
     @java.lang.Override
@@ -322,8 +349,11 @@ public com.google.analytics.admin.v1beta.AccessDimension build() {
 
     @java.lang.Override
     public com.google.analytics.admin.v1beta.AccessDimension buildPartial() {
-      com.google.analytics.admin.v1beta.AccessDimension result = new com.google.analytics.admin.v1beta.AccessDimension(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.analytics.admin.v1beta.AccessDimension result =
+          new com.google.analytics.admin.v1beta.AccessDimension(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -339,38 +369,39 @@ private void buildPartial0(com.google.analytics.admin.v1beta.AccessDimension 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.AccessDimension) {
-        return mergeFrom((com.google.analytics.admin.v1beta.AccessDimension)other);
+        return mergeFrom((com.google.analytics.admin.v1beta.AccessDimension) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -378,7 +409,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.analytics.admin.v1beta.AccessDimension other) {
-      if (other == com.google.analytics.admin.v1beta.AccessDimension.getDefaultInstance()) return this;
+      if (other == com.google.analytics.admin.v1beta.AccessDimension.getDefaultInstance())
+        return this;
       if (!other.getDimensionName().isEmpty()) {
         dimensionName_ = other.dimensionName_;
         bitField0_ |= 0x00000001;
@@ -410,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) {
@@ -430,10 +464,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 +480,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 +495,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)
@@ -467,15 +506,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 { @@ -483,6 +521,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)
@@ -492,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)
@@ -513,6 +557,7 @@ public Builder setDimensionName(
      * 
* * string dimension_name = 1; + * * @return This builder for chaining. */ public Builder clearDimensionName() { @@ -522,6 +567,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)
@@ -531,21 +578,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); } @@ -555,12 +604,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1beta.AccessDimension) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1beta.AccessDimension) private static final com.google.analytics.admin.v1beta.AccessDimension DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1beta.AccessDimension(); } @@ -569,27 +618,27 @@ public static com.google.analytics.admin.v1beta.AccessDimension getDefaultInstan 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; @@ -604,6 +653,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1beta.AccessDimension 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/AccessDimensionHeader.java b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AccessDimensionHeader.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/AccessDimensionHeader.java rename to java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AccessDimensionHeader.java index 176ae41d7c47..4911d55f8de8 100644 --- a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AccessDimensionHeader.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AccessDimensionHeader.java @@ -1,9 +1,26 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1beta/access_report.proto package com.google.analytics.admin.v1beta; /** + * + * *
  * Describes a dimension column in the report. Dimensions requested in a report
  * produce column entries within rows and DimensionHeaders. However, dimensions
@@ -13,48 +30,54 @@
  *
  * Protobuf type {@code google.analytics.admin.v1beta.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.v1beta.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();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.analytics.admin.v1beta.AccessReportProto.internal_static_google_analytics_admin_v1beta_AccessDimensionHeader_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.analytics.admin.v1beta.AccessReportProto
+        .internal_static_google_analytics_admin_v1beta_AccessDimensionHeader_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.analytics.admin.v1beta.AccessReportProto.internal_static_google_analytics_admin_v1beta_AccessDimensionHeader_fieldAccessorTable
+    return com.google.analytics.admin.v1beta.AccessReportProto
+        .internal_static_google_analytics_admin_v1beta_AccessDimensionHeader_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.analytics.admin.v1beta.AccessDimensionHeader.class, com.google.analytics.admin.v1beta.AccessDimensionHeader.Builder.class);
+            com.google.analytics.admin.v1beta.AccessDimensionHeader.class,
+            com.google.analytics.admin.v1beta.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 @@ -63,29 +86,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 { @@ -94,6 +117,7 @@ public java.lang.String getDimensionName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -105,8 +129,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -130,15 +153,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.AccessDimensionHeader)) { return super.equals(obj); } - com.google.analytics.admin.v1beta.AccessDimensionHeader other = (com.google.analytics.admin.v1beta.AccessDimensionHeader) obj; + com.google.analytics.admin.v1beta.AccessDimensionHeader other = + (com.google.analytics.admin.v1beta.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; } @@ -158,98 +181,104 @@ public int hashCode() { } public static com.google.analytics.admin.v1beta.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.v1beta.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.v1beta.AccessDimensionHeader parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1beta.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.v1beta.AccessDimensionHeader parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1beta.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.v1beta.AccessDimensionHeader parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1beta.AccessDimensionHeader parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1beta.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.v1beta.AccessDimensionHeader parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1beta.AccessDimensionHeader parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.analytics.admin.v1beta.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.v1beta.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.v1beta.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.v1beta.AccessDimensionHeader prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1beta.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
@@ -259,33 +288,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.analytics.admin.v1beta.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.v1beta.AccessDimensionHeader)
       com.google.analytics.admin.v1beta.AccessDimensionHeaderOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.analytics.admin.v1beta.AccessReportProto.internal_static_google_analytics_admin_v1beta_AccessDimensionHeader_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.analytics.admin.v1beta.AccessReportProto
+          .internal_static_google_analytics_admin_v1beta_AccessDimensionHeader_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.analytics.admin.v1beta.AccessReportProto.internal_static_google_analytics_admin_v1beta_AccessDimensionHeader_fieldAccessorTable
+      return com.google.analytics.admin.v1beta.AccessReportProto
+          .internal_static_google_analytics_admin_v1beta_AccessDimensionHeader_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.analytics.admin.v1beta.AccessDimensionHeader.class, com.google.analytics.admin.v1beta.AccessDimensionHeader.Builder.class);
+              com.google.analytics.admin.v1beta.AccessDimensionHeader.class,
+              com.google.analytics.admin.v1beta.AccessDimensionHeader.Builder.class);
     }
 
     // Construct using com.google.analytics.admin.v1beta.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();
@@ -295,9 +323,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.analytics.admin.v1beta.AccessReportProto.internal_static_google_analytics_admin_v1beta_AccessDimensionHeader_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.analytics.admin.v1beta.AccessReportProto
+          .internal_static_google_analytics_admin_v1beta_AccessDimensionHeader_descriptor;
     }
 
     @java.lang.Override
@@ -316,8 +344,11 @@ public com.google.analytics.admin.v1beta.AccessDimensionHeader build() {
 
     @java.lang.Override
     public com.google.analytics.admin.v1beta.AccessDimensionHeader buildPartial() {
-      com.google.analytics.admin.v1beta.AccessDimensionHeader result = new com.google.analytics.admin.v1beta.AccessDimensionHeader(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.analytics.admin.v1beta.AccessDimensionHeader result =
+          new com.google.analytics.admin.v1beta.AccessDimensionHeader(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -333,38 +364,39 @@ private void buildPartial0(com.google.analytics.admin.v1beta.AccessDimensionHead
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object 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.AccessDimensionHeader) {
-        return mergeFrom((com.google.analytics.admin.v1beta.AccessDimensionHeader)other);
+        return mergeFrom((com.google.analytics.admin.v1beta.AccessDimensionHeader) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -372,7 +404,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.analytics.admin.v1beta.AccessDimensionHeader other) {
-      if (other == com.google.analytics.admin.v1beta.AccessDimensionHeader.getDefaultInstance()) return this;
+      if (other == com.google.analytics.admin.v1beta.AccessDimensionHeader.getDefaultInstance())
+        return this;
       if (!other.getDimensionName().isEmpty()) {
         dimensionName_ = other.dimensionName_;
         bitField0_ |= 0x00000001;
@@ -404,17 +437,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) {
@@ -424,22 +459,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; @@ -448,20 +486,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 { @@ -469,28 +508,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() { @@ -500,26 +546,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); } @@ -529,12 +579,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1beta.AccessDimensionHeader) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1beta.AccessDimensionHeader) private static final com.google.analytics.admin.v1beta.AccessDimensionHeader DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1beta.AccessDimensionHeader(); } @@ -543,27 +593,27 @@ public static com.google.analytics.admin.v1beta.AccessDimensionHeader getDefault 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; @@ -578,6 +628,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1beta.AccessDimensionHeader getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AccessDimensionHeaderOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AccessDimensionHeaderOrBuilder.java new file mode 100644 index 000000000000..ad640052e013 --- /dev/null +++ b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AccessDimensionHeaderOrBuilder.java @@ -0,0 +1,50 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/analytics/admin/v1beta/access_report.proto + +package com.google.analytics.admin.v1beta; + +public interface AccessDimensionHeaderOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1beta.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/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AccessDimensionOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AccessDimensionOrBuilder.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/AccessDimensionOrBuilder.java rename to java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AccessDimensionOrBuilder.java index 24d401f006ed..6125be1ef288 100644 --- a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AccessDimensionOrBuilder.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AccessDimensionOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1beta/access_report.proto package com.google.analytics.admin.v1beta; -public interface AccessDimensionOrBuilder extends +public interface AccessDimensionOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1beta.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)
@@ -17,10 +35,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)
@@ -30,8 +51,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/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AccessDimensionValue.java b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AccessDimensionValue.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/AccessDimensionValue.java rename to java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AccessDimensionValue.java index 9ca07d8ba92c..fc2f593982fa 100644 --- a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AccessDimensionValue.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AccessDimensionValue.java @@ -1,58 +1,81 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1beta/access_report.proto package com.google.analytics.admin.v1beta; /** + * + * *
  * The value of a dimension.
  * 
* * Protobuf type {@code google.analytics.admin.v1beta.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.v1beta.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(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1beta.AccessReportProto.internal_static_google_analytics_admin_v1beta_AccessDimensionValue_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1beta.AccessReportProto + .internal_static_google_analytics_admin_v1beta_AccessDimensionValue_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.AccessReportProto.internal_static_google_analytics_admin_v1beta_AccessDimensionValue_fieldAccessorTable + return com.google.analytics.admin.v1beta.AccessReportProto + .internal_static_google_analytics_admin_v1beta_AccessDimensionValue_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.AccessDimensionValue.class, com.google.analytics.admin.v1beta.AccessDimensionValue.Builder.class); + com.google.analytics.admin.v1beta.AccessDimensionValue.class, + com.google.analytics.admin.v1beta.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 @@ -61,30 +84,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 { @@ -93,6 +116,7 @@ public java.lang.String getValue() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -104,8 +128,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -129,15 +152,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.AccessDimensionValue)) { return super.equals(obj); } - com.google.analytics.admin.v1beta.AccessDimensionValue other = (com.google.analytics.admin.v1beta.AccessDimensionValue) obj; + com.google.analytics.admin.v1beta.AccessDimensionValue other = + (com.google.analytics.admin.v1beta.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; } @@ -157,131 +180,136 @@ public int hashCode() { } public static com.google.analytics.admin.v1beta.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.v1beta.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.v1beta.AccessDimensionValue parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1beta.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.v1beta.AccessDimensionValue parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1beta.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.v1beta.AccessDimensionValue parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1beta.AccessDimensionValue parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1beta.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.v1beta.AccessDimensionValue parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1beta.AccessDimensionValue parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.analytics.admin.v1beta.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.v1beta.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.v1beta.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.v1beta.AccessDimensionValue prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1beta.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.v1beta.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.v1beta.AccessDimensionValue) com.google.analytics.admin.v1beta.AccessDimensionValueOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1beta.AccessReportProto.internal_static_google_analytics_admin_v1beta_AccessDimensionValue_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1beta.AccessReportProto + .internal_static_google_analytics_admin_v1beta_AccessDimensionValue_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.AccessReportProto.internal_static_google_analytics_admin_v1beta_AccessDimensionValue_fieldAccessorTable + return com.google.analytics.admin.v1beta.AccessReportProto + .internal_static_google_analytics_admin_v1beta_AccessDimensionValue_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.AccessDimensionValue.class, com.google.analytics.admin.v1beta.AccessDimensionValue.Builder.class); + com.google.analytics.admin.v1beta.AccessDimensionValue.class, + com.google.analytics.admin.v1beta.AccessDimensionValue.Builder.class); } // Construct using com.google.analytics.admin.v1beta.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(); @@ -291,9 +319,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.analytics.admin.v1beta.AccessReportProto.internal_static_google_analytics_admin_v1beta_AccessDimensionValue_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1beta.AccessReportProto + .internal_static_google_analytics_admin_v1beta_AccessDimensionValue_descriptor; } @java.lang.Override @@ -312,8 +340,11 @@ public com.google.analytics.admin.v1beta.AccessDimensionValue build() { @java.lang.Override public com.google.analytics.admin.v1beta.AccessDimensionValue buildPartial() { - com.google.analytics.admin.v1beta.AccessDimensionValue result = new com.google.analytics.admin.v1beta.AccessDimensionValue(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.analytics.admin.v1beta.AccessDimensionValue result = + new com.google.analytics.admin.v1beta.AccessDimensionValue(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -329,38 +360,39 @@ private void buildPartial0(com.google.analytics.admin.v1beta.AccessDimensionValu public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object 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.AccessDimensionValue) { - return mergeFrom((com.google.analytics.admin.v1beta.AccessDimensionValue)other); + return mergeFrom((com.google.analytics.admin.v1beta.AccessDimensionValue) other); } else { super.mergeFrom(other); return this; @@ -368,7 +400,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1beta.AccessDimensionValue other) { - if (other == com.google.analytics.admin.v1beta.AccessDimensionValue.getDefaultInstance()) return this; + if (other == com.google.analytics.admin.v1beta.AccessDimensionValue.getDefaultInstance()) + return this; if (!other.getValue().isEmpty()) { value_ = other.value_; bitField0_ |= 0x00000001; @@ -400,17 +433,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) { @@ -420,23 +455,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; @@ -445,21 +483,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 { @@ -467,30 +506,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() { @@ -500,27 +546,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); } @@ -530,12 +580,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1beta.AccessDimensionValue) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1beta.AccessDimensionValue) private static final com.google.analytics.admin.v1beta.AccessDimensionValue DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1beta.AccessDimensionValue(); } @@ -544,27 +594,27 @@ public static com.google.analytics.admin.v1beta.AccessDimensionValue getDefaultI 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; @@ -579,6 +629,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1beta.AccessDimensionValue 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/AccessDimensionValueOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AccessDimensionValueOrBuilder.java similarity index 50% rename from owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AccessDimensionValueOrBuilder.java rename to java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AccessDimensionValueOrBuilder.java index 1c4db70bba9d..334ce9c753b2 100644 --- a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AccessDimensionValueOrBuilder.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AccessDimensionValueOrBuilder.java @@ -1,31 +1,52 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1beta/access_report.proto package com.google.analytics.admin.v1beta; -public interface AccessDimensionValueOrBuilder extends +public interface AccessDimensionValueOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1beta.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/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AccessFilter.java b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AccessFilter.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/AccessFilter.java rename to java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AccessFilter.java index 3111beeec872..d6c4bba49428 100644 --- a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AccessFilter.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AccessFilter.java @@ -1,53 +1,75 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1beta/access_report.proto package com.google.analytics.admin.v1beta; /** + * + * *
  * An expression to filter dimension or metric values.
  * 
* * Protobuf type {@code google.analytics.admin.v1beta.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.v1beta.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(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1beta.AccessReportProto.internal_static_google_analytics_admin_v1beta_AccessFilter_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1beta.AccessReportProto + .internal_static_google_analytics_admin_v1beta_AccessFilter_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.AccessReportProto.internal_static_google_analytics_admin_v1beta_AccessFilter_fieldAccessorTable + return com.google.analytics.admin.v1beta.AccessReportProto + .internal_static_google_analytics_admin_v1beta_AccessFilter_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.AccessFilter.class, com.google.analytics.admin.v1beta.AccessFilter.Builder.class); + com.google.analytics.admin.v1beta.AccessFilter.class, + com.google.analytics.admin.v1beta.AccessFilter.Builder.class); } private int oneFilterCase_ = 0; + @SuppressWarnings("serial") 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), @@ -55,6 +77,7 @@ public enum OneFilterCase BETWEEN_FILTER(5), ONEFILTER_NOT_SET(0); private final int value; + private OneFilterCase(int value) { this.value = value; } @@ -70,32 +93,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.v1beta.AccessStringFilter string_filter = 2; + * * @return Whether the stringFilter field is set. */ @java.lang.Override @@ -103,21 +134,26 @@ public boolean hasStringFilter() { return oneFilterCase_ == 2; } /** + * + * *
    * Strings related filter.
    * 
* * .google.analytics.admin.v1beta.AccessStringFilter string_filter = 2; + * * @return The stringFilter. */ @java.lang.Override public com.google.analytics.admin.v1beta.AccessStringFilter getStringFilter() { if (oneFilterCase_ == 2) { - return (com.google.analytics.admin.v1beta.AccessStringFilter) oneFilter_; + return (com.google.analytics.admin.v1beta.AccessStringFilter) oneFilter_; } return com.google.analytics.admin.v1beta.AccessStringFilter.getDefaultInstance(); } /** + * + * *
    * Strings related filter.
    * 
@@ -127,18 +163,21 @@ public com.google.analytics.admin.v1beta.AccessStringFilter getStringFilter() { @java.lang.Override public com.google.analytics.admin.v1beta.AccessStringFilterOrBuilder getStringFilterOrBuilder() { if (oneFilterCase_ == 2) { - return (com.google.analytics.admin.v1beta.AccessStringFilter) oneFilter_; + return (com.google.analytics.admin.v1beta.AccessStringFilter) oneFilter_; } return com.google.analytics.admin.v1beta.AccessStringFilter.getDefaultInstance(); } public static final int IN_LIST_FILTER_FIELD_NUMBER = 3; /** + * + * *
    * A filter for in list values.
    * 
* * .google.analytics.admin.v1beta.AccessInListFilter in_list_filter = 3; + * * @return Whether the inListFilter field is set. */ @java.lang.Override @@ -146,21 +185,26 @@ public boolean hasInListFilter() { return oneFilterCase_ == 3; } /** + * + * *
    * A filter for in list values.
    * 
* * .google.analytics.admin.v1beta.AccessInListFilter in_list_filter = 3; + * * @return The inListFilter. */ @java.lang.Override public com.google.analytics.admin.v1beta.AccessInListFilter getInListFilter() { if (oneFilterCase_ == 3) { - return (com.google.analytics.admin.v1beta.AccessInListFilter) oneFilter_; + return (com.google.analytics.admin.v1beta.AccessInListFilter) oneFilter_; } return com.google.analytics.admin.v1beta.AccessInListFilter.getDefaultInstance(); } /** + * + * *
    * A filter for in list values.
    * 
@@ -170,18 +214,21 @@ public com.google.analytics.admin.v1beta.AccessInListFilter getInListFilter() { @java.lang.Override public com.google.analytics.admin.v1beta.AccessInListFilterOrBuilder getInListFilterOrBuilder() { if (oneFilterCase_ == 3) { - return (com.google.analytics.admin.v1beta.AccessInListFilter) oneFilter_; + return (com.google.analytics.admin.v1beta.AccessInListFilter) oneFilter_; } return com.google.analytics.admin.v1beta.AccessInListFilter.getDefaultInstance(); } public static final int NUMERIC_FILTER_FIELD_NUMBER = 4; /** + * + * *
    * A filter for numeric or date values.
    * 
* * .google.analytics.admin.v1beta.AccessNumericFilter numeric_filter = 4; + * * @return Whether the numericFilter field is set. */ @java.lang.Override @@ -189,21 +236,26 @@ public boolean hasNumericFilter() { return oneFilterCase_ == 4; } /** + * + * *
    * A filter for numeric or date values.
    * 
* * .google.analytics.admin.v1beta.AccessNumericFilter numeric_filter = 4; + * * @return The numericFilter. */ @java.lang.Override public com.google.analytics.admin.v1beta.AccessNumericFilter getNumericFilter() { if (oneFilterCase_ == 4) { - return (com.google.analytics.admin.v1beta.AccessNumericFilter) oneFilter_; + return (com.google.analytics.admin.v1beta.AccessNumericFilter) oneFilter_; } return com.google.analytics.admin.v1beta.AccessNumericFilter.getDefaultInstance(); } /** + * + * *
    * A filter for numeric or date values.
    * 
@@ -211,20 +263,24 @@ public com.google.analytics.admin.v1beta.AccessNumericFilter getNumericFilter() * .google.analytics.admin.v1beta.AccessNumericFilter numeric_filter = 4; */ @java.lang.Override - public com.google.analytics.admin.v1beta.AccessNumericFilterOrBuilder getNumericFilterOrBuilder() { + public com.google.analytics.admin.v1beta.AccessNumericFilterOrBuilder + getNumericFilterOrBuilder() { if (oneFilterCase_ == 4) { - return (com.google.analytics.admin.v1beta.AccessNumericFilter) oneFilter_; + return (com.google.analytics.admin.v1beta.AccessNumericFilter) oneFilter_; } return com.google.analytics.admin.v1beta.AccessNumericFilter.getDefaultInstance(); } public static final int BETWEEN_FILTER_FIELD_NUMBER = 5; /** + * + * *
    * A filter for two values.
    * 
* * .google.analytics.admin.v1beta.AccessBetweenFilter between_filter = 5; + * * @return Whether the betweenFilter field is set. */ @java.lang.Override @@ -232,21 +288,26 @@ public boolean hasBetweenFilter() { return oneFilterCase_ == 5; } /** + * + * *
    * A filter for two values.
    * 
* * .google.analytics.admin.v1beta.AccessBetweenFilter between_filter = 5; + * * @return The betweenFilter. */ @java.lang.Override public com.google.analytics.admin.v1beta.AccessBetweenFilter getBetweenFilter() { if (oneFilterCase_ == 5) { - return (com.google.analytics.admin.v1beta.AccessBetweenFilter) oneFilter_; + return (com.google.analytics.admin.v1beta.AccessBetweenFilter) oneFilter_; } return com.google.analytics.admin.v1beta.AccessBetweenFilter.getDefaultInstance(); } /** + * + * *
    * A filter for two values.
    * 
@@ -254,22 +315,27 @@ public com.google.analytics.admin.v1beta.AccessBetweenFilter getBetweenFilter() * .google.analytics.admin.v1beta.AccessBetweenFilter between_filter = 5; */ @java.lang.Override - public com.google.analytics.admin.v1beta.AccessBetweenFilterOrBuilder getBetweenFilterOrBuilder() { + public com.google.analytics.admin.v1beta.AccessBetweenFilterOrBuilder + getBetweenFilterOrBuilder() { if (oneFilterCase_ == 5) { - return (com.google.analytics.admin.v1beta.AccessBetweenFilter) oneFilter_; + return (com.google.analytics.admin.v1beta.AccessBetweenFilter) oneFilter_; } return com.google.analytics.admin.v1beta.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 @@ -278,29 +344,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 { @@ -309,6 +375,7 @@ public java.lang.String getFieldName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -320,8 +387,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -350,20 +416,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.v1beta.AccessStringFilter) oneFilter_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 2, (com.google.analytics.admin.v1beta.AccessStringFilter) oneFilter_); } if (oneFilterCase_ == 3) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, (com.google.analytics.admin.v1beta.AccessInListFilter) oneFilter_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 3, (com.google.analytics.admin.v1beta.AccessInListFilter) oneFilter_); } if (oneFilterCase_ == 4) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, (com.google.analytics.admin.v1beta.AccessNumericFilter) oneFilter_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 4, (com.google.analytics.admin.v1beta.AccessNumericFilter) oneFilter_); } if (oneFilterCase_ == 5) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, (com.google.analytics.admin.v1beta.AccessBetweenFilter) oneFilter_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 5, (com.google.analytics.admin.v1beta.AccessBetweenFilter) oneFilter_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -373,32 +443,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.v1beta.AccessFilter)) { return super.equals(obj); } - com.google.analytics.admin.v1beta.AccessFilter other = (com.google.analytics.admin.v1beta.AccessFilter) obj; + com.google.analytics.admin.v1beta.AccessFilter other = + (com.google.analytics.admin.v1beta.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: @@ -441,132 +507,136 @@ public int hashCode() { return hash; } - public static com.google.analytics.admin.v1beta.AccessFilter parseFrom( - java.nio.ByteBuffer data) + public static com.google.analytics.admin.v1beta.AccessFilter parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1beta.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.v1beta.AccessFilter parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1beta.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.v1beta.AccessFilter parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1beta.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.v1beta.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.v1beta.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.v1beta.AccessFilter parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1beta.AccessFilter parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.analytics.admin.v1beta.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.v1beta.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.v1beta.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.v1beta.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.v1beta.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.v1beta.AccessFilter) com.google.analytics.admin.v1beta.AccessFilterOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1beta.AccessReportProto.internal_static_google_analytics_admin_v1beta_AccessFilter_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1beta.AccessReportProto + .internal_static_google_analytics_admin_v1beta_AccessFilter_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.AccessReportProto.internal_static_google_analytics_admin_v1beta_AccessFilter_fieldAccessorTable + return com.google.analytics.admin.v1beta.AccessReportProto + .internal_static_google_analytics_admin_v1beta_AccessFilter_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.AccessFilter.class, com.google.analytics.admin.v1beta.AccessFilter.Builder.class); + com.google.analytics.admin.v1beta.AccessFilter.class, + com.google.analytics.admin.v1beta.AccessFilter.Builder.class); } // Construct using com.google.analytics.admin.v1beta.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(); @@ -590,9 +660,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.analytics.admin.v1beta.AccessReportProto.internal_static_google_analytics_admin_v1beta_AccessFilter_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1beta.AccessReportProto + .internal_static_google_analytics_admin_v1beta_AccessFilter_descriptor; } @java.lang.Override @@ -611,8 +681,11 @@ public com.google.analytics.admin.v1beta.AccessFilter build() { @java.lang.Override public com.google.analytics.admin.v1beta.AccessFilter buildPartial() { - com.google.analytics.admin.v1beta.AccessFilter result = new com.google.analytics.admin.v1beta.AccessFilter(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.analytics.admin.v1beta.AccessFilter result = + new com.google.analytics.admin.v1beta.AccessFilter(this); + if (bitField0_ != 0) { + buildPartial0(result); + } buildPartialOneofs(result); onBuilt(); return result; @@ -628,20 +701,16 @@ private void buildPartial0(com.google.analytics.admin.v1beta.AccessFilter result private void buildPartialOneofs(com.google.analytics.admin.v1beta.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(); } } @@ -650,38 +719,39 @@ private void buildPartialOneofs(com.google.analytics.admin.v1beta.AccessFilter 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.AccessFilter) { - return mergeFrom((com.google.analytics.admin.v1beta.AccessFilter)other); + return mergeFrom((com.google.analytics.admin.v1beta.AccessFilter) other); } else { super.mergeFrom(other); return this; @@ -696,25 +766,30 @@ public Builder mergeFrom(com.google.analytics.admin.v1beta.AccessFilter other) { onChanged(); } switch (other.getOneFilterCase()) { - case STRING_FILTER: { - mergeStringFilter(other.getStringFilter()); - break; - } - case IN_LIST_FILTER: { - mergeInListFilter(other.getInListFilter()); - break; - } - case NUMERIC_FILTER: { - mergeNumericFilter(other.getNumericFilter()); - break; - } - case BETWEEN_FILTER: { - mergeBetweenFilter(other.getBetweenFilter()); - break; - } - case ONEFILTER_NOT_SET: { - break; - } + case STRING_FILTER: + { + mergeStringFilter(other.getStringFilter()); + break; + } + case IN_LIST_FILTER: + { + mergeInListFilter(other.getInListFilter()); + break; + } + case NUMERIC_FILTER: + { + mergeNumericFilter(other.getNumericFilter()); + break; + } + case BETWEEN_FILTER: + { + mergeBetweenFilter(other.getBetweenFilter()); + break; + } + case ONEFILTER_NOT_SET: + { + break; + } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -742,45 +817,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) { @@ -790,12 +863,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() { @@ -808,13 +881,19 @@ public Builder clearOneFilter() { private int bitField0_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1beta.AccessStringFilter, com.google.analytics.admin.v1beta.AccessStringFilter.Builder, com.google.analytics.admin.v1beta.AccessStringFilterOrBuilder> stringFilterBuilder_; + com.google.analytics.admin.v1beta.AccessStringFilter, + com.google.analytics.admin.v1beta.AccessStringFilter.Builder, + com.google.analytics.admin.v1beta.AccessStringFilterOrBuilder> + stringFilterBuilder_; /** + * + * *
      * Strings related filter.
      * 
* * .google.analytics.admin.v1beta.AccessStringFilter string_filter = 2; + * * @return Whether the stringFilter field is set. */ @java.lang.Override @@ -822,11 +901,14 @@ public boolean hasStringFilter() { return oneFilterCase_ == 2; } /** + * + * *
      * Strings related filter.
      * 
* * .google.analytics.admin.v1beta.AccessStringFilter string_filter = 2; + * * @return The stringFilter. */ @java.lang.Override @@ -844,6 +926,8 @@ public com.google.analytics.admin.v1beta.AccessStringFilter getStringFilter() { } } /** + * + * *
      * Strings related filter.
      * 
@@ -864,6 +948,8 @@ public Builder setStringFilter(com.google.analytics.admin.v1beta.AccessStringFil return this; } /** + * + * *
      * Strings related filter.
      * 
@@ -882,6 +968,8 @@ public Builder setStringFilter( return this; } /** + * + * *
      * Strings related filter.
      * 
@@ -890,10 +978,14 @@ public Builder setStringFilter( */ public Builder mergeStringFilter(com.google.analytics.admin.v1beta.AccessStringFilter value) { if (stringFilterBuilder_ == null) { - if (oneFilterCase_ == 2 && - oneFilter_ != com.google.analytics.admin.v1beta.AccessStringFilter.getDefaultInstance()) { - oneFilter_ = com.google.analytics.admin.v1beta.AccessStringFilter.newBuilder((com.google.analytics.admin.v1beta.AccessStringFilter) oneFilter_) - .mergeFrom(value).buildPartial(); + if (oneFilterCase_ == 2 + && oneFilter_ + != com.google.analytics.admin.v1beta.AccessStringFilter.getDefaultInstance()) { + oneFilter_ = + com.google.analytics.admin.v1beta.AccessStringFilter.newBuilder( + (com.google.analytics.admin.v1beta.AccessStringFilter) oneFilter_) + .mergeFrom(value) + .buildPartial(); } else { oneFilter_ = value; } @@ -909,6 +1001,8 @@ public Builder mergeStringFilter(com.google.analytics.admin.v1beta.AccessStringF return this; } /** + * + * *
      * Strings related filter.
      * 
@@ -932,6 +1026,8 @@ public Builder clearStringFilter() { return this; } /** + * + * *
      * Strings related filter.
      * 
@@ -942,6 +1038,8 @@ public com.google.analytics.admin.v1beta.AccessStringFilter.Builder getStringFil return getStringFilterFieldBuilder().getBuilder(); } /** + * + * *
      * Strings related filter.
      * 
@@ -949,7 +1047,8 @@ public com.google.analytics.admin.v1beta.AccessStringFilter.Builder getStringFil * .google.analytics.admin.v1beta.AccessStringFilter string_filter = 2; */ @java.lang.Override - public com.google.analytics.admin.v1beta.AccessStringFilterOrBuilder getStringFilterOrBuilder() { + public com.google.analytics.admin.v1beta.AccessStringFilterOrBuilder + getStringFilterOrBuilder() { if ((oneFilterCase_ == 2) && (stringFilterBuilder_ != null)) { return stringFilterBuilder_.getMessageOrBuilder(); } else { @@ -960,6 +1059,8 @@ public com.google.analytics.admin.v1beta.AccessStringFilterOrBuilder getStringFi } } /** + * + * *
      * Strings related filter.
      * 
@@ -967,14 +1068,19 @@ public com.google.analytics.admin.v1beta.AccessStringFilterOrBuilder getStringFi * .google.analytics.admin.v1beta.AccessStringFilter string_filter = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1beta.AccessStringFilter, com.google.analytics.admin.v1beta.AccessStringFilter.Builder, com.google.analytics.admin.v1beta.AccessStringFilterOrBuilder> + com.google.analytics.admin.v1beta.AccessStringFilter, + com.google.analytics.admin.v1beta.AccessStringFilter.Builder, + com.google.analytics.admin.v1beta.AccessStringFilterOrBuilder> getStringFilterFieldBuilder() { if (stringFilterBuilder_ == null) { if (!(oneFilterCase_ == 2)) { oneFilter_ = com.google.analytics.admin.v1beta.AccessStringFilter.getDefaultInstance(); } - stringFilterBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1beta.AccessStringFilter, com.google.analytics.admin.v1beta.AccessStringFilter.Builder, com.google.analytics.admin.v1beta.AccessStringFilterOrBuilder>( + stringFilterBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1beta.AccessStringFilter, + com.google.analytics.admin.v1beta.AccessStringFilter.Builder, + com.google.analytics.admin.v1beta.AccessStringFilterOrBuilder>( (com.google.analytics.admin.v1beta.AccessStringFilter) oneFilter_, getParentForChildren(), isClean()); @@ -986,13 +1092,19 @@ public com.google.analytics.admin.v1beta.AccessStringFilterOrBuilder getStringFi } private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1beta.AccessInListFilter, com.google.analytics.admin.v1beta.AccessInListFilter.Builder, com.google.analytics.admin.v1beta.AccessInListFilterOrBuilder> inListFilterBuilder_; + com.google.analytics.admin.v1beta.AccessInListFilter, + com.google.analytics.admin.v1beta.AccessInListFilter.Builder, + com.google.analytics.admin.v1beta.AccessInListFilterOrBuilder> + inListFilterBuilder_; /** + * + * *
      * A filter for in list values.
      * 
* * .google.analytics.admin.v1beta.AccessInListFilter in_list_filter = 3; + * * @return Whether the inListFilter field is set. */ @java.lang.Override @@ -1000,11 +1112,14 @@ public boolean hasInListFilter() { return oneFilterCase_ == 3; } /** + * + * *
      * A filter for in list values.
      * 
* * .google.analytics.admin.v1beta.AccessInListFilter in_list_filter = 3; + * * @return The inListFilter. */ @java.lang.Override @@ -1022,6 +1137,8 @@ public com.google.analytics.admin.v1beta.AccessInListFilter getInListFilter() { } } /** + * + * *
      * A filter for in list values.
      * 
@@ -1042,6 +1159,8 @@ public Builder setInListFilter(com.google.analytics.admin.v1beta.AccessInListFil return this; } /** + * + * *
      * A filter for in list values.
      * 
@@ -1060,6 +1179,8 @@ public Builder setInListFilter( return this; } /** + * + * *
      * A filter for in list values.
      * 
@@ -1068,10 +1189,14 @@ public Builder setInListFilter( */ public Builder mergeInListFilter(com.google.analytics.admin.v1beta.AccessInListFilter value) { if (inListFilterBuilder_ == null) { - if (oneFilterCase_ == 3 && - oneFilter_ != com.google.analytics.admin.v1beta.AccessInListFilter.getDefaultInstance()) { - oneFilter_ = com.google.analytics.admin.v1beta.AccessInListFilter.newBuilder((com.google.analytics.admin.v1beta.AccessInListFilter) oneFilter_) - .mergeFrom(value).buildPartial(); + if (oneFilterCase_ == 3 + && oneFilter_ + != com.google.analytics.admin.v1beta.AccessInListFilter.getDefaultInstance()) { + oneFilter_ = + com.google.analytics.admin.v1beta.AccessInListFilter.newBuilder( + (com.google.analytics.admin.v1beta.AccessInListFilter) oneFilter_) + .mergeFrom(value) + .buildPartial(); } else { oneFilter_ = value; } @@ -1087,6 +1212,8 @@ public Builder mergeInListFilter(com.google.analytics.admin.v1beta.AccessInListF return this; } /** + * + * *
      * A filter for in list values.
      * 
@@ -1110,6 +1237,8 @@ public Builder clearInListFilter() { return this; } /** + * + * *
      * A filter for in list values.
      * 
@@ -1120,6 +1249,8 @@ public com.google.analytics.admin.v1beta.AccessInListFilter.Builder getInListFil return getInListFilterFieldBuilder().getBuilder(); } /** + * + * *
      * A filter for in list values.
      * 
@@ -1127,7 +1258,8 @@ public com.google.analytics.admin.v1beta.AccessInListFilter.Builder getInListFil * .google.analytics.admin.v1beta.AccessInListFilter in_list_filter = 3; */ @java.lang.Override - public com.google.analytics.admin.v1beta.AccessInListFilterOrBuilder getInListFilterOrBuilder() { + public com.google.analytics.admin.v1beta.AccessInListFilterOrBuilder + getInListFilterOrBuilder() { if ((oneFilterCase_ == 3) && (inListFilterBuilder_ != null)) { return inListFilterBuilder_.getMessageOrBuilder(); } else { @@ -1138,6 +1270,8 @@ public com.google.analytics.admin.v1beta.AccessInListFilterOrBuilder getInListFi } } /** + * + * *
      * A filter for in list values.
      * 
@@ -1145,14 +1279,19 @@ public com.google.analytics.admin.v1beta.AccessInListFilterOrBuilder getInListFi * .google.analytics.admin.v1beta.AccessInListFilter in_list_filter = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1beta.AccessInListFilter, com.google.analytics.admin.v1beta.AccessInListFilter.Builder, com.google.analytics.admin.v1beta.AccessInListFilterOrBuilder> + com.google.analytics.admin.v1beta.AccessInListFilter, + com.google.analytics.admin.v1beta.AccessInListFilter.Builder, + com.google.analytics.admin.v1beta.AccessInListFilterOrBuilder> getInListFilterFieldBuilder() { if (inListFilterBuilder_ == null) { if (!(oneFilterCase_ == 3)) { oneFilter_ = com.google.analytics.admin.v1beta.AccessInListFilter.getDefaultInstance(); } - inListFilterBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1beta.AccessInListFilter, com.google.analytics.admin.v1beta.AccessInListFilter.Builder, com.google.analytics.admin.v1beta.AccessInListFilterOrBuilder>( + inListFilterBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1beta.AccessInListFilter, + com.google.analytics.admin.v1beta.AccessInListFilter.Builder, + com.google.analytics.admin.v1beta.AccessInListFilterOrBuilder>( (com.google.analytics.admin.v1beta.AccessInListFilter) oneFilter_, getParentForChildren(), isClean()); @@ -1164,13 +1303,19 @@ public com.google.analytics.admin.v1beta.AccessInListFilterOrBuilder getInListFi } private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1beta.AccessNumericFilter, com.google.analytics.admin.v1beta.AccessNumericFilter.Builder, com.google.analytics.admin.v1beta.AccessNumericFilterOrBuilder> numericFilterBuilder_; + com.google.analytics.admin.v1beta.AccessNumericFilter, + com.google.analytics.admin.v1beta.AccessNumericFilter.Builder, + com.google.analytics.admin.v1beta.AccessNumericFilterOrBuilder> + numericFilterBuilder_; /** + * + * *
      * A filter for numeric or date values.
      * 
* * .google.analytics.admin.v1beta.AccessNumericFilter numeric_filter = 4; + * * @return Whether the numericFilter field is set. */ @java.lang.Override @@ -1178,11 +1323,14 @@ public boolean hasNumericFilter() { return oneFilterCase_ == 4; } /** + * + * *
      * A filter for numeric or date values.
      * 
* * .google.analytics.admin.v1beta.AccessNumericFilter numeric_filter = 4; + * * @return The numericFilter. */ @java.lang.Override @@ -1200,6 +1348,8 @@ public com.google.analytics.admin.v1beta.AccessNumericFilter getNumericFilter() } } /** + * + * *
      * A filter for numeric or date values.
      * 
@@ -1220,6 +1370,8 @@ public Builder setNumericFilter(com.google.analytics.admin.v1beta.AccessNumericF return this; } /** + * + * *
      * A filter for numeric or date values.
      * 
@@ -1238,6 +1390,8 @@ public Builder setNumericFilter( return this; } /** + * + * *
      * A filter for numeric or date values.
      * 
@@ -1246,10 +1400,14 @@ public Builder setNumericFilter( */ public Builder mergeNumericFilter(com.google.analytics.admin.v1beta.AccessNumericFilter value) { if (numericFilterBuilder_ == null) { - if (oneFilterCase_ == 4 && - oneFilter_ != com.google.analytics.admin.v1beta.AccessNumericFilter.getDefaultInstance()) { - oneFilter_ = com.google.analytics.admin.v1beta.AccessNumericFilter.newBuilder((com.google.analytics.admin.v1beta.AccessNumericFilter) oneFilter_) - .mergeFrom(value).buildPartial(); + if (oneFilterCase_ == 4 + && oneFilter_ + != com.google.analytics.admin.v1beta.AccessNumericFilter.getDefaultInstance()) { + oneFilter_ = + com.google.analytics.admin.v1beta.AccessNumericFilter.newBuilder( + (com.google.analytics.admin.v1beta.AccessNumericFilter) oneFilter_) + .mergeFrom(value) + .buildPartial(); } else { oneFilter_ = value; } @@ -1265,6 +1423,8 @@ public Builder mergeNumericFilter(com.google.analytics.admin.v1beta.AccessNumeri return this; } /** + * + * *
      * A filter for numeric or date values.
      * 
@@ -1288,6 +1448,8 @@ public Builder clearNumericFilter() { return this; } /** + * + * *
      * A filter for numeric or date values.
      * 
@@ -1298,6 +1460,8 @@ public com.google.analytics.admin.v1beta.AccessNumericFilter.Builder getNumericF return getNumericFilterFieldBuilder().getBuilder(); } /** + * + * *
      * A filter for numeric or date values.
      * 
@@ -1305,7 +1469,8 @@ public com.google.analytics.admin.v1beta.AccessNumericFilter.Builder getNumericF * .google.analytics.admin.v1beta.AccessNumericFilter numeric_filter = 4; */ @java.lang.Override - public com.google.analytics.admin.v1beta.AccessNumericFilterOrBuilder getNumericFilterOrBuilder() { + public com.google.analytics.admin.v1beta.AccessNumericFilterOrBuilder + getNumericFilterOrBuilder() { if ((oneFilterCase_ == 4) && (numericFilterBuilder_ != null)) { return numericFilterBuilder_.getMessageOrBuilder(); } else { @@ -1316,6 +1481,8 @@ public com.google.analytics.admin.v1beta.AccessNumericFilterOrBuilder getNumeric } } /** + * + * *
      * A filter for numeric or date values.
      * 
@@ -1323,14 +1490,19 @@ public com.google.analytics.admin.v1beta.AccessNumericFilterOrBuilder getNumeric * .google.analytics.admin.v1beta.AccessNumericFilter numeric_filter = 4; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1beta.AccessNumericFilter, com.google.analytics.admin.v1beta.AccessNumericFilter.Builder, com.google.analytics.admin.v1beta.AccessNumericFilterOrBuilder> + com.google.analytics.admin.v1beta.AccessNumericFilter, + com.google.analytics.admin.v1beta.AccessNumericFilter.Builder, + com.google.analytics.admin.v1beta.AccessNumericFilterOrBuilder> getNumericFilterFieldBuilder() { if (numericFilterBuilder_ == null) { if (!(oneFilterCase_ == 4)) { oneFilter_ = com.google.analytics.admin.v1beta.AccessNumericFilter.getDefaultInstance(); } - numericFilterBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1beta.AccessNumericFilter, com.google.analytics.admin.v1beta.AccessNumericFilter.Builder, com.google.analytics.admin.v1beta.AccessNumericFilterOrBuilder>( + numericFilterBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1beta.AccessNumericFilter, + com.google.analytics.admin.v1beta.AccessNumericFilter.Builder, + com.google.analytics.admin.v1beta.AccessNumericFilterOrBuilder>( (com.google.analytics.admin.v1beta.AccessNumericFilter) oneFilter_, getParentForChildren(), isClean()); @@ -1342,13 +1514,19 @@ public com.google.analytics.admin.v1beta.AccessNumericFilterOrBuilder getNumeric } private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1beta.AccessBetweenFilter, com.google.analytics.admin.v1beta.AccessBetweenFilter.Builder, com.google.analytics.admin.v1beta.AccessBetweenFilterOrBuilder> betweenFilterBuilder_; + com.google.analytics.admin.v1beta.AccessBetweenFilter, + com.google.analytics.admin.v1beta.AccessBetweenFilter.Builder, + com.google.analytics.admin.v1beta.AccessBetweenFilterOrBuilder> + betweenFilterBuilder_; /** + * + * *
      * A filter for two values.
      * 
* * .google.analytics.admin.v1beta.AccessBetweenFilter between_filter = 5; + * * @return Whether the betweenFilter field is set. */ @java.lang.Override @@ -1356,11 +1534,14 @@ public boolean hasBetweenFilter() { return oneFilterCase_ == 5; } /** + * + * *
      * A filter for two values.
      * 
* * .google.analytics.admin.v1beta.AccessBetweenFilter between_filter = 5; + * * @return The betweenFilter. */ @java.lang.Override @@ -1378,6 +1559,8 @@ public com.google.analytics.admin.v1beta.AccessBetweenFilter getBetweenFilter() } } /** + * + * *
      * A filter for two values.
      * 
@@ -1398,6 +1581,8 @@ public Builder setBetweenFilter(com.google.analytics.admin.v1beta.AccessBetweenF return this; } /** + * + * *
      * A filter for two values.
      * 
@@ -1416,6 +1601,8 @@ public Builder setBetweenFilter( return this; } /** + * + * *
      * A filter for two values.
      * 
@@ -1424,10 +1611,14 @@ public Builder setBetweenFilter( */ public Builder mergeBetweenFilter(com.google.analytics.admin.v1beta.AccessBetweenFilter value) { if (betweenFilterBuilder_ == null) { - if (oneFilterCase_ == 5 && - oneFilter_ != com.google.analytics.admin.v1beta.AccessBetweenFilter.getDefaultInstance()) { - oneFilter_ = com.google.analytics.admin.v1beta.AccessBetweenFilter.newBuilder((com.google.analytics.admin.v1beta.AccessBetweenFilter) oneFilter_) - .mergeFrom(value).buildPartial(); + if (oneFilterCase_ == 5 + && oneFilter_ + != com.google.analytics.admin.v1beta.AccessBetweenFilter.getDefaultInstance()) { + oneFilter_ = + com.google.analytics.admin.v1beta.AccessBetweenFilter.newBuilder( + (com.google.analytics.admin.v1beta.AccessBetweenFilter) oneFilter_) + .mergeFrom(value) + .buildPartial(); } else { oneFilter_ = value; } @@ -1443,6 +1634,8 @@ public Builder mergeBetweenFilter(com.google.analytics.admin.v1beta.AccessBetwee return this; } /** + * + * *
      * A filter for two values.
      * 
@@ -1466,6 +1659,8 @@ public Builder clearBetweenFilter() { return this; } /** + * + * *
      * A filter for two values.
      * 
@@ -1476,6 +1671,8 @@ public com.google.analytics.admin.v1beta.AccessBetweenFilter.Builder getBetweenF return getBetweenFilterFieldBuilder().getBuilder(); } /** + * + * *
      * A filter for two values.
      * 
@@ -1483,7 +1680,8 @@ public com.google.analytics.admin.v1beta.AccessBetweenFilter.Builder getBetweenF * .google.analytics.admin.v1beta.AccessBetweenFilter between_filter = 5; */ @java.lang.Override - public com.google.analytics.admin.v1beta.AccessBetweenFilterOrBuilder getBetweenFilterOrBuilder() { + public com.google.analytics.admin.v1beta.AccessBetweenFilterOrBuilder + getBetweenFilterOrBuilder() { if ((oneFilterCase_ == 5) && (betweenFilterBuilder_ != null)) { return betweenFilterBuilder_.getMessageOrBuilder(); } else { @@ -1494,6 +1692,8 @@ public com.google.analytics.admin.v1beta.AccessBetweenFilterOrBuilder getBetween } } /** + * + * *
      * A filter for two values.
      * 
@@ -1501,14 +1701,19 @@ public com.google.analytics.admin.v1beta.AccessBetweenFilterOrBuilder getBetween * .google.analytics.admin.v1beta.AccessBetweenFilter between_filter = 5; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1beta.AccessBetweenFilter, com.google.analytics.admin.v1beta.AccessBetweenFilter.Builder, com.google.analytics.admin.v1beta.AccessBetweenFilterOrBuilder> + com.google.analytics.admin.v1beta.AccessBetweenFilter, + com.google.analytics.admin.v1beta.AccessBetweenFilter.Builder, + com.google.analytics.admin.v1beta.AccessBetweenFilterOrBuilder> getBetweenFilterFieldBuilder() { if (betweenFilterBuilder_ == null) { if (!(oneFilterCase_ == 5)) { oneFilter_ = com.google.analytics.admin.v1beta.AccessBetweenFilter.getDefaultInstance(); } - betweenFilterBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1beta.AccessBetweenFilter, com.google.analytics.admin.v1beta.AccessBetweenFilter.Builder, com.google.analytics.admin.v1beta.AccessBetweenFilterOrBuilder>( + betweenFilterBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1beta.AccessBetweenFilter, + com.google.analytics.admin.v1beta.AccessBetweenFilter.Builder, + com.google.analytics.admin.v1beta.AccessBetweenFilterOrBuilder>( (com.google.analytics.admin.v1beta.AccessBetweenFilter) oneFilter_, getParentForChildren(), isClean()); @@ -1521,18 +1726,20 @@ public com.google.analytics.admin.v1beta.AccessBetweenFilterOrBuilder getBetween 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; @@ -1541,20 +1748,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 { @@ -1562,28 +1770,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() { @@ -1593,26 +1808,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); } @@ -1622,12 +1841,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1beta.AccessFilter) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1beta.AccessFilter) private static final com.google.analytics.admin.v1beta.AccessFilter DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1beta.AccessFilter(); } @@ -1636,27 +1855,27 @@ public static com.google.analytics.admin.v1beta.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; @@ -1671,6 +1890,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1beta.AccessFilter 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/AccessFilterExpression.java b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AccessFilterExpression.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/AccessFilterExpression.java rename to java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AccessFilterExpression.java index 4ca74b22e266..5dc2160ece76 100644 --- a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AccessFilterExpression.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AccessFilterExpression.java @@ -1,9 +1,26 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1beta/access_report.proto package com.google.analytics.admin.v1beta; /** + * + * *
  * Expresses dimension or metric filters. The fields in the same expression need
  * to be either all dimensions or all metrics.
@@ -11,43 +28,47 @@
  *
  * Protobuf type {@code google.analytics.admin.v1beta.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.v1beta.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();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.analytics.admin.v1beta.AccessReportProto.internal_static_google_analytics_admin_v1beta_AccessFilterExpression_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.analytics.admin.v1beta.AccessReportProto
+        .internal_static_google_analytics_admin_v1beta_AccessFilterExpression_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.analytics.admin.v1beta.AccessReportProto.internal_static_google_analytics_admin_v1beta_AccessFilterExpression_fieldAccessorTable
+    return com.google.analytics.admin.v1beta.AccessReportProto
+        .internal_static_google_analytics_admin_v1beta_AccessFilterExpression_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.analytics.admin.v1beta.AccessFilterExpression.class, com.google.analytics.admin.v1beta.AccessFilterExpression.Builder.class);
+            com.google.analytics.admin.v1beta.AccessFilterExpression.class,
+            com.google.analytics.admin.v1beta.AccessFilterExpression.Builder.class);
   }
 
   private int oneExpressionCase_ = 0;
+
   @SuppressWarnings("serial")
   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),
@@ -55,6 +76,7 @@ public enum OneExpressionCase
     ACCESS_FILTER(4),
     ONEEXPRESSION_NOT_SET(0);
     private final int value;
+
     private OneExpressionCase(int value) {
       this.value = value;
     }
@@ -70,32 +92,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.v1beta.AccessFilterExpressionList and_group = 1; + * * @return Whether the andGroup field is set. */ @java.lang.Override @@ -103,21 +133,26 @@ public boolean hasAndGroup() { return oneExpressionCase_ == 1; } /** + * + * *
    * Each of the FilterExpressions in the and_group has an AND relationship.
    * 
* * .google.analytics.admin.v1beta.AccessFilterExpressionList and_group = 1; + * * @return The andGroup. */ @java.lang.Override public com.google.analytics.admin.v1beta.AccessFilterExpressionList getAndGroup() { if (oneExpressionCase_ == 1) { - return (com.google.analytics.admin.v1beta.AccessFilterExpressionList) oneExpression_; + return (com.google.analytics.admin.v1beta.AccessFilterExpressionList) oneExpression_; } return com.google.analytics.admin.v1beta.AccessFilterExpressionList.getDefaultInstance(); } /** + * + * *
    * Each of the FilterExpressions in the and_group has an AND relationship.
    * 
@@ -125,20 +160,24 @@ public com.google.analytics.admin.v1beta.AccessFilterExpressionList getAndGroup( * .google.analytics.admin.v1beta.AccessFilterExpressionList and_group = 1; */ @java.lang.Override - public com.google.analytics.admin.v1beta.AccessFilterExpressionListOrBuilder getAndGroupOrBuilder() { + public com.google.analytics.admin.v1beta.AccessFilterExpressionListOrBuilder + getAndGroupOrBuilder() { if (oneExpressionCase_ == 1) { - return (com.google.analytics.admin.v1beta.AccessFilterExpressionList) oneExpression_; + return (com.google.analytics.admin.v1beta.AccessFilterExpressionList) oneExpression_; } return com.google.analytics.admin.v1beta.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.v1beta.AccessFilterExpressionList or_group = 2; + * * @return Whether the orGroup field is set. */ @java.lang.Override @@ -146,21 +185,26 @@ public boolean hasOrGroup() { return oneExpressionCase_ == 2; } /** + * + * *
    * Each of the FilterExpressions in the or_group has an OR relationship.
    * 
* * .google.analytics.admin.v1beta.AccessFilterExpressionList or_group = 2; + * * @return The orGroup. */ @java.lang.Override public com.google.analytics.admin.v1beta.AccessFilterExpressionList getOrGroup() { if (oneExpressionCase_ == 2) { - return (com.google.analytics.admin.v1beta.AccessFilterExpressionList) oneExpression_; + return (com.google.analytics.admin.v1beta.AccessFilterExpressionList) oneExpression_; } return com.google.analytics.admin.v1beta.AccessFilterExpressionList.getDefaultInstance(); } /** + * + * *
    * Each of the FilterExpressions in the or_group has an OR relationship.
    * 
@@ -168,20 +212,24 @@ public com.google.analytics.admin.v1beta.AccessFilterExpressionList getOrGroup() * .google.analytics.admin.v1beta.AccessFilterExpressionList or_group = 2; */ @java.lang.Override - public com.google.analytics.admin.v1beta.AccessFilterExpressionListOrBuilder getOrGroupOrBuilder() { + public com.google.analytics.admin.v1beta.AccessFilterExpressionListOrBuilder + getOrGroupOrBuilder() { if (oneExpressionCase_ == 2) { - return (com.google.analytics.admin.v1beta.AccessFilterExpressionList) oneExpression_; + return (com.google.analytics.admin.v1beta.AccessFilterExpressionList) oneExpression_; } return com.google.analytics.admin.v1beta.AccessFilterExpressionList.getDefaultInstance(); } public static final int NOT_EXPRESSION_FIELD_NUMBER = 3; /** + * + * *
    * The FilterExpression is NOT of not_expression.
    * 
* * .google.analytics.admin.v1beta.AccessFilterExpression not_expression = 3; + * * @return Whether the notExpression field is set. */ @java.lang.Override @@ -189,21 +237,26 @@ public boolean hasNotExpression() { return oneExpressionCase_ == 3; } /** + * + * *
    * The FilterExpression is NOT of not_expression.
    * 
* * .google.analytics.admin.v1beta.AccessFilterExpression not_expression = 3; + * * @return The notExpression. */ @java.lang.Override public com.google.analytics.admin.v1beta.AccessFilterExpression getNotExpression() { if (oneExpressionCase_ == 3) { - return (com.google.analytics.admin.v1beta.AccessFilterExpression) oneExpression_; + return (com.google.analytics.admin.v1beta.AccessFilterExpression) oneExpression_; } return com.google.analytics.admin.v1beta.AccessFilterExpression.getDefaultInstance(); } /** + * + * *
    * The FilterExpression is NOT of not_expression.
    * 
@@ -211,21 +264,25 @@ public com.google.analytics.admin.v1beta.AccessFilterExpression getNotExpression * .google.analytics.admin.v1beta.AccessFilterExpression not_expression = 3; */ @java.lang.Override - public com.google.analytics.admin.v1beta.AccessFilterExpressionOrBuilder getNotExpressionOrBuilder() { + public com.google.analytics.admin.v1beta.AccessFilterExpressionOrBuilder + getNotExpressionOrBuilder() { if (oneExpressionCase_ == 3) { - return (com.google.analytics.admin.v1beta.AccessFilterExpression) oneExpression_; + return (com.google.analytics.admin.v1beta.AccessFilterExpression) oneExpression_; } return com.google.analytics.admin.v1beta.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.v1beta.AccessFilter access_filter = 4; + * * @return Whether the accessFilter field is set. */ @java.lang.Override @@ -233,22 +290,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.v1beta.AccessFilter access_filter = 4; + * * @return The accessFilter. */ @java.lang.Override public com.google.analytics.admin.v1beta.AccessFilter getAccessFilter() { if (oneExpressionCase_ == 4) { - return (com.google.analytics.admin.v1beta.AccessFilter) oneExpression_; + return (com.google.analytics.admin.v1beta.AccessFilter) oneExpression_; } return com.google.analytics.admin.v1beta.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.
@@ -259,12 +321,13 @@ public com.google.analytics.admin.v1beta.AccessFilter getAccessFilter() {
   @java.lang.Override
   public com.google.analytics.admin.v1beta.AccessFilterOrBuilder getAccessFilterOrBuilder() {
     if (oneExpressionCase_ == 4) {
-       return (com.google.analytics.admin.v1beta.AccessFilter) oneExpression_;
+      return (com.google.analytics.admin.v1beta.AccessFilter) oneExpression_;
     }
     return com.google.analytics.admin.v1beta.AccessFilter.getDefaultInstance();
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -276,16 +339,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.v1beta.AccessFilterExpressionList) oneExpression_);
+      output.writeMessage(
+          1, (com.google.analytics.admin.v1beta.AccessFilterExpressionList) oneExpression_);
     }
     if (oneExpressionCase_ == 2) {
-      output.writeMessage(2, (com.google.analytics.admin.v1beta.AccessFilterExpressionList) oneExpression_);
+      output.writeMessage(
+          2, (com.google.analytics.admin.v1beta.AccessFilterExpressionList) oneExpression_);
     }
     if (oneExpressionCase_ == 3) {
-      output.writeMessage(3, (com.google.analytics.admin.v1beta.AccessFilterExpression) oneExpression_);
+      output.writeMessage(
+          3, (com.google.analytics.admin.v1beta.AccessFilterExpression) oneExpression_);
     }
     if (oneExpressionCase_ == 4) {
       output.writeMessage(4, (com.google.analytics.admin.v1beta.AccessFilter) oneExpression_);
@@ -300,20 +365,24 @@ public int getSerializedSize() {
 
     size = 0;
     if (oneExpressionCase_ == 1) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(1, (com.google.analytics.admin.v1beta.AccessFilterExpressionList) oneExpression_);
+      size +=
+          com.google.protobuf.CodedOutputStream.computeMessageSize(
+              1, (com.google.analytics.admin.v1beta.AccessFilterExpressionList) oneExpression_);
     }
     if (oneExpressionCase_ == 2) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(2, (com.google.analytics.admin.v1beta.AccessFilterExpressionList) oneExpression_);
+      size +=
+          com.google.protobuf.CodedOutputStream.computeMessageSize(
+              2, (com.google.analytics.admin.v1beta.AccessFilterExpressionList) oneExpression_);
     }
     if (oneExpressionCase_ == 3) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(3, (com.google.analytics.admin.v1beta.AccessFilterExpression) oneExpression_);
+      size +=
+          com.google.protobuf.CodedOutputStream.computeMessageSize(
+              3, (com.google.analytics.admin.v1beta.AccessFilterExpression) oneExpression_);
     }
     if (oneExpressionCase_ == 4) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(4, (com.google.analytics.admin.v1beta.AccessFilter) oneExpression_);
+      size +=
+          com.google.protobuf.CodedOutputStream.computeMessageSize(
+              4, (com.google.analytics.admin.v1beta.AccessFilter) oneExpression_);
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -323,30 +392,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.AccessFilterExpression)) {
       return super.equals(obj);
     }
-    com.google.analytics.admin.v1beta.AccessFilterExpression other = (com.google.analytics.admin.v1beta.AccessFilterExpression) obj;
+    com.google.analytics.admin.v1beta.AccessFilterExpression other =
+        (com.google.analytics.admin.v1beta.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:
@@ -388,98 +454,104 @@ public int hashCode() {
   }
 
   public static com.google.analytics.admin.v1beta.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.v1beta.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.v1beta.AccessFilterExpression parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.analytics.admin.v1beta.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.v1beta.AccessFilterExpression parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.analytics.admin.v1beta.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.v1beta.AccessFilterExpression parseFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+
+  public static com.google.analytics.admin.v1beta.AccessFilterExpression parseFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.analytics.admin.v1beta.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.v1beta.AccessFilterExpression parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+  public static com.google.analytics.admin.v1beta.AccessFilterExpression parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
 
   public static com.google.analytics.admin.v1beta.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.v1beta.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.v1beta.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.v1beta.AccessFilterExpression prototype) {
+
+  public static Builder newBuilder(
+      com.google.analytics.admin.v1beta.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.
@@ -487,33 +559,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.analytics.admin.v1beta.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.v1beta.AccessFilterExpression)
       com.google.analytics.admin.v1beta.AccessFilterExpressionOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.analytics.admin.v1beta.AccessReportProto.internal_static_google_analytics_admin_v1beta_AccessFilterExpression_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.analytics.admin.v1beta.AccessReportProto
+          .internal_static_google_analytics_admin_v1beta_AccessFilterExpression_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.analytics.admin.v1beta.AccessReportProto.internal_static_google_analytics_admin_v1beta_AccessFilterExpression_fieldAccessorTable
+      return com.google.analytics.admin.v1beta.AccessReportProto
+          .internal_static_google_analytics_admin_v1beta_AccessFilterExpression_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.analytics.admin.v1beta.AccessFilterExpression.class, com.google.analytics.admin.v1beta.AccessFilterExpression.Builder.class);
+              com.google.analytics.admin.v1beta.AccessFilterExpression.class,
+              com.google.analytics.admin.v1beta.AccessFilterExpression.Builder.class);
     }
 
     // Construct using com.google.analytics.admin.v1beta.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();
@@ -536,9 +607,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.analytics.admin.v1beta.AccessReportProto.internal_static_google_analytics_admin_v1beta_AccessFilterExpression_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.analytics.admin.v1beta.AccessReportProto
+          .internal_static_google_analytics_admin_v1beta_AccessFilterExpression_descriptor;
     }
 
     @java.lang.Override
@@ -557,8 +628,11 @@ public com.google.analytics.admin.v1beta.AccessFilterExpression build() {
 
     @java.lang.Override
     public com.google.analytics.admin.v1beta.AccessFilterExpression buildPartial() {
-      com.google.analytics.admin.v1beta.AccessFilterExpression result = new com.google.analytics.admin.v1beta.AccessFilterExpression(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.analytics.admin.v1beta.AccessFilterExpression result =
+          new com.google.analytics.admin.v1beta.AccessFilterExpression(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       buildPartialOneofs(result);
       onBuilt();
       return result;
@@ -568,23 +642,20 @@ private void buildPartial0(com.google.analytics.admin.v1beta.AccessFilterExpress
       int from_bitField0_ = bitField0_;
     }
 
-    private void buildPartialOneofs(com.google.analytics.admin.v1beta.AccessFilterExpression result) {
+    private void buildPartialOneofs(
+        com.google.analytics.admin.v1beta.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();
       }
     }
@@ -593,38 +664,39 @@ private void buildPartialOneofs(com.google.analytics.admin.v1beta.AccessFilterEx
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object 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.AccessFilterExpression) {
-        return mergeFrom((com.google.analytics.admin.v1beta.AccessFilterExpression)other);
+        return mergeFrom((com.google.analytics.admin.v1beta.AccessFilterExpression) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -632,27 +704,33 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.analytics.admin.v1beta.AccessFilterExpression other) {
-      if (other == com.google.analytics.admin.v1beta.AccessFilterExpression.getDefaultInstance()) return this;
+      if (other == com.google.analytics.admin.v1beta.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();
@@ -680,40 +758,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) {
@@ -723,12 +798,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() {
@@ -741,13 +816,19 @@ public Builder clearOneExpression() {
     private int bitField0_;
 
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.analytics.admin.v1beta.AccessFilterExpressionList, com.google.analytics.admin.v1beta.AccessFilterExpressionList.Builder, com.google.analytics.admin.v1beta.AccessFilterExpressionListOrBuilder> andGroupBuilder_;
+            com.google.analytics.admin.v1beta.AccessFilterExpressionList,
+            com.google.analytics.admin.v1beta.AccessFilterExpressionList.Builder,
+            com.google.analytics.admin.v1beta.AccessFilterExpressionListOrBuilder>
+        andGroupBuilder_;
     /**
+     *
+     *
      * 
      * Each of the FilterExpressions in the and_group has an AND relationship.
      * 
* * .google.analytics.admin.v1beta.AccessFilterExpressionList and_group = 1; + * * @return Whether the andGroup field is set. */ @java.lang.Override @@ -755,11 +836,14 @@ public boolean hasAndGroup() { return oneExpressionCase_ == 1; } /** + * + * *
      * Each of the FilterExpressions in the and_group has an AND relationship.
      * 
* * .google.analytics.admin.v1beta.AccessFilterExpressionList and_group = 1; + * * @return The andGroup. */ @java.lang.Override @@ -777,6 +861,8 @@ public com.google.analytics.admin.v1beta.AccessFilterExpressionList getAndGroup( } } /** + * + * *
      * Each of the FilterExpressions in the and_group has an AND relationship.
      * 
@@ -797,6 +883,8 @@ public Builder setAndGroup(com.google.analytics.admin.v1beta.AccessFilterExpress return this; } /** + * + * *
      * Each of the FilterExpressions in the and_group has an AND relationship.
      * 
@@ -815,18 +903,26 @@ public Builder setAndGroup( return this; } /** + * + * *
      * Each of the FilterExpressions in the and_group has an AND relationship.
      * 
* * .google.analytics.admin.v1beta.AccessFilterExpressionList and_group = 1; */ - public Builder mergeAndGroup(com.google.analytics.admin.v1beta.AccessFilterExpressionList value) { + public Builder mergeAndGroup( + com.google.analytics.admin.v1beta.AccessFilterExpressionList value) { if (andGroupBuilder_ == null) { - if (oneExpressionCase_ == 1 && - oneExpression_ != com.google.analytics.admin.v1beta.AccessFilterExpressionList.getDefaultInstance()) { - oneExpression_ = com.google.analytics.admin.v1beta.AccessFilterExpressionList.newBuilder((com.google.analytics.admin.v1beta.AccessFilterExpressionList) oneExpression_) - .mergeFrom(value).buildPartial(); + if (oneExpressionCase_ == 1 + && oneExpression_ + != com.google.analytics.admin.v1beta.AccessFilterExpressionList + .getDefaultInstance()) { + oneExpression_ = + com.google.analytics.admin.v1beta.AccessFilterExpressionList.newBuilder( + (com.google.analytics.admin.v1beta.AccessFilterExpressionList) oneExpression_) + .mergeFrom(value) + .buildPartial(); } else { oneExpression_ = value; } @@ -842,6 +938,8 @@ public Builder mergeAndGroup(com.google.analytics.admin.v1beta.AccessFilterExpre return this; } /** + * + * *
      * Each of the FilterExpressions in the and_group has an AND relationship.
      * 
@@ -865,16 +963,21 @@ public Builder clearAndGroup() { return this; } /** + * + * *
      * Each of the FilterExpressions in the and_group has an AND relationship.
      * 
* * .google.analytics.admin.v1beta.AccessFilterExpressionList and_group = 1; */ - public com.google.analytics.admin.v1beta.AccessFilterExpressionList.Builder getAndGroupBuilder() { + public com.google.analytics.admin.v1beta.AccessFilterExpressionList.Builder + getAndGroupBuilder() { return getAndGroupFieldBuilder().getBuilder(); } /** + * + * *
      * Each of the FilterExpressions in the and_group has an AND relationship.
      * 
@@ -882,7 +985,8 @@ public com.google.analytics.admin.v1beta.AccessFilterExpressionList.Builder getA * .google.analytics.admin.v1beta.AccessFilterExpressionList and_group = 1; */ @java.lang.Override - public com.google.analytics.admin.v1beta.AccessFilterExpressionListOrBuilder getAndGroupOrBuilder() { + public com.google.analytics.admin.v1beta.AccessFilterExpressionListOrBuilder + getAndGroupOrBuilder() { if ((oneExpressionCase_ == 1) && (andGroupBuilder_ != null)) { return andGroupBuilder_.getMessageOrBuilder(); } else { @@ -893,6 +997,8 @@ public com.google.analytics.admin.v1beta.AccessFilterExpressionListOrBuilder get } } /** + * + * *
      * Each of the FilterExpressions in the and_group has an AND relationship.
      * 
@@ -900,14 +1006,20 @@ public com.google.analytics.admin.v1beta.AccessFilterExpressionListOrBuilder get * .google.analytics.admin.v1beta.AccessFilterExpressionList and_group = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1beta.AccessFilterExpressionList, com.google.analytics.admin.v1beta.AccessFilterExpressionList.Builder, com.google.analytics.admin.v1beta.AccessFilterExpressionListOrBuilder> + com.google.analytics.admin.v1beta.AccessFilterExpressionList, + com.google.analytics.admin.v1beta.AccessFilterExpressionList.Builder, + com.google.analytics.admin.v1beta.AccessFilterExpressionListOrBuilder> getAndGroupFieldBuilder() { if (andGroupBuilder_ == null) { if (!(oneExpressionCase_ == 1)) { - oneExpression_ = com.google.analytics.admin.v1beta.AccessFilterExpressionList.getDefaultInstance(); + oneExpression_ = + com.google.analytics.admin.v1beta.AccessFilterExpressionList.getDefaultInstance(); } - andGroupBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1beta.AccessFilterExpressionList, com.google.analytics.admin.v1beta.AccessFilterExpressionList.Builder, com.google.analytics.admin.v1beta.AccessFilterExpressionListOrBuilder>( + andGroupBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1beta.AccessFilterExpressionList, + com.google.analytics.admin.v1beta.AccessFilterExpressionList.Builder, + com.google.analytics.admin.v1beta.AccessFilterExpressionListOrBuilder>( (com.google.analytics.admin.v1beta.AccessFilterExpressionList) oneExpression_, getParentForChildren(), isClean()); @@ -919,13 +1031,19 @@ public com.google.analytics.admin.v1beta.AccessFilterExpressionListOrBuilder get } private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1beta.AccessFilterExpressionList, com.google.analytics.admin.v1beta.AccessFilterExpressionList.Builder, com.google.analytics.admin.v1beta.AccessFilterExpressionListOrBuilder> orGroupBuilder_; + com.google.analytics.admin.v1beta.AccessFilterExpressionList, + com.google.analytics.admin.v1beta.AccessFilterExpressionList.Builder, + com.google.analytics.admin.v1beta.AccessFilterExpressionListOrBuilder> + orGroupBuilder_; /** + * + * *
      * Each of the FilterExpressions in the or_group has an OR relationship.
      * 
* * .google.analytics.admin.v1beta.AccessFilterExpressionList or_group = 2; + * * @return Whether the orGroup field is set. */ @java.lang.Override @@ -933,11 +1051,14 @@ public boolean hasOrGroup() { return oneExpressionCase_ == 2; } /** + * + * *
      * Each of the FilterExpressions in the or_group has an OR relationship.
      * 
* * .google.analytics.admin.v1beta.AccessFilterExpressionList or_group = 2; + * * @return The orGroup. */ @java.lang.Override @@ -955,6 +1076,8 @@ public com.google.analytics.admin.v1beta.AccessFilterExpressionList getOrGroup() } } /** + * + * *
      * Each of the FilterExpressions in the or_group has an OR relationship.
      * 
@@ -975,6 +1098,8 @@ public Builder setOrGroup(com.google.analytics.admin.v1beta.AccessFilterExpressi return this; } /** + * + * *
      * Each of the FilterExpressions in the or_group has an OR relationship.
      * 
@@ -993,18 +1118,26 @@ public Builder setOrGroup( return this; } /** + * + * *
      * Each of the FilterExpressions in the or_group has an OR relationship.
      * 
* * .google.analytics.admin.v1beta.AccessFilterExpressionList or_group = 2; */ - public Builder mergeOrGroup(com.google.analytics.admin.v1beta.AccessFilterExpressionList value) { + public Builder mergeOrGroup( + com.google.analytics.admin.v1beta.AccessFilterExpressionList value) { if (orGroupBuilder_ == null) { - if (oneExpressionCase_ == 2 && - oneExpression_ != com.google.analytics.admin.v1beta.AccessFilterExpressionList.getDefaultInstance()) { - oneExpression_ = com.google.analytics.admin.v1beta.AccessFilterExpressionList.newBuilder((com.google.analytics.admin.v1beta.AccessFilterExpressionList) oneExpression_) - .mergeFrom(value).buildPartial(); + if (oneExpressionCase_ == 2 + && oneExpression_ + != com.google.analytics.admin.v1beta.AccessFilterExpressionList + .getDefaultInstance()) { + oneExpression_ = + com.google.analytics.admin.v1beta.AccessFilterExpressionList.newBuilder( + (com.google.analytics.admin.v1beta.AccessFilterExpressionList) oneExpression_) + .mergeFrom(value) + .buildPartial(); } else { oneExpression_ = value; } @@ -1020,6 +1153,8 @@ public Builder mergeOrGroup(com.google.analytics.admin.v1beta.AccessFilterExpres return this; } /** + * + * *
      * Each of the FilterExpressions in the or_group has an OR relationship.
      * 
@@ -1043,16 +1178,21 @@ public Builder clearOrGroup() { return this; } /** + * + * *
      * Each of the FilterExpressions in the or_group has an OR relationship.
      * 
* * .google.analytics.admin.v1beta.AccessFilterExpressionList or_group = 2; */ - public com.google.analytics.admin.v1beta.AccessFilterExpressionList.Builder getOrGroupBuilder() { + public com.google.analytics.admin.v1beta.AccessFilterExpressionList.Builder + getOrGroupBuilder() { return getOrGroupFieldBuilder().getBuilder(); } /** + * + * *
      * Each of the FilterExpressions in the or_group has an OR relationship.
      * 
@@ -1060,7 +1200,8 @@ public com.google.analytics.admin.v1beta.AccessFilterExpressionList.Builder getO * .google.analytics.admin.v1beta.AccessFilterExpressionList or_group = 2; */ @java.lang.Override - public com.google.analytics.admin.v1beta.AccessFilterExpressionListOrBuilder getOrGroupOrBuilder() { + public com.google.analytics.admin.v1beta.AccessFilterExpressionListOrBuilder + getOrGroupOrBuilder() { if ((oneExpressionCase_ == 2) && (orGroupBuilder_ != null)) { return orGroupBuilder_.getMessageOrBuilder(); } else { @@ -1071,6 +1212,8 @@ public com.google.analytics.admin.v1beta.AccessFilterExpressionListOrBuilder get } } /** + * + * *
      * Each of the FilterExpressions in the or_group has an OR relationship.
      * 
@@ -1078,14 +1221,20 @@ public com.google.analytics.admin.v1beta.AccessFilterExpressionListOrBuilder get * .google.analytics.admin.v1beta.AccessFilterExpressionList or_group = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1beta.AccessFilterExpressionList, com.google.analytics.admin.v1beta.AccessFilterExpressionList.Builder, com.google.analytics.admin.v1beta.AccessFilterExpressionListOrBuilder> + com.google.analytics.admin.v1beta.AccessFilterExpressionList, + com.google.analytics.admin.v1beta.AccessFilterExpressionList.Builder, + com.google.analytics.admin.v1beta.AccessFilterExpressionListOrBuilder> getOrGroupFieldBuilder() { if (orGroupBuilder_ == null) { if (!(oneExpressionCase_ == 2)) { - oneExpression_ = com.google.analytics.admin.v1beta.AccessFilterExpressionList.getDefaultInstance(); + oneExpression_ = + com.google.analytics.admin.v1beta.AccessFilterExpressionList.getDefaultInstance(); } - orGroupBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1beta.AccessFilterExpressionList, com.google.analytics.admin.v1beta.AccessFilterExpressionList.Builder, com.google.analytics.admin.v1beta.AccessFilterExpressionListOrBuilder>( + orGroupBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1beta.AccessFilterExpressionList, + com.google.analytics.admin.v1beta.AccessFilterExpressionList.Builder, + com.google.analytics.admin.v1beta.AccessFilterExpressionListOrBuilder>( (com.google.analytics.admin.v1beta.AccessFilterExpressionList) oneExpression_, getParentForChildren(), isClean()); @@ -1097,13 +1246,19 @@ public com.google.analytics.admin.v1beta.AccessFilterExpressionListOrBuilder get } private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1beta.AccessFilterExpression, com.google.analytics.admin.v1beta.AccessFilterExpression.Builder, com.google.analytics.admin.v1beta.AccessFilterExpressionOrBuilder> notExpressionBuilder_; + com.google.analytics.admin.v1beta.AccessFilterExpression, + com.google.analytics.admin.v1beta.AccessFilterExpression.Builder, + com.google.analytics.admin.v1beta.AccessFilterExpressionOrBuilder> + notExpressionBuilder_; /** + * + * *
      * The FilterExpression is NOT of not_expression.
      * 
* * .google.analytics.admin.v1beta.AccessFilterExpression not_expression = 3; + * * @return Whether the notExpression field is set. */ @java.lang.Override @@ -1111,11 +1266,14 @@ public boolean hasNotExpression() { return oneExpressionCase_ == 3; } /** + * + * *
      * The FilterExpression is NOT of not_expression.
      * 
* * .google.analytics.admin.v1beta.AccessFilterExpression not_expression = 3; + * * @return The notExpression. */ @java.lang.Override @@ -1133,13 +1291,16 @@ public com.google.analytics.admin.v1beta.AccessFilterExpression getNotExpression } } /** + * + * *
      * The FilterExpression is NOT of not_expression.
      * 
* * .google.analytics.admin.v1beta.AccessFilterExpression not_expression = 3; */ - public Builder setNotExpression(com.google.analytics.admin.v1beta.AccessFilterExpression value) { + public Builder setNotExpression( + com.google.analytics.admin.v1beta.AccessFilterExpression value) { if (notExpressionBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1153,6 +1314,8 @@ public Builder setNotExpression(com.google.analytics.admin.v1beta.AccessFilterEx return this; } /** + * + * *
      * The FilterExpression is NOT of not_expression.
      * 
@@ -1171,18 +1334,25 @@ public Builder setNotExpression( return this; } /** + * + * *
      * The FilterExpression is NOT of not_expression.
      * 
* * .google.analytics.admin.v1beta.AccessFilterExpression not_expression = 3; */ - public Builder mergeNotExpression(com.google.analytics.admin.v1beta.AccessFilterExpression value) { + public Builder mergeNotExpression( + com.google.analytics.admin.v1beta.AccessFilterExpression value) { if (notExpressionBuilder_ == null) { - if (oneExpressionCase_ == 3 && - oneExpression_ != com.google.analytics.admin.v1beta.AccessFilterExpression.getDefaultInstance()) { - oneExpression_ = com.google.analytics.admin.v1beta.AccessFilterExpression.newBuilder((com.google.analytics.admin.v1beta.AccessFilterExpression) oneExpression_) - .mergeFrom(value).buildPartial(); + if (oneExpressionCase_ == 3 + && oneExpression_ + != com.google.analytics.admin.v1beta.AccessFilterExpression.getDefaultInstance()) { + oneExpression_ = + com.google.analytics.admin.v1beta.AccessFilterExpression.newBuilder( + (com.google.analytics.admin.v1beta.AccessFilterExpression) oneExpression_) + .mergeFrom(value) + .buildPartial(); } else { oneExpression_ = value; } @@ -1198,6 +1368,8 @@ public Builder mergeNotExpression(com.google.analytics.admin.v1beta.AccessFilter return this; } /** + * + * *
      * The FilterExpression is NOT of not_expression.
      * 
@@ -1221,16 +1393,21 @@ public Builder clearNotExpression() { return this; } /** + * + * *
      * The FilterExpression is NOT of not_expression.
      * 
* * .google.analytics.admin.v1beta.AccessFilterExpression not_expression = 3; */ - public com.google.analytics.admin.v1beta.AccessFilterExpression.Builder getNotExpressionBuilder() { + public com.google.analytics.admin.v1beta.AccessFilterExpression.Builder + getNotExpressionBuilder() { return getNotExpressionFieldBuilder().getBuilder(); } /** + * + * *
      * The FilterExpression is NOT of not_expression.
      * 
@@ -1238,7 +1415,8 @@ public com.google.analytics.admin.v1beta.AccessFilterExpression.Builder getNotEx * .google.analytics.admin.v1beta.AccessFilterExpression not_expression = 3; */ @java.lang.Override - public com.google.analytics.admin.v1beta.AccessFilterExpressionOrBuilder getNotExpressionOrBuilder() { + public com.google.analytics.admin.v1beta.AccessFilterExpressionOrBuilder + getNotExpressionOrBuilder() { if ((oneExpressionCase_ == 3) && (notExpressionBuilder_ != null)) { return notExpressionBuilder_.getMessageOrBuilder(); } else { @@ -1249,6 +1427,8 @@ public com.google.analytics.admin.v1beta.AccessFilterExpressionOrBuilder getNotE } } /** + * + * *
      * The FilterExpression is NOT of not_expression.
      * 
@@ -1256,14 +1436,20 @@ public com.google.analytics.admin.v1beta.AccessFilterExpressionOrBuilder getNotE * .google.analytics.admin.v1beta.AccessFilterExpression not_expression = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1beta.AccessFilterExpression, com.google.analytics.admin.v1beta.AccessFilterExpression.Builder, com.google.analytics.admin.v1beta.AccessFilterExpressionOrBuilder> + com.google.analytics.admin.v1beta.AccessFilterExpression, + com.google.analytics.admin.v1beta.AccessFilterExpression.Builder, + com.google.analytics.admin.v1beta.AccessFilterExpressionOrBuilder> getNotExpressionFieldBuilder() { if (notExpressionBuilder_ == null) { if (!(oneExpressionCase_ == 3)) { - oneExpression_ = com.google.analytics.admin.v1beta.AccessFilterExpression.getDefaultInstance(); + oneExpression_ = + com.google.analytics.admin.v1beta.AccessFilterExpression.getDefaultInstance(); } - notExpressionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1beta.AccessFilterExpression, com.google.analytics.admin.v1beta.AccessFilterExpression.Builder, com.google.analytics.admin.v1beta.AccessFilterExpressionOrBuilder>( + notExpressionBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1beta.AccessFilterExpression, + com.google.analytics.admin.v1beta.AccessFilterExpression.Builder, + com.google.analytics.admin.v1beta.AccessFilterExpressionOrBuilder>( (com.google.analytics.admin.v1beta.AccessFilterExpression) oneExpression_, getParentForChildren(), isClean()); @@ -1275,14 +1461,20 @@ public com.google.analytics.admin.v1beta.AccessFilterExpressionOrBuilder getNotE } private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1beta.AccessFilter, com.google.analytics.admin.v1beta.AccessFilter.Builder, com.google.analytics.admin.v1beta.AccessFilterOrBuilder> accessFilterBuilder_; + com.google.analytics.admin.v1beta.AccessFilter, + com.google.analytics.admin.v1beta.AccessFilter.Builder, + com.google.analytics.admin.v1beta.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.v1beta.AccessFilter access_filter = 4; + * * @return Whether the accessFilter field is set. */ @java.lang.Override @@ -1290,12 +1482,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.v1beta.AccessFilter access_filter = 4; + * * @return The accessFilter. */ @java.lang.Override @@ -1313,6 +1508,8 @@ public com.google.analytics.admin.v1beta.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.
@@ -1334,6 +1531,8 @@ public Builder setAccessFilter(com.google.analytics.admin.v1beta.AccessFilter va
       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.
@@ -1353,6 +1552,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.
@@ -1362,10 +1563,14 @@ public Builder setAccessFilter(
      */
     public Builder mergeAccessFilter(com.google.analytics.admin.v1beta.AccessFilter value) {
       if (accessFilterBuilder_ == null) {
-        if (oneExpressionCase_ == 4 &&
-            oneExpression_ != com.google.analytics.admin.v1beta.AccessFilter.getDefaultInstance()) {
-          oneExpression_ = com.google.analytics.admin.v1beta.AccessFilter.newBuilder((com.google.analytics.admin.v1beta.AccessFilter) oneExpression_)
-              .mergeFrom(value).buildPartial();
+        if (oneExpressionCase_ == 4
+            && oneExpression_
+                != com.google.analytics.admin.v1beta.AccessFilter.getDefaultInstance()) {
+          oneExpression_ =
+              com.google.analytics.admin.v1beta.AccessFilter.newBuilder(
+                      (com.google.analytics.admin.v1beta.AccessFilter) oneExpression_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           oneExpression_ = value;
         }
@@ -1381,6 +1586,8 @@ public Builder mergeAccessFilter(com.google.analytics.admin.v1beta.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.
@@ -1405,6 +1612,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.
@@ -1416,6 +1625,8 @@ public com.google.analytics.admin.v1beta.AccessFilter.Builder getAccessFilterBui
       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.
@@ -1435,6 +1646,8 @@ public com.google.analytics.admin.v1beta.AccessFilterOrBuilder getAccessFilterOr
       }
     }
     /**
+     *
+     *
      * 
      * A primitive filter. In the same FilterExpression, all of the filter's
      * field names need to be either all dimensions or all metrics.
@@ -1443,14 +1656,19 @@ public com.google.analytics.admin.v1beta.AccessFilterOrBuilder getAccessFilterOr
      * .google.analytics.admin.v1beta.AccessFilter access_filter = 4;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.analytics.admin.v1beta.AccessFilter, com.google.analytics.admin.v1beta.AccessFilter.Builder, com.google.analytics.admin.v1beta.AccessFilterOrBuilder> 
+            com.google.analytics.admin.v1beta.AccessFilter,
+            com.google.analytics.admin.v1beta.AccessFilter.Builder,
+            com.google.analytics.admin.v1beta.AccessFilterOrBuilder>
         getAccessFilterFieldBuilder() {
       if (accessFilterBuilder_ == null) {
         if (!(oneExpressionCase_ == 4)) {
           oneExpression_ = com.google.analytics.admin.v1beta.AccessFilter.getDefaultInstance();
         }
-        accessFilterBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.analytics.admin.v1beta.AccessFilter, com.google.analytics.admin.v1beta.AccessFilter.Builder, com.google.analytics.admin.v1beta.AccessFilterOrBuilder>(
+        accessFilterBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.analytics.admin.v1beta.AccessFilter,
+                com.google.analytics.admin.v1beta.AccessFilter.Builder,
+                com.google.analytics.admin.v1beta.AccessFilterOrBuilder>(
                 (com.google.analytics.admin.v1beta.AccessFilter) oneExpression_,
                 getParentForChildren(),
                 isClean());
@@ -1460,9 +1678,9 @@ public com.google.analytics.admin.v1beta.AccessFilterOrBuilder getAccessFilterOr
       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);
     }
 
@@ -1472,12 +1690,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1beta.AccessFilterExpression)
   }
 
   // @@protoc_insertion_point(class_scope:google.analytics.admin.v1beta.AccessFilterExpression)
   private static final com.google.analytics.admin.v1beta.AccessFilterExpression DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.analytics.admin.v1beta.AccessFilterExpression();
   }
@@ -1486,27 +1704,27 @@ public static com.google.analytics.admin.v1beta.AccessFilterExpression getDefaul
     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;
@@ -1521,6 +1739,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.analytics.admin.v1beta.AccessFilterExpression 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/AccessFilterExpressionList.java b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AccessFilterExpressionList.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/AccessFilterExpressionList.java
rename to java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AccessFilterExpressionList.java
index 00b5c4d89265..44dfcc7c0ff7 100644
--- a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AccessFilterExpressionList.java
+++ b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AccessFilterExpressionList.java
@@ -1,52 +1,74 @@
+/*
+ * Copyright 2023 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/analytics/admin/v1beta/access_report.proto
 
 package com.google.analytics.admin.v1beta;
 
 /**
+ *
+ *
  * 
  * A list of filter expressions.
  * 
* * Protobuf type {@code google.analytics.admin.v1beta.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.v1beta.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(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1beta.AccessReportProto.internal_static_google_analytics_admin_v1beta_AccessFilterExpressionList_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1beta.AccessReportProto + .internal_static_google_analytics_admin_v1beta_AccessFilterExpressionList_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.AccessReportProto.internal_static_google_analytics_admin_v1beta_AccessFilterExpressionList_fieldAccessorTable + return com.google.analytics.admin.v1beta.AccessReportProto + .internal_static_google_analytics_admin_v1beta_AccessFilterExpressionList_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.AccessFilterExpressionList.class, com.google.analytics.admin.v1beta.AccessFilterExpressionList.Builder.class); + com.google.analytics.admin.v1beta.AccessFilterExpressionList.class, + com.google.analytics.admin.v1beta.AccessFilterExpressionList.Builder.class); } public static final int EXPRESSIONS_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private java.util.List expressions_; /** + * + * *
    * A list of filter expressions.
    * 
@@ -54,10 +76,13 @@ protected java.lang.Object newInstance( * repeated .google.analytics.admin.v1beta.AccessFilterExpression expressions = 1; */ @java.lang.Override - public java.util.List getExpressionsList() { + public java.util.List + getExpressionsList() { return expressions_; } /** + * + * *
    * A list of filter expressions.
    * 
@@ -65,11 +90,13 @@ public java.util.List * repeated .google.analytics.admin.v1beta.AccessFilterExpression expressions = 1; */ @java.lang.Override - public java.util.List + public java.util.List getExpressionsOrBuilderList() { return expressions_; } /** + * + * *
    * A list of filter expressions.
    * 
@@ -81,6 +108,8 @@ public int getExpressionsCount() { return expressions_.size(); } /** + * + * *
    * A list of filter expressions.
    * 
@@ -92,6 +121,8 @@ public com.google.analytics.admin.v1beta.AccessFilterExpression getExpressions(i return expressions_.get(index); } /** + * + * *
    * A list of filter expressions.
    * 
@@ -105,6 +136,7 @@ public com.google.analytics.admin.v1beta.AccessFilterExpressionOrBuilder getExpr } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -116,8 +148,7 @@ public final boolean isInitialized() { } @java.lang.Override - 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)); } @@ -131,8 +162,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; @@ -142,15 +172,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.AccessFilterExpressionList)) { return super.equals(obj); } - com.google.analytics.admin.v1beta.AccessFilterExpressionList other = (com.google.analytics.admin.v1beta.AccessFilterExpressionList) obj; + com.google.analytics.admin.v1beta.AccessFilterExpressionList other = + (com.google.analytics.admin.v1beta.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; } @@ -172,131 +202,136 @@ public int hashCode() { } public static com.google.analytics.admin.v1beta.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.v1beta.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.v1beta.AccessFilterExpressionList parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1beta.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.v1beta.AccessFilterExpressionList parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1beta.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.v1beta.AccessFilterExpressionList parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1beta.AccessFilterExpressionList parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1beta.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.v1beta.AccessFilterExpressionList parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1beta.AccessFilterExpressionList parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.analytics.admin.v1beta.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.v1beta.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.v1beta.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.v1beta.AccessFilterExpressionList prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1beta.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.v1beta.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.v1beta.AccessFilterExpressionList) com.google.analytics.admin.v1beta.AccessFilterExpressionListOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1beta.AccessReportProto.internal_static_google_analytics_admin_v1beta_AccessFilterExpressionList_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1beta.AccessReportProto + .internal_static_google_analytics_admin_v1beta_AccessFilterExpressionList_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.AccessReportProto.internal_static_google_analytics_admin_v1beta_AccessFilterExpressionList_fieldAccessorTable + return com.google.analytics.admin.v1beta.AccessReportProto + .internal_static_google_analytics_admin_v1beta_AccessFilterExpressionList_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.AccessFilterExpressionList.class, com.google.analytics.admin.v1beta.AccessFilterExpressionList.Builder.class); + com.google.analytics.admin.v1beta.AccessFilterExpressionList.class, + com.google.analytics.admin.v1beta.AccessFilterExpressionList.Builder.class); } // Construct using com.google.analytics.admin.v1beta.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(); @@ -312,13 +347,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.analytics.admin.v1beta.AccessReportProto.internal_static_google_analytics_admin_v1beta_AccessFilterExpressionList_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1beta.AccessReportProto + .internal_static_google_analytics_admin_v1beta_AccessFilterExpressionList_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1beta.AccessFilterExpressionList getDefaultInstanceForType() { + public com.google.analytics.admin.v1beta.AccessFilterExpressionList + getDefaultInstanceForType() { return com.google.analytics.admin.v1beta.AccessFilterExpressionList.getDefaultInstance(); } @@ -333,14 +369,18 @@ public com.google.analytics.admin.v1beta.AccessFilterExpressionList build() { @java.lang.Override public com.google.analytics.admin.v1beta.AccessFilterExpressionList buildPartial() { - com.google.analytics.admin.v1beta.AccessFilterExpressionList result = new com.google.analytics.admin.v1beta.AccessFilterExpressionList(this); + com.google.analytics.admin.v1beta.AccessFilterExpressionList result = + new com.google.analytics.admin.v1beta.AccessFilterExpressionList(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartialRepeatedFields(com.google.analytics.admin.v1beta.AccessFilterExpressionList result) { + private void buildPartialRepeatedFields( + com.google.analytics.admin.v1beta.AccessFilterExpressionList result) { if (expressionsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { expressions_ = java.util.Collections.unmodifiableList(expressions_); @@ -352,7 +392,8 @@ private void buildPartialRepeatedFields(com.google.analytics.admin.v1beta.Access } } - private void buildPartial0(com.google.analytics.admin.v1beta.AccessFilterExpressionList result) { + private void buildPartial0( + com.google.analytics.admin.v1beta.AccessFilterExpressionList result) { int from_bitField0_ = bitField0_; } @@ -360,38 +401,39 @@ private void buildPartial0(com.google.analytics.admin.v1beta.AccessFilterExpress public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object 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.AccessFilterExpressionList) { - return mergeFrom((com.google.analytics.admin.v1beta.AccessFilterExpressionList)other); + return mergeFrom((com.google.analytics.admin.v1beta.AccessFilterExpressionList) other); } else { super.mergeFrom(other); return this; @@ -399,7 +441,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1beta.AccessFilterExpressionList other) { - if (other == com.google.analytics.admin.v1beta.AccessFilterExpressionList.getDefaultInstance()) return this; + if (other + == com.google.analytics.admin.v1beta.AccessFilterExpressionList.getDefaultInstance()) + return this; if (expressionsBuilder_ == null) { if (!other.expressions_.isEmpty()) { if (expressions_.isEmpty()) { @@ -418,9 +462,10 @@ public Builder mergeFrom(com.google.analytics.admin.v1beta.AccessFilterExpressio 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_); } @@ -452,25 +497,27 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - com.google.analytics.admin.v1beta.AccessFilterExpression m = - input.readMessage( - com.google.analytics.admin.v1beta.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.v1beta.AccessFilterExpression m = + input.readMessage( + com.google.analytics.admin.v1beta.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) { @@ -480,28 +527,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.v1beta.AccessFilterExpression, com.google.analytics.admin.v1beta.AccessFilterExpression.Builder, com.google.analytics.admin.v1beta.AccessFilterExpressionOrBuilder> expressionsBuilder_; + com.google.analytics.admin.v1beta.AccessFilterExpression, + com.google.analytics.admin.v1beta.AccessFilterExpression.Builder, + com.google.analytics.admin.v1beta.AccessFilterExpressionOrBuilder> + expressionsBuilder_; /** + * + * *
      * A list of filter expressions.
      * 
* * repeated .google.analytics.admin.v1beta.AccessFilterExpression expressions = 1; */ - public java.util.List getExpressionsList() { + public java.util.List + getExpressionsList() { if (expressionsBuilder_ == null) { return java.util.Collections.unmodifiableList(expressions_); } else { @@ -509,6 +566,8 @@ public java.util.List } } /** + * + * *
      * A list of filter expressions.
      * 
@@ -523,6 +582,8 @@ public int getExpressionsCount() { } } /** + * + * *
      * A list of filter expressions.
      * 
@@ -537,6 +598,8 @@ public com.google.analytics.admin.v1beta.AccessFilterExpression getExpressions(i } } /** + * + * *
      * A list of filter expressions.
      * 
@@ -558,6 +621,8 @@ public Builder setExpressions( return this; } /** + * + * *
      * A list of filter expressions.
      * 
@@ -565,7 +630,8 @@ public Builder setExpressions( * repeated .google.analytics.admin.v1beta.AccessFilterExpression expressions = 1; */ public Builder setExpressions( - int index, com.google.analytics.admin.v1beta.AccessFilterExpression.Builder builderForValue) { + int index, + com.google.analytics.admin.v1beta.AccessFilterExpression.Builder builderForValue) { if (expressionsBuilder_ == null) { ensureExpressionsIsMutable(); expressions_.set(index, builderForValue.build()); @@ -576,6 +642,8 @@ public Builder setExpressions( return this; } /** + * + * *
      * A list of filter expressions.
      * 
@@ -596,6 +664,8 @@ public Builder addExpressions(com.google.analytics.admin.v1beta.AccessFilterExpr return this; } /** + * + * *
      * A list of filter expressions.
      * 
@@ -617,6 +687,8 @@ public Builder addExpressions( return this; } /** + * + * *
      * A list of filter expressions.
      * 
@@ -635,6 +707,8 @@ public Builder addExpressions( return this; } /** + * + * *
      * A list of filter expressions.
      * 
@@ -642,7 +716,8 @@ public Builder addExpressions( * repeated .google.analytics.admin.v1beta.AccessFilterExpression expressions = 1; */ public Builder addExpressions( - int index, com.google.analytics.admin.v1beta.AccessFilterExpression.Builder builderForValue) { + int index, + com.google.analytics.admin.v1beta.AccessFilterExpression.Builder builderForValue) { if (expressionsBuilder_ == null) { ensureExpressionsIsMutable(); expressions_.add(index, builderForValue.build()); @@ -653,6 +728,8 @@ public Builder addExpressions( return this; } /** + * + * *
      * A list of filter expressions.
      * 
@@ -660,11 +737,11 @@ public Builder addExpressions( * repeated .google.analytics.admin.v1beta.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); @@ -672,6 +749,8 @@ public Builder addAllExpressions( return this; } /** + * + * *
      * A list of filter expressions.
      * 
@@ -689,6 +768,8 @@ public Builder clearExpressions() { return this; } /** + * + * *
      * A list of filter expressions.
      * 
@@ -706,6 +787,8 @@ public Builder removeExpressions(int index) { return this; } /** + * + * *
      * A list of filter expressions.
      * 
@@ -717,28 +800,34 @@ public com.google.analytics.admin.v1beta.AccessFilterExpression.Builder getExpre return getExpressionsFieldBuilder().getBuilder(index); } /** + * + * *
      * A list of filter expressions.
      * 
* * repeated .google.analytics.admin.v1beta.AccessFilterExpression expressions = 1; */ - public com.google.analytics.admin.v1beta.AccessFilterExpressionOrBuilder getExpressionsOrBuilder( - int index) { + public com.google.analytics.admin.v1beta.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.v1beta.AccessFilterExpression expressions = 1; */ - public java.util.List - getExpressionsOrBuilderList() { + public java.util.List< + ? extends com.google.analytics.admin.v1beta.AccessFilterExpressionOrBuilder> + getExpressionsOrBuilderList() { if (expressionsBuilder_ != null) { return expressionsBuilder_.getMessageOrBuilderList(); } else { @@ -746,17 +835,23 @@ public com.google.analytics.admin.v1beta.AccessFilterExpressionOrBuilder getExpr } } /** + * + * *
      * A list of filter expressions.
      * 
* * repeated .google.analytics.admin.v1beta.AccessFilterExpression expressions = 1; */ - public com.google.analytics.admin.v1beta.AccessFilterExpression.Builder addExpressionsBuilder() { - return getExpressionsFieldBuilder().addBuilder( - com.google.analytics.admin.v1beta.AccessFilterExpression.getDefaultInstance()); + public com.google.analytics.admin.v1beta.AccessFilterExpression.Builder + addExpressionsBuilder() { + return getExpressionsFieldBuilder() + .addBuilder( + com.google.analytics.admin.v1beta.AccessFilterExpression.getDefaultInstance()); } /** + * + * *
      * A list of filter expressions.
      * 
@@ -765,37 +860,43 @@ public com.google.analytics.admin.v1beta.AccessFilterExpression.Builder addExpre */ public com.google.analytics.admin.v1beta.AccessFilterExpression.Builder addExpressionsBuilder( int index) { - return getExpressionsFieldBuilder().addBuilder( - index, com.google.analytics.admin.v1beta.AccessFilterExpression.getDefaultInstance()); + return getExpressionsFieldBuilder() + .addBuilder( + index, com.google.analytics.admin.v1beta.AccessFilterExpression.getDefaultInstance()); } /** + * + * *
      * A list of filter expressions.
      * 
* * repeated .google.analytics.admin.v1beta.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.v1beta.AccessFilterExpression, com.google.analytics.admin.v1beta.AccessFilterExpression.Builder, com.google.analytics.admin.v1beta.AccessFilterExpressionOrBuilder> + com.google.analytics.admin.v1beta.AccessFilterExpression, + com.google.analytics.admin.v1beta.AccessFilterExpression.Builder, + com.google.analytics.admin.v1beta.AccessFilterExpressionOrBuilder> getExpressionsFieldBuilder() { if (expressionsBuilder_ == null) { - expressionsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1beta.AccessFilterExpression, com.google.analytics.admin.v1beta.AccessFilterExpression.Builder, com.google.analytics.admin.v1beta.AccessFilterExpressionOrBuilder>( - expressions_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + expressionsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.analytics.admin.v1beta.AccessFilterExpression, + com.google.analytics.admin.v1beta.AccessFilterExpression.Builder, + com.google.analytics.admin.v1beta.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); } @@ -805,12 +906,13 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1beta.AccessFilterExpressionList) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1beta.AccessFilterExpressionList) - private static final com.google.analytics.admin.v1beta.AccessFilterExpressionList DEFAULT_INSTANCE; + private static final com.google.analytics.admin.v1beta.AccessFilterExpressionList + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1beta.AccessFilterExpressionList(); } @@ -819,27 +921,27 @@ public static com.google.analytics.admin.v1beta.AccessFilterExpressionList getDe 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; @@ -854,6 +956,4 @@ public com.google.protobuf.Parser getParserForType() public com.google.analytics.admin.v1beta.AccessFilterExpressionList 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/AccessFilterExpressionListOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AccessFilterExpressionListOrBuilder.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/AccessFilterExpressionListOrBuilder.java rename to java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AccessFilterExpressionListOrBuilder.java index 01770bbf7559..fc0df6c1664f 100644 --- a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AccessFilterExpressionListOrBuilder.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AccessFilterExpressionListOrBuilder.java @@ -1,22 +1,41 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1beta/access_report.proto package com.google.analytics.admin.v1beta; -public interface AccessFilterExpressionListOrBuilder extends +public interface AccessFilterExpressionListOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1beta.AccessFilterExpressionList) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * A list of filter expressions.
    * 
* * repeated .google.analytics.admin.v1beta.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.v1beta.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.v1beta.AccessFilterExpression expressions = 1; */ - java.util.List + java.util.List getExpressionsOrBuilderList(); /** + * + * *
    * A list of filter expressions.
    * 
diff --git a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AccessFilterExpressionOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AccessFilterExpressionOrBuilder.java similarity index 83% rename from owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AccessFilterExpressionOrBuilder.java rename to java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AccessFilterExpressionOrBuilder.java index c4424edc64b2..38b8cebd94f9 100644 --- a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AccessFilterExpressionOrBuilder.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AccessFilterExpressionOrBuilder.java @@ -1,31 +1,55 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1beta/access_report.proto package com.google.analytics.admin.v1beta; -public interface AccessFilterExpressionOrBuilder extends +public interface AccessFilterExpressionOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1beta.AccessFilterExpression) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Each of the FilterExpressions in the and_group has an AND relationship.
    * 
* * .google.analytics.admin.v1beta.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.v1beta.AccessFilterExpressionList and_group = 1; + * * @return The andGroup. */ com.google.analytics.admin.v1beta.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.v1beta.AccessFilterExpressionListOrBuilder getAndGroupOrBuilder(); /** + * + * *
    * Each of the FilterExpressions in the or_group has an OR relationship.
    * 
* * .google.analytics.admin.v1beta.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.v1beta.AccessFilterExpressionList or_group = 2; + * * @return The orGroup. */ com.google.analytics.admin.v1beta.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.v1beta.AccessFilterExpressionListOrBuilder getOrGroupOrBuilder(); /** + * + * *
    * The FilterExpression is NOT of not_expression.
    * 
* * .google.analytics.admin.v1beta.AccessFilterExpression not_expression = 3; + * * @return Whether the notExpression field is set. */ boolean hasNotExpression(); /** + * + * *
    * The FilterExpression is NOT of not_expression.
    * 
* * .google.analytics.admin.v1beta.AccessFilterExpression not_expression = 3; + * * @return The notExpression. */ com.google.analytics.admin.v1beta.AccessFilterExpression getNotExpression(); /** + * + * *
    * The FilterExpression is NOT of not_expression.
    * 
@@ -89,26 +129,34 @@ public interface AccessFilterExpressionOrBuilder extends com.google.analytics.admin.v1beta.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.v1beta.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.v1beta.AccessFilter access_filter = 4; + * * @return The accessFilter. */ com.google.analytics.admin.v1beta.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.
diff --git a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AccessFilterOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AccessFilterOrBuilder.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/AccessFilterOrBuilder.java
rename to java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AccessFilterOrBuilder.java
index b3d8205fdf66..91059efca408 100644
--- a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AccessFilterOrBuilder.java
+++ b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AccessFilterOrBuilder.java
@@ -1,31 +1,55 @@
+/*
+ * Copyright 2023 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/analytics/admin/v1beta/access_report.proto
 
 package com.google.analytics.admin.v1beta;
 
-public interface AccessFilterOrBuilder extends
+public interface AccessFilterOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1beta.AccessFilter)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * Strings related filter.
    * 
* * .google.analytics.admin.v1beta.AccessStringFilter string_filter = 2; + * * @return Whether the stringFilter field is set. */ boolean hasStringFilter(); /** + * + * *
    * Strings related filter.
    * 
* * .google.analytics.admin.v1beta.AccessStringFilter string_filter = 2; + * * @return The stringFilter. */ com.google.analytics.admin.v1beta.AccessStringFilter getStringFilter(); /** + * + * *
    * Strings related filter.
    * 
@@ -35,24 +59,32 @@ public interface AccessFilterOrBuilder extends com.google.analytics.admin.v1beta.AccessStringFilterOrBuilder getStringFilterOrBuilder(); /** + * + * *
    * A filter for in list values.
    * 
* * .google.analytics.admin.v1beta.AccessInListFilter in_list_filter = 3; + * * @return Whether the inListFilter field is set. */ boolean hasInListFilter(); /** + * + * *
    * A filter for in list values.
    * 
* * .google.analytics.admin.v1beta.AccessInListFilter in_list_filter = 3; + * * @return The inListFilter. */ com.google.analytics.admin.v1beta.AccessInListFilter getInListFilter(); /** + * + * *
    * A filter for in list values.
    * 
@@ -62,24 +94,32 @@ public interface AccessFilterOrBuilder extends com.google.analytics.admin.v1beta.AccessInListFilterOrBuilder getInListFilterOrBuilder(); /** + * + * *
    * A filter for numeric or date values.
    * 
* * .google.analytics.admin.v1beta.AccessNumericFilter numeric_filter = 4; + * * @return Whether the numericFilter field is set. */ boolean hasNumericFilter(); /** + * + * *
    * A filter for numeric or date values.
    * 
* * .google.analytics.admin.v1beta.AccessNumericFilter numeric_filter = 4; + * * @return The numericFilter. */ com.google.analytics.admin.v1beta.AccessNumericFilter getNumericFilter(); /** + * + * *
    * A filter for numeric or date values.
    * 
@@ -89,24 +129,32 @@ public interface AccessFilterOrBuilder extends com.google.analytics.admin.v1beta.AccessNumericFilterOrBuilder getNumericFilterOrBuilder(); /** + * + * *
    * A filter for two values.
    * 
* * .google.analytics.admin.v1beta.AccessBetweenFilter between_filter = 5; + * * @return Whether the betweenFilter field is set. */ boolean hasBetweenFilter(); /** + * + * *
    * A filter for two values.
    * 
* * .google.analytics.admin.v1beta.AccessBetweenFilter between_filter = 5; + * * @return The betweenFilter. */ com.google.analytics.admin.v1beta.AccessBetweenFilter getBetweenFilter(); /** + * + * *
    * A filter for two values.
    * 
@@ -116,24 +164,29 @@ public interface AccessFilterOrBuilder extends com.google.analytics.admin.v1beta.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(); com.google.analytics.admin.v1beta.AccessFilter.OneFilterCase getOneFilterCase(); } diff --git a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AccessInListFilter.java b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AccessInListFilter.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/AccessInListFilter.java rename to java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AccessInListFilter.java index 8398b5afc5a6..d8d591c0d7ab 100644 --- a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AccessInListFilter.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AccessInListFilter.java @@ -1,82 +1,109 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1beta/access_report.proto package com.google.analytics.admin.v1beta; /** + * + * *
  * The result needs to be in a list of string values.
  * 
* * Protobuf type {@code google.analytics.admin.v1beta.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.v1beta.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.emptyList(); + values_ = com.google.protobuf.LazyStringArrayList.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new AccessInListFilter(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1beta.AccessReportProto.internal_static_google_analytics_admin_v1beta_AccessInListFilter_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1beta.AccessReportProto + .internal_static_google_analytics_admin_v1beta_AccessInListFilter_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.AccessReportProto.internal_static_google_analytics_admin_v1beta_AccessInListFilter_fieldAccessorTable + return com.google.analytics.admin.v1beta.AccessReportProto + .internal_static_google_analytics_admin_v1beta_AccessInListFilter_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.AccessInListFilter.class, com.google.analytics.admin.v1beta.AccessInListFilter.Builder.class); + com.google.analytics.admin.v1beta.AccessInListFilter.class, + com.google.analytics.admin.v1beta.AccessInListFilter.Builder.class); } public static final int VALUES_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList values_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** + * + * *
    * 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. */ @@ -84,27 +111,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 @@ -113,6 +145,7 @@ public boolean getCaseSensitive() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -124,8 +157,7 @@ public final boolean isInitialized() { } @java.lang.Override - 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)); } @@ -150,8 +182,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; @@ -161,17 +192,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.AccessInListFilter)) { return super.equals(obj); } - com.google.analytics.admin.v1beta.AccessInListFilter other = (com.google.analytics.admin.v1beta.AccessInListFilter) obj; + com.google.analytics.admin.v1beta.AccessInListFilter other = + (com.google.analytics.admin.v1beta.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; } @@ -188,153 +218,155 @@ 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.v1beta.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.v1beta.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.v1beta.AccessInListFilter parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1beta.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.v1beta.AccessInListFilter parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1beta.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.v1beta.AccessInListFilter parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1beta.AccessInListFilter parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1beta.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.v1beta.AccessInListFilter parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1beta.AccessInListFilter parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.analytics.admin.v1beta.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.v1beta.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.v1beta.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.v1beta.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.v1beta.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.v1beta.AccessInListFilter) com.google.analytics.admin.v1beta.AccessInListFilterOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1beta.AccessReportProto.internal_static_google_analytics_admin_v1beta_AccessInListFilter_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1beta.AccessReportProto + .internal_static_google_analytics_admin_v1beta_AccessInListFilter_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.AccessReportProto.internal_static_google_analytics_admin_v1beta_AccessInListFilter_fieldAccessorTable + return com.google.analytics.admin.v1beta.AccessReportProto + .internal_static_google_analytics_admin_v1beta_AccessInListFilter_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.AccessInListFilter.class, com.google.analytics.admin.v1beta.AccessInListFilter.Builder.class); + com.google.analytics.admin.v1beta.AccessInListFilter.class, + com.google.analytics.admin.v1beta.AccessInListFilter.Builder.class); } // Construct using com.google.analytics.admin.v1beta.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(); bitField0_ = 0; - values_ = - com.google.protobuf.LazyStringArrayList.emptyList(); + values_ = com.google.protobuf.LazyStringArrayList.emptyList(); caseSensitive_ = false; return this; } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.analytics.admin.v1beta.AccessReportProto.internal_static_google_analytics_admin_v1beta_AccessInListFilter_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1beta.AccessReportProto + .internal_static_google_analytics_admin_v1beta_AccessInListFilter_descriptor; } @java.lang.Override @@ -353,8 +385,11 @@ public com.google.analytics.admin.v1beta.AccessInListFilter build() { @java.lang.Override public com.google.analytics.admin.v1beta.AccessInListFilter buildPartial() { - com.google.analytics.admin.v1beta.AccessInListFilter result = new com.google.analytics.admin.v1beta.AccessInListFilter(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.analytics.admin.v1beta.AccessInListFilter result = + new com.google.analytics.admin.v1beta.AccessInListFilter(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -374,38 +409,39 @@ private void buildPartial0(com.google.analytics.admin.v1beta.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.v1beta.AccessInListFilter) { - return mergeFrom((com.google.analytics.admin.v1beta.AccessInListFilter)other); + return mergeFrom((com.google.analytics.admin.v1beta.AccessInListFilter) other); } else { super.mergeFrom(other); return this; @@ -413,7 +449,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1beta.AccessInListFilter other) { - if (other == com.google.analytics.admin.v1beta.AccessInListFilter.getDefaultInstance()) return this; + if (other == com.google.analytics.admin.v1beta.AccessInListFilter.getDefaultInstance()) + return this; if (!other.values_.isEmpty()) { if (values_.isEmpty()) { values_ = other.values_; @@ -453,23 +490,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) { @@ -479,10 +519,12 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private com.google.protobuf.LazyStringArrayList values_ = com.google.protobuf.LazyStringArrayList.emptyList(); + private void ensureValuesIsMutable() { if (!values_.isModifiable()) { values_ = new com.google.protobuf.LazyStringArrayList(values_); @@ -490,35 +532,43 @@ private void ensureValuesIsMutable() { 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() { values_.makeImmutable(); 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. */ @@ -526,31 +576,37 @@ 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); bitField0_ |= 0x00000001; @@ -558,17 +614,21 @@ public Builder setValues( 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); bitField0_ |= 0x00000001; @@ -576,50 +636,58 @@ public Builder addValues( 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_); bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * The list of string values. Must be non-empty.
      * 
* * repeated string values = 1; + * * @return This builder for chaining. */ public Builder clearValues() { - values_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000001);; + values_ = com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001); + ; onChanged(); return this; } /** + * + * *
      * The list of string values. Must be non-empty.
      * 
* * repeated string values = 1; + * * @param value The bytes of the values to add. * @return This builder for chaining. */ - public Builder addValuesBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder addValuesBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); ensureValuesIsMutable(); values_.add(value); @@ -628,13 +696,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 @@ -642,11 +713,14 @@ 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. */ @@ -658,11 +732,14 @@ public Builder setCaseSensitive(boolean value) { return this; } /** + * + * *
      * If true, the string value is case sensitive.
      * 
* * bool case_sensitive = 2; + * * @return This builder for chaining. */ public Builder clearCaseSensitive() { @@ -671,9 +748,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); } @@ -683,12 +760,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1beta.AccessInListFilter) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1beta.AccessInListFilter) private static final com.google.analytics.admin.v1beta.AccessInListFilter DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1beta.AccessInListFilter(); } @@ -697,27 +774,27 @@ public static com.google.analytics.admin.v1beta.AccessInListFilter getDefaultIns 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; @@ -732,6 +809,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1beta.AccessInListFilter 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/AccessInListFilterOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AccessInListFilterOrBuilder.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/AccessInListFilterOrBuilder.java rename to java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AccessInListFilterOrBuilder.java index ce9722f9cda7..1d75811b5e79 100644 --- a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AccessInListFilterOrBuilder.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AccessInListFilterOrBuilder.java @@ -1,59 +1,88 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1beta/access_report.proto package com.google.analytics.admin.v1beta; -public interface AccessInListFilterOrBuilder extends +public interface AccessInListFilterOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1beta.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/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AccessMetric.java b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AccessMetric.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/AccessMetric.java rename to java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AccessMetric.java index f1319ed90125..9b9ab0f9577d 100644 --- a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AccessMetric.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AccessMetric.java @@ -1,9 +1,26 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1beta/access_report.proto package com.google.analytics.admin.v1beta; /** + * + * *
  * The quantitative measurements of a report. For example, the metric
  * `accessCount` is the total number of data access records.
@@ -11,43 +28,48 @@
  *
  * Protobuf type {@code google.analytics.admin.v1beta.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.v1beta.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();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.analytics.admin.v1beta.AccessReportProto.internal_static_google_analytics_admin_v1beta_AccessMetric_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.analytics.admin.v1beta.AccessReportProto
+        .internal_static_google_analytics_admin_v1beta_AccessMetric_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.analytics.admin.v1beta.AccessReportProto.internal_static_google_analytics_admin_v1beta_AccessMetric_fieldAccessorTable
+    return com.google.analytics.admin.v1beta.AccessReportProto
+        .internal_static_google_analytics_admin_v1beta_AccessMetric_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.analytics.admin.v1beta.AccessMetric.class, com.google.analytics.admin.v1beta.AccessMetric.Builder.class);
+            com.google.analytics.admin.v1beta.AccessMetric.class,
+            com.google.analytics.admin.v1beta.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)
@@ -57,6 +79,7 @@ protected java.lang.Object newInstance(
    * 
* * string metric_name = 1; + * * @return The metricName. */ @java.lang.Override @@ -65,14 +88,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)
@@ -82,16 +106,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 { @@ -100,6 +123,7 @@ public java.lang.String getMetricName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -111,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(metricName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, metricName_); } @@ -136,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.AccessMetric)) { return super.equals(obj); } - com.google.analytics.admin.v1beta.AccessMetric other = (com.google.analytics.admin.v1beta.AccessMetric) obj; + com.google.analytics.admin.v1beta.AccessMetric other = + (com.google.analytics.admin.v1beta.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; } @@ -163,99 +186,104 @@ public int hashCode() { return hash; } - public static com.google.analytics.admin.v1beta.AccessMetric parseFrom( - java.nio.ByteBuffer data) + public static com.google.analytics.admin.v1beta.AccessMetric parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1beta.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.v1beta.AccessMetric parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1beta.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.v1beta.AccessMetric parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1beta.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.v1beta.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.v1beta.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.v1beta.AccessMetric parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1beta.AccessMetric parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.analytics.admin.v1beta.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.v1beta.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.v1beta.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.v1beta.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.
@@ -263,33 +291,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.analytics.admin.v1beta.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.v1beta.AccessMetric)
       com.google.analytics.admin.v1beta.AccessMetricOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.analytics.admin.v1beta.AccessReportProto.internal_static_google_analytics_admin_v1beta_AccessMetric_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.analytics.admin.v1beta.AccessReportProto
+          .internal_static_google_analytics_admin_v1beta_AccessMetric_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.analytics.admin.v1beta.AccessReportProto.internal_static_google_analytics_admin_v1beta_AccessMetric_fieldAccessorTable
+      return com.google.analytics.admin.v1beta.AccessReportProto
+          .internal_static_google_analytics_admin_v1beta_AccessMetric_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.analytics.admin.v1beta.AccessMetric.class, com.google.analytics.admin.v1beta.AccessMetric.Builder.class);
+              com.google.analytics.admin.v1beta.AccessMetric.class,
+              com.google.analytics.admin.v1beta.AccessMetric.Builder.class);
     }
 
     // Construct using com.google.analytics.admin.v1beta.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();
@@ -299,9 +326,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.analytics.admin.v1beta.AccessReportProto.internal_static_google_analytics_admin_v1beta_AccessMetric_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.analytics.admin.v1beta.AccessReportProto
+          .internal_static_google_analytics_admin_v1beta_AccessMetric_descriptor;
     }
 
     @java.lang.Override
@@ -320,8 +347,11 @@ public com.google.analytics.admin.v1beta.AccessMetric build() {
 
     @java.lang.Override
     public com.google.analytics.admin.v1beta.AccessMetric buildPartial() {
-      com.google.analytics.admin.v1beta.AccessMetric result = new com.google.analytics.admin.v1beta.AccessMetric(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.analytics.admin.v1beta.AccessMetric result =
+          new com.google.analytics.admin.v1beta.AccessMetric(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -337,38 +367,39 @@ private void buildPartial0(com.google.analytics.admin.v1beta.AccessMetric 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.AccessMetric) {
-        return mergeFrom((com.google.analytics.admin.v1beta.AccessMetric)other);
+        return mergeFrom((com.google.analytics.admin.v1beta.AccessMetric) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -408,17 +439,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) {
@@ -428,10 +461,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 +477,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 +492,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)
@@ -465,15 +503,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 { @@ -481,6 +518,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)
@@ -490,18 +529,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)
@@ -511,6 +554,7 @@ public Builder setMetricName(
      * 
* * string metric_name = 1; + * * @return This builder for chaining. */ public Builder clearMetricName() { @@ -520,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)
@@ -529,21 +575,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); } @@ -553,12 +601,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1beta.AccessMetric) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1beta.AccessMetric) private static final com.google.analytics.admin.v1beta.AccessMetric DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1beta.AccessMetric(); } @@ -567,27 +615,27 @@ public static com.google.analytics.admin.v1beta.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; @@ -602,6 +650,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1beta.AccessMetric 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/AccessMetricHeader.java b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AccessMetricHeader.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/AccessMetricHeader.java rename to java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AccessMetricHeader.java index 925c28e9f246..5e7dee0c8a99 100644 --- a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AccessMetricHeader.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AccessMetricHeader.java @@ -1,9 +1,26 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1beta/access_report.proto package com.google.analytics.admin.v1beta; /** + * + * *
  * Describes a metric column in the report. Visible metrics requested in a
  * report produce column entries within rows and MetricHeaders. However,
@@ -13,48 +30,54 @@
  *
  * Protobuf type {@code google.analytics.admin.v1beta.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.v1beta.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();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.analytics.admin.v1beta.AccessReportProto.internal_static_google_analytics_admin_v1beta_AccessMetricHeader_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.analytics.admin.v1beta.AccessReportProto
+        .internal_static_google_analytics_admin_v1beta_AccessMetricHeader_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.analytics.admin.v1beta.AccessReportProto.internal_static_google_analytics_admin_v1beta_AccessMetricHeader_fieldAccessorTable
+    return com.google.analytics.admin.v1beta.AccessReportProto
+        .internal_static_google_analytics_admin_v1beta_AccessMetricHeader_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.analytics.admin.v1beta.AccessMetricHeader.class, com.google.analytics.admin.v1beta.AccessMetricHeader.Builder.class);
+            com.google.analytics.admin.v1beta.AccessMetricHeader.class,
+            com.google.analytics.admin.v1beta.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 @@ -63,29 +86,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 { @@ -94,6 +117,7 @@ public java.lang.String getMetricName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -105,8 +129,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -130,15 +153,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.AccessMetricHeader)) { return super.equals(obj); } - com.google.analytics.admin.v1beta.AccessMetricHeader other = (com.google.analytics.admin.v1beta.AccessMetricHeader) obj; + com.google.analytics.admin.v1beta.AccessMetricHeader other = + (com.google.analytics.admin.v1beta.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; } @@ -158,98 +181,103 @@ public int hashCode() { } public static com.google.analytics.admin.v1beta.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.v1beta.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.v1beta.AccessMetricHeader parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1beta.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.v1beta.AccessMetricHeader parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1beta.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.v1beta.AccessMetricHeader parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1beta.AccessMetricHeader parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1beta.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.v1beta.AccessMetricHeader parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1beta.AccessMetricHeader parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.analytics.admin.v1beta.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.v1beta.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.v1beta.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.v1beta.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,
@@ -259,33 +287,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.analytics.admin.v1beta.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.v1beta.AccessMetricHeader)
       com.google.analytics.admin.v1beta.AccessMetricHeaderOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.analytics.admin.v1beta.AccessReportProto.internal_static_google_analytics_admin_v1beta_AccessMetricHeader_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.analytics.admin.v1beta.AccessReportProto
+          .internal_static_google_analytics_admin_v1beta_AccessMetricHeader_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.analytics.admin.v1beta.AccessReportProto.internal_static_google_analytics_admin_v1beta_AccessMetricHeader_fieldAccessorTable
+      return com.google.analytics.admin.v1beta.AccessReportProto
+          .internal_static_google_analytics_admin_v1beta_AccessMetricHeader_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.analytics.admin.v1beta.AccessMetricHeader.class, com.google.analytics.admin.v1beta.AccessMetricHeader.Builder.class);
+              com.google.analytics.admin.v1beta.AccessMetricHeader.class,
+              com.google.analytics.admin.v1beta.AccessMetricHeader.Builder.class);
     }
 
     // Construct using com.google.analytics.admin.v1beta.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();
@@ -295,9 +322,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.analytics.admin.v1beta.AccessReportProto.internal_static_google_analytics_admin_v1beta_AccessMetricHeader_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.analytics.admin.v1beta.AccessReportProto
+          .internal_static_google_analytics_admin_v1beta_AccessMetricHeader_descriptor;
     }
 
     @java.lang.Override
@@ -316,8 +343,11 @@ public com.google.analytics.admin.v1beta.AccessMetricHeader build() {
 
     @java.lang.Override
     public com.google.analytics.admin.v1beta.AccessMetricHeader buildPartial() {
-      com.google.analytics.admin.v1beta.AccessMetricHeader result = new com.google.analytics.admin.v1beta.AccessMetricHeader(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.analytics.admin.v1beta.AccessMetricHeader result =
+          new com.google.analytics.admin.v1beta.AccessMetricHeader(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -333,38 +363,39 @@ private void buildPartial0(com.google.analytics.admin.v1beta.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.v1beta.AccessMetricHeader) {
-        return mergeFrom((com.google.analytics.admin.v1beta.AccessMetricHeader)other);
+        return mergeFrom((com.google.analytics.admin.v1beta.AccessMetricHeader) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -372,7 +403,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.analytics.admin.v1beta.AccessMetricHeader other) {
-      if (other == com.google.analytics.admin.v1beta.AccessMetricHeader.getDefaultInstance()) return this;
+      if (other == com.google.analytics.admin.v1beta.AccessMetricHeader.getDefaultInstance())
+        return this;
       if (!other.getMetricName().isEmpty()) {
         metricName_ = other.metricName_;
         bitField0_ |= 0x00000001;
@@ -404,17 +436,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) {
@@ -424,22 +458,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; @@ -448,20 +485,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 { @@ -469,28 +507,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() { @@ -500,26 +545,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); } @@ -529,12 +578,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1beta.AccessMetricHeader) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1beta.AccessMetricHeader) private static final com.google.analytics.admin.v1beta.AccessMetricHeader DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1beta.AccessMetricHeader(); } @@ -543,27 +592,27 @@ public static com.google.analytics.admin.v1beta.AccessMetricHeader getDefaultIns 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; @@ -578,6 +627,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1beta.AccessMetricHeader getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AccessMetricHeaderOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AccessMetricHeaderOrBuilder.java new file mode 100644 index 000000000000..36d0da589e15 --- /dev/null +++ b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AccessMetricHeaderOrBuilder.java @@ -0,0 +1,50 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/analytics/admin/v1beta/access_report.proto + +package com.google.analytics.admin.v1beta; + +public interface AccessMetricHeaderOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1beta.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/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AccessMetricOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AccessMetricOrBuilder.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/AccessMetricOrBuilder.java rename to java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AccessMetricOrBuilder.java index 16a0a01ba706..744fd6ee499f 100644 --- a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AccessMetricOrBuilder.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AccessMetricOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1beta/access_report.proto package com.google.analytics.admin.v1beta; -public interface AccessMetricOrBuilder extends +public interface AccessMetricOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1beta.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)
@@ -17,10 +35,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)
@@ -30,8 +51,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/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AccessMetricValue.java b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AccessMetricValue.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/AccessMetricValue.java rename to java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AccessMetricValue.java index 40b88bab39cd..47255809d73c 100644 --- a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AccessMetricValue.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AccessMetricValue.java @@ -1,57 +1,80 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1beta/access_report.proto package com.google.analytics.admin.v1beta; /** + * + * *
  * The value of a metric.
  * 
* * Protobuf type {@code google.analytics.admin.v1beta.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.v1beta.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(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1beta.AccessReportProto.internal_static_google_analytics_admin_v1beta_AccessMetricValue_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1beta.AccessReportProto + .internal_static_google_analytics_admin_v1beta_AccessMetricValue_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.AccessReportProto.internal_static_google_analytics_admin_v1beta_AccessMetricValue_fieldAccessorTable + return com.google.analytics.admin.v1beta.AccessReportProto + .internal_static_google_analytics_admin_v1beta_AccessMetricValue_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.AccessMetricValue.class, com.google.analytics.admin.v1beta.AccessMetricValue.Builder.class); + com.google.analytics.admin.v1beta.AccessMetricValue.class, + com.google.analytics.admin.v1beta.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 @@ -60,29 +83,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 { @@ -91,6 +114,7 @@ public java.lang.String getValue() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -102,8 +126,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -127,15 +150,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.AccessMetricValue)) { return super.equals(obj); } - com.google.analytics.admin.v1beta.AccessMetricValue other = (com.google.analytics.admin.v1beta.AccessMetricValue) obj; + com.google.analytics.admin.v1beta.AccessMetricValue other = + (com.google.analytics.admin.v1beta.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; } @@ -155,131 +178,135 @@ public int hashCode() { } public static com.google.analytics.admin.v1beta.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.v1beta.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.v1beta.AccessMetricValue parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1beta.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.v1beta.AccessMetricValue parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1beta.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.v1beta.AccessMetricValue parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1beta.AccessMetricValue parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1beta.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.v1beta.AccessMetricValue parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1beta.AccessMetricValue parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.analytics.admin.v1beta.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.v1beta.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.v1beta.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.v1beta.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.v1beta.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.v1beta.AccessMetricValue) com.google.analytics.admin.v1beta.AccessMetricValueOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1beta.AccessReportProto.internal_static_google_analytics_admin_v1beta_AccessMetricValue_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1beta.AccessReportProto + .internal_static_google_analytics_admin_v1beta_AccessMetricValue_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.AccessReportProto.internal_static_google_analytics_admin_v1beta_AccessMetricValue_fieldAccessorTable + return com.google.analytics.admin.v1beta.AccessReportProto + .internal_static_google_analytics_admin_v1beta_AccessMetricValue_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.AccessMetricValue.class, com.google.analytics.admin.v1beta.AccessMetricValue.Builder.class); + com.google.analytics.admin.v1beta.AccessMetricValue.class, + com.google.analytics.admin.v1beta.AccessMetricValue.Builder.class); } // Construct using com.google.analytics.admin.v1beta.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(); @@ -289,9 +316,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.analytics.admin.v1beta.AccessReportProto.internal_static_google_analytics_admin_v1beta_AccessMetricValue_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1beta.AccessReportProto + .internal_static_google_analytics_admin_v1beta_AccessMetricValue_descriptor; } @java.lang.Override @@ -310,8 +337,11 @@ public com.google.analytics.admin.v1beta.AccessMetricValue build() { @java.lang.Override public com.google.analytics.admin.v1beta.AccessMetricValue buildPartial() { - com.google.analytics.admin.v1beta.AccessMetricValue result = new com.google.analytics.admin.v1beta.AccessMetricValue(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.analytics.admin.v1beta.AccessMetricValue result = + new com.google.analytics.admin.v1beta.AccessMetricValue(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -327,38 +357,39 @@ private void buildPartial0(com.google.analytics.admin.v1beta.AccessMetricValue 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.AccessMetricValue) { - return mergeFrom((com.google.analytics.admin.v1beta.AccessMetricValue)other); + return mergeFrom((com.google.analytics.admin.v1beta.AccessMetricValue) other); } else { super.mergeFrom(other); return this; @@ -366,7 +397,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1beta.AccessMetricValue other) { - if (other == com.google.analytics.admin.v1beta.AccessMetricValue.getDefaultInstance()) return this; + if (other == com.google.analytics.admin.v1beta.AccessMetricValue.getDefaultInstance()) + return this; if (!other.getValue().isEmpty()) { value_ = other.value_; bitField0_ |= 0x00000001; @@ -398,17 +430,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) { @@ -418,22 +452,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; @@ -442,20 +479,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 { @@ -463,28 +501,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() { @@ -494,26 +539,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); } @@ -523,12 +572,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1beta.AccessMetricValue) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1beta.AccessMetricValue) private static final com.google.analytics.admin.v1beta.AccessMetricValue DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1beta.AccessMetricValue(); } @@ -537,27 +586,27 @@ public static com.google.analytics.admin.v1beta.AccessMetricValue getDefaultInst 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; @@ -572,6 +621,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1beta.AccessMetricValue getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AccessMetricValueOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AccessMetricValueOrBuilder.java new file mode 100644 index 000000000000..904ab8adf2bd --- /dev/null +++ b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AccessMetricValueOrBuilder.java @@ -0,0 +1,50 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/analytics/admin/v1beta/access_report.proto + +package com.google.analytics.admin.v1beta; + +public interface AccessMetricValueOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1beta.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/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AccessNumericFilter.java b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AccessNumericFilter.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/AccessNumericFilter.java rename to java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AccessNumericFilter.java index a8be99f84b56..eacc043b3f00 100644 --- a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AccessNumericFilter.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AccessNumericFilter.java @@ -1,58 +1,80 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1beta/access_report.proto package com.google.analytics.admin.v1beta; /** + * + * *
  * Filters for numeric or date values.
  * 
* * Protobuf type {@code google.analytics.admin.v1beta.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.v1beta.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(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1beta.AccessReportProto.internal_static_google_analytics_admin_v1beta_AccessNumericFilter_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1beta.AccessReportProto + .internal_static_google_analytics_admin_v1beta_AccessNumericFilter_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.AccessReportProto.internal_static_google_analytics_admin_v1beta_AccessNumericFilter_fieldAccessorTable + return com.google.analytics.admin.v1beta.AccessReportProto + .internal_static_google_analytics_admin_v1beta_AccessNumericFilter_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.AccessNumericFilter.class, com.google.analytics.admin.v1beta.AccessNumericFilter.Builder.class); + com.google.analytics.admin.v1beta.AccessNumericFilter.class, + com.google.analytics.admin.v1beta.AccessNumericFilter.Builder.class); } /** + * + * *
    * The operation applied to a numeric filter.
    * 
* * Protobuf enum {@code google.analytics.admin.v1beta.AccessNumericFilter.Operation} */ - public enum Operation - implements com.google.protobuf.ProtocolMessageEnum { + public enum Operation implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Unspecified.
      * 
@@ -61,6 +83,8 @@ public enum Operation */ OPERATION_UNSPECIFIED(0), /** + * + * *
      * Equal
      * 
@@ -69,6 +93,8 @@ public enum Operation */ EQUAL(1), /** + * + * *
      * Less than
      * 
@@ -77,6 +103,8 @@ public enum Operation */ LESS_THAN(2), /** + * + * *
      * Less than or equal
      * 
@@ -85,6 +113,8 @@ public enum Operation */ LESS_THAN_OR_EQUAL(3), /** + * + * *
      * Greater than
      * 
@@ -93,6 +123,8 @@ public enum Operation */ GREATER_THAN(4), /** + * + * *
      * Greater than or equal
      * 
@@ -104,6 +136,8 @@ public enum Operation ; /** + * + * *
      * Unspecified.
      * 
@@ -112,6 +146,8 @@ public enum Operation */ public static final int OPERATION_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Equal
      * 
@@ -120,6 +156,8 @@ public enum Operation */ public static final int EQUAL_VALUE = 1; /** + * + * *
      * Less than
      * 
@@ -128,6 +166,8 @@ public enum Operation */ public static final int LESS_THAN_VALUE = 2; /** + * + * *
      * Less than or equal
      * 
@@ -136,6 +176,8 @@ public enum Operation */ public static final int LESS_THAN_OR_EQUAL_VALUE = 3; /** + * + * *
      * Greater than
      * 
@@ -144,6 +186,8 @@ public enum Operation */ public static final int GREATER_THAN_VALUE = 4; /** + * + * *
      * Greater than or equal
      * 
@@ -152,7 +196,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( @@ -177,52 +220,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.v1beta.AccessNumericFilter.getDescriptor().getEnumTypes().get(0); + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.analytics.admin.v1beta.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; @@ -242,37 +290,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.v1beta.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.v1beta.AccessNumericFilter.Operation operation = 1; + * * @return The operation. */ - @java.lang.Override public com.google.analytics.admin.v1beta.AccessNumericFilter.Operation getOperation() { - com.google.analytics.admin.v1beta.AccessNumericFilter.Operation result = com.google.analytics.admin.v1beta.AccessNumericFilter.Operation.forNumber(operation_); - return result == null ? com.google.analytics.admin.v1beta.AccessNumericFilter.Operation.UNRECOGNIZED : result; + @java.lang.Override + public com.google.analytics.admin.v1beta.AccessNumericFilter.Operation getOperation() { + com.google.analytics.admin.v1beta.AccessNumericFilter.Operation result = + com.google.analytics.admin.v1beta.AccessNumericFilter.Operation.forNumber(operation_); + return result == null + ? com.google.analytics.admin.v1beta.AccessNumericFilter.Operation.UNRECOGNIZED + : result; } public static final int VALUE_FIELD_NUMBER = 2; private com.google.analytics.admin.v1beta.NumericValue value_; /** + * + * *
    * A numeric value or a date value.
    * 
* * .google.analytics.admin.v1beta.NumericValue value = 2; + * * @return Whether the value field is set. */ @java.lang.Override @@ -280,18 +342,25 @@ public boolean hasValue() { return value_ != null; } /** + * + * *
    * A numeric value or a date value.
    * 
* * .google.analytics.admin.v1beta.NumericValue value = 2; + * * @return The value. */ @java.lang.Override public com.google.analytics.admin.v1beta.NumericValue getValue() { - return value_ == null ? com.google.analytics.admin.v1beta.NumericValue.getDefaultInstance() : value_; + return value_ == null + ? com.google.analytics.admin.v1beta.NumericValue.getDefaultInstance() + : value_; } /** + * + * *
    * A numeric value or a date value.
    * 
@@ -300,10 +369,13 @@ public com.google.analytics.admin.v1beta.NumericValue getValue() { */ @java.lang.Override public com.google.analytics.admin.v1beta.NumericValueOrBuilder getValueOrBuilder() { - return value_ == null ? com.google.analytics.admin.v1beta.NumericValue.getDefaultInstance() : value_; + return value_ == null + ? com.google.analytics.admin.v1beta.NumericValue.getDefaultInstance() + : value_; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -315,9 +387,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.v1beta.AccessNumericFilter.Operation.OPERATION_UNSPECIFIED.getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (operation_ + != com.google.analytics.admin.v1beta.AccessNumericFilter.Operation.OPERATION_UNSPECIFIED + .getNumber()) { output.writeEnum(1, operation_); } if (value_ != null) { @@ -332,13 +405,13 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (operation_ != com.google.analytics.admin.v1beta.AccessNumericFilter.Operation.OPERATION_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(1, operation_); + if (operation_ + != com.google.analytics.admin.v1beta.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; @@ -348,18 +421,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.AccessNumericFilter)) { return super.equals(obj); } - com.google.analytics.admin.v1beta.AccessNumericFilter other = (com.google.analytics.admin.v1beta.AccessNumericFilter) obj; + com.google.analytics.admin.v1beta.AccessNumericFilter other = + (com.google.analytics.admin.v1beta.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; @@ -384,131 +457,136 @@ public int hashCode() { } public static com.google.analytics.admin.v1beta.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.v1beta.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.v1beta.AccessNumericFilter parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1beta.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.v1beta.AccessNumericFilter parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1beta.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.v1beta.AccessNumericFilter parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1beta.AccessNumericFilter parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1beta.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.v1beta.AccessNumericFilter parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1beta.AccessNumericFilter parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.analytics.admin.v1beta.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.v1beta.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.v1beta.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.v1beta.AccessNumericFilter prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1beta.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.v1beta.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.v1beta.AccessNumericFilter) com.google.analytics.admin.v1beta.AccessNumericFilterOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1beta.AccessReportProto.internal_static_google_analytics_admin_v1beta_AccessNumericFilter_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1beta.AccessReportProto + .internal_static_google_analytics_admin_v1beta_AccessNumericFilter_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.AccessReportProto.internal_static_google_analytics_admin_v1beta_AccessNumericFilter_fieldAccessorTable + return com.google.analytics.admin.v1beta.AccessReportProto + .internal_static_google_analytics_admin_v1beta_AccessNumericFilter_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.AccessNumericFilter.class, com.google.analytics.admin.v1beta.AccessNumericFilter.Builder.class); + com.google.analytics.admin.v1beta.AccessNumericFilter.class, + com.google.analytics.admin.v1beta.AccessNumericFilter.Builder.class); } // Construct using com.google.analytics.admin.v1beta.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(); @@ -523,9 +601,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.analytics.admin.v1beta.AccessReportProto.internal_static_google_analytics_admin_v1beta_AccessNumericFilter_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1beta.AccessReportProto + .internal_static_google_analytics_admin_v1beta_AccessNumericFilter_descriptor; } @java.lang.Override @@ -544,8 +622,11 @@ public com.google.analytics.admin.v1beta.AccessNumericFilter build() { @java.lang.Override public com.google.analytics.admin.v1beta.AccessNumericFilter buildPartial() { - com.google.analytics.admin.v1beta.AccessNumericFilter result = new com.google.analytics.admin.v1beta.AccessNumericFilter(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.analytics.admin.v1beta.AccessNumericFilter result = + new com.google.analytics.admin.v1beta.AccessNumericFilter(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -556,9 +637,7 @@ private void buildPartial0(com.google.analytics.admin.v1beta.AccessNumericFilter result.operation_ = operation_; } if (((from_bitField0_ & 0x00000002) != 0)) { - result.value_ = valueBuilder_ == null - ? value_ - : valueBuilder_.build(); + result.value_ = valueBuilder_ == null ? value_ : valueBuilder_.build(); } } @@ -566,38 +645,39 @@ private void buildPartial0(com.google.analytics.admin.v1beta.AccessNumericFilter public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object 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.AccessNumericFilter) { - return mergeFrom((com.google.analytics.admin.v1beta.AccessNumericFilter)other); + return mergeFrom((com.google.analytics.admin.v1beta.AccessNumericFilter) other); } else { super.mergeFrom(other); return this; @@ -605,7 +685,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1beta.AccessNumericFilter other) { - if (other == com.google.analytics.admin.v1beta.AccessNumericFilter.getDefaultInstance()) return this; + if (other == com.google.analytics.admin.v1beta.AccessNumericFilter.getDefaultInstance()) + return this; if (other.operation_ != 0) { setOperationValue(other.getOperationValue()); } @@ -638,24 +719,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) { @@ -665,26 +747,34 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private int operation_ = 0; /** + * + * *
      * The operation type for this filter.
      * 
* * .google.analytics.admin.v1beta.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.v1beta.AccessNumericFilter.Operation operation = 1; + * * @param value The enum numeric value on the wire for operation to set. * @return This builder for chaining. */ @@ -695,28 +785,38 @@ public Builder setOperationValue(int value) { return this; } /** + * + * *
      * The operation type for this filter.
      * 
* * .google.analytics.admin.v1beta.AccessNumericFilter.Operation operation = 1; + * * @return The operation. */ @java.lang.Override public com.google.analytics.admin.v1beta.AccessNumericFilter.Operation getOperation() { - com.google.analytics.admin.v1beta.AccessNumericFilter.Operation result = com.google.analytics.admin.v1beta.AccessNumericFilter.Operation.forNumber(operation_); - return result == null ? com.google.analytics.admin.v1beta.AccessNumericFilter.Operation.UNRECOGNIZED : result; + com.google.analytics.admin.v1beta.AccessNumericFilter.Operation result = + com.google.analytics.admin.v1beta.AccessNumericFilter.Operation.forNumber(operation_); + return result == null + ? com.google.analytics.admin.v1beta.AccessNumericFilter.Operation.UNRECOGNIZED + : result; } /** + * + * *
      * The operation type for this filter.
      * 
* * .google.analytics.admin.v1beta.AccessNumericFilter.Operation operation = 1; + * * @param value The operation to set. * @return This builder for chaining. */ - public Builder setOperation(com.google.analytics.admin.v1beta.AccessNumericFilter.Operation value) { + public Builder setOperation( + com.google.analytics.admin.v1beta.AccessNumericFilter.Operation value) { if (value == null) { throw new NullPointerException(); } @@ -726,11 +826,14 @@ public Builder setOperation(com.google.analytics.admin.v1beta.AccessNumericFilte return this; } /** + * + * *
      * The operation type for this filter.
      * 
* * .google.analytics.admin.v1beta.AccessNumericFilter.Operation operation = 1; + * * @return This builder for chaining. */ public Builder clearOperation() { @@ -742,34 +845,47 @@ public Builder clearOperation() { private com.google.analytics.admin.v1beta.NumericValue value_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1beta.NumericValue, com.google.analytics.admin.v1beta.NumericValue.Builder, com.google.analytics.admin.v1beta.NumericValueOrBuilder> valueBuilder_; + com.google.analytics.admin.v1beta.NumericValue, + com.google.analytics.admin.v1beta.NumericValue.Builder, + com.google.analytics.admin.v1beta.NumericValueOrBuilder> + valueBuilder_; /** + * + * *
      * A numeric value or a date value.
      * 
* * .google.analytics.admin.v1beta.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.v1beta.NumericValue value = 2; + * * @return The value. */ public com.google.analytics.admin.v1beta.NumericValue getValue() { if (valueBuilder_ == null) { - return value_ == null ? com.google.analytics.admin.v1beta.NumericValue.getDefaultInstance() : value_; + return value_ == null + ? com.google.analytics.admin.v1beta.NumericValue.getDefaultInstance() + : value_; } else { return valueBuilder_.getMessage(); } } /** + * + * *
      * A numeric value or a date value.
      * 
@@ -790,6 +906,8 @@ public Builder setValue(com.google.analytics.admin.v1beta.NumericValue value) { return this; } /** + * + * *
      * A numeric value or a date value.
      * 
@@ -808,6 +926,8 @@ public Builder setValue( return this; } /** + * + * *
      * A numeric value or a date value.
      * 
@@ -816,9 +936,9 @@ public Builder setValue( */ public Builder mergeValue(com.google.analytics.admin.v1beta.NumericValue value) { if (valueBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) && - value_ != null && - value_ != com.google.analytics.admin.v1beta.NumericValue.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) + && value_ != null + && value_ != com.google.analytics.admin.v1beta.NumericValue.getDefaultInstance()) { getValueBuilder().mergeFrom(value); } else { value_ = value; @@ -831,6 +951,8 @@ public Builder mergeValue(com.google.analytics.admin.v1beta.NumericValue value) return this; } /** + * + * *
      * A numeric value or a date value.
      * 
@@ -848,6 +970,8 @@ public Builder clearValue() { return this; } /** + * + * *
      * A numeric value or a date value.
      * 
@@ -860,6 +984,8 @@ public com.google.analytics.admin.v1beta.NumericValue.Builder getValueBuilder() return getValueFieldBuilder().getBuilder(); } /** + * + * *
      * A numeric value or a date value.
      * 
@@ -870,11 +996,14 @@ public com.google.analytics.admin.v1beta.NumericValueOrBuilder getValueOrBuilder if (valueBuilder_ != null) { return valueBuilder_.getMessageOrBuilder(); } else { - return value_ == null ? - com.google.analytics.admin.v1beta.NumericValue.getDefaultInstance() : value_; + return value_ == null + ? com.google.analytics.admin.v1beta.NumericValue.getDefaultInstance() + : value_; } } /** + * + * *
      * A numeric value or a date value.
      * 
@@ -882,21 +1011,24 @@ public com.google.analytics.admin.v1beta.NumericValueOrBuilder getValueOrBuilder * .google.analytics.admin.v1beta.NumericValue value = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1beta.NumericValue, com.google.analytics.admin.v1beta.NumericValue.Builder, com.google.analytics.admin.v1beta.NumericValueOrBuilder> + com.google.analytics.admin.v1beta.NumericValue, + com.google.analytics.admin.v1beta.NumericValue.Builder, + com.google.analytics.admin.v1beta.NumericValueOrBuilder> getValueFieldBuilder() { if (valueBuilder_ == null) { - valueBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1beta.NumericValue, com.google.analytics.admin.v1beta.NumericValue.Builder, com.google.analytics.admin.v1beta.NumericValueOrBuilder>( - getValue(), - getParentForChildren(), - isClean()); + valueBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1beta.NumericValue, + com.google.analytics.admin.v1beta.NumericValue.Builder, + com.google.analytics.admin.v1beta.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); } @@ -906,12 +1038,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1beta.AccessNumericFilter) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1beta.AccessNumericFilter) private static final com.google.analytics.admin.v1beta.AccessNumericFilter DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1beta.AccessNumericFilter(); } @@ -920,27 +1052,27 @@ public static com.google.analytics.admin.v1beta.AccessNumericFilter getDefaultIn 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; @@ -955,6 +1087,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1beta.AccessNumericFilter 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/AccessNumericFilterOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AccessNumericFilterOrBuilder.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/AccessNumericFilterOrBuilder.java rename to java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AccessNumericFilterOrBuilder.java index e05ea52f14ee..1b5f47d845d6 100644 --- a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AccessNumericFilterOrBuilder.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AccessNumericFilterOrBuilder.java @@ -1,50 +1,80 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1beta/access_report.proto package com.google.analytics.admin.v1beta; -public interface AccessNumericFilterOrBuilder extends +public interface AccessNumericFilterOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1beta.AccessNumericFilter) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The operation type for this filter.
    * 
* * .google.analytics.admin.v1beta.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.v1beta.AccessNumericFilter.Operation operation = 1; + * * @return The operation. */ com.google.analytics.admin.v1beta.AccessNumericFilter.Operation getOperation(); /** + * + * *
    * A numeric value or a date value.
    * 
* * .google.analytics.admin.v1beta.NumericValue value = 2; + * * @return Whether the value field is set. */ boolean hasValue(); /** + * + * *
    * A numeric value or a date value.
    * 
* * .google.analytics.admin.v1beta.NumericValue value = 2; + * * @return The value. */ com.google.analytics.admin.v1beta.NumericValue getValue(); /** + * + * *
    * A numeric value or a date value.
    * 
diff --git a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AccessOrderBy.java b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AccessOrderBy.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/AccessOrderBy.java rename to java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AccessOrderBy.java index c6e79adae06e..cca7a2e8cb1b 100644 --- a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AccessOrderBy.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AccessOrderBy.java @@ -1,9 +1,26 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1beta/access_report.proto package com.google.analytics.admin.v1beta; /** + * + * *
  * 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,111 +29,126 @@
  *
  * Protobuf type {@code google.analytics.admin.v1beta.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.v1beta.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();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.analytics.admin.v1beta.AccessReportProto.internal_static_google_analytics_admin_v1beta_AccessOrderBy_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.analytics.admin.v1beta.AccessReportProto
+        .internal_static_google_analytics_admin_v1beta_AccessOrderBy_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.analytics.admin.v1beta.AccessReportProto.internal_static_google_analytics_admin_v1beta_AccessOrderBy_fieldAccessorTable
+    return com.google.analytics.admin.v1beta.AccessReportProto
+        .internal_static_google_analytics_admin_v1beta_AccessOrderBy_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.analytics.admin.v1beta.AccessOrderBy.class, com.google.analytics.admin.v1beta.AccessOrderBy.Builder.class);
+            com.google.analytics.admin.v1beta.AccessOrderBy.class,
+            com.google.analytics.admin.v1beta.AccessOrderBy.Builder.class);
   }
 
-  public interface MetricOrderByOrBuilder extends
+  public interface MetricOrderByOrBuilder
+      extends
       // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1beta.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.v1beta.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.v1beta.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(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1beta.AccessReportProto.internal_static_google_analytics_admin_v1beta_AccessOrderBy_MetricOrderBy_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1beta.AccessReportProto + .internal_static_google_analytics_admin_v1beta_AccessOrderBy_MetricOrderBy_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.AccessReportProto.internal_static_google_analytics_admin_v1beta_AccessOrderBy_MetricOrderBy_fieldAccessorTable + return com.google.analytics.admin.v1beta.AccessReportProto + .internal_static_google_analytics_admin_v1beta_AccessOrderBy_MetricOrderBy_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.AccessOrderBy.MetricOrderBy.class, com.google.analytics.admin.v1beta.AccessOrderBy.MetricOrderBy.Builder.class); + com.google.analytics.admin.v1beta.AccessOrderBy.MetricOrderBy.class, + com.google.analytics.admin.v1beta.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 @@ -125,29 +157,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 { @@ -156,6 +188,7 @@ public java.lang.String getMetricName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -167,8 +200,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -192,15 +224,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.AccessOrderBy.MetricOrderBy)) { return super.equals(obj); } - com.google.analytics.admin.v1beta.AccessOrderBy.MetricOrderBy other = (com.google.analytics.admin.v1beta.AccessOrderBy.MetricOrderBy) obj; + com.google.analytics.admin.v1beta.AccessOrderBy.MetricOrderBy other = + (com.google.analytics.admin.v1beta.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; } @@ -220,89 +252,94 @@ public int hashCode() { } public static com.google.analytics.admin.v1beta.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.v1beta.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.v1beta.AccessOrderBy.MetricOrderBy parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1beta.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.v1beta.AccessOrderBy.MetricOrderBy parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.analytics.admin.v1beta.AccessOrderBy.MetricOrderBy parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1beta.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.v1beta.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.v1beta.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.v1beta.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.v1beta.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.v1beta.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.v1beta.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.v1beta.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.v1beta.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.v1beta.AccessOrderBy.MetricOrderBy prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1beta.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 @@ -312,39 +349,41 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Sorts by metric values.
      * 
* * Protobuf type {@code google.analytics.admin.v1beta.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.v1beta.AccessOrderBy.MetricOrderBy) com.google.analytics.admin.v1beta.AccessOrderBy.MetricOrderByOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1beta.AccessReportProto.internal_static_google_analytics_admin_v1beta_AccessOrderBy_MetricOrderBy_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1beta.AccessReportProto + .internal_static_google_analytics_admin_v1beta_AccessOrderBy_MetricOrderBy_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.AccessReportProto.internal_static_google_analytics_admin_v1beta_AccessOrderBy_MetricOrderBy_fieldAccessorTable + return com.google.analytics.admin.v1beta.AccessReportProto + .internal_static_google_analytics_admin_v1beta_AccessOrderBy_MetricOrderBy_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.AccessOrderBy.MetricOrderBy.class, com.google.analytics.admin.v1beta.AccessOrderBy.MetricOrderBy.Builder.class); + com.google.analytics.admin.v1beta.AccessOrderBy.MetricOrderBy.class, + com.google.analytics.admin.v1beta.AccessOrderBy.MetricOrderBy.Builder.class); } // Construct using com.google.analytics.admin.v1beta.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(); @@ -354,13 +393,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.analytics.admin.v1beta.AccessReportProto.internal_static_google_analytics_admin_v1beta_AccessOrderBy_MetricOrderBy_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1beta.AccessReportProto + .internal_static_google_analytics_admin_v1beta_AccessOrderBy_MetricOrderBy_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1beta.AccessOrderBy.MetricOrderBy getDefaultInstanceForType() { + public com.google.analytics.admin.v1beta.AccessOrderBy.MetricOrderBy + getDefaultInstanceForType() { return com.google.analytics.admin.v1beta.AccessOrderBy.MetricOrderBy.getDefaultInstance(); } @@ -375,13 +415,17 @@ public com.google.analytics.admin.v1beta.AccessOrderBy.MetricOrderBy build() { @java.lang.Override public com.google.analytics.admin.v1beta.AccessOrderBy.MetricOrderBy buildPartial() { - com.google.analytics.admin.v1beta.AccessOrderBy.MetricOrderBy result = new com.google.analytics.admin.v1beta.AccessOrderBy.MetricOrderBy(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.analytics.admin.v1beta.AccessOrderBy.MetricOrderBy result = + new com.google.analytics.admin.v1beta.AccessOrderBy.MetricOrderBy(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.analytics.admin.v1beta.AccessOrderBy.MetricOrderBy result) { + private void buildPartial0( + com.google.analytics.admin.v1beta.AccessOrderBy.MetricOrderBy result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.metricName_ = metricName_; @@ -392,46 +436,52 @@ private void buildPartial0(com.google.analytics.admin.v1beta.AccessOrderBy.Metri public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.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.AccessOrderBy.MetricOrderBy) { - return mergeFrom((com.google.analytics.admin.v1beta.AccessOrderBy.MetricOrderBy)other); + return mergeFrom((com.google.analytics.admin.v1beta.AccessOrderBy.MetricOrderBy) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.analytics.admin.v1beta.AccessOrderBy.MetricOrderBy other) { - if (other == com.google.analytics.admin.v1beta.AccessOrderBy.MetricOrderBy.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.analytics.admin.v1beta.AccessOrderBy.MetricOrderBy other) { + if (other + == com.google.analytics.admin.v1beta.AccessOrderBy.MetricOrderBy.getDefaultInstance()) + return this; if (!other.getMetricName().isEmpty()) { metricName_ = other.metricName_; bitField0_ |= 0x00000001; @@ -463,17 +513,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) { @@ -483,22 +535,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; @@ -507,20 +562,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 { @@ -528,28 +584,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() { @@ -559,23 +622,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) { @@ -588,41 +656,44 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1beta.AccessOrderBy.MetricOrderBy) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1beta.AccessOrderBy.MetricOrderBy) - private static final com.google.analytics.admin.v1beta.AccessOrderBy.MetricOrderBy DEFAULT_INSTANCE; + private static final com.google.analytics.admin.v1beta.AccessOrderBy.MetricOrderBy + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1beta.AccessOrderBy.MetricOrderBy(); } - public static com.google.analytics.admin.v1beta.AccessOrderBy.MetricOrderBy getDefaultInstance() { + public static com.google.analytics.admin.v1beta.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; @@ -634,71 +705,88 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.analytics.admin.v1beta.AccessOrderBy.MetricOrderBy getDefaultInstanceForType() { + public com.google.analytics.admin.v1beta.AccessOrderBy.MetricOrderBy + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface DimensionOrderByOrBuilder extends + public interface DimensionOrderByOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1beta.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.v1beta.AccessOrderBy.DimensionOrderBy.OrderType order_type = 2; + * .google.analytics.admin.v1beta.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.v1beta.AccessOrderBy.DimensionOrderBy.OrderType order_type = 2; + * .google.analytics.admin.v1beta.AccessOrderBy.DimensionOrderBy.OrderType order_type = 2; + * + * * @return The orderType. */ com.google.analytics.admin.v1beta.AccessOrderBy.DimensionOrderBy.OrderType getOrderType(); } /** + * + * *
    * Sorts by dimension values.
    * 
* * Protobuf type {@code google.analytics.admin.v1beta.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.v1beta.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; @@ -706,34 +794,38 @@ private DimensionOrderBy() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DimensionOrderBy(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1beta.AccessReportProto.internal_static_google_analytics_admin_v1beta_AccessOrderBy_DimensionOrderBy_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1beta.AccessReportProto + .internal_static_google_analytics_admin_v1beta_AccessOrderBy_DimensionOrderBy_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.AccessReportProto.internal_static_google_analytics_admin_v1beta_AccessOrderBy_DimensionOrderBy_fieldAccessorTable + return com.google.analytics.admin.v1beta.AccessReportProto + .internal_static_google_analytics_admin_v1beta_AccessOrderBy_DimensionOrderBy_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.AccessOrderBy.DimensionOrderBy.class, com.google.analytics.admin.v1beta.AccessOrderBy.DimensionOrderBy.Builder.class); + com.google.analytics.admin.v1beta.AccessOrderBy.DimensionOrderBy.class, + com.google.analytics.admin.v1beta.AccessOrderBy.DimensionOrderBy.Builder.class); } /** + * + * *
      * Rule to order the string dimension values by.
      * 
* * Protobuf enum {@code google.analytics.admin.v1beta.AccessOrderBy.DimensionOrderBy.OrderType} */ - public enum OrderType - implements com.google.protobuf.ProtocolMessageEnum { + public enum OrderType implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
        * Unspecified.
        * 
@@ -742,6 +834,8 @@ public enum OrderType */ ORDER_TYPE_UNSPECIFIED(0), /** + * + * *
        * Alphanumeric sort by Unicode code point. For example, "2" < "A" < "X" <
        * "b" < "z".
@@ -751,6 +845,8 @@ public enum OrderType
        */
       ALPHANUMERIC(1),
       /**
+       *
+       *
        * 
        * Case insensitive alphanumeric sort by lower case Unicode code point.
        * For example, "2" < "A" < "b" < "X" < "z".
@@ -760,6 +856,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" <
@@ -774,6 +872,8 @@ public enum OrderType
       ;
 
       /**
+       *
+       *
        * 
        * Unspecified.
        * 
@@ -782,6 +882,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".
@@ -791,6 +893,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".
@@ -800,6 +904,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" <
@@ -811,7 +917,6 @@ public enum OrderType
        */
       public static final int NUMERIC_VALUE = 3;
 
-
       public final int getNumber() {
         if (this == UNRECOGNIZED) {
           throw new java.lang.IllegalArgumentException(
@@ -836,50 +941,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.v1beta.AccessOrderBy.DimensionOrderBy.getDescriptor().getEnumTypes().get(0);
+
+      public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+        return com.google.analytics.admin.v1beta.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;
@@ -897,14 +1005,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 @@ -913,29 +1025,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 { @@ -946,30 +1058,46 @@ 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.v1beta.AccessOrderBy.DimensionOrderBy.OrderType order_type = 2; + * .google.analytics.admin.v1beta.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.v1beta.AccessOrderBy.DimensionOrderBy.OrderType order_type = 2; + * .google.analytics.admin.v1beta.AccessOrderBy.DimensionOrderBy.OrderType order_type = 2; + * + * * @return The orderType. */ - @java.lang.Override public com.google.analytics.admin.v1beta.AccessOrderBy.DimensionOrderBy.OrderType getOrderType() { - com.google.analytics.admin.v1beta.AccessOrderBy.DimensionOrderBy.OrderType result = com.google.analytics.admin.v1beta.AccessOrderBy.DimensionOrderBy.OrderType.forNumber(orderType_); - return result == null ? com.google.analytics.admin.v1beta.AccessOrderBy.DimensionOrderBy.OrderType.UNRECOGNIZED : result; + @java.lang.Override + public com.google.analytics.admin.v1beta.AccessOrderBy.DimensionOrderBy.OrderType + getOrderType() { + com.google.analytics.admin.v1beta.AccessOrderBy.DimensionOrderBy.OrderType result = + com.google.analytics.admin.v1beta.AccessOrderBy.DimensionOrderBy.OrderType.forNumber( + orderType_); + return result == null + ? com.google.analytics.admin.v1beta.AccessOrderBy.DimensionOrderBy.OrderType.UNRECOGNIZED + : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -981,12 +1109,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.v1beta.AccessOrderBy.DimensionOrderBy.OrderType.ORDER_TYPE_UNSPECIFIED.getNumber()) { + if (orderType_ + != com.google.analytics.admin.v1beta.AccessOrderBy.DimensionOrderBy.OrderType + .ORDER_TYPE_UNSPECIFIED + .getNumber()) { output.writeEnum(2, orderType_); } getUnknownFields().writeTo(output); @@ -1001,9 +1131,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.v1beta.AccessOrderBy.DimensionOrderBy.OrderType.ORDER_TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(2, orderType_); + if (orderType_ + != com.google.analytics.admin.v1beta.AccessOrderBy.DimensionOrderBy.OrderType + .ORDER_TYPE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, orderType_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1013,15 +1145,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.AccessOrderBy.DimensionOrderBy)) { return super.equals(obj); } - com.google.analytics.admin.v1beta.AccessOrderBy.DimensionOrderBy other = (com.google.analytics.admin.v1beta.AccessOrderBy.DimensionOrderBy) obj; + com.google.analytics.admin.v1beta.AccessOrderBy.DimensionOrderBy other = + (com.google.analytics.admin.v1beta.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; @@ -1044,89 +1176,95 @@ public int hashCode() { } public static com.google.analytics.admin.v1beta.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.v1beta.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.v1beta.AccessOrderBy.DimensionOrderBy parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1beta.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.v1beta.AccessOrderBy.DimensionOrderBy parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.analytics.admin.v1beta.AccessOrderBy.DimensionOrderBy parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1beta.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.v1beta.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.v1beta.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.v1beta.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.v1beta.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.v1beta.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.v1beta.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.v1beta.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.v1beta.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.v1beta.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.v1beta.AccessOrderBy.DimensionOrderBy prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1beta.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 @@ -1136,39 +1274,42 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Sorts by dimension values.
      * 
* * Protobuf type {@code google.analytics.admin.v1beta.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.v1beta.AccessOrderBy.DimensionOrderBy) com.google.analytics.admin.v1beta.AccessOrderBy.DimensionOrderByOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1beta.AccessReportProto.internal_static_google_analytics_admin_v1beta_AccessOrderBy_DimensionOrderBy_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1beta.AccessReportProto + .internal_static_google_analytics_admin_v1beta_AccessOrderBy_DimensionOrderBy_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.AccessReportProto.internal_static_google_analytics_admin_v1beta_AccessOrderBy_DimensionOrderBy_fieldAccessorTable + return com.google.analytics.admin.v1beta.AccessReportProto + .internal_static_google_analytics_admin_v1beta_AccessOrderBy_DimensionOrderBy_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.AccessOrderBy.DimensionOrderBy.class, com.google.analytics.admin.v1beta.AccessOrderBy.DimensionOrderBy.Builder.class); + com.google.analytics.admin.v1beta.AccessOrderBy.DimensionOrderBy.class, + com.google.analytics.admin.v1beta.AccessOrderBy.DimensionOrderBy.Builder.class); } - // Construct using com.google.analytics.admin.v1beta.AccessOrderBy.DimensionOrderBy.newBuilder() - private Builder() { - - } + // Construct using + // com.google.analytics.admin.v1beta.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(); @@ -1179,14 +1320,16 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.analytics.admin.v1beta.AccessReportProto.internal_static_google_analytics_admin_v1beta_AccessOrderBy_DimensionOrderBy_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1beta.AccessReportProto + .internal_static_google_analytics_admin_v1beta_AccessOrderBy_DimensionOrderBy_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1beta.AccessOrderBy.DimensionOrderBy getDefaultInstanceForType() { - return com.google.analytics.admin.v1beta.AccessOrderBy.DimensionOrderBy.getDefaultInstance(); + public com.google.analytics.admin.v1beta.AccessOrderBy.DimensionOrderBy + getDefaultInstanceForType() { + return com.google.analytics.admin.v1beta.AccessOrderBy.DimensionOrderBy + .getDefaultInstance(); } @java.lang.Override @@ -1200,13 +1343,17 @@ public com.google.analytics.admin.v1beta.AccessOrderBy.DimensionOrderBy build() @java.lang.Override public com.google.analytics.admin.v1beta.AccessOrderBy.DimensionOrderBy buildPartial() { - com.google.analytics.admin.v1beta.AccessOrderBy.DimensionOrderBy result = new com.google.analytics.admin.v1beta.AccessOrderBy.DimensionOrderBy(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.analytics.admin.v1beta.AccessOrderBy.DimensionOrderBy result = + new com.google.analytics.admin.v1beta.AccessOrderBy.DimensionOrderBy(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.analytics.admin.v1beta.AccessOrderBy.DimensionOrderBy result) { + private void buildPartial0( + com.google.analytics.admin.v1beta.AccessOrderBy.DimensionOrderBy result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.dimensionName_ = dimensionName_; @@ -1220,46 +1367,53 @@ private void buildPartial0(com.google.analytics.admin.v1beta.AccessOrderBy.Dimen public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.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.AccessOrderBy.DimensionOrderBy) { - return mergeFrom((com.google.analytics.admin.v1beta.AccessOrderBy.DimensionOrderBy)other); + return mergeFrom( + (com.google.analytics.admin.v1beta.AccessOrderBy.DimensionOrderBy) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.analytics.admin.v1beta.AccessOrderBy.DimensionOrderBy other) { - if (other == com.google.analytics.admin.v1beta.AccessOrderBy.DimensionOrderBy.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.analytics.admin.v1beta.AccessOrderBy.DimensionOrderBy other) { + if (other + == com.google.analytics.admin.v1beta.AccessOrderBy.DimensionOrderBy + .getDefaultInstance()) return this; if (!other.getDimensionName().isEmpty()) { dimensionName_ = other.dimensionName_; bitField0_ |= 0x00000001; @@ -1294,22 +1448,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) { @@ -1319,22 +1476,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; @@ -1343,20 +1503,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 { @@ -1364,28 +1525,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() { @@ -1395,17 +1563,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; @@ -1415,22 +1587,33 @@ public Builder setDimensionNameBytes( private int orderType_ = 0; /** + * + * *
        * Controls the rule for dimension value ordering.
        * 
* - * .google.analytics.admin.v1beta.AccessOrderBy.DimensionOrderBy.OrderType order_type = 2; + * + * .google.analytics.admin.v1beta.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.v1beta.AccessOrderBy.DimensionOrderBy.OrderType order_type = 2; + * + * .google.analytics.admin.v1beta.AccessOrderBy.DimensionOrderBy.OrderType order_type = 2; + * + * * @param value The enum numeric value on the wire for orderType to set. * @return This builder for chaining. */ @@ -1441,28 +1624,45 @@ public Builder setOrderTypeValue(int value) { return this; } /** + * + * *
        * Controls the rule for dimension value ordering.
        * 
* - * .google.analytics.admin.v1beta.AccessOrderBy.DimensionOrderBy.OrderType order_type = 2; + * + * .google.analytics.admin.v1beta.AccessOrderBy.DimensionOrderBy.OrderType order_type = 2; + * + * * @return The orderType. */ @java.lang.Override - public com.google.analytics.admin.v1beta.AccessOrderBy.DimensionOrderBy.OrderType getOrderType() { - com.google.analytics.admin.v1beta.AccessOrderBy.DimensionOrderBy.OrderType result = com.google.analytics.admin.v1beta.AccessOrderBy.DimensionOrderBy.OrderType.forNumber(orderType_); - return result == null ? com.google.analytics.admin.v1beta.AccessOrderBy.DimensionOrderBy.OrderType.UNRECOGNIZED : result; + public com.google.analytics.admin.v1beta.AccessOrderBy.DimensionOrderBy.OrderType + getOrderType() { + com.google.analytics.admin.v1beta.AccessOrderBy.DimensionOrderBy.OrderType result = + com.google.analytics.admin.v1beta.AccessOrderBy.DimensionOrderBy.OrderType.forNumber( + orderType_); + return result == null + ? com.google.analytics.admin.v1beta.AccessOrderBy.DimensionOrderBy.OrderType + .UNRECOGNIZED + : result; } /** + * + * *
        * Controls the rule for dimension value ordering.
        * 
* - * .google.analytics.admin.v1beta.AccessOrderBy.DimensionOrderBy.OrderType order_type = 2; + * + * .google.analytics.admin.v1beta.AccessOrderBy.DimensionOrderBy.OrderType order_type = 2; + * + * * @param value The orderType to set. * @return This builder for chaining. */ - public Builder setOrderType(com.google.analytics.admin.v1beta.AccessOrderBy.DimensionOrderBy.OrderType value) { + public Builder setOrderType( + com.google.analytics.admin.v1beta.AccessOrderBy.DimensionOrderBy.OrderType value) { if (value == null) { throw new NullPointerException(); } @@ -1472,11 +1672,16 @@ public Builder setOrderType(com.google.analytics.admin.v1beta.AccessOrderBy.Dime return this; } /** + * + * *
        * Controls the rule for dimension value ordering.
        * 
* - * .google.analytics.admin.v1beta.AccessOrderBy.DimensionOrderBy.OrderType order_type = 2; + * + * .google.analytics.admin.v1beta.AccessOrderBy.DimensionOrderBy.OrderType order_type = 2; + * + * * @return This builder for chaining. */ public Builder clearOrderType() { @@ -1485,6 +1690,7 @@ public Builder clearOrderType() { onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1497,41 +1703,44 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1beta.AccessOrderBy.DimensionOrderBy) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1beta.AccessOrderBy.DimensionOrderBy) - private static final com.google.analytics.admin.v1beta.AccessOrderBy.DimensionOrderBy DEFAULT_INSTANCE; + private static final com.google.analytics.admin.v1beta.AccessOrderBy.DimensionOrderBy + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1beta.AccessOrderBy.DimensionOrderBy(); } - public static com.google.analytics.admin.v1beta.AccessOrderBy.DimensionOrderBy getDefaultInstance() { + public static com.google.analytics.admin.v1beta.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; @@ -1543,22 +1752,26 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.analytics.admin.v1beta.AccessOrderBy.DimensionOrderBy getDefaultInstanceForType() { + public com.google.analytics.admin.v1beta.AccessOrderBy.DimensionOrderBy + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } private int oneOrderByCase_ = 0; + @SuppressWarnings("serial") 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; } @@ -1574,30 +1787,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.v1beta.AccessOrderBy.MetricOrderBy metric = 1; + * * @return Whether the metric field is set. */ @java.lang.Override @@ -1605,21 +1824,26 @@ public boolean hasMetric() { return oneOrderByCase_ == 1; } /** + * + * *
    * Sorts results by a metric's values.
    * 
* * .google.analytics.admin.v1beta.AccessOrderBy.MetricOrderBy metric = 1; + * * @return The metric. */ @java.lang.Override public com.google.analytics.admin.v1beta.AccessOrderBy.MetricOrderBy getMetric() { if (oneOrderByCase_ == 1) { - return (com.google.analytics.admin.v1beta.AccessOrderBy.MetricOrderBy) oneOrderBy_; + return (com.google.analytics.admin.v1beta.AccessOrderBy.MetricOrderBy) oneOrderBy_; } return com.google.analytics.admin.v1beta.AccessOrderBy.MetricOrderBy.getDefaultInstance(); } /** + * + * *
    * Sorts results by a metric's values.
    * 
@@ -1627,20 +1851,24 @@ public com.google.analytics.admin.v1beta.AccessOrderBy.MetricOrderBy getMetric() * .google.analytics.admin.v1beta.AccessOrderBy.MetricOrderBy metric = 1; */ @java.lang.Override - public com.google.analytics.admin.v1beta.AccessOrderBy.MetricOrderByOrBuilder getMetricOrBuilder() { + public com.google.analytics.admin.v1beta.AccessOrderBy.MetricOrderByOrBuilder + getMetricOrBuilder() { if (oneOrderByCase_ == 1) { - return (com.google.analytics.admin.v1beta.AccessOrderBy.MetricOrderBy) oneOrderBy_; + return (com.google.analytics.admin.v1beta.AccessOrderBy.MetricOrderBy) oneOrderBy_; } return com.google.analytics.admin.v1beta.AccessOrderBy.MetricOrderBy.getDefaultInstance(); } public static final int DIMENSION_FIELD_NUMBER = 2; /** + * + * *
    * Sorts results by a dimension's values.
    * 
* * .google.analytics.admin.v1beta.AccessOrderBy.DimensionOrderBy dimension = 2; + * * @return Whether the dimension field is set. */ @java.lang.Override @@ -1648,21 +1876,26 @@ public boolean hasDimension() { return oneOrderByCase_ == 2; } /** + * + * *
    * Sorts results by a dimension's values.
    * 
* * .google.analytics.admin.v1beta.AccessOrderBy.DimensionOrderBy dimension = 2; + * * @return The dimension. */ @java.lang.Override public com.google.analytics.admin.v1beta.AccessOrderBy.DimensionOrderBy getDimension() { if (oneOrderByCase_ == 2) { - return (com.google.analytics.admin.v1beta.AccessOrderBy.DimensionOrderBy) oneOrderBy_; + return (com.google.analytics.admin.v1beta.AccessOrderBy.DimensionOrderBy) oneOrderBy_; } return com.google.analytics.admin.v1beta.AccessOrderBy.DimensionOrderBy.getDefaultInstance(); } /** + * + * *
    * Sorts results by a dimension's values.
    * 
@@ -1670,9 +1903,10 @@ public com.google.analytics.admin.v1beta.AccessOrderBy.DimensionOrderBy getDimen * .google.analytics.admin.v1beta.AccessOrderBy.DimensionOrderBy dimension = 2; */ @java.lang.Override - public com.google.analytics.admin.v1beta.AccessOrderBy.DimensionOrderByOrBuilder getDimensionOrBuilder() { + public com.google.analytics.admin.v1beta.AccessOrderBy.DimensionOrderByOrBuilder + getDimensionOrBuilder() { if (oneOrderByCase_ == 2) { - return (com.google.analytics.admin.v1beta.AccessOrderBy.DimensionOrderBy) oneOrderBy_; + return (com.google.analytics.admin.v1beta.AccessOrderBy.DimensionOrderBy) oneOrderBy_; } return com.google.analytics.admin.v1beta.AccessOrderBy.DimensionOrderBy.getDefaultInstance(); } @@ -1680,12 +1914,15 @@ public com.google.analytics.admin.v1beta.AccessOrderBy.DimensionOrderByOrBuilder 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 @@ -1694,6 +1931,7 @@ public boolean getDesc() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1705,13 +1943,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.v1beta.AccessOrderBy.MetricOrderBy) oneOrderBy_); + output.writeMessage( + 1, (com.google.analytics.admin.v1beta.AccessOrderBy.MetricOrderBy) oneOrderBy_); } if (oneOrderByCase_ == 2) { - output.writeMessage(2, (com.google.analytics.admin.v1beta.AccessOrderBy.DimensionOrderBy) oneOrderBy_); + output.writeMessage( + 2, (com.google.analytics.admin.v1beta.AccessOrderBy.DimensionOrderBy) oneOrderBy_); } if (desc_ != false) { output.writeBool(3, desc_); @@ -1726,16 +1965,17 @@ public int getSerializedSize() { size = 0; if (oneOrderByCase_ == 1) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, (com.google.analytics.admin.v1beta.AccessOrderBy.MetricOrderBy) oneOrderBy_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 1, (com.google.analytics.admin.v1beta.AccessOrderBy.MetricOrderBy) oneOrderBy_); } if (oneOrderByCase_ == 2) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, (com.google.analytics.admin.v1beta.AccessOrderBy.DimensionOrderBy) oneOrderBy_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 2, (com.google.analytics.admin.v1beta.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; @@ -1745,24 +1985,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.AccessOrderBy)) { return super.equals(obj); } - com.google.analytics.admin.v1beta.AccessOrderBy other = (com.google.analytics.admin.v1beta.AccessOrderBy) obj; + com.google.analytics.admin.v1beta.AccessOrderBy other = + (com.google.analytics.admin.v1beta.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: @@ -1779,8 +2017,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; @@ -1798,99 +2035,104 @@ public int hashCode() { return hash; } - public static com.google.analytics.admin.v1beta.AccessOrderBy parseFrom( - java.nio.ByteBuffer data) + public static com.google.analytics.admin.v1beta.AccessOrderBy parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1beta.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.v1beta.AccessOrderBy parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1beta.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.v1beta.AccessOrderBy parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1beta.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.v1beta.AccessOrderBy 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.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.v1beta.AccessOrderBy parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1beta.AccessOrderBy parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.analytics.admin.v1beta.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.v1beta.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.v1beta.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.v1beta.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
@@ -1899,33 +2141,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.analytics.admin.v1beta.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.v1beta.AccessOrderBy)
       com.google.analytics.admin.v1beta.AccessOrderByOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.analytics.admin.v1beta.AccessReportProto.internal_static_google_analytics_admin_v1beta_AccessOrderBy_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.analytics.admin.v1beta.AccessReportProto
+          .internal_static_google_analytics_admin_v1beta_AccessOrderBy_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.analytics.admin.v1beta.AccessReportProto.internal_static_google_analytics_admin_v1beta_AccessOrderBy_fieldAccessorTable
+      return com.google.analytics.admin.v1beta.AccessReportProto
+          .internal_static_google_analytics_admin_v1beta_AccessOrderBy_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.analytics.admin.v1beta.AccessOrderBy.class, com.google.analytics.admin.v1beta.AccessOrderBy.Builder.class);
+              com.google.analytics.admin.v1beta.AccessOrderBy.class,
+              com.google.analytics.admin.v1beta.AccessOrderBy.Builder.class);
     }
 
     // Construct using com.google.analytics.admin.v1beta.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();
@@ -1943,9 +2184,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.analytics.admin.v1beta.AccessReportProto.internal_static_google_analytics_admin_v1beta_AccessOrderBy_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.analytics.admin.v1beta.AccessReportProto
+          .internal_static_google_analytics_admin_v1beta_AccessOrderBy_descriptor;
     }
 
     @java.lang.Override
@@ -1964,8 +2205,11 @@ public com.google.analytics.admin.v1beta.AccessOrderBy build() {
 
     @java.lang.Override
     public com.google.analytics.admin.v1beta.AccessOrderBy buildPartial() {
-      com.google.analytics.admin.v1beta.AccessOrderBy result = new com.google.analytics.admin.v1beta.AccessOrderBy(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.analytics.admin.v1beta.AccessOrderBy result =
+          new com.google.analytics.admin.v1beta.AccessOrderBy(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       buildPartialOneofs(result);
       onBuilt();
       return result;
@@ -1981,12 +2225,10 @@ private void buildPartial0(com.google.analytics.admin.v1beta.AccessOrderBy resul
     private void buildPartialOneofs(com.google.analytics.admin.v1beta.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();
       }
     }
@@ -1995,38 +2237,39 @@ private void buildPartialOneofs(com.google.analytics.admin.v1beta.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.v1beta.AccessOrderBy) {
-        return mergeFrom((com.google.analytics.admin.v1beta.AccessOrderBy)other);
+        return mergeFrom((com.google.analytics.admin.v1beta.AccessOrderBy) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -2034,22 +2277,26 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.analytics.admin.v1beta.AccessOrderBy other) {
-      if (other == com.google.analytics.admin.v1beta.AccessOrderBy.getDefaultInstance()) return this;
+      if (other == com.google.analytics.admin.v1beta.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();
@@ -2077,31 +2324,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) {
@@ -2111,12 +2358,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() {
@@ -2129,13 +2376,19 @@ public Builder clearOneOrderBy() {
     private int bitField0_;
 
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.analytics.admin.v1beta.AccessOrderBy.MetricOrderBy, com.google.analytics.admin.v1beta.AccessOrderBy.MetricOrderBy.Builder, com.google.analytics.admin.v1beta.AccessOrderBy.MetricOrderByOrBuilder> metricBuilder_;
+            com.google.analytics.admin.v1beta.AccessOrderBy.MetricOrderBy,
+            com.google.analytics.admin.v1beta.AccessOrderBy.MetricOrderBy.Builder,
+            com.google.analytics.admin.v1beta.AccessOrderBy.MetricOrderByOrBuilder>
+        metricBuilder_;
     /**
+     *
+     *
      * 
      * Sorts results by a metric's values.
      * 
* * .google.analytics.admin.v1beta.AccessOrderBy.MetricOrderBy metric = 1; + * * @return Whether the metric field is set. */ @java.lang.Override @@ -2143,11 +2396,14 @@ public boolean hasMetric() { return oneOrderByCase_ == 1; } /** + * + * *
      * Sorts results by a metric's values.
      * 
* * .google.analytics.admin.v1beta.AccessOrderBy.MetricOrderBy metric = 1; + * * @return The metric. */ @java.lang.Override @@ -2165,6 +2421,8 @@ public com.google.analytics.admin.v1beta.AccessOrderBy.MetricOrderBy getMetric() } } /** + * + * *
      * Sorts results by a metric's values.
      * 
@@ -2185,6 +2443,8 @@ public Builder setMetric(com.google.analytics.admin.v1beta.AccessOrderBy.MetricO return this; } /** + * + * *
      * Sorts results by a metric's values.
      * 
@@ -2203,18 +2463,26 @@ public Builder setMetric( return this; } /** + * + * *
      * Sorts results by a metric's values.
      * 
* * .google.analytics.admin.v1beta.AccessOrderBy.MetricOrderBy metric = 1; */ - public Builder mergeMetric(com.google.analytics.admin.v1beta.AccessOrderBy.MetricOrderBy value) { + public Builder mergeMetric( + com.google.analytics.admin.v1beta.AccessOrderBy.MetricOrderBy value) { if (metricBuilder_ == null) { - if (oneOrderByCase_ == 1 && - oneOrderBy_ != com.google.analytics.admin.v1beta.AccessOrderBy.MetricOrderBy.getDefaultInstance()) { - oneOrderBy_ = com.google.analytics.admin.v1beta.AccessOrderBy.MetricOrderBy.newBuilder((com.google.analytics.admin.v1beta.AccessOrderBy.MetricOrderBy) oneOrderBy_) - .mergeFrom(value).buildPartial(); + if (oneOrderByCase_ == 1 + && oneOrderBy_ + != com.google.analytics.admin.v1beta.AccessOrderBy.MetricOrderBy + .getDefaultInstance()) { + oneOrderBy_ = + com.google.analytics.admin.v1beta.AccessOrderBy.MetricOrderBy.newBuilder( + (com.google.analytics.admin.v1beta.AccessOrderBy.MetricOrderBy) oneOrderBy_) + .mergeFrom(value) + .buildPartial(); } else { oneOrderBy_ = value; } @@ -2230,6 +2498,8 @@ public Builder mergeMetric(com.google.analytics.admin.v1beta.AccessOrderBy.Metri return this; } /** + * + * *
      * Sorts results by a metric's values.
      * 
@@ -2253,16 +2523,21 @@ public Builder clearMetric() { return this; } /** + * + * *
      * Sorts results by a metric's values.
      * 
* * .google.analytics.admin.v1beta.AccessOrderBy.MetricOrderBy metric = 1; */ - public com.google.analytics.admin.v1beta.AccessOrderBy.MetricOrderBy.Builder getMetricBuilder() { + public com.google.analytics.admin.v1beta.AccessOrderBy.MetricOrderBy.Builder + getMetricBuilder() { return getMetricFieldBuilder().getBuilder(); } /** + * + * *
      * Sorts results by a metric's values.
      * 
@@ -2270,7 +2545,8 @@ public com.google.analytics.admin.v1beta.AccessOrderBy.MetricOrderBy.Builder get * .google.analytics.admin.v1beta.AccessOrderBy.MetricOrderBy metric = 1; */ @java.lang.Override - public com.google.analytics.admin.v1beta.AccessOrderBy.MetricOrderByOrBuilder getMetricOrBuilder() { + public com.google.analytics.admin.v1beta.AccessOrderBy.MetricOrderByOrBuilder + getMetricOrBuilder() { if ((oneOrderByCase_ == 1) && (metricBuilder_ != null)) { return metricBuilder_.getMessageOrBuilder(); } else { @@ -2281,6 +2557,8 @@ public com.google.analytics.admin.v1beta.AccessOrderBy.MetricOrderByOrBuilder ge } } /** + * + * *
      * Sorts results by a metric's values.
      * 
@@ -2288,14 +2566,20 @@ public com.google.analytics.admin.v1beta.AccessOrderBy.MetricOrderByOrBuilder ge * .google.analytics.admin.v1beta.AccessOrderBy.MetricOrderBy metric = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1beta.AccessOrderBy.MetricOrderBy, com.google.analytics.admin.v1beta.AccessOrderBy.MetricOrderBy.Builder, com.google.analytics.admin.v1beta.AccessOrderBy.MetricOrderByOrBuilder> + com.google.analytics.admin.v1beta.AccessOrderBy.MetricOrderBy, + com.google.analytics.admin.v1beta.AccessOrderBy.MetricOrderBy.Builder, + com.google.analytics.admin.v1beta.AccessOrderBy.MetricOrderByOrBuilder> getMetricFieldBuilder() { if (metricBuilder_ == null) { if (!(oneOrderByCase_ == 1)) { - oneOrderBy_ = com.google.analytics.admin.v1beta.AccessOrderBy.MetricOrderBy.getDefaultInstance(); + oneOrderBy_ = + com.google.analytics.admin.v1beta.AccessOrderBy.MetricOrderBy.getDefaultInstance(); } - metricBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1beta.AccessOrderBy.MetricOrderBy, com.google.analytics.admin.v1beta.AccessOrderBy.MetricOrderBy.Builder, com.google.analytics.admin.v1beta.AccessOrderBy.MetricOrderByOrBuilder>( + metricBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1beta.AccessOrderBy.MetricOrderBy, + com.google.analytics.admin.v1beta.AccessOrderBy.MetricOrderBy.Builder, + com.google.analytics.admin.v1beta.AccessOrderBy.MetricOrderByOrBuilder>( (com.google.analytics.admin.v1beta.AccessOrderBy.MetricOrderBy) oneOrderBy_, getParentForChildren(), isClean()); @@ -2307,13 +2591,19 @@ public com.google.analytics.admin.v1beta.AccessOrderBy.MetricOrderByOrBuilder ge } private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1beta.AccessOrderBy.DimensionOrderBy, com.google.analytics.admin.v1beta.AccessOrderBy.DimensionOrderBy.Builder, com.google.analytics.admin.v1beta.AccessOrderBy.DimensionOrderByOrBuilder> dimensionBuilder_; + com.google.analytics.admin.v1beta.AccessOrderBy.DimensionOrderBy, + com.google.analytics.admin.v1beta.AccessOrderBy.DimensionOrderBy.Builder, + com.google.analytics.admin.v1beta.AccessOrderBy.DimensionOrderByOrBuilder> + dimensionBuilder_; /** + * + * *
      * Sorts results by a dimension's values.
      * 
* * .google.analytics.admin.v1beta.AccessOrderBy.DimensionOrderBy dimension = 2; + * * @return Whether the dimension field is set. */ @java.lang.Override @@ -2321,11 +2611,14 @@ public boolean hasDimension() { return oneOrderByCase_ == 2; } /** + * + * *
      * Sorts results by a dimension's values.
      * 
* * .google.analytics.admin.v1beta.AccessOrderBy.DimensionOrderBy dimension = 2; + * * @return The dimension. */ @java.lang.Override @@ -2334,22 +2627,27 @@ public com.google.analytics.admin.v1beta.AccessOrderBy.DimensionOrderBy getDimen if (oneOrderByCase_ == 2) { return (com.google.analytics.admin.v1beta.AccessOrderBy.DimensionOrderBy) oneOrderBy_; } - return com.google.analytics.admin.v1beta.AccessOrderBy.DimensionOrderBy.getDefaultInstance(); + return com.google.analytics.admin.v1beta.AccessOrderBy.DimensionOrderBy + .getDefaultInstance(); } else { if (oneOrderByCase_ == 2) { return dimensionBuilder_.getMessage(); } - return com.google.analytics.admin.v1beta.AccessOrderBy.DimensionOrderBy.getDefaultInstance(); + return com.google.analytics.admin.v1beta.AccessOrderBy.DimensionOrderBy + .getDefaultInstance(); } } /** + * + * *
      * Sorts results by a dimension's values.
      * 
* * .google.analytics.admin.v1beta.AccessOrderBy.DimensionOrderBy dimension = 2; */ - public Builder setDimension(com.google.analytics.admin.v1beta.AccessOrderBy.DimensionOrderBy value) { + public Builder setDimension( + com.google.analytics.admin.v1beta.AccessOrderBy.DimensionOrderBy value) { if (dimensionBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2363,6 +2661,8 @@ public Builder setDimension(com.google.analytics.admin.v1beta.AccessOrderBy.Dime return this; } /** + * + * *
      * Sorts results by a dimension's values.
      * 
@@ -2381,18 +2681,27 @@ public Builder setDimension( return this; } /** + * + * *
      * Sorts results by a dimension's values.
      * 
* * .google.analytics.admin.v1beta.AccessOrderBy.DimensionOrderBy dimension = 2; */ - public Builder mergeDimension(com.google.analytics.admin.v1beta.AccessOrderBy.DimensionOrderBy value) { + public Builder mergeDimension( + com.google.analytics.admin.v1beta.AccessOrderBy.DimensionOrderBy value) { if (dimensionBuilder_ == null) { - if (oneOrderByCase_ == 2 && - oneOrderBy_ != com.google.analytics.admin.v1beta.AccessOrderBy.DimensionOrderBy.getDefaultInstance()) { - oneOrderBy_ = com.google.analytics.admin.v1beta.AccessOrderBy.DimensionOrderBy.newBuilder((com.google.analytics.admin.v1beta.AccessOrderBy.DimensionOrderBy) oneOrderBy_) - .mergeFrom(value).buildPartial(); + if (oneOrderByCase_ == 2 + && oneOrderBy_ + != com.google.analytics.admin.v1beta.AccessOrderBy.DimensionOrderBy + .getDefaultInstance()) { + oneOrderBy_ = + com.google.analytics.admin.v1beta.AccessOrderBy.DimensionOrderBy.newBuilder( + (com.google.analytics.admin.v1beta.AccessOrderBy.DimensionOrderBy) + oneOrderBy_) + .mergeFrom(value) + .buildPartial(); } else { oneOrderBy_ = value; } @@ -2408,6 +2717,8 @@ public Builder mergeDimension(com.google.analytics.admin.v1beta.AccessOrderBy.Di return this; } /** + * + * *
      * Sorts results by a dimension's values.
      * 
@@ -2431,16 +2742,21 @@ public Builder clearDimension() { return this; } /** + * + * *
      * Sorts results by a dimension's values.
      * 
* * .google.analytics.admin.v1beta.AccessOrderBy.DimensionOrderBy dimension = 2; */ - public com.google.analytics.admin.v1beta.AccessOrderBy.DimensionOrderBy.Builder getDimensionBuilder() { + public com.google.analytics.admin.v1beta.AccessOrderBy.DimensionOrderBy.Builder + getDimensionBuilder() { return getDimensionFieldBuilder().getBuilder(); } /** + * + * *
      * Sorts results by a dimension's values.
      * 
@@ -2448,17 +2764,21 @@ public com.google.analytics.admin.v1beta.AccessOrderBy.DimensionOrderBy.Builder * .google.analytics.admin.v1beta.AccessOrderBy.DimensionOrderBy dimension = 2; */ @java.lang.Override - public com.google.analytics.admin.v1beta.AccessOrderBy.DimensionOrderByOrBuilder getDimensionOrBuilder() { + public com.google.analytics.admin.v1beta.AccessOrderBy.DimensionOrderByOrBuilder + getDimensionOrBuilder() { if ((oneOrderByCase_ == 2) && (dimensionBuilder_ != null)) { return dimensionBuilder_.getMessageOrBuilder(); } else { if (oneOrderByCase_ == 2) { return (com.google.analytics.admin.v1beta.AccessOrderBy.DimensionOrderBy) oneOrderBy_; } - return com.google.analytics.admin.v1beta.AccessOrderBy.DimensionOrderBy.getDefaultInstance(); + return com.google.analytics.admin.v1beta.AccessOrderBy.DimensionOrderBy + .getDefaultInstance(); } } /** + * + * *
      * Sorts results by a dimension's values.
      * 
@@ -2466,14 +2786,20 @@ public com.google.analytics.admin.v1beta.AccessOrderBy.DimensionOrderByOrBuilder * .google.analytics.admin.v1beta.AccessOrderBy.DimensionOrderBy dimension = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1beta.AccessOrderBy.DimensionOrderBy, com.google.analytics.admin.v1beta.AccessOrderBy.DimensionOrderBy.Builder, com.google.analytics.admin.v1beta.AccessOrderBy.DimensionOrderByOrBuilder> + com.google.analytics.admin.v1beta.AccessOrderBy.DimensionOrderBy, + com.google.analytics.admin.v1beta.AccessOrderBy.DimensionOrderBy.Builder, + com.google.analytics.admin.v1beta.AccessOrderBy.DimensionOrderByOrBuilder> getDimensionFieldBuilder() { if (dimensionBuilder_ == null) { if (!(oneOrderByCase_ == 2)) { - oneOrderBy_ = com.google.analytics.admin.v1beta.AccessOrderBy.DimensionOrderBy.getDefaultInstance(); + oneOrderBy_ = + com.google.analytics.admin.v1beta.AccessOrderBy.DimensionOrderBy.getDefaultInstance(); } - dimensionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1beta.AccessOrderBy.DimensionOrderBy, com.google.analytics.admin.v1beta.AccessOrderBy.DimensionOrderBy.Builder, com.google.analytics.admin.v1beta.AccessOrderBy.DimensionOrderByOrBuilder>( + dimensionBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1beta.AccessOrderBy.DimensionOrderBy, + com.google.analytics.admin.v1beta.AccessOrderBy.DimensionOrderBy.Builder, + com.google.analytics.admin.v1beta.AccessOrderBy.DimensionOrderByOrBuilder>( (com.google.analytics.admin.v1beta.AccessOrderBy.DimensionOrderBy) oneOrderBy_, getParentForChildren(), isClean()); @@ -2484,14 +2810,17 @@ public com.google.analytics.admin.v1beta.AccessOrderBy.DimensionOrderByOrBuilder 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 @@ -2499,12 +2828,15 @@ 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. */ @@ -2516,12 +2848,15 @@ public Builder setDesc(boolean value) { 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() { @@ -2530,9 +2865,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); } @@ -2542,12 +2877,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1beta.AccessOrderBy) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1beta.AccessOrderBy) private static final com.google.analytics.admin.v1beta.AccessOrderBy DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1beta.AccessOrderBy(); } @@ -2556,27 +2891,27 @@ public static com.google.analytics.admin.v1beta.AccessOrderBy getDefaultInstance 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; @@ -2591,6 +2926,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1beta.AccessOrderBy 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/AccessOrderByOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AccessOrderByOrBuilder.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/AccessOrderByOrBuilder.java rename to java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AccessOrderByOrBuilder.java index 57f77f1708a3..0f2070d50f81 100644 --- a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AccessOrderByOrBuilder.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AccessOrderByOrBuilder.java @@ -1,31 +1,55 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1beta/access_report.proto package com.google.analytics.admin.v1beta; -public interface AccessOrderByOrBuilder extends +public interface AccessOrderByOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1beta.AccessOrderBy) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Sorts results by a metric's values.
    * 
* * .google.analytics.admin.v1beta.AccessOrderBy.MetricOrderBy metric = 1; + * * @return Whether the metric field is set. */ boolean hasMetric(); /** + * + * *
    * Sorts results by a metric's values.
    * 
* * .google.analytics.admin.v1beta.AccessOrderBy.MetricOrderBy metric = 1; + * * @return The metric. */ com.google.analytics.admin.v1beta.AccessOrderBy.MetricOrderBy getMetric(); /** + * + * *
    * Sorts results by a metric's values.
    * 
@@ -35,24 +59,32 @@ public interface AccessOrderByOrBuilder extends com.google.analytics.admin.v1beta.AccessOrderBy.MetricOrderByOrBuilder getMetricOrBuilder(); /** + * + * *
    * Sorts results by a dimension's values.
    * 
* * .google.analytics.admin.v1beta.AccessOrderBy.DimensionOrderBy dimension = 2; + * * @return Whether the dimension field is set. */ boolean hasDimension(); /** + * + * *
    * Sorts results by a dimension's values.
    * 
* * .google.analytics.admin.v1beta.AccessOrderBy.DimensionOrderBy dimension = 2; + * * @return The dimension. */ com.google.analytics.admin.v1beta.AccessOrderBy.DimensionOrderBy getDimension(); /** + * + * *
    * Sorts results by a dimension's values.
    * 
@@ -62,12 +94,15 @@ public interface AccessOrderByOrBuilder extends com.google.analytics.admin.v1beta.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/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AccessQuota.java b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AccessQuota.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/AccessQuota.java rename to java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AccessQuota.java index db3a2176dc52..994edd55030b 100644 --- a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AccessQuota.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AccessQuota.java @@ -1,9 +1,26 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1beta/access_report.proto package com.google.analytics.admin.v1beta; /** + * + * *
  * Current state of all quotas for this Analytics property. If any quota for a
  * property is exhausted, all requests to that property will return Resource
@@ -12,47 +29,51 @@
  *
  * Protobuf type {@code google.analytics.admin.v1beta.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.v1beta.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();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.analytics.admin.v1beta.AccessReportProto.internal_static_google_analytics_admin_v1beta_AccessQuota_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.analytics.admin.v1beta.AccessReportProto
+        .internal_static_google_analytics_admin_v1beta_AccessQuota_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.analytics.admin.v1beta.AccessReportProto.internal_static_google_analytics_admin_v1beta_AccessQuota_fieldAccessorTable
+    return com.google.analytics.admin.v1beta.AccessReportProto
+        .internal_static_google_analytics_admin_v1beta_AccessQuota_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.analytics.admin.v1beta.AccessQuota.class, com.google.analytics.admin.v1beta.AccessQuota.Builder.class);
+            com.google.analytics.admin.v1beta.AccessQuota.class,
+            com.google.analytics.admin.v1beta.AccessQuota.Builder.class);
   }
 
   public static final int TOKENS_PER_DAY_FIELD_NUMBER = 1;
   private com.google.analytics.admin.v1beta.AccessQuotaStatus tokensPerDay_;
   /**
+   *
+   *
    * 
    * Properties can use 250,000 tokens per day. Most requests consume fewer than
    * 10 tokens.
    * 
* * .google.analytics.admin.v1beta.AccessQuotaStatus tokens_per_day = 1; + * * @return Whether the tokensPerDay field is set. */ @java.lang.Override @@ -60,19 +81,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.v1beta.AccessQuotaStatus tokens_per_day = 1; + * * @return The tokensPerDay. */ @java.lang.Override public com.google.analytics.admin.v1beta.AccessQuotaStatus getTokensPerDay() { - return tokensPerDay_ == null ? com.google.analytics.admin.v1beta.AccessQuotaStatus.getDefaultInstance() : tokensPerDay_; + return tokensPerDay_ == null + ? com.google.analytics.admin.v1beta.AccessQuotaStatus.getDefaultInstance() + : tokensPerDay_; } /** + * + * *
    * Properties can use 250,000 tokens per day. Most requests consume fewer than
    * 10 tokens.
@@ -82,12 +110,16 @@ public com.google.analytics.admin.v1beta.AccessQuotaStatus getTokensPerDay() {
    */
   @java.lang.Override
   public com.google.analytics.admin.v1beta.AccessQuotaStatusOrBuilder getTokensPerDayOrBuilder() {
-    return tokensPerDay_ == null ? com.google.analytics.admin.v1beta.AccessQuotaStatus.getDefaultInstance() : tokensPerDay_;
+    return tokensPerDay_ == null
+        ? com.google.analytics.admin.v1beta.AccessQuotaStatus.getDefaultInstance()
+        : tokensPerDay_;
   }
 
   public static final int TOKENS_PER_HOUR_FIELD_NUMBER = 2;
   private com.google.analytics.admin.v1beta.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,
@@ -95,6 +127,7 @@ public com.google.analytics.admin.v1beta.AccessQuotaStatusOrBuilder getTokensPer
    * 
* * .google.analytics.admin.v1beta.AccessQuotaStatus tokens_per_hour = 2; + * * @return Whether the tokensPerHour field is set. */ @java.lang.Override @@ -102,6 +135,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,
@@ -109,13 +144,18 @@ public boolean hasTokensPerHour() {
    * 
* * .google.analytics.admin.v1beta.AccessQuotaStatus tokens_per_hour = 2; + * * @return The tokensPerHour. */ @java.lang.Override public com.google.analytics.admin.v1beta.AccessQuotaStatus getTokensPerHour() { - return tokensPerHour_ == null ? com.google.analytics.admin.v1beta.AccessQuotaStatus.getDefaultInstance() : tokensPerHour_; + return tokensPerHour_ == null + ? com.google.analytics.admin.v1beta.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,
@@ -126,17 +166,22 @@ public com.google.analytics.admin.v1beta.AccessQuotaStatus getTokensPerHour() {
    */
   @java.lang.Override
   public com.google.analytics.admin.v1beta.AccessQuotaStatusOrBuilder getTokensPerHourOrBuilder() {
-    return tokensPerHour_ == null ? com.google.analytics.admin.v1beta.AccessQuotaStatus.getDefaultInstance() : tokensPerHour_;
+    return tokensPerHour_ == null
+        ? com.google.analytics.admin.v1beta.AccessQuotaStatus.getDefaultInstance()
+        : tokensPerHour_;
   }
 
   public static final int CONCURRENT_REQUESTS_FIELD_NUMBER = 3;
   private com.google.analytics.admin.v1beta.AccessQuotaStatus concurrentRequests_;
   /**
+   *
+   *
    * 
    * Properties can use up to 50 concurrent requests.
    * 
* * .google.analytics.admin.v1beta.AccessQuotaStatus concurrent_requests = 3; + * * @return Whether the concurrentRequests field is set. */ @java.lang.Override @@ -144,18 +189,25 @@ public boolean hasConcurrentRequests() { return concurrentRequests_ != null; } /** + * + * *
    * Properties can use up to 50 concurrent requests.
    * 
* * .google.analytics.admin.v1beta.AccessQuotaStatus concurrent_requests = 3; + * * @return The concurrentRequests. */ @java.lang.Override public com.google.analytics.admin.v1beta.AccessQuotaStatus getConcurrentRequests() { - return concurrentRequests_ == null ? com.google.analytics.admin.v1beta.AccessQuotaStatus.getDefaultInstance() : concurrentRequests_; + return concurrentRequests_ == null + ? com.google.analytics.admin.v1beta.AccessQuotaStatus.getDefaultInstance() + : concurrentRequests_; } /** + * + * *
    * Properties can use up to 50 concurrent requests.
    * 
@@ -163,19 +215,26 @@ public com.google.analytics.admin.v1beta.AccessQuotaStatus getConcurrentRequests * .google.analytics.admin.v1beta.AccessQuotaStatus concurrent_requests = 3; */ @java.lang.Override - public com.google.analytics.admin.v1beta.AccessQuotaStatusOrBuilder getConcurrentRequestsOrBuilder() { - return concurrentRequests_ == null ? com.google.analytics.admin.v1beta.AccessQuotaStatus.getDefaultInstance() : concurrentRequests_; + public com.google.analytics.admin.v1beta.AccessQuotaStatusOrBuilder + getConcurrentRequestsOrBuilder() { + return concurrentRequests_ == null + ? com.google.analytics.admin.v1beta.AccessQuotaStatus.getDefaultInstance() + : concurrentRequests_; } public static final int SERVER_ERRORS_PER_PROJECT_PER_HOUR_FIELD_NUMBER = 4; private com.google.analytics.admin.v1beta.AccessQuotaStatus serverErrorsPerProjectPerHour_; /** + * + * *
    * Properties and cloud project pairs can have up to 50 server errors per
    * hour.
    * 
* - * .google.analytics.admin.v1beta.AccessQuotaStatus server_errors_per_project_per_hour = 4; + * .google.analytics.admin.v1beta.AccessQuotaStatus server_errors_per_project_per_hour = 4; + * + * * @return Whether the serverErrorsPerProjectPerHour field is set. */ @java.lang.Override @@ -183,34 +242,48 @@ public boolean hasServerErrorsPerProjectPerHour() { return serverErrorsPerProjectPerHour_ != null; } /** + * + * *
    * Properties and cloud project pairs can have up to 50 server errors per
    * hour.
    * 
* - * .google.analytics.admin.v1beta.AccessQuotaStatus server_errors_per_project_per_hour = 4; + * .google.analytics.admin.v1beta.AccessQuotaStatus server_errors_per_project_per_hour = 4; + * + * * @return The serverErrorsPerProjectPerHour. */ @java.lang.Override public com.google.analytics.admin.v1beta.AccessQuotaStatus getServerErrorsPerProjectPerHour() { - return serverErrorsPerProjectPerHour_ == null ? com.google.analytics.admin.v1beta.AccessQuotaStatus.getDefaultInstance() : serverErrorsPerProjectPerHour_; + return serverErrorsPerProjectPerHour_ == null + ? com.google.analytics.admin.v1beta.AccessQuotaStatus.getDefaultInstance() + : serverErrorsPerProjectPerHour_; } /** + * + * *
    * Properties and cloud project pairs can have up to 50 server errors per
    * hour.
    * 
* - * .google.analytics.admin.v1beta.AccessQuotaStatus server_errors_per_project_per_hour = 4; + * .google.analytics.admin.v1beta.AccessQuotaStatus server_errors_per_project_per_hour = 4; + * */ @java.lang.Override - public com.google.analytics.admin.v1beta.AccessQuotaStatusOrBuilder getServerErrorsPerProjectPerHourOrBuilder() { - return serverErrorsPerProjectPerHour_ == null ? com.google.analytics.admin.v1beta.AccessQuotaStatus.getDefaultInstance() : serverErrorsPerProjectPerHour_; + public com.google.analytics.admin.v1beta.AccessQuotaStatusOrBuilder + getServerErrorsPerProjectPerHourOrBuilder() { + return serverErrorsPerProjectPerHour_ == null + ? com.google.analytics.admin.v1beta.AccessQuotaStatus.getDefaultInstance() + : serverErrorsPerProjectPerHour_; } public static final int TOKENS_PER_PROJECT_PER_HOUR_FIELD_NUMBER = 5; private com.google.analytics.admin.v1beta.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
@@ -219,6 +292,7 @@ public com.google.analytics.admin.v1beta.AccessQuotaStatusOrBuilder getServerErr
    * 
* * .google.analytics.admin.v1beta.AccessQuotaStatus tokens_per_project_per_hour = 5; + * * @return Whether the tokensPerProjectPerHour field is set. */ @java.lang.Override @@ -226,6 +300,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
@@ -234,13 +310,18 @@ public boolean hasTokensPerProjectPerHour() {
    * 
* * .google.analytics.admin.v1beta.AccessQuotaStatus tokens_per_project_per_hour = 5; + * * @return The tokensPerProjectPerHour. */ @java.lang.Override public com.google.analytics.admin.v1beta.AccessQuotaStatus getTokensPerProjectPerHour() { - return tokensPerProjectPerHour_ == null ? com.google.analytics.admin.v1beta.AccessQuotaStatus.getDefaultInstance() : tokensPerProjectPerHour_; + return tokensPerProjectPerHour_ == null + ? com.google.analytics.admin.v1beta.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
@@ -251,11 +332,15 @@ public com.google.analytics.admin.v1beta.AccessQuotaStatus getTokensPerProjectPe
    * .google.analytics.admin.v1beta.AccessQuotaStatus tokens_per_project_per_hour = 5;
    */
   @java.lang.Override
-  public com.google.analytics.admin.v1beta.AccessQuotaStatusOrBuilder getTokensPerProjectPerHourOrBuilder() {
-    return tokensPerProjectPerHour_ == null ? com.google.analytics.admin.v1beta.AccessQuotaStatus.getDefaultInstance() : tokensPerProjectPerHour_;
+  public com.google.analytics.admin.v1beta.AccessQuotaStatusOrBuilder
+      getTokensPerProjectPerHourOrBuilder() {
+    return tokensPerProjectPerHour_ == null
+        ? com.google.analytics.admin.v1beta.AccessQuotaStatus.getDefaultInstance()
+        : tokensPerProjectPerHour_;
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -267,8 +352,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
     if (tokensPerDay_ != null) {
       output.writeMessage(1, getTokensPerDay());
     }
@@ -294,24 +378,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;
@@ -321,37 +403,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.AccessQuota)) {
       return super.equals(obj);
     }
-    com.google.analytics.admin.v1beta.AccessQuota other = (com.google.analytics.admin.v1beta.AccessQuota) obj;
+    com.google.analytics.admin.v1beta.AccessQuota other =
+        (com.google.analytics.admin.v1beta.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;
@@ -389,99 +469,104 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.analytics.admin.v1beta.AccessQuota parseFrom(
-      java.nio.ByteBuffer data)
+  public static com.google.analytics.admin.v1beta.AccessQuota parseFrom(java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.analytics.admin.v1beta.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.v1beta.AccessQuota parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.analytics.admin.v1beta.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.v1beta.AccessQuota parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.analytics.admin.v1beta.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.v1beta.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.v1beta.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.v1beta.AccessQuota parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+  public static com.google.analytics.admin.v1beta.AccessQuota parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
 
   public static com.google.analytics.admin.v1beta.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.v1beta.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.v1beta.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.v1beta.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
@@ -490,33 +575,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.analytics.admin.v1beta.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.v1beta.AccessQuota)
       com.google.analytics.admin.v1beta.AccessQuotaOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.analytics.admin.v1beta.AccessReportProto.internal_static_google_analytics_admin_v1beta_AccessQuota_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.analytics.admin.v1beta.AccessReportProto
+          .internal_static_google_analytics_admin_v1beta_AccessQuota_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.analytics.admin.v1beta.AccessReportProto.internal_static_google_analytics_admin_v1beta_AccessQuota_fieldAccessorTable
+      return com.google.analytics.admin.v1beta.AccessReportProto
+          .internal_static_google_analytics_admin_v1beta_AccessQuota_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.analytics.admin.v1beta.AccessQuota.class, com.google.analytics.admin.v1beta.AccessQuota.Builder.class);
+              com.google.analytics.admin.v1beta.AccessQuota.class,
+              com.google.analytics.admin.v1beta.AccessQuota.Builder.class);
     }
 
     // Construct using com.google.analytics.admin.v1beta.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();
@@ -550,9 +634,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.analytics.admin.v1beta.AccessReportProto.internal_static_google_analytics_admin_v1beta_AccessQuota_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.analytics.admin.v1beta.AccessReportProto
+          .internal_static_google_analytics_admin_v1beta_AccessQuota_descriptor;
     }
 
     @java.lang.Override
@@ -571,8 +655,11 @@ public com.google.analytics.admin.v1beta.AccessQuota build() {
 
     @java.lang.Override
     public com.google.analytics.admin.v1beta.AccessQuota buildPartial() {
-      com.google.analytics.admin.v1beta.AccessQuota result = new com.google.analytics.admin.v1beta.AccessQuota(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.analytics.admin.v1beta.AccessQuota result =
+          new com.google.analytics.admin.v1beta.AccessQuota(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -580,29 +667,30 @@ public com.google.analytics.admin.v1beta.AccessQuota buildPartial() {
     private void buildPartial0(com.google.analytics.admin.v1beta.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();
       }
     }
 
@@ -610,38 +698,39 @@ private void buildPartial0(com.google.analytics.admin.v1beta.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.v1beta.AccessQuota) {
-        return mergeFrom((com.google.analytics.admin.v1beta.AccessQuota)other);
+        return mergeFrom((com.google.analytics.admin.v1beta.AccessQuota) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -691,47 +780,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) {
@@ -741,40 +829,54 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private com.google.analytics.admin.v1beta.AccessQuotaStatus tokensPerDay_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.analytics.admin.v1beta.AccessQuotaStatus, com.google.analytics.admin.v1beta.AccessQuotaStatus.Builder, com.google.analytics.admin.v1beta.AccessQuotaStatusOrBuilder> tokensPerDayBuilder_;
+            com.google.analytics.admin.v1beta.AccessQuotaStatus,
+            com.google.analytics.admin.v1beta.AccessQuotaStatus.Builder,
+            com.google.analytics.admin.v1beta.AccessQuotaStatusOrBuilder>
+        tokensPerDayBuilder_;
     /**
+     *
+     *
      * 
      * Properties can use 250,000 tokens per day. Most requests consume fewer than
      * 10 tokens.
      * 
* * .google.analytics.admin.v1beta.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.v1beta.AccessQuotaStatus tokens_per_day = 1; + * * @return The tokensPerDay. */ public com.google.analytics.admin.v1beta.AccessQuotaStatus getTokensPerDay() { if (tokensPerDayBuilder_ == null) { - return tokensPerDay_ == null ? com.google.analytics.admin.v1beta.AccessQuotaStatus.getDefaultInstance() : tokensPerDay_; + return tokensPerDay_ == null + ? com.google.analytics.admin.v1beta.AccessQuotaStatus.getDefaultInstance() + : tokensPerDay_; } else { return tokensPerDayBuilder_.getMessage(); } } /** + * + * *
      * Properties can use 250,000 tokens per day. Most requests consume fewer than
      * 10 tokens.
@@ -796,6 +898,8 @@ public Builder setTokensPerDay(com.google.analytics.admin.v1beta.AccessQuotaStat
       return this;
     }
     /**
+     *
+     *
      * 
      * Properties can use 250,000 tokens per day. Most requests consume fewer than
      * 10 tokens.
@@ -815,6 +919,8 @@ public Builder setTokensPerDay(
       return this;
     }
     /**
+     *
+     *
      * 
      * Properties can use 250,000 tokens per day. Most requests consume fewer than
      * 10 tokens.
@@ -824,9 +930,10 @@ public Builder setTokensPerDay(
      */
     public Builder mergeTokensPerDay(com.google.analytics.admin.v1beta.AccessQuotaStatus value) {
       if (tokensPerDayBuilder_ == null) {
-        if (((bitField0_ & 0x00000001) != 0) &&
-          tokensPerDay_ != null &&
-          tokensPerDay_ != com.google.analytics.admin.v1beta.AccessQuotaStatus.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000001) != 0)
+            && tokensPerDay_ != null
+            && tokensPerDay_
+                != com.google.analytics.admin.v1beta.AccessQuotaStatus.getDefaultInstance()) {
           getTokensPerDayBuilder().mergeFrom(value);
         } else {
           tokensPerDay_ = value;
@@ -839,6 +946,8 @@ public Builder mergeTokensPerDay(com.google.analytics.admin.v1beta.AccessQuotaSt
       return this;
     }
     /**
+     *
+     *
      * 
      * Properties can use 250,000 tokens per day. Most requests consume fewer than
      * 10 tokens.
@@ -857,6 +966,8 @@ public Builder clearTokensPerDay() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Properties can use 250,000 tokens per day. Most requests consume fewer than
      * 10 tokens.
@@ -870,6 +981,8 @@ public com.google.analytics.admin.v1beta.AccessQuotaStatus.Builder getTokensPerD
       return getTokensPerDayFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Properties can use 250,000 tokens per day. Most requests consume fewer than
      * 10 tokens.
@@ -881,11 +994,14 @@ public com.google.analytics.admin.v1beta.AccessQuotaStatusOrBuilder getTokensPer
       if (tokensPerDayBuilder_ != null) {
         return tokensPerDayBuilder_.getMessageOrBuilder();
       } else {
-        return tokensPerDay_ == null ?
-            com.google.analytics.admin.v1beta.AccessQuotaStatus.getDefaultInstance() : tokensPerDay_;
+        return tokensPerDay_ == null
+            ? com.google.analytics.admin.v1beta.AccessQuotaStatus.getDefaultInstance()
+            : tokensPerDay_;
       }
     }
     /**
+     *
+     *
      * 
      * Properties can use 250,000 tokens per day. Most requests consume fewer than
      * 10 tokens.
@@ -894,14 +1010,17 @@ public com.google.analytics.admin.v1beta.AccessQuotaStatusOrBuilder getTokensPer
      * .google.analytics.admin.v1beta.AccessQuotaStatus tokens_per_day = 1;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.analytics.admin.v1beta.AccessQuotaStatus, com.google.analytics.admin.v1beta.AccessQuotaStatus.Builder, com.google.analytics.admin.v1beta.AccessQuotaStatusOrBuilder> 
+            com.google.analytics.admin.v1beta.AccessQuotaStatus,
+            com.google.analytics.admin.v1beta.AccessQuotaStatus.Builder,
+            com.google.analytics.admin.v1beta.AccessQuotaStatusOrBuilder>
         getTokensPerDayFieldBuilder() {
       if (tokensPerDayBuilder_ == null) {
-        tokensPerDayBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.analytics.admin.v1beta.AccessQuotaStatus, com.google.analytics.admin.v1beta.AccessQuotaStatus.Builder, com.google.analytics.admin.v1beta.AccessQuotaStatusOrBuilder>(
-                getTokensPerDay(),
-                getParentForChildren(),
-                isClean());
+        tokensPerDayBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.analytics.admin.v1beta.AccessQuotaStatus,
+                com.google.analytics.admin.v1beta.AccessQuotaStatus.Builder,
+                com.google.analytics.admin.v1beta.AccessQuotaStatusOrBuilder>(
+                getTokensPerDay(), getParentForChildren(), isClean());
         tokensPerDay_ = null;
       }
       return tokensPerDayBuilder_;
@@ -909,8 +1028,13 @@ public com.google.analytics.admin.v1beta.AccessQuotaStatusOrBuilder getTokensPer
 
     private com.google.analytics.admin.v1beta.AccessQuotaStatus tokensPerHour_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.analytics.admin.v1beta.AccessQuotaStatus, com.google.analytics.admin.v1beta.AccessQuotaStatus.Builder, com.google.analytics.admin.v1beta.AccessQuotaStatusOrBuilder> tokensPerHourBuilder_;
+            com.google.analytics.admin.v1beta.AccessQuotaStatus,
+            com.google.analytics.admin.v1beta.AccessQuotaStatus.Builder,
+            com.google.analytics.admin.v1beta.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,
@@ -918,12 +1042,15 @@ public com.google.analytics.admin.v1beta.AccessQuotaStatusOrBuilder getTokensPer
      * 
* * .google.analytics.admin.v1beta.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,
@@ -931,16 +1058,21 @@ public boolean hasTokensPerHour() {
      * 
* * .google.analytics.admin.v1beta.AccessQuotaStatus tokens_per_hour = 2; + * * @return The tokensPerHour. */ public com.google.analytics.admin.v1beta.AccessQuotaStatus getTokensPerHour() { if (tokensPerHourBuilder_ == null) { - return tokensPerHour_ == null ? com.google.analytics.admin.v1beta.AccessQuotaStatus.getDefaultInstance() : tokensPerHour_; + return tokensPerHour_ == null + ? com.google.analytics.admin.v1beta.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,
@@ -963,6 +1095,8 @@ public Builder setTokensPerHour(com.google.analytics.admin.v1beta.AccessQuotaSta
       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,
@@ -983,6 +1117,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,
@@ -993,9 +1129,10 @@ public Builder setTokensPerHour(
      */
     public Builder mergeTokensPerHour(com.google.analytics.admin.v1beta.AccessQuotaStatus value) {
       if (tokensPerHourBuilder_ == null) {
-        if (((bitField0_ & 0x00000002) != 0) &&
-          tokensPerHour_ != null &&
-          tokensPerHour_ != com.google.analytics.admin.v1beta.AccessQuotaStatus.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000002) != 0)
+            && tokensPerHour_ != null
+            && tokensPerHour_
+                != com.google.analytics.admin.v1beta.AccessQuotaStatus.getDefaultInstance()) {
           getTokensPerHourBuilder().mergeFrom(value);
         } else {
           tokensPerHour_ = value;
@@ -1008,6 +1145,8 @@ public Builder mergeTokensPerHour(com.google.analytics.admin.v1beta.AccessQuotaS
       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,
@@ -1027,6 +1166,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,
@@ -1041,6 +1182,8 @@ public com.google.analytics.admin.v1beta.AccessQuotaStatus.Builder getTokensPerH
       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,
@@ -1049,15 +1192,19 @@ public com.google.analytics.admin.v1beta.AccessQuotaStatus.Builder getTokensPerH
      *
      * .google.analytics.admin.v1beta.AccessQuotaStatus tokens_per_hour = 2;
      */
-    public com.google.analytics.admin.v1beta.AccessQuotaStatusOrBuilder getTokensPerHourOrBuilder() {
+    public com.google.analytics.admin.v1beta.AccessQuotaStatusOrBuilder
+        getTokensPerHourOrBuilder() {
       if (tokensPerHourBuilder_ != null) {
         return tokensPerHourBuilder_.getMessageOrBuilder();
       } else {
-        return tokensPerHour_ == null ?
-            com.google.analytics.admin.v1beta.AccessQuotaStatus.getDefaultInstance() : tokensPerHour_;
+        return tokensPerHour_ == null
+            ? com.google.analytics.admin.v1beta.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,
@@ -1067,14 +1214,17 @@ public com.google.analytics.admin.v1beta.AccessQuotaStatusOrBuilder getTokensPer
      * .google.analytics.admin.v1beta.AccessQuotaStatus tokens_per_hour = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.analytics.admin.v1beta.AccessQuotaStatus, com.google.analytics.admin.v1beta.AccessQuotaStatus.Builder, com.google.analytics.admin.v1beta.AccessQuotaStatusOrBuilder> 
+            com.google.analytics.admin.v1beta.AccessQuotaStatus,
+            com.google.analytics.admin.v1beta.AccessQuotaStatus.Builder,
+            com.google.analytics.admin.v1beta.AccessQuotaStatusOrBuilder>
         getTokensPerHourFieldBuilder() {
       if (tokensPerHourBuilder_ == null) {
-        tokensPerHourBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.analytics.admin.v1beta.AccessQuotaStatus, com.google.analytics.admin.v1beta.AccessQuotaStatus.Builder, com.google.analytics.admin.v1beta.AccessQuotaStatusOrBuilder>(
-                getTokensPerHour(),
-                getParentForChildren(),
-                isClean());
+        tokensPerHourBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.analytics.admin.v1beta.AccessQuotaStatus,
+                com.google.analytics.admin.v1beta.AccessQuotaStatus.Builder,
+                com.google.analytics.admin.v1beta.AccessQuotaStatusOrBuilder>(
+                getTokensPerHour(), getParentForChildren(), isClean());
         tokensPerHour_ = null;
       }
       return tokensPerHourBuilder_;
@@ -1082,41 +1232,55 @@ public com.google.analytics.admin.v1beta.AccessQuotaStatusOrBuilder getTokensPer
 
     private com.google.analytics.admin.v1beta.AccessQuotaStatus concurrentRequests_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.analytics.admin.v1beta.AccessQuotaStatus, com.google.analytics.admin.v1beta.AccessQuotaStatus.Builder, com.google.analytics.admin.v1beta.AccessQuotaStatusOrBuilder> concurrentRequestsBuilder_;
+            com.google.analytics.admin.v1beta.AccessQuotaStatus,
+            com.google.analytics.admin.v1beta.AccessQuotaStatus.Builder,
+            com.google.analytics.admin.v1beta.AccessQuotaStatusOrBuilder>
+        concurrentRequestsBuilder_;
     /**
+     *
+     *
      * 
      * Properties can use up to 50 concurrent requests.
      * 
* * .google.analytics.admin.v1beta.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.v1beta.AccessQuotaStatus concurrent_requests = 3; + * * @return The concurrentRequests. */ public com.google.analytics.admin.v1beta.AccessQuotaStatus getConcurrentRequests() { if (concurrentRequestsBuilder_ == null) { - return concurrentRequests_ == null ? com.google.analytics.admin.v1beta.AccessQuotaStatus.getDefaultInstance() : concurrentRequests_; + return concurrentRequests_ == null + ? com.google.analytics.admin.v1beta.AccessQuotaStatus.getDefaultInstance() + : concurrentRequests_; } else { return concurrentRequestsBuilder_.getMessage(); } } /** + * + * *
      * Properties can use up to 50 concurrent requests.
      * 
* * .google.analytics.admin.v1beta.AccessQuotaStatus concurrent_requests = 3; */ - public Builder setConcurrentRequests(com.google.analytics.admin.v1beta.AccessQuotaStatus value) { + public Builder setConcurrentRequests( + com.google.analytics.admin.v1beta.AccessQuotaStatus value) { if (concurrentRequestsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1130,6 +1294,8 @@ public Builder setConcurrentRequests(com.google.analytics.admin.v1beta.AccessQuo return this; } /** + * + * *
      * Properties can use up to 50 concurrent requests.
      * 
@@ -1148,17 +1314,21 @@ public Builder setConcurrentRequests( return this; } /** + * + * *
      * Properties can use up to 50 concurrent requests.
      * 
* * .google.analytics.admin.v1beta.AccessQuotaStatus concurrent_requests = 3; */ - public Builder mergeConcurrentRequests(com.google.analytics.admin.v1beta.AccessQuotaStatus value) { + public Builder mergeConcurrentRequests( + com.google.analytics.admin.v1beta.AccessQuotaStatus value) { if (concurrentRequestsBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) && - concurrentRequests_ != null && - concurrentRequests_ != com.google.analytics.admin.v1beta.AccessQuotaStatus.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) + && concurrentRequests_ != null + && concurrentRequests_ + != com.google.analytics.admin.v1beta.AccessQuotaStatus.getDefaultInstance()) { getConcurrentRequestsBuilder().mergeFrom(value); } else { concurrentRequests_ = value; @@ -1171,6 +1341,8 @@ public Builder mergeConcurrentRequests(com.google.analytics.admin.v1beta.AccessQ return this; } /** + * + * *
      * Properties can use up to 50 concurrent requests.
      * 
@@ -1188,33 +1360,42 @@ public Builder clearConcurrentRequests() { return this; } /** + * + * *
      * Properties can use up to 50 concurrent requests.
      * 
* * .google.analytics.admin.v1beta.AccessQuotaStatus concurrent_requests = 3; */ - public com.google.analytics.admin.v1beta.AccessQuotaStatus.Builder getConcurrentRequestsBuilder() { + public com.google.analytics.admin.v1beta.AccessQuotaStatus.Builder + getConcurrentRequestsBuilder() { bitField0_ |= 0x00000004; onChanged(); return getConcurrentRequestsFieldBuilder().getBuilder(); } /** + * + * *
      * Properties can use up to 50 concurrent requests.
      * 
* * .google.analytics.admin.v1beta.AccessQuotaStatus concurrent_requests = 3; */ - public com.google.analytics.admin.v1beta.AccessQuotaStatusOrBuilder getConcurrentRequestsOrBuilder() { + public com.google.analytics.admin.v1beta.AccessQuotaStatusOrBuilder + getConcurrentRequestsOrBuilder() { if (concurrentRequestsBuilder_ != null) { return concurrentRequestsBuilder_.getMessageOrBuilder(); } else { - return concurrentRequests_ == null ? - com.google.analytics.admin.v1beta.AccessQuotaStatus.getDefaultInstance() : concurrentRequests_; + return concurrentRequests_ == null + ? com.google.analytics.admin.v1beta.AccessQuotaStatus.getDefaultInstance() + : concurrentRequests_; } } /** + * + * *
      * Properties can use up to 50 concurrent requests.
      * 
@@ -1222,14 +1403,17 @@ public com.google.analytics.admin.v1beta.AccessQuotaStatusOrBuilder getConcurren * .google.analytics.admin.v1beta.AccessQuotaStatus concurrent_requests = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1beta.AccessQuotaStatus, com.google.analytics.admin.v1beta.AccessQuotaStatus.Builder, com.google.analytics.admin.v1beta.AccessQuotaStatusOrBuilder> + com.google.analytics.admin.v1beta.AccessQuotaStatus, + com.google.analytics.admin.v1beta.AccessQuotaStatus.Builder, + com.google.analytics.admin.v1beta.AccessQuotaStatusOrBuilder> getConcurrentRequestsFieldBuilder() { if (concurrentRequestsBuilder_ == null) { - concurrentRequestsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1beta.AccessQuotaStatus, com.google.analytics.admin.v1beta.AccessQuotaStatus.Builder, com.google.analytics.admin.v1beta.AccessQuotaStatusOrBuilder>( - getConcurrentRequests(), - getParentForChildren(), - isClean()); + concurrentRequestsBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1beta.AccessQuotaStatus, + com.google.analytics.admin.v1beta.AccessQuotaStatus.Builder, + com.google.analytics.admin.v1beta.AccessQuotaStatusOrBuilder>( + getConcurrentRequests(), getParentForChildren(), isClean()); concurrentRequests_ = null; } return concurrentRequestsBuilder_; @@ -1237,44 +1421,64 @@ public com.google.analytics.admin.v1beta.AccessQuotaStatusOrBuilder getConcurren private com.google.analytics.admin.v1beta.AccessQuotaStatus serverErrorsPerProjectPerHour_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1beta.AccessQuotaStatus, com.google.analytics.admin.v1beta.AccessQuotaStatus.Builder, com.google.analytics.admin.v1beta.AccessQuotaStatusOrBuilder> serverErrorsPerProjectPerHourBuilder_; + com.google.analytics.admin.v1beta.AccessQuotaStatus, + com.google.analytics.admin.v1beta.AccessQuotaStatus.Builder, + com.google.analytics.admin.v1beta.AccessQuotaStatusOrBuilder> + serverErrorsPerProjectPerHourBuilder_; /** + * + * *
      * Properties and cloud project pairs can have up to 50 server errors per
      * hour.
      * 
* - * .google.analytics.admin.v1beta.AccessQuotaStatus server_errors_per_project_per_hour = 4; + * + * .google.analytics.admin.v1beta.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.v1beta.AccessQuotaStatus server_errors_per_project_per_hour = 4; + * + * .google.analytics.admin.v1beta.AccessQuotaStatus server_errors_per_project_per_hour = 4; + * + * * @return The serverErrorsPerProjectPerHour. */ public com.google.analytics.admin.v1beta.AccessQuotaStatus getServerErrorsPerProjectPerHour() { if (serverErrorsPerProjectPerHourBuilder_ == null) { - return serverErrorsPerProjectPerHour_ == null ? com.google.analytics.admin.v1beta.AccessQuotaStatus.getDefaultInstance() : serverErrorsPerProjectPerHour_; + return serverErrorsPerProjectPerHour_ == null + ? com.google.analytics.admin.v1beta.AccessQuotaStatus.getDefaultInstance() + : serverErrorsPerProjectPerHour_; } else { return serverErrorsPerProjectPerHourBuilder_.getMessage(); } } /** + * + * *
      * Properties and cloud project pairs can have up to 50 server errors per
      * hour.
      * 
* - * .google.analytics.admin.v1beta.AccessQuotaStatus server_errors_per_project_per_hour = 4; + * + * .google.analytics.admin.v1beta.AccessQuotaStatus server_errors_per_project_per_hour = 4; + * */ - public Builder setServerErrorsPerProjectPerHour(com.google.analytics.admin.v1beta.AccessQuotaStatus value) { + public Builder setServerErrorsPerProjectPerHour( + com.google.analytics.admin.v1beta.AccessQuotaStatus value) { if (serverErrorsPerProjectPerHourBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1288,12 +1492,16 @@ public Builder setServerErrorsPerProjectPerHour(com.google.analytics.admin.v1bet return this; } /** + * + * *
      * Properties and cloud project pairs can have up to 50 server errors per
      * hour.
      * 
* - * .google.analytics.admin.v1beta.AccessQuotaStatus server_errors_per_project_per_hour = 4; + * + * .google.analytics.admin.v1beta.AccessQuotaStatus server_errors_per_project_per_hour = 4; + * */ public Builder setServerErrorsPerProjectPerHour( com.google.analytics.admin.v1beta.AccessQuotaStatus.Builder builderForValue) { @@ -1307,18 +1515,24 @@ public Builder setServerErrorsPerProjectPerHour( return this; } /** + * + * *
      * Properties and cloud project pairs can have up to 50 server errors per
      * hour.
      * 
* - * .google.analytics.admin.v1beta.AccessQuotaStatus server_errors_per_project_per_hour = 4; + * + * .google.analytics.admin.v1beta.AccessQuotaStatus server_errors_per_project_per_hour = 4; + * */ - public Builder mergeServerErrorsPerProjectPerHour(com.google.analytics.admin.v1beta.AccessQuotaStatus value) { + public Builder mergeServerErrorsPerProjectPerHour( + com.google.analytics.admin.v1beta.AccessQuotaStatus value) { if (serverErrorsPerProjectPerHourBuilder_ == null) { - if (((bitField0_ & 0x00000008) != 0) && - serverErrorsPerProjectPerHour_ != null && - serverErrorsPerProjectPerHour_ != com.google.analytics.admin.v1beta.AccessQuotaStatus.getDefaultInstance()) { + if (((bitField0_ & 0x00000008) != 0) + && serverErrorsPerProjectPerHour_ != null + && serverErrorsPerProjectPerHour_ + != com.google.analytics.admin.v1beta.AccessQuotaStatus.getDefaultInstance()) { getServerErrorsPerProjectPerHourBuilder().mergeFrom(value); } else { serverErrorsPerProjectPerHour_ = value; @@ -1331,12 +1545,16 @@ public Builder mergeServerErrorsPerProjectPerHour(com.google.analytics.admin.v1b return this; } /** + * + * *
      * Properties and cloud project pairs can have up to 50 server errors per
      * hour.
      * 
* - * .google.analytics.admin.v1beta.AccessQuotaStatus server_errors_per_project_per_hour = 4; + * + * .google.analytics.admin.v1beta.AccessQuotaStatus server_errors_per_project_per_hour = 4; + * */ public Builder clearServerErrorsPerProjectPerHour() { bitField0_ = (bitField0_ & ~0x00000008); @@ -1349,51 +1567,69 @@ public Builder clearServerErrorsPerProjectPerHour() { return this; } /** + * + * *
      * Properties and cloud project pairs can have up to 50 server errors per
      * hour.
      * 
* - * .google.analytics.admin.v1beta.AccessQuotaStatus server_errors_per_project_per_hour = 4; + * + * .google.analytics.admin.v1beta.AccessQuotaStatus server_errors_per_project_per_hour = 4; + * */ - public com.google.analytics.admin.v1beta.AccessQuotaStatus.Builder getServerErrorsPerProjectPerHourBuilder() { + public com.google.analytics.admin.v1beta.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.v1beta.AccessQuotaStatus server_errors_per_project_per_hour = 4; + * + * .google.analytics.admin.v1beta.AccessQuotaStatus server_errors_per_project_per_hour = 4; + * */ - public com.google.analytics.admin.v1beta.AccessQuotaStatusOrBuilder getServerErrorsPerProjectPerHourOrBuilder() { + public com.google.analytics.admin.v1beta.AccessQuotaStatusOrBuilder + getServerErrorsPerProjectPerHourOrBuilder() { if (serverErrorsPerProjectPerHourBuilder_ != null) { return serverErrorsPerProjectPerHourBuilder_.getMessageOrBuilder(); } else { - return serverErrorsPerProjectPerHour_ == null ? - com.google.analytics.admin.v1beta.AccessQuotaStatus.getDefaultInstance() : serverErrorsPerProjectPerHour_; + return serverErrorsPerProjectPerHour_ == null + ? com.google.analytics.admin.v1beta.AccessQuotaStatus.getDefaultInstance() + : serverErrorsPerProjectPerHour_; } } /** + * + * *
      * Properties and cloud project pairs can have up to 50 server errors per
      * hour.
      * 
* - * .google.analytics.admin.v1beta.AccessQuotaStatus server_errors_per_project_per_hour = 4; + * + * .google.analytics.admin.v1beta.AccessQuotaStatus server_errors_per_project_per_hour = 4; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1beta.AccessQuotaStatus, com.google.analytics.admin.v1beta.AccessQuotaStatus.Builder, com.google.analytics.admin.v1beta.AccessQuotaStatusOrBuilder> + com.google.analytics.admin.v1beta.AccessQuotaStatus, + com.google.analytics.admin.v1beta.AccessQuotaStatus.Builder, + com.google.analytics.admin.v1beta.AccessQuotaStatusOrBuilder> getServerErrorsPerProjectPerHourFieldBuilder() { if (serverErrorsPerProjectPerHourBuilder_ == null) { - serverErrorsPerProjectPerHourBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1beta.AccessQuotaStatus, com.google.analytics.admin.v1beta.AccessQuotaStatus.Builder, com.google.analytics.admin.v1beta.AccessQuotaStatusOrBuilder>( - getServerErrorsPerProjectPerHour(), - getParentForChildren(), - isClean()); + serverErrorsPerProjectPerHourBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1beta.AccessQuotaStatus, + com.google.analytics.admin.v1beta.AccessQuotaStatus.Builder, + com.google.analytics.admin.v1beta.AccessQuotaStatusOrBuilder>( + getServerErrorsPerProjectPerHour(), getParentForChildren(), isClean()); serverErrorsPerProjectPerHour_ = null; } return serverErrorsPerProjectPerHourBuilder_; @@ -1401,8 +1637,13 @@ public com.google.analytics.admin.v1beta.AccessQuotaStatusOrBuilder getServerErr private com.google.analytics.admin.v1beta.AccessQuotaStatus tokensPerProjectPerHour_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1beta.AccessQuotaStatus, com.google.analytics.admin.v1beta.AccessQuotaStatus.Builder, com.google.analytics.admin.v1beta.AccessQuotaStatusOrBuilder> tokensPerProjectPerHourBuilder_; + com.google.analytics.admin.v1beta.AccessQuotaStatus, + com.google.analytics.admin.v1beta.AccessQuotaStatus.Builder, + com.google.analytics.admin.v1beta.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
@@ -1410,13 +1651,17 @@ public com.google.analytics.admin.v1beta.AccessQuotaStatusOrBuilder getServerErr
      * deducted from all of the hourly, daily, and per project hourly quotas.
      * 
* - * .google.analytics.admin.v1beta.AccessQuotaStatus tokens_per_project_per_hour = 5; + * .google.analytics.admin.v1beta.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
@@ -1424,17 +1669,23 @@ public boolean hasTokensPerProjectPerHour() {
      * deducted from all of the hourly, daily, and per project hourly quotas.
      * 
* - * .google.analytics.admin.v1beta.AccessQuotaStatus tokens_per_project_per_hour = 5; + * .google.analytics.admin.v1beta.AccessQuotaStatus tokens_per_project_per_hour = 5; + * + * * @return The tokensPerProjectPerHour. */ public com.google.analytics.admin.v1beta.AccessQuotaStatus getTokensPerProjectPerHour() { if (tokensPerProjectPerHourBuilder_ == null) { - return tokensPerProjectPerHour_ == null ? com.google.analytics.admin.v1beta.AccessQuotaStatus.getDefaultInstance() : tokensPerProjectPerHour_; + return tokensPerProjectPerHour_ == null + ? com.google.analytics.admin.v1beta.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
@@ -1442,9 +1693,11 @@ public com.google.analytics.admin.v1beta.AccessQuotaStatus getTokensPerProjectPe
      * deducted from all of the hourly, daily, and per project hourly quotas.
      * 
* - * .google.analytics.admin.v1beta.AccessQuotaStatus tokens_per_project_per_hour = 5; + * .google.analytics.admin.v1beta.AccessQuotaStatus tokens_per_project_per_hour = 5; + * */ - public Builder setTokensPerProjectPerHour(com.google.analytics.admin.v1beta.AccessQuotaStatus value) { + public Builder setTokensPerProjectPerHour( + com.google.analytics.admin.v1beta.AccessQuotaStatus value) { if (tokensPerProjectPerHourBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1458,6 +1711,8 @@ public Builder setTokensPerProjectPerHour(com.google.analytics.admin.v1beta.Acce 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
@@ -1465,7 +1720,8 @@ public Builder setTokensPerProjectPerHour(com.google.analytics.admin.v1beta.Acce
      * deducted from all of the hourly, daily, and per project hourly quotas.
      * 
* - * .google.analytics.admin.v1beta.AccessQuotaStatus tokens_per_project_per_hour = 5; + * .google.analytics.admin.v1beta.AccessQuotaStatus tokens_per_project_per_hour = 5; + * */ public Builder setTokensPerProjectPerHour( com.google.analytics.admin.v1beta.AccessQuotaStatus.Builder builderForValue) { @@ -1479,6 +1735,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
@@ -1486,13 +1744,16 @@ public Builder setTokensPerProjectPerHour(
      * deducted from all of the hourly, daily, and per project hourly quotas.
      * 
* - * .google.analytics.admin.v1beta.AccessQuotaStatus tokens_per_project_per_hour = 5; + * .google.analytics.admin.v1beta.AccessQuotaStatus tokens_per_project_per_hour = 5; + * */ - public Builder mergeTokensPerProjectPerHour(com.google.analytics.admin.v1beta.AccessQuotaStatus value) { + public Builder mergeTokensPerProjectPerHour( + com.google.analytics.admin.v1beta.AccessQuotaStatus value) { if (tokensPerProjectPerHourBuilder_ == null) { - if (((bitField0_ & 0x00000010) != 0) && - tokensPerProjectPerHour_ != null && - tokensPerProjectPerHour_ != com.google.analytics.admin.v1beta.AccessQuotaStatus.getDefaultInstance()) { + if (((bitField0_ & 0x00000010) != 0) + && tokensPerProjectPerHour_ != null + && tokensPerProjectPerHour_ + != com.google.analytics.admin.v1beta.AccessQuotaStatus.getDefaultInstance()) { getTokensPerProjectPerHourBuilder().mergeFrom(value); } else { tokensPerProjectPerHour_ = value; @@ -1505,6 +1766,8 @@ public Builder mergeTokensPerProjectPerHour(com.google.analytics.admin.v1beta.Ac 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
@@ -1512,7 +1775,8 @@ public Builder mergeTokensPerProjectPerHour(com.google.analytics.admin.v1beta.Ac
      * deducted from all of the hourly, daily, and per project hourly quotas.
      * 
* - * .google.analytics.admin.v1beta.AccessQuotaStatus tokens_per_project_per_hour = 5; + * .google.analytics.admin.v1beta.AccessQuotaStatus tokens_per_project_per_hour = 5; + * */ public Builder clearTokensPerProjectPerHour() { bitField0_ = (bitField0_ & ~0x00000010); @@ -1525,6 +1789,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
@@ -1532,14 +1798,18 @@ public Builder clearTokensPerProjectPerHour() {
      * deducted from all of the hourly, daily, and per project hourly quotas.
      * 
* - * .google.analytics.admin.v1beta.AccessQuotaStatus tokens_per_project_per_hour = 5; + * .google.analytics.admin.v1beta.AccessQuotaStatus tokens_per_project_per_hour = 5; + * */ - public com.google.analytics.admin.v1beta.AccessQuotaStatus.Builder getTokensPerProjectPerHourBuilder() { + public com.google.analytics.admin.v1beta.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
@@ -1547,17 +1817,22 @@ public com.google.analytics.admin.v1beta.AccessQuotaStatus.Builder getTokensPerP
      * deducted from all of the hourly, daily, and per project hourly quotas.
      * 
* - * .google.analytics.admin.v1beta.AccessQuotaStatus tokens_per_project_per_hour = 5; + * .google.analytics.admin.v1beta.AccessQuotaStatus tokens_per_project_per_hour = 5; + * */ - public com.google.analytics.admin.v1beta.AccessQuotaStatusOrBuilder getTokensPerProjectPerHourOrBuilder() { + public com.google.analytics.admin.v1beta.AccessQuotaStatusOrBuilder + getTokensPerProjectPerHourOrBuilder() { if (tokensPerProjectPerHourBuilder_ != null) { return tokensPerProjectPerHourBuilder_.getMessageOrBuilder(); } else { - return tokensPerProjectPerHour_ == null ? - com.google.analytics.admin.v1beta.AccessQuotaStatus.getDefaultInstance() : tokensPerProjectPerHour_; + return tokensPerProjectPerHour_ == null + ? com.google.analytics.admin.v1beta.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
@@ -1565,24 +1840,28 @@ public com.google.analytics.admin.v1beta.AccessQuotaStatusOrBuilder getTokensPer
      * deducted from all of the hourly, daily, and per project hourly quotas.
      * 
* - * .google.analytics.admin.v1beta.AccessQuotaStatus tokens_per_project_per_hour = 5; + * .google.analytics.admin.v1beta.AccessQuotaStatus tokens_per_project_per_hour = 5; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1beta.AccessQuotaStatus, com.google.analytics.admin.v1beta.AccessQuotaStatus.Builder, com.google.analytics.admin.v1beta.AccessQuotaStatusOrBuilder> + com.google.analytics.admin.v1beta.AccessQuotaStatus, + com.google.analytics.admin.v1beta.AccessQuotaStatus.Builder, + com.google.analytics.admin.v1beta.AccessQuotaStatusOrBuilder> getTokensPerProjectPerHourFieldBuilder() { if (tokensPerProjectPerHourBuilder_ == null) { - tokensPerProjectPerHourBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1beta.AccessQuotaStatus, com.google.analytics.admin.v1beta.AccessQuotaStatus.Builder, com.google.analytics.admin.v1beta.AccessQuotaStatusOrBuilder>( - getTokensPerProjectPerHour(), - getParentForChildren(), - isClean()); + tokensPerProjectPerHourBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.analytics.admin.v1beta.AccessQuotaStatus, + com.google.analytics.admin.v1beta.AccessQuotaStatus.Builder, + com.google.analytics.admin.v1beta.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); } @@ -1592,12 +1871,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1beta.AccessQuota) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1beta.AccessQuota) private static final com.google.analytics.admin.v1beta.AccessQuota DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1beta.AccessQuota(); } @@ -1606,27 +1885,27 @@ public static com.google.analytics.admin.v1beta.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; @@ -1641,6 +1920,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1beta.AccessQuota 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/AccessQuotaOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AccessQuotaOrBuilder.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/AccessQuotaOrBuilder.java rename to java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AccessQuotaOrBuilder.java index 58c6298388d0..a40ad8f3fd68 100644 --- a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AccessQuotaOrBuilder.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AccessQuotaOrBuilder.java @@ -1,33 +1,57 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1beta/access_report.proto package com.google.analytics.admin.v1beta; -public interface AccessQuotaOrBuilder extends +public interface AccessQuotaOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1beta.AccessQuota) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Properties can use 250,000 tokens per day. Most requests consume fewer than
    * 10 tokens.
    * 
* * .google.analytics.admin.v1beta.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.v1beta.AccessQuotaStatus tokens_per_day = 1; + * * @return The tokensPerDay. */ com.google.analytics.admin.v1beta.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.v1beta.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.v1beta.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.v1beta.AccessQuotaStatus tokens_per_hour = 2; + * * @return The tokensPerHour. */ com.google.analytics.admin.v1beta.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.v1beta.AccessQuotaStatusOrBuilder getTokensPerHourOrBuilder();
 
   /**
+   *
+   *
    * 
    * Properties can use up to 50 concurrent requests.
    * 
* * .google.analytics.admin.v1beta.AccessQuotaStatus concurrent_requests = 3; + * * @return Whether the concurrentRequests field is set. */ boolean hasConcurrentRequests(); /** + * + * *
    * Properties can use up to 50 concurrent requests.
    * 
* * .google.analytics.admin.v1beta.AccessQuotaStatus concurrent_requests = 3; + * * @return The concurrentRequests. */ com.google.analytics.admin.v1beta.AccessQuotaStatus getConcurrentRequests(); /** + * + * *
    * Properties can use up to 50 concurrent requests.
    * 
@@ -98,36 +138,50 @@ public interface AccessQuotaOrBuilder extends com.google.analytics.admin.v1beta.AccessQuotaStatusOrBuilder getConcurrentRequestsOrBuilder(); /** + * + * *
    * Properties and cloud project pairs can have up to 50 server errors per
    * hour.
    * 
* - * .google.analytics.admin.v1beta.AccessQuotaStatus server_errors_per_project_per_hour = 4; + * .google.analytics.admin.v1beta.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.v1beta.AccessQuotaStatus server_errors_per_project_per_hour = 4; + * .google.analytics.admin.v1beta.AccessQuotaStatus server_errors_per_project_per_hour = 4; + * + * * @return The serverErrorsPerProjectPerHour. */ com.google.analytics.admin.v1beta.AccessQuotaStatus getServerErrorsPerProjectPerHour(); /** + * + * *
    * Properties and cloud project pairs can have up to 50 server errors per
    * hour.
    * 
* - * .google.analytics.admin.v1beta.AccessQuotaStatus server_errors_per_project_per_hour = 4; + * .google.analytics.admin.v1beta.AccessQuotaStatus server_errors_per_project_per_hour = 4; + * */ - com.google.analytics.admin.v1beta.AccessQuotaStatusOrBuilder getServerErrorsPerProjectPerHourOrBuilder(); + com.google.analytics.admin.v1beta.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.v1beta.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.v1beta.AccessQuotaStatus tokens_per_project_per_hour = 5; + * * @return The tokensPerProjectPerHour. */ com.google.analytics.admin.v1beta.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.v1beta.AccessQuotaStatus tokens_per_project_per_hour = 5;
    */
-  com.google.analytics.admin.v1beta.AccessQuotaStatusOrBuilder getTokensPerProjectPerHourOrBuilder();
+  com.google.analytics.admin.v1beta.AccessQuotaStatusOrBuilder
+      getTokensPerProjectPerHourOrBuilder();
 }
diff --git a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AccessQuotaStatus.java b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AccessQuotaStatus.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/AccessQuotaStatus.java
rename to java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AccessQuotaStatus.java
index 50b67cb7eaff..e148bc7bcfc7 100644
--- a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AccessQuotaStatus.java
+++ b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AccessQuotaStatus.java
@@ -1,55 +1,76 @@
+/*
+ * Copyright 2023 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/analytics/admin/v1beta/access_report.proto
 
 package com.google.analytics.admin.v1beta;
 
 /**
+ *
+ *
  * 
  * Current state for a particular quota group.
  * 
* * Protobuf type {@code google.analytics.admin.v1beta.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.v1beta.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(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1beta.AccessReportProto.internal_static_google_analytics_admin_v1beta_AccessQuotaStatus_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1beta.AccessReportProto + .internal_static_google_analytics_admin_v1beta_AccessQuotaStatus_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.AccessReportProto.internal_static_google_analytics_admin_v1beta_AccessQuotaStatus_fieldAccessorTable + return com.google.analytics.admin.v1beta.AccessReportProto + .internal_static_google_analytics_admin_v1beta_AccessQuotaStatus_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.AccessQuotaStatus.class, com.google.analytics.admin.v1beta.AccessQuotaStatus.Builder.class); + com.google.analytics.admin.v1beta.AccessQuotaStatus.class, + com.google.analytics.admin.v1beta.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 @@ -60,11 +81,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 @@ -73,6 +97,7 @@ public int getRemaining() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -84,8 +109,7 @@ public final boolean isInitialized() { } @java.lang.Override - public 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_); } @@ -102,12 +126,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; @@ -117,17 +139,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.AccessQuotaStatus)) { return super.equals(obj); } - com.google.analytics.admin.v1beta.AccessQuotaStatus other = (com.google.analytics.admin.v1beta.AccessQuotaStatus) obj; + com.google.analytics.admin.v1beta.AccessQuotaStatus other = + (com.google.analytics.admin.v1beta.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; } @@ -149,131 +170,135 @@ public int hashCode() { } public static com.google.analytics.admin.v1beta.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.v1beta.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.v1beta.AccessQuotaStatus parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1beta.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.v1beta.AccessQuotaStatus parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1beta.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.v1beta.AccessQuotaStatus parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1beta.AccessQuotaStatus parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1beta.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.v1beta.AccessQuotaStatus parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1beta.AccessQuotaStatus parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.analytics.admin.v1beta.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.v1beta.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.v1beta.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.v1beta.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.v1beta.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.v1beta.AccessQuotaStatus) com.google.analytics.admin.v1beta.AccessQuotaStatusOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1beta.AccessReportProto.internal_static_google_analytics_admin_v1beta_AccessQuotaStatus_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1beta.AccessReportProto + .internal_static_google_analytics_admin_v1beta_AccessQuotaStatus_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.AccessReportProto.internal_static_google_analytics_admin_v1beta_AccessQuotaStatus_fieldAccessorTable + return com.google.analytics.admin.v1beta.AccessReportProto + .internal_static_google_analytics_admin_v1beta_AccessQuotaStatus_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.AccessQuotaStatus.class, com.google.analytics.admin.v1beta.AccessQuotaStatus.Builder.class); + com.google.analytics.admin.v1beta.AccessQuotaStatus.class, + com.google.analytics.admin.v1beta.AccessQuotaStatus.Builder.class); } // Construct using com.google.analytics.admin.v1beta.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(); @@ -284,9 +309,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.analytics.admin.v1beta.AccessReportProto.internal_static_google_analytics_admin_v1beta_AccessQuotaStatus_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1beta.AccessReportProto + .internal_static_google_analytics_admin_v1beta_AccessQuotaStatus_descriptor; } @java.lang.Override @@ -305,8 +330,11 @@ public com.google.analytics.admin.v1beta.AccessQuotaStatus build() { @java.lang.Override public com.google.analytics.admin.v1beta.AccessQuotaStatus buildPartial() { - com.google.analytics.admin.v1beta.AccessQuotaStatus result = new com.google.analytics.admin.v1beta.AccessQuotaStatus(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.analytics.admin.v1beta.AccessQuotaStatus result = + new com.google.analytics.admin.v1beta.AccessQuotaStatus(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -325,38 +353,39 @@ private void buildPartial0(com.google.analytics.admin.v1beta.AccessQuotaStatus 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.AccessQuotaStatus) { - return mergeFrom((com.google.analytics.admin.v1beta.AccessQuotaStatus)other); + return mergeFrom((com.google.analytics.admin.v1beta.AccessQuotaStatus) other); } else { super.mergeFrom(other); return this; @@ -364,7 +393,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1beta.AccessQuotaStatus other) { - if (other == com.google.analytics.admin.v1beta.AccessQuotaStatus.getDefaultInstance()) return this; + if (other == com.google.analytics.admin.v1beta.AccessQuotaStatus.getDefaultInstance()) + return this; if (other.getConsumed() != 0) { setConsumed(other.getConsumed()); } @@ -397,22 +427,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) { @@ -422,15 +455,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 @@ -438,11 +475,14 @@ public int getConsumed() { return consumed_; } /** + * + * *
      * Quota consumed by this request.
      * 
* * int32 consumed = 1; + * * @param value The consumed to set. * @return This builder for chaining. */ @@ -454,11 +494,14 @@ public Builder setConsumed(int value) { return this; } /** + * + * *
      * Quota consumed by this request.
      * 
* * int32 consumed = 1; + * * @return This builder for chaining. */ public Builder clearConsumed() { @@ -468,13 +511,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 @@ -482,11 +528,14 @@ public int getRemaining() { return remaining_; } /** + * + * *
      * Quota remaining after this request.
      * 
* * int32 remaining = 2; + * * @param value The remaining to set. * @return This builder for chaining. */ @@ -498,11 +547,14 @@ public Builder setRemaining(int value) { return this; } /** + * + * *
      * Quota remaining after this request.
      * 
* * int32 remaining = 2; + * * @return This builder for chaining. */ public Builder clearRemaining() { @@ -511,9 +563,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); } @@ -523,12 +575,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1beta.AccessQuotaStatus) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1beta.AccessQuotaStatus) private static final com.google.analytics.admin.v1beta.AccessQuotaStatus DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1beta.AccessQuotaStatus(); } @@ -537,27 +589,27 @@ public static com.google.analytics.admin.v1beta.AccessQuotaStatus getDefaultInst 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; @@ -572,6 +624,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1beta.AccessQuotaStatus getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AccessQuotaStatusOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AccessQuotaStatusOrBuilder.java new file mode 100644 index 000000000000..4cb9453d116b --- /dev/null +++ b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AccessQuotaStatusOrBuilder.java @@ -0,0 +1,51 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/analytics/admin/v1beta/access_report.proto + +package com.google.analytics.admin.v1beta; + +public interface AccessQuotaStatusOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1beta.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-v1beta/src/main/java/com/google/analytics/admin/v1beta/AccessReportProto.java b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AccessReportProto.java new file mode 100644 index 000000000000..e17a39e72839 --- /dev/null +++ b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AccessReportProto.java @@ -0,0 +1,395 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/analytics/admin/v1beta/access_report.proto + +package com.google.analytics.admin.v1beta; + +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_v1beta_AccessDimension_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1beta_AccessDimension_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1beta_AccessMetric_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1beta_AccessMetric_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1beta_AccessDateRange_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1beta_AccessDateRange_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1beta_AccessFilterExpression_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1beta_AccessFilterExpression_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1beta_AccessFilterExpressionList_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1beta_AccessFilterExpressionList_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1beta_AccessFilter_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1beta_AccessFilter_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1beta_AccessStringFilter_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1beta_AccessStringFilter_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1beta_AccessInListFilter_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1beta_AccessInListFilter_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1beta_AccessNumericFilter_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1beta_AccessNumericFilter_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1beta_AccessBetweenFilter_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1beta_AccessBetweenFilter_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1beta_NumericValue_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1beta_NumericValue_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1beta_AccessOrderBy_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1beta_AccessOrderBy_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1beta_AccessOrderBy_MetricOrderBy_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1beta_AccessOrderBy_MetricOrderBy_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1beta_AccessOrderBy_DimensionOrderBy_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1beta_AccessOrderBy_DimensionOrderBy_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1beta_AccessDimensionHeader_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1beta_AccessDimensionHeader_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1beta_AccessMetricHeader_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1beta_AccessMetricHeader_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1beta_AccessRow_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1beta_AccessRow_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1beta_AccessDimensionValue_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1beta_AccessDimensionValue_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1beta_AccessMetricValue_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1beta_AccessMetricValue_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1beta_AccessQuota_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1beta_AccessQuota_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1beta_AccessQuotaStatus_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1beta_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 = { + "\n1google/analytics/admin/v1beta/access_r" + + "eport.proto\022\035google.analytics.admin.v1be" + + "ta\")\n\017AccessDimension\022\026\n\016dimension_name\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\"\340\002\n\026AccessFilterExpr" + + "ession\022N\n\tand_group\030\001 \001(\01329.google.analy" + + "tics.admin.v1beta.AccessFilterExpression" + + "ListH\000\022M\n\010or_group\030\002 \001(\01329.google.analyt" + + "ics.admin.v1beta.AccessFilterExpressionL" + + "istH\000\022O\n\016not_expression\030\003 \001(\01325.google.a" + + "nalytics.admin.v1beta.AccessFilterExpres" + + "sionH\000\022D\n\raccess_filter\030\004 \001(\0132+.google.a" + + "nalytics.admin.v1beta.AccessFilterH\000B\020\n\016" + + "one_expression\"h\n\032AccessFilterExpression" + + "List\022J\n\013expressions\030\001 \003(\01325.google.analy" + + "tics.admin.v1beta.AccessFilterExpression" + + "\"\345\002\n\014AccessFilter\022J\n\rstring_filter\030\002 \001(\013" + + "21.google.analytics.admin.v1beta.AccessS" + + "tringFilterH\000\022K\n\016in_list_filter\030\003 \001(\01321." + + "google.analytics.admin.v1beta.AccessInLi" + + "stFilterH\000\022L\n\016numeric_filter\030\004 \001(\01322.goo" + + "gle.analytics.admin.v1beta.AccessNumeric" + + "FilterH\000\022L\n\016between_filter\030\005 \001(\01322.googl" + + "e.analytics.admin.v1beta.AccessBetweenFi" + + "lterH\000\022\022\n\nfield_name\030\001 \001(\tB\014\n\none_filter" + + "\"\224\002\n\022AccessStringFilter\022O\n\nmatch_type\030\001 " + + "\001(\0162;.google.analytics.admin.v1beta.Acce" + + "ssStringFilter.MatchType\022\r\n\005value\030\002 \001(\t\022" + + "\026\n\016case_sensitive\030\003 \001(\010\"\205\001\n\tMatchType\022\032\n" + + "\026MATCH_TYPE_UNSPECIFIED\020\000\022\t\n\005EXACT\020\001\022\017\n\013" + + "BEGINS_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\"" + + "<\n\022AccessInListFilter\022\016\n\006values\030\001 \003(\t\022\026\n" + + "\016case_sensitive\030\002 \001(\010\"\252\002\n\023AccessNumericF" + + "ilter\022O\n\toperation\030\001 \001(\0162<.google.analyt" + + "ics.admin.v1beta.AccessNumericFilter.Ope" + + "ration\022:\n\005value\030\002 \001(\0132+.google.analytics" + + ".admin.v1beta.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\"\225\001\n\023AccessBetweenFilter\022?\n\nfrom_value" + + "\030\001 \001(\0132+.google.analytics.admin.v1beta.N" + + "umericValue\022=\n\010to_value\030\002 \001(\0132+.google.a" + + "nalytics.admin.v1beta.NumericValue\"J\n\014Nu" + + "mericValue\022\025\n\013int64_value\030\001 \001(\003H\000\022\026\n\014dou" + + "ble_value\030\002 \001(\001H\000B\013\n\tone_value\"\352\003\n\rAcces" + + "sOrderBy\022L\n\006metric\030\001 \001(\0132:.google.analyt" + + "ics.admin.v1beta.AccessOrderBy.MetricOrd" + + "erByH\000\022R\n\tdimension\030\002 \001(\0132=.google.analy" + + "tics.admin.v1beta.AccessOrderBy.Dimensio" + + "nOrderByH\000\022\014\n\004desc\030\003 \001(\010\032$\n\rMetricOrderB" + + "y\022\023\n\013metric_name\030\001 \001(\t\032\362\001\n\020DimensionOrde" + + "rBy\022\026\n\016dimension_name\030\001 \001(\t\022[\n\norder_typ" + + "e\030\002 \001(\0162G.google.analytics.admin.v1beta." + + "AccessOrderBy.DimensionOrderBy.OrderType" + + "\"i\n\tOrderType\022\032\n\026ORDER_TYPE_UNSPECIFIED\020" + + "\000\022\020\n\014ALPHANUMERIC\020\001\022!\n\035CASE_INSENSITIVE_" + + "ALPHANUMERIC\020\002\022\013\n\007NUMERIC\020\003B\016\n\014one_order" + + "_by\"/\n\025AccessDimensionHeader\022\026\n\016dimensio" + + "n_name\030\001 \001(\t\")\n\022AccessMetricHeader\022\023\n\013me" + + "tric_name\030\001 \001(\t\"\243\001\n\tAccessRow\022M\n\020dimensi" + + "on_values\030\001 \003(\01323.google.analytics.admin" + + ".v1beta.AccessDimensionValue\022G\n\rmetric_v" + + "alues\030\002 \003(\01320.google.analytics.admin.v1b" + + "eta.AccessMetricValue\"%\n\024AccessDimension" + + "Value\022\r\n\005value\030\001 \001(\t\"\"\n\021AccessMetricValu" + + "e\022\r\n\005value\030\001 \001(\t\"\246\003\n\013AccessQuota\022H\n\016toke" + + "ns_per_day\030\001 \001(\01320.google.analytics.admi" + + "n.v1beta.AccessQuotaStatus\022I\n\017tokens_per" + + "_hour\030\002 \001(\01320.google.analytics.admin.v1b" + + "eta.AccessQuotaStatus\022M\n\023concurrent_requ" + + "ests\030\003 \001(\01320.google.analytics.admin.v1be" + + "ta.AccessQuotaStatus\022\\\n\"server_errors_pe" + + "r_project_per_hour\030\004 \001(\01320.google.analyt" + + "ics.admin.v1beta.AccessQuotaStatus\022U\n\033to" + + "kens_per_project_per_hour\030\005 \001(\01320.google" + + ".analytics.admin.v1beta.AccessQuotaStatu" + + "s\"8\n\021AccessQuotaStatus\022\020\n\010consumed\030\001 \001(\005" + + "\022\021\n\tremaining\030\002 \001(\005B|\n!com.google.analyt" + + "ics.admin.v1betaB\021AccessReportProtoP\001ZBg" + + "oogle.golang.org/genproto/googleapis/ana" + + "lytics/admin/v1beta;adminb\006proto3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {}); + internal_static_google_analytics_admin_v1beta_AccessDimension_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_analytics_admin_v1beta_AccessDimension_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1beta_AccessDimension_descriptor, + new java.lang.String[] { + "DimensionName", + }); + internal_static_google_analytics_admin_v1beta_AccessMetric_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_analytics_admin_v1beta_AccessMetric_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1beta_AccessMetric_descriptor, + new java.lang.String[] { + "MetricName", + }); + internal_static_google_analytics_admin_v1beta_AccessDateRange_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_analytics_admin_v1beta_AccessDateRange_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1beta_AccessDateRange_descriptor, + new java.lang.String[] { + "StartDate", "EndDate", + }); + internal_static_google_analytics_admin_v1beta_AccessFilterExpression_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_analytics_admin_v1beta_AccessFilterExpression_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1beta_AccessFilterExpression_descriptor, + new java.lang.String[] { + "AndGroup", "OrGroup", "NotExpression", "AccessFilter", "OneExpression", + }); + internal_static_google_analytics_admin_v1beta_AccessFilterExpressionList_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_analytics_admin_v1beta_AccessFilterExpressionList_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1beta_AccessFilterExpressionList_descriptor, + new java.lang.String[] { + "Expressions", + }); + internal_static_google_analytics_admin_v1beta_AccessFilter_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_google_analytics_admin_v1beta_AccessFilter_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1beta_AccessFilter_descriptor, + new java.lang.String[] { + "StringFilter", + "InListFilter", + "NumericFilter", + "BetweenFilter", + "FieldName", + "OneFilter", + }); + internal_static_google_analytics_admin_v1beta_AccessStringFilter_descriptor = + getDescriptor().getMessageTypes().get(6); + internal_static_google_analytics_admin_v1beta_AccessStringFilter_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1beta_AccessStringFilter_descriptor, + new java.lang.String[] { + "MatchType", "Value", "CaseSensitive", + }); + internal_static_google_analytics_admin_v1beta_AccessInListFilter_descriptor = + getDescriptor().getMessageTypes().get(7); + internal_static_google_analytics_admin_v1beta_AccessInListFilter_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1beta_AccessInListFilter_descriptor, + new java.lang.String[] { + "Values", "CaseSensitive", + }); + internal_static_google_analytics_admin_v1beta_AccessNumericFilter_descriptor = + getDescriptor().getMessageTypes().get(8); + internal_static_google_analytics_admin_v1beta_AccessNumericFilter_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1beta_AccessNumericFilter_descriptor, + new java.lang.String[] { + "Operation", "Value", + }); + internal_static_google_analytics_admin_v1beta_AccessBetweenFilter_descriptor = + getDescriptor().getMessageTypes().get(9); + internal_static_google_analytics_admin_v1beta_AccessBetweenFilter_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1beta_AccessBetweenFilter_descriptor, + new java.lang.String[] { + "FromValue", "ToValue", + }); + internal_static_google_analytics_admin_v1beta_NumericValue_descriptor = + getDescriptor().getMessageTypes().get(10); + internal_static_google_analytics_admin_v1beta_NumericValue_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1beta_NumericValue_descriptor, + new java.lang.String[] { + "Int64Value", "DoubleValue", "OneValue", + }); + internal_static_google_analytics_admin_v1beta_AccessOrderBy_descriptor = + getDescriptor().getMessageTypes().get(11); + internal_static_google_analytics_admin_v1beta_AccessOrderBy_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1beta_AccessOrderBy_descriptor, + new java.lang.String[] { + "Metric", "Dimension", "Desc", "OneOrderBy", + }); + internal_static_google_analytics_admin_v1beta_AccessOrderBy_MetricOrderBy_descriptor = + internal_static_google_analytics_admin_v1beta_AccessOrderBy_descriptor + .getNestedTypes() + .get(0); + internal_static_google_analytics_admin_v1beta_AccessOrderBy_MetricOrderBy_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1beta_AccessOrderBy_MetricOrderBy_descriptor, + new java.lang.String[] { + "MetricName", + }); + internal_static_google_analytics_admin_v1beta_AccessOrderBy_DimensionOrderBy_descriptor = + internal_static_google_analytics_admin_v1beta_AccessOrderBy_descriptor + .getNestedTypes() + .get(1); + internal_static_google_analytics_admin_v1beta_AccessOrderBy_DimensionOrderBy_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1beta_AccessOrderBy_DimensionOrderBy_descriptor, + new java.lang.String[] { + "DimensionName", "OrderType", + }); + internal_static_google_analytics_admin_v1beta_AccessDimensionHeader_descriptor = + getDescriptor().getMessageTypes().get(12); + internal_static_google_analytics_admin_v1beta_AccessDimensionHeader_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1beta_AccessDimensionHeader_descriptor, + new java.lang.String[] { + "DimensionName", + }); + internal_static_google_analytics_admin_v1beta_AccessMetricHeader_descriptor = + getDescriptor().getMessageTypes().get(13); + internal_static_google_analytics_admin_v1beta_AccessMetricHeader_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1beta_AccessMetricHeader_descriptor, + new java.lang.String[] { + "MetricName", + }); + internal_static_google_analytics_admin_v1beta_AccessRow_descriptor = + getDescriptor().getMessageTypes().get(14); + internal_static_google_analytics_admin_v1beta_AccessRow_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1beta_AccessRow_descriptor, + new java.lang.String[] { + "DimensionValues", "MetricValues", + }); + internal_static_google_analytics_admin_v1beta_AccessDimensionValue_descriptor = + getDescriptor().getMessageTypes().get(15); + internal_static_google_analytics_admin_v1beta_AccessDimensionValue_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1beta_AccessDimensionValue_descriptor, + new java.lang.String[] { + "Value", + }); + internal_static_google_analytics_admin_v1beta_AccessMetricValue_descriptor = + getDescriptor().getMessageTypes().get(16); + internal_static_google_analytics_admin_v1beta_AccessMetricValue_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1beta_AccessMetricValue_descriptor, + new java.lang.String[] { + "Value", + }); + internal_static_google_analytics_admin_v1beta_AccessQuota_descriptor = + getDescriptor().getMessageTypes().get(17); + internal_static_google_analytics_admin_v1beta_AccessQuota_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1beta_AccessQuota_descriptor, + new java.lang.String[] { + "TokensPerDay", + "TokensPerHour", + "ConcurrentRequests", + "ServerErrorsPerProjectPerHour", + "TokensPerProjectPerHour", + }); + internal_static_google_analytics_admin_v1beta_AccessQuotaStatus_descriptor = + getDescriptor().getMessageTypes().get(18); + internal_static_google_analytics_admin_v1beta_AccessQuotaStatus_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1beta_AccessQuotaStatus_descriptor, + new java.lang.String[] { + "Consumed", "Remaining", + }); + } + + // @@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/AccessRow.java b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AccessRow.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/AccessRow.java rename to java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AccessRow.java index a4aa2bbba423..c605ea031a17 100644 --- a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AccessRow.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AccessRow.java @@ -1,24 +1,42 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1beta/access_report.proto package com.google.analytics.admin.v1beta; /** + * + * *
  * Access report data for each row.
  * 
* * Protobuf type {@code google.analytics.admin.v1beta.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.v1beta.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,28 +44,32 @@ private AccessRow() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new AccessRow(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1beta.AccessReportProto.internal_static_google_analytics_admin_v1beta_AccessRow_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1beta.AccessReportProto + .internal_static_google_analytics_admin_v1beta_AccessRow_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.AccessReportProto.internal_static_google_analytics_admin_v1beta_AccessRow_fieldAccessorTable + return com.google.analytics.admin.v1beta.AccessReportProto + .internal_static_google_analytics_admin_v1beta_AccessRow_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.AccessRow.class, com.google.analytics.admin.v1beta.AccessRow.Builder.class); + com.google.analytics.admin.v1beta.AccessRow.class, + com.google.analytics.admin.v1beta.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.
@@ -56,10 +78,13 @@ protected java.lang.Object newInstance(
    * repeated .google.analytics.admin.v1beta.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.
@@ -68,11 +93,13 @@ public java.util.List ge
    * repeated .google.analytics.admin.v1beta.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.
@@ -85,6 +112,8 @@ public int getDimensionValuesCount() {
     return dimensionValues_.size();
   }
   /**
+   *
+   *
    * 
    * List of dimension values. These values are in the same order as specified
    * in the request.
@@ -97,6 +126,8 @@ public com.google.analytics.admin.v1beta.AccessDimensionValue getDimensionValues
     return dimensionValues_.get(index);
   }
   /**
+   *
+   *
    * 
    * List of dimension values. These values are in the same order as specified
    * in the request.
@@ -105,15 +136,18 @@ public com.google.analytics.admin.v1beta.AccessDimensionValue getDimensionValues
    * repeated .google.analytics.admin.v1beta.AccessDimensionValue dimension_values = 1;
    */
   @java.lang.Override
-  public com.google.analytics.admin.v1beta.AccessDimensionValueOrBuilder getDimensionValuesOrBuilder(
-      int index) {
+  public com.google.analytics.admin.v1beta.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.
@@ -126,6 +160,8 @@ public java.util.List getMe
     return metricValues_;
   }
   /**
+   *
+   *
    * 
    * List of metric values. These values are in the same order as specified
    * in the request.
@@ -134,11 +170,13 @@ public java.util.List getMe
    * repeated .google.analytics.admin.v1beta.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.
@@ -151,6 +189,8 @@ public int getMetricValuesCount() {
     return metricValues_.size();
   }
   /**
+   *
+   *
    * 
    * List of metric values. These values are in the same order as specified
    * in the request.
@@ -163,6 +203,8 @@ public com.google.analytics.admin.v1beta.AccessMetricValue getMetricValues(int i
     return metricValues_.get(index);
   }
   /**
+   *
+   *
    * 
    * List of metric values. These values are in the same order as specified
    * in the request.
@@ -177,6 +219,7 @@ public com.google.analytics.admin.v1beta.AccessMetricValueOrBuilder getMetricVal
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -188,8 +231,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  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));
     }
@@ -206,12 +248,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;
@@ -221,17 +261,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.AccessRow)) {
       return super.equals(obj);
     }
-    com.google.analytics.admin.v1beta.AccessRow other = (com.google.analytics.admin.v1beta.AccessRow) obj;
+    com.google.analytics.admin.v1beta.AccessRow other =
+        (com.google.analytics.admin.v1beta.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;
   }
@@ -256,132 +295,136 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.analytics.admin.v1beta.AccessRow parseFrom(
-      java.nio.ByteBuffer data)
+  public static com.google.analytics.admin.v1beta.AccessRow parseFrom(java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.analytics.admin.v1beta.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.v1beta.AccessRow parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.analytics.admin.v1beta.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.v1beta.AccessRow parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.analytics.admin.v1beta.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.v1beta.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.v1beta.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.v1beta.AccessRow parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+  public static com.google.analytics.admin.v1beta.AccessRow parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
 
   public static com.google.analytics.admin.v1beta.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.v1beta.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.v1beta.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.v1beta.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.v1beta.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.v1beta.AccessRow) com.google.analytics.admin.v1beta.AccessRowOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1beta.AccessReportProto.internal_static_google_analytics_admin_v1beta_AccessRow_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1beta.AccessReportProto + .internal_static_google_analytics_admin_v1beta_AccessRow_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.AccessReportProto.internal_static_google_analytics_admin_v1beta_AccessRow_fieldAccessorTable + return com.google.analytics.admin.v1beta.AccessReportProto + .internal_static_google_analytics_admin_v1beta_AccessRow_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.AccessRow.class, com.google.analytics.admin.v1beta.AccessRow.Builder.class); + com.google.analytics.admin.v1beta.AccessRow.class, + com.google.analytics.admin.v1beta.AccessRow.Builder.class); } // Construct using com.google.analytics.admin.v1beta.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(); @@ -404,9 +447,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.analytics.admin.v1beta.AccessReportProto.internal_static_google_analytics_admin_v1beta_AccessRow_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1beta.AccessReportProto + .internal_static_google_analytics_admin_v1beta_AccessRow_descriptor; } @java.lang.Override @@ -425,9 +468,12 @@ public com.google.analytics.admin.v1beta.AccessRow build() { @java.lang.Override public com.google.analytics.admin.v1beta.AccessRow buildPartial() { - com.google.analytics.admin.v1beta.AccessRow result = new com.google.analytics.admin.v1beta.AccessRow(this); + com.google.analytics.admin.v1beta.AccessRow result = + new com.google.analytics.admin.v1beta.AccessRow(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -461,38 +507,39 @@ private void buildPartial0(com.google.analytics.admin.v1beta.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.v1beta.AccessRow) { - return mergeFrom((com.google.analytics.admin.v1beta.AccessRow)other); + return mergeFrom((com.google.analytics.admin.v1beta.AccessRow) other); } else { super.mergeFrom(other); return this; @@ -519,9 +566,10 @@ public Builder mergeFrom(com.google.analytics.admin.v1beta.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_); } @@ -545,9 +593,10 @@ public Builder mergeFrom(com.google.analytics.admin.v1beta.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_); } @@ -579,38 +628,41 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - com.google.analytics.admin.v1beta.AccessDimensionValue m = - input.readMessage( - com.google.analytics.admin.v1beta.AccessDimensionValue.parser(), - extensionRegistry); - if (dimensionValuesBuilder_ == null) { - ensureDimensionValuesIsMutable(); - dimensionValues_.add(m); - } else { - dimensionValuesBuilder_.addMessage(m); - } - break; - } // case 10 - case 18: { - com.google.analytics.admin.v1beta.AccessMetricValue m = - input.readMessage( - com.google.analytics.admin.v1beta.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.v1beta.AccessDimensionValue m = + input.readMessage( + com.google.analytics.admin.v1beta.AccessDimensionValue.parser(), + extensionRegistry); + if (dimensionValuesBuilder_ == null) { + ensureDimensionValuesIsMutable(); + dimensionValues_.add(m); + } else { + dimensionValuesBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: + { + com.google.analytics.admin.v1beta.AccessMetricValue m = + input.readMessage( + com.google.analytics.admin.v1beta.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) { @@ -620,29 +672,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.v1beta.AccessDimensionValue, com.google.analytics.admin.v1beta.AccessDimensionValue.Builder, com.google.analytics.admin.v1beta.AccessDimensionValueOrBuilder> dimensionValuesBuilder_; + com.google.analytics.admin.v1beta.AccessDimensionValue, + com.google.analytics.admin.v1beta.AccessDimensionValue.Builder, + com.google.analytics.admin.v1beta.AccessDimensionValueOrBuilder> + dimensionValuesBuilder_; /** + * + * *
      * List of dimension values. These values are in the same order as specified
      * in the request.
      * 
* - * repeated .google.analytics.admin.v1beta.AccessDimensionValue dimension_values = 1; + * repeated .google.analytics.admin.v1beta.AccessDimensionValue dimension_values = 1; + * */ - public java.util.List getDimensionValuesList() { + public java.util.List + getDimensionValuesList() { if (dimensionValuesBuilder_ == null) { return java.util.Collections.unmodifiableList(dimensionValues_); } else { @@ -650,12 +713,15 @@ public java.util.List ge } } /** + * + * *
      * List of dimension values. These values are in the same order as specified
      * in the request.
      * 
* - * repeated .google.analytics.admin.v1beta.AccessDimensionValue dimension_values = 1; + * repeated .google.analytics.admin.v1beta.AccessDimensionValue dimension_values = 1; + * */ public int getDimensionValuesCount() { if (dimensionValuesBuilder_ == null) { @@ -665,12 +731,15 @@ public int getDimensionValuesCount() { } } /** + * + * *
      * List of dimension values. These values are in the same order as specified
      * in the request.
      * 
* - * repeated .google.analytics.admin.v1beta.AccessDimensionValue dimension_values = 1; + * repeated .google.analytics.admin.v1beta.AccessDimensionValue dimension_values = 1; + * */ public com.google.analytics.admin.v1beta.AccessDimensionValue getDimensionValues(int index) { if (dimensionValuesBuilder_ == null) { @@ -680,12 +749,15 @@ public com.google.analytics.admin.v1beta.AccessDimensionValue getDimensionValues } } /** + * + * *
      * List of dimension values. These values are in the same order as specified
      * in the request.
      * 
* - * repeated .google.analytics.admin.v1beta.AccessDimensionValue dimension_values = 1; + * repeated .google.analytics.admin.v1beta.AccessDimensionValue dimension_values = 1; + * */ public Builder setDimensionValues( int index, com.google.analytics.admin.v1beta.AccessDimensionValue value) { @@ -702,12 +774,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.v1beta.AccessDimensionValue dimension_values = 1; + * repeated .google.analytics.admin.v1beta.AccessDimensionValue dimension_values = 1; + * */ public Builder setDimensionValues( int index, com.google.analytics.admin.v1beta.AccessDimensionValue.Builder builderForValue) { @@ -721,14 +796,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.v1beta.AccessDimensionValue dimension_values = 1; + * repeated .google.analytics.admin.v1beta.AccessDimensionValue dimension_values = 1; + * */ - public Builder addDimensionValues(com.google.analytics.admin.v1beta.AccessDimensionValue value) { + public Builder addDimensionValues( + com.google.analytics.admin.v1beta.AccessDimensionValue value) { if (dimensionValuesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -742,12 +821,15 @@ public Builder addDimensionValues(com.google.analytics.admin.v1beta.AccessDimens return this; } /** + * + * *
      * List of dimension values. These values are in the same order as specified
      * in the request.
      * 
* - * repeated .google.analytics.admin.v1beta.AccessDimensionValue dimension_values = 1; + * repeated .google.analytics.admin.v1beta.AccessDimensionValue dimension_values = 1; + * */ public Builder addDimensionValues( int index, com.google.analytics.admin.v1beta.AccessDimensionValue value) { @@ -764,12 +846,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.v1beta.AccessDimensionValue dimension_values = 1; + * repeated .google.analytics.admin.v1beta.AccessDimensionValue dimension_values = 1; + * */ public Builder addDimensionValues( com.google.analytics.admin.v1beta.AccessDimensionValue.Builder builderForValue) { @@ -783,12 +868,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.v1beta.AccessDimensionValue dimension_values = 1; + * repeated .google.analytics.admin.v1beta.AccessDimensionValue dimension_values = 1; + * */ public Builder addDimensionValues( int index, com.google.analytics.admin.v1beta.AccessDimensionValue.Builder builderForValue) { @@ -802,19 +890,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.v1beta.AccessDimensionValue dimension_values = 1; + * repeated .google.analytics.admin.v1beta.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); @@ -822,12 +913,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.v1beta.AccessDimensionValue dimension_values = 1; + * repeated .google.analytics.admin.v1beta.AccessDimensionValue dimension_values = 1; + * */ public Builder clearDimensionValues() { if (dimensionValuesBuilder_ == null) { @@ -840,12 +934,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.v1beta.AccessDimensionValue dimension_values = 1; + * repeated .google.analytics.admin.v1beta.AccessDimensionValue dimension_values = 1; + * */ public Builder removeDimensionValues(int index) { if (dimensionValuesBuilder_ == null) { @@ -858,42 +955,52 @@ 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.v1beta.AccessDimensionValue dimension_values = 1; + * repeated .google.analytics.admin.v1beta.AccessDimensionValue dimension_values = 1; + * */ public com.google.analytics.admin.v1beta.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.v1beta.AccessDimensionValue dimension_values = 1; + * repeated .google.analytics.admin.v1beta.AccessDimensionValue dimension_values = 1; + * */ - public com.google.analytics.admin.v1beta.AccessDimensionValueOrBuilder getDimensionValuesOrBuilder( - int index) { + public com.google.analytics.admin.v1beta.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.v1beta.AccessDimensionValue dimension_values = 1; + * repeated .google.analytics.admin.v1beta.AccessDimensionValue dimension_values = 1; + * */ - public java.util.List - getDimensionValuesOrBuilderList() { + public java.util.List + getDimensionValuesOrBuilderList() { if (dimensionValuesBuilder_ != null) { return dimensionValuesBuilder_.getMessageOrBuilderList(); } else { @@ -901,48 +1008,65 @@ public com.google.analytics.admin.v1beta.AccessDimensionValueOrBuilder getDimens } } /** + * + * *
      * List of dimension values. These values are in the same order as specified
      * in the request.
      * 
* - * repeated .google.analytics.admin.v1beta.AccessDimensionValue dimension_values = 1; + * repeated .google.analytics.admin.v1beta.AccessDimensionValue dimension_values = 1; + * */ - public com.google.analytics.admin.v1beta.AccessDimensionValue.Builder addDimensionValuesBuilder() { - return getDimensionValuesFieldBuilder().addBuilder( - com.google.analytics.admin.v1beta.AccessDimensionValue.getDefaultInstance()); + public com.google.analytics.admin.v1beta.AccessDimensionValue.Builder + addDimensionValuesBuilder() { + return getDimensionValuesFieldBuilder() + .addBuilder(com.google.analytics.admin.v1beta.AccessDimensionValue.getDefaultInstance()); } /** + * + * *
      * List of dimension values. These values are in the same order as specified
      * in the request.
      * 
* - * repeated .google.analytics.admin.v1beta.AccessDimensionValue dimension_values = 1; + * repeated .google.analytics.admin.v1beta.AccessDimensionValue dimension_values = 1; + * */ public com.google.analytics.admin.v1beta.AccessDimensionValue.Builder addDimensionValuesBuilder( int index) { - return getDimensionValuesFieldBuilder().addBuilder( - index, com.google.analytics.admin.v1beta.AccessDimensionValue.getDefaultInstance()); + return getDimensionValuesFieldBuilder() + .addBuilder( + index, com.google.analytics.admin.v1beta.AccessDimensionValue.getDefaultInstance()); } /** + * + * *
      * List of dimension values. These values are in the same order as specified
      * in the request.
      * 
* - * repeated .google.analytics.admin.v1beta.AccessDimensionValue dimension_values = 1; + * repeated .google.analytics.admin.v1beta.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.v1beta.AccessDimensionValue, com.google.analytics.admin.v1beta.AccessDimensionValue.Builder, com.google.analytics.admin.v1beta.AccessDimensionValueOrBuilder> + com.google.analytics.admin.v1beta.AccessDimensionValue, + com.google.analytics.admin.v1beta.AccessDimensionValue.Builder, + com.google.analytics.admin.v1beta.AccessDimensionValueOrBuilder> getDimensionValuesFieldBuilder() { if (dimensionValuesBuilder_ == null) { - dimensionValuesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1beta.AccessDimensionValue, com.google.analytics.admin.v1beta.AccessDimensionValue.Builder, com.google.analytics.admin.v1beta.AccessDimensionValueOrBuilder>( + dimensionValuesBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.analytics.admin.v1beta.AccessDimensionValue, + com.google.analytics.admin.v1beta.AccessDimensionValue.Builder, + com.google.analytics.admin.v1beta.AccessDimensionValueOrBuilder>( dimensionValues_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -953,18 +1077,26 @@ public com.google.analytics.admin.v1beta.AccessDimensionValue.Builder addDimensi } 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.v1beta.AccessMetricValue, com.google.analytics.admin.v1beta.AccessMetricValue.Builder, com.google.analytics.admin.v1beta.AccessMetricValueOrBuilder> metricValuesBuilder_; + com.google.analytics.admin.v1beta.AccessMetricValue, + com.google.analytics.admin.v1beta.AccessMetricValue.Builder, + com.google.analytics.admin.v1beta.AccessMetricValueOrBuilder> + metricValuesBuilder_; /** + * + * *
      * List of metric values. These values are in the same order as specified
      * in the request.
@@ -972,7 +1104,8 @@ private void ensureMetricValuesIsMutable() {
      *
      * repeated .google.analytics.admin.v1beta.AccessMetricValue metric_values = 2;
      */
-    public java.util.List getMetricValuesList() {
+    public java.util.List
+        getMetricValuesList() {
       if (metricValuesBuilder_ == null) {
         return java.util.Collections.unmodifiableList(metricValues_);
       } else {
@@ -980,6 +1113,8 @@ public java.util.List getMe
       }
     }
     /**
+     *
+     *
      * 
      * List of metric values. These values are in the same order as specified
      * in the request.
@@ -995,6 +1130,8 @@ public int getMetricValuesCount() {
       }
     }
     /**
+     *
+     *
      * 
      * List of metric values. These values are in the same order as specified
      * in the request.
@@ -1010,6 +1147,8 @@ public com.google.analytics.admin.v1beta.AccessMetricValue getMetricValues(int i
       }
     }
     /**
+     *
+     *
      * 
      * List of metric values. These values are in the same order as specified
      * in the request.
@@ -1032,6 +1171,8 @@ public Builder setMetricValues(
       return this;
     }
     /**
+     *
+     *
      * 
      * List of metric values. These values are in the same order as specified
      * in the request.
@@ -1051,6 +1192,8 @@ public Builder setMetricValues(
       return this;
     }
     /**
+     *
+     *
      * 
      * List of metric values. These values are in the same order as specified
      * in the request.
@@ -1072,6 +1215,8 @@ public Builder addMetricValues(com.google.analytics.admin.v1beta.AccessMetricVal
       return this;
     }
     /**
+     *
+     *
      * 
      * List of metric values. These values are in the same order as specified
      * in the request.
@@ -1094,6 +1239,8 @@ public Builder addMetricValues(
       return this;
     }
     /**
+     *
+     *
      * 
      * List of metric values. These values are in the same order as specified
      * in the request.
@@ -1113,6 +1260,8 @@ public Builder addMetricValues(
       return this;
     }
     /**
+     *
+     *
      * 
      * List of metric values. These values are in the same order as specified
      * in the request.
@@ -1132,6 +1281,8 @@ public Builder addMetricValues(
       return this;
     }
     /**
+     *
+     *
      * 
      * List of metric values. These values are in the same order as specified
      * in the request.
@@ -1143,8 +1294,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);
@@ -1152,6 +1302,8 @@ public Builder addAllMetricValues(
       return this;
     }
     /**
+     *
+     *
      * 
      * List of metric values. These values are in the same order as specified
      * in the request.
@@ -1170,6 +1322,8 @@ public Builder clearMetricValues() {
       return this;
     }
     /**
+     *
+     *
      * 
      * List of metric values. These values are in the same order as specified
      * in the request.
@@ -1188,6 +1342,8 @@ public Builder removeMetricValues(int index) {
       return this;
     }
     /**
+     *
+     *
      * 
      * List of metric values. These values are in the same order as specified
      * in the request.
@@ -1200,6 +1356,8 @@ public com.google.analytics.admin.v1beta.AccessMetricValue.Builder getMetricValu
       return getMetricValuesFieldBuilder().getBuilder(index);
     }
     /**
+     *
+     *
      * 
      * List of metric values. These values are in the same order as specified
      * in the request.
@@ -1210,11 +1368,14 @@ public com.google.analytics.admin.v1beta.AccessMetricValue.Builder getMetricValu
     public com.google.analytics.admin.v1beta.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.
@@ -1222,8 +1383,8 @@ public com.google.analytics.admin.v1beta.AccessMetricValueOrBuilder getMetricVal
      *
      * repeated .google.analytics.admin.v1beta.AccessMetricValue metric_values = 2;
      */
-    public java.util.List 
-         getMetricValuesOrBuilderList() {
+    public java.util.List
+        getMetricValuesOrBuilderList() {
       if (metricValuesBuilder_ != null) {
         return metricValuesBuilder_.getMessageOrBuilderList();
       } else {
@@ -1231,6 +1392,8 @@ public com.google.analytics.admin.v1beta.AccessMetricValueOrBuilder getMetricVal
       }
     }
     /**
+     *
+     *
      * 
      * List of metric values. These values are in the same order as specified
      * in the request.
@@ -1239,10 +1402,12 @@ public com.google.analytics.admin.v1beta.AccessMetricValueOrBuilder getMetricVal
      * repeated .google.analytics.admin.v1beta.AccessMetricValue metric_values = 2;
      */
     public com.google.analytics.admin.v1beta.AccessMetricValue.Builder addMetricValuesBuilder() {
-      return getMetricValuesFieldBuilder().addBuilder(
-          com.google.analytics.admin.v1beta.AccessMetricValue.getDefaultInstance());
+      return getMetricValuesFieldBuilder()
+          .addBuilder(com.google.analytics.admin.v1beta.AccessMetricValue.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * List of metric values. These values are in the same order as specified
      * in the request.
@@ -1252,10 +1417,13 @@ public com.google.analytics.admin.v1beta.AccessMetricValue.Builder addMetricValu
      */
     public com.google.analytics.admin.v1beta.AccessMetricValue.Builder addMetricValuesBuilder(
         int index) {
-      return getMetricValuesFieldBuilder().addBuilder(
-          index, com.google.analytics.admin.v1beta.AccessMetricValue.getDefaultInstance());
+      return getMetricValuesFieldBuilder()
+          .addBuilder(
+              index, com.google.analytics.admin.v1beta.AccessMetricValue.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * List of metric values. These values are in the same order as specified
      * in the request.
@@ -1263,27 +1431,30 @@ public com.google.analytics.admin.v1beta.AccessMetricValue.Builder addMetricValu
      *
      * repeated .google.analytics.admin.v1beta.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.v1beta.AccessMetricValue, com.google.analytics.admin.v1beta.AccessMetricValue.Builder, com.google.analytics.admin.v1beta.AccessMetricValueOrBuilder> 
+            com.google.analytics.admin.v1beta.AccessMetricValue,
+            com.google.analytics.admin.v1beta.AccessMetricValue.Builder,
+            com.google.analytics.admin.v1beta.AccessMetricValueOrBuilder>
         getMetricValuesFieldBuilder() {
       if (metricValuesBuilder_ == null) {
-        metricValuesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.analytics.admin.v1beta.AccessMetricValue, com.google.analytics.admin.v1beta.AccessMetricValue.Builder, com.google.analytics.admin.v1beta.AccessMetricValueOrBuilder>(
-                metricValues_,
-                ((bitField0_ & 0x00000002) != 0),
-                getParentForChildren(),
-                isClean());
+        metricValuesBuilder_ =
+            new com.google.protobuf.RepeatedFieldBuilderV3<
+                com.google.analytics.admin.v1beta.AccessMetricValue,
+                com.google.analytics.admin.v1beta.AccessMetricValue.Builder,
+                com.google.analytics.admin.v1beta.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);
     }
 
@@ -1293,12 +1464,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1beta.AccessRow)
   }
 
   // @@protoc_insertion_point(class_scope:google.analytics.admin.v1beta.AccessRow)
   private static final com.google.analytics.admin.v1beta.AccessRow DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.analytics.admin.v1beta.AccessRow();
   }
@@ -1307,27 +1478,27 @@ public static com.google.analytics.admin.v1beta.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;
@@ -1342,6 +1513,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.analytics.admin.v1beta.AccessRow 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/AccessRowOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AccessRowOrBuilder.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/AccessRowOrBuilder.java
rename to java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AccessRowOrBuilder.java
index 0d20041d7ffe..0136adffb130 100644
--- a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AccessRowOrBuilder.java
+++ b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AccessRowOrBuilder.java
@@ -1,13 +1,31 @@
+/*
+ * Copyright 2023 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/analytics/admin/v1beta/access_report.proto
 
 package com.google.analytics.admin.v1beta;
 
-public interface AccessRowOrBuilder extends
+public interface AccessRowOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1beta.AccessRow)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * List of dimension values. These values are in the same order as specified
    * in the request.
@@ -15,9 +33,10 @@ public interface AccessRowOrBuilder extends
    *
    * repeated .google.analytics.admin.v1beta.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.
@@ -27,6 +46,8 @@ public interface AccessRowOrBuilder extends
    */
   com.google.analytics.admin.v1beta.AccessDimensionValue getDimensionValues(int index);
   /**
+   *
+   *
    * 
    * List of dimension values. These values are in the same order as specified
    * in the request.
@@ -36,6 +57,8 @@ public interface AccessRowOrBuilder extends
    */
   int getDimensionValuesCount();
   /**
+   *
+   *
    * 
    * List of dimension values. These values are in the same order as specified
    * in the request.
@@ -43,9 +66,11 @@ public interface AccessRowOrBuilder extends
    *
    * repeated .google.analytics.admin.v1beta.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.
@@ -57,6 +82,8 @@ com.google.analytics.admin.v1beta.AccessDimensionValueOrBuilder getDimensionValu
       int index);
 
   /**
+   *
+   *
    * 
    * List of metric values. These values are in the same order as specified
    * in the request.
@@ -64,9 +91,10 @@ com.google.analytics.admin.v1beta.AccessDimensionValueOrBuilder getDimensionValu
    *
    * repeated .google.analytics.admin.v1beta.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 +104,8 @@ com.google.analytics.admin.v1beta.AccessDimensionValueOrBuilder getDimensionValu
    */
   com.google.analytics.admin.v1beta.AccessMetricValue getMetricValues(int index);
   /**
+   *
+   *
    * 
    * List of metric values. These values are in the same order as specified
    * in the request.
@@ -85,6 +115,8 @@ com.google.analytics.admin.v1beta.AccessDimensionValueOrBuilder getDimensionValu
    */
   int getMetricValuesCount();
   /**
+   *
+   *
    * 
    * List of metric values. These values are in the same order as specified
    * in the request.
@@ -92,9 +124,11 @@ com.google.analytics.admin.v1beta.AccessDimensionValueOrBuilder getDimensionValu
    *
    * repeated .google.analytics.admin.v1beta.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 +136,5 @@ com.google.analytics.admin.v1beta.AccessDimensionValueOrBuilder getDimensionValu
    *
    * repeated .google.analytics.admin.v1beta.AccessMetricValue metric_values = 2;
    */
-  com.google.analytics.admin.v1beta.AccessMetricValueOrBuilder getMetricValuesOrBuilder(
-      int index);
+  com.google.analytics.admin.v1beta.AccessMetricValueOrBuilder getMetricValuesOrBuilder(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/AccessStringFilter.java b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AccessStringFilter.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/AccessStringFilter.java
rename to java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AccessStringFilter.java
index a29a4145e50d..e5697bad5a9d 100644
--- a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AccessStringFilter.java
+++ b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AccessStringFilter.java
@@ -1,24 +1,42 @@
+/*
+ * Copyright 2023 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/analytics/admin/v1beta/access_report.proto
 
 package com.google.analytics.admin.v1beta;
 
 /**
+ *
+ *
  * 
  * The filter for strings.
  * 
* * Protobuf type {@code google.analytics.admin.v1beta.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.v1beta.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,34 +44,38 @@ private AccessStringFilter() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new AccessStringFilter(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1beta.AccessReportProto.internal_static_google_analytics_admin_v1beta_AccessStringFilter_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1beta.AccessReportProto + .internal_static_google_analytics_admin_v1beta_AccessStringFilter_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.AccessReportProto.internal_static_google_analytics_admin_v1beta_AccessStringFilter_fieldAccessorTable + return com.google.analytics.admin.v1beta.AccessReportProto + .internal_static_google_analytics_admin_v1beta_AccessStringFilter_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.AccessStringFilter.class, com.google.analytics.admin.v1beta.AccessStringFilter.Builder.class); + com.google.analytics.admin.v1beta.AccessStringFilter.class, + com.google.analytics.admin.v1beta.AccessStringFilter.Builder.class); } /** + * + * *
    * The match type of a string filter.
    * 
* * Protobuf enum {@code google.analytics.admin.v1beta.AccessStringFilter.MatchType} */ - public enum MatchType - implements com.google.protobuf.ProtocolMessageEnum { + public enum MatchType implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Unspecified
      * 
@@ -62,6 +84,8 @@ public enum MatchType */ MATCH_TYPE_UNSPECIFIED(0), /** + * + * *
      * Exact match of the string value.
      * 
@@ -70,6 +94,8 @@ public enum MatchType */ EXACT(1), /** + * + * *
      * Begins with the string value.
      * 
@@ -78,6 +104,8 @@ public enum MatchType */ BEGINS_WITH(2), /** + * + * *
      * Ends with the string value.
      * 
@@ -86,6 +114,8 @@ public enum MatchType */ ENDS_WITH(3), /** + * + * *
      * Contains the string value.
      * 
@@ -94,6 +124,8 @@ public enum MatchType */ CONTAINS(4), /** + * + * *
      * Full match for the regular expression with the string value.
      * 
@@ -102,6 +134,8 @@ public enum MatchType */ FULL_REGEXP(5), /** + * + * *
      * Partial match for the regular expression with the string value.
      * 
@@ -113,6 +147,8 @@ public enum MatchType ; /** + * + * *
      * Unspecified
      * 
@@ -121,6 +157,8 @@ public enum MatchType */ public static final int MATCH_TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Exact match of the string value.
      * 
@@ -129,6 +167,8 @@ public enum MatchType */ public static final int EXACT_VALUE = 1; /** + * + * *
      * Begins with the string value.
      * 
@@ -137,6 +177,8 @@ public enum MatchType */ public static final int BEGINS_WITH_VALUE = 2; /** + * + * *
      * Ends with the string value.
      * 
@@ -145,6 +187,8 @@ public enum MatchType */ public static final int ENDS_WITH_VALUE = 3; /** + * + * *
      * Contains the string value.
      * 
@@ -153,6 +197,8 @@ public enum MatchType */ public static final int CONTAINS_VALUE = 4; /** + * + * *
      * Full match for the regular expression with the string value.
      * 
@@ -161,6 +207,8 @@ public enum MatchType */ public static final int FULL_REGEXP_VALUE = 5; /** + * + * *
      * Partial match for the regular expression with the string value.
      * 
@@ -169,7 +217,6 @@ public enum MatchType */ public static final int PARTIAL_REGEXP_VALUE = 6; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -194,53 +241,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.v1beta.AccessStringFilter.getDescriptor().getEnumTypes().get(0); + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.analytics.admin.v1beta.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; @@ -260,38 +313,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.v1beta.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.v1beta.AccessStringFilter.MatchType match_type = 1; + * * @return The matchType. */ - @java.lang.Override public com.google.analytics.admin.v1beta.AccessStringFilter.MatchType getMatchType() { - com.google.analytics.admin.v1beta.AccessStringFilter.MatchType result = com.google.analytics.admin.v1beta.AccessStringFilter.MatchType.forNumber(matchType_); - return result == null ? com.google.analytics.admin.v1beta.AccessStringFilter.MatchType.UNRECOGNIZED : result; + @java.lang.Override + public com.google.analytics.admin.v1beta.AccessStringFilter.MatchType getMatchType() { + com.google.analytics.admin.v1beta.AccessStringFilter.MatchType result = + com.google.analytics.admin.v1beta.AccessStringFilter.MatchType.forNumber(matchType_); + return result == null + ? com.google.analytics.admin.v1beta.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 @@ -300,29 +368,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 { @@ -333,11 +401,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 @@ -346,6 +417,7 @@ public boolean getCaseSensitive() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -357,9 +429,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.v1beta.AccessStringFilter.MatchType.MATCH_TYPE_UNSPECIFIED.getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (matchType_ + != com.google.analytics.admin.v1beta.AccessStringFilter.MatchType.MATCH_TYPE_UNSPECIFIED + .getNumber()) { output.writeEnum(1, matchType_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(value_)) { @@ -377,16 +450,16 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (matchType_ != com.google.analytics.admin.v1beta.AccessStringFilter.MatchType.MATCH_TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(1, matchType_); + if (matchType_ + != com.google.analytics.admin.v1beta.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; @@ -396,18 +469,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.AccessStringFilter)) { return super.equals(obj); } - com.google.analytics.admin.v1beta.AccessStringFilter other = (com.google.analytics.admin.v1beta.AccessStringFilter) obj; + com.google.analytics.admin.v1beta.AccessStringFilter other = + (com.google.analytics.admin.v1beta.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; } @@ -424,139 +496,142 @@ 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.v1beta.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.v1beta.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.v1beta.AccessStringFilter parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1beta.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.v1beta.AccessStringFilter parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1beta.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.v1beta.AccessStringFilter parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1beta.AccessStringFilter parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1beta.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.v1beta.AccessStringFilter parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1beta.AccessStringFilter parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.analytics.admin.v1beta.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.v1beta.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.v1beta.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.v1beta.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.v1beta.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.v1beta.AccessStringFilter) com.google.analytics.admin.v1beta.AccessStringFilterOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1beta.AccessReportProto.internal_static_google_analytics_admin_v1beta_AccessStringFilter_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1beta.AccessReportProto + .internal_static_google_analytics_admin_v1beta_AccessStringFilter_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.AccessReportProto.internal_static_google_analytics_admin_v1beta_AccessStringFilter_fieldAccessorTable + return com.google.analytics.admin.v1beta.AccessReportProto + .internal_static_google_analytics_admin_v1beta_AccessStringFilter_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.AccessStringFilter.class, com.google.analytics.admin.v1beta.AccessStringFilter.Builder.class); + com.google.analytics.admin.v1beta.AccessStringFilter.class, + com.google.analytics.admin.v1beta.AccessStringFilter.Builder.class); } // Construct using com.google.analytics.admin.v1beta.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(); @@ -568,9 +643,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.analytics.admin.v1beta.AccessReportProto.internal_static_google_analytics_admin_v1beta_AccessStringFilter_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1beta.AccessReportProto + .internal_static_google_analytics_admin_v1beta_AccessStringFilter_descriptor; } @java.lang.Override @@ -589,8 +664,11 @@ public com.google.analytics.admin.v1beta.AccessStringFilter build() { @java.lang.Override public com.google.analytics.admin.v1beta.AccessStringFilter buildPartial() { - com.google.analytics.admin.v1beta.AccessStringFilter result = new com.google.analytics.admin.v1beta.AccessStringFilter(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.analytics.admin.v1beta.AccessStringFilter result = + new com.google.analytics.admin.v1beta.AccessStringFilter(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -612,38 +690,39 @@ private void buildPartial0(com.google.analytics.admin.v1beta.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.v1beta.AccessStringFilter) { - return mergeFrom((com.google.analytics.admin.v1beta.AccessStringFilter)other); + return mergeFrom((com.google.analytics.admin.v1beta.AccessStringFilter) other); } else { super.mergeFrom(other); return this; @@ -651,7 +730,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1beta.AccessStringFilter other) { - if (other == com.google.analytics.admin.v1beta.AccessStringFilter.getDefaultInstance()) return this; + if (other == com.google.analytics.admin.v1beta.AccessStringFilter.getDefaultInstance()) + return this; if (other.matchType_ != 0) { setMatchTypeValue(other.getMatchTypeValue()); } @@ -689,27 +769,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) { @@ -719,26 +803,34 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private int matchType_ = 0; /** + * + * *
      * The match type for this filter.
      * 
* * .google.analytics.admin.v1beta.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.v1beta.AccessStringFilter.MatchType match_type = 1; + * * @param value The enum numeric value on the wire for matchType to set. * @return This builder for chaining. */ @@ -749,28 +841,38 @@ public Builder setMatchTypeValue(int value) { return this; } /** + * + * *
      * The match type for this filter.
      * 
* * .google.analytics.admin.v1beta.AccessStringFilter.MatchType match_type = 1; + * * @return The matchType. */ @java.lang.Override public com.google.analytics.admin.v1beta.AccessStringFilter.MatchType getMatchType() { - com.google.analytics.admin.v1beta.AccessStringFilter.MatchType result = com.google.analytics.admin.v1beta.AccessStringFilter.MatchType.forNumber(matchType_); - return result == null ? com.google.analytics.admin.v1beta.AccessStringFilter.MatchType.UNRECOGNIZED : result; + com.google.analytics.admin.v1beta.AccessStringFilter.MatchType result = + com.google.analytics.admin.v1beta.AccessStringFilter.MatchType.forNumber(matchType_); + return result == null + ? com.google.analytics.admin.v1beta.AccessStringFilter.MatchType.UNRECOGNIZED + : result; } /** + * + * *
      * The match type for this filter.
      * 
* * .google.analytics.admin.v1beta.AccessStringFilter.MatchType match_type = 1; + * * @param value The matchType to set. * @return This builder for chaining. */ - public Builder setMatchType(com.google.analytics.admin.v1beta.AccessStringFilter.MatchType value) { + public Builder setMatchType( + com.google.analytics.admin.v1beta.AccessStringFilter.MatchType value) { if (value == null) { throw new NullPointerException(); } @@ -780,11 +882,14 @@ public Builder setMatchType(com.google.analytics.admin.v1beta.AccessStringFilter return this; } /** + * + * *
      * The match type for this filter.
      * 
* * .google.analytics.admin.v1beta.AccessStringFilter.MatchType match_type = 1; + * * @return This builder for chaining. */ public Builder clearMatchType() { @@ -796,18 +901,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; @@ -816,20 +923,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 { @@ -837,28 +945,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() { @@ -868,17 +983,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; @@ -886,13 +1005,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 @@ -900,11 +1022,14 @@ 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. */ @@ -916,11 +1041,14 @@ public Builder setCaseSensitive(boolean value) { return this; } /** + * + * *
      * If true, the string value is case sensitive.
      * 
* * bool case_sensitive = 3; + * * @return This builder for chaining. */ public Builder clearCaseSensitive() { @@ -929,9 +1057,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); } @@ -941,12 +1069,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1beta.AccessStringFilter) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1beta.AccessStringFilter) private static final com.google.analytics.admin.v1beta.AccessStringFilter DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1beta.AccessStringFilter(); } @@ -955,27 +1083,27 @@ public static com.google.analytics.admin.v1beta.AccessStringFilter getDefaultIns 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; @@ -990,6 +1118,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1beta.AccessStringFilter 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/AccessStringFilterOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AccessStringFilterOrBuilder.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/AccessStringFilterOrBuilder.java rename to java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AccessStringFilterOrBuilder.java index 01cee15b215f..cdb2743102f6 100644 --- a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AccessStringFilterOrBuilder.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AccessStringFilterOrBuilder.java @@ -1,57 +1,87 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1beta/access_report.proto package com.google.analytics.admin.v1beta; -public interface AccessStringFilterOrBuilder extends +public interface AccessStringFilterOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1beta.AccessStringFilter) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The match type for this filter.
    * 
* * .google.analytics.admin.v1beta.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.v1beta.AccessStringFilter.MatchType match_type = 1; + * * @return The matchType. */ com.google.analytics.admin.v1beta.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/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 ef4062f92a2e..fcedb49cf202 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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,28 +45,32 @@ private Account() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Account(); } - 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}
@@ -56,6 +78,7 @@ protected java.lang.Object newInstance(
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ @java.lang.Override @@ -64,14 +87,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}
@@ -79,16 +103,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 { @@ -99,11 +122,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 @@ -111,11 +138,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 @@ -123,11 +154,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() { @@ -137,11 +171,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 @@ -149,11 +187,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 @@ -161,11 +203,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() { @@ -173,14 +218,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 @@ -189,29 +238,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 { @@ -220,14 +269,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 @@ -236,29 +289,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 { @@ -269,12 +322,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 @@ -283,6 +339,7 @@ public boolean getDeleted() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -294,8 +351,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -327,12 +383,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_); @@ -341,8 +395,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; @@ -352,31 +405,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; } @@ -403,139 +451,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(); @@ -558,9 +609,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 @@ -579,8 +630,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; } @@ -591,14 +645,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_; @@ -615,38 +665,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; @@ -705,46 +756,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) { @@ -754,10 +808,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}
@@ -765,13 +822,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; @@ -780,6 +837,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. Resource name of this account.
      * Format: accounts/{account}
@@ -787,15 +846,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 { @@ -803,6 +861,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. Resource name of this account.
      * Format: accounts/{account}
@@ -810,18 +870,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}
@@ -829,6 +893,7 @@ public Builder setName(
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearName() { @@ -838,6 +903,8 @@ public Builder clearName() { return this; } /** + * + * *
      * Output only. Resource name of this account.
      * Format: accounts/{account}
@@ -845,12 +912,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; @@ -860,39 +929,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) { @@ -908,14 +996,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 { @@ -926,17 +1017,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; @@ -949,11 +1044,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); @@ -966,11 +1065,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; @@ -978,36 +1081,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_; @@ -1015,39 +1130,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) { @@ -1063,14 +1197,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 { @@ -1081,17 +1218,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; @@ -1104,11 +1245,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); @@ -1121,11 +1266,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; @@ -1133,36 +1282,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_; @@ -1170,18 +1331,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; @@ -1190,20 +1353,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 { @@ -1211,28 +1375,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() { @@ -1242,17 +1413,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; @@ -1262,18 +1437,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; @@ -1282,20 +1459,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 { @@ -1303,28 +1481,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() { @@ -1334,17 +1519,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; @@ -1352,14 +1541,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 @@ -1367,12 +1559,15 @@ 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. */ @@ -1384,12 +1579,15 @@ public Builder setDeleted(boolean value) { 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() { @@ -1398,9 +1596,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); } @@ -1410,12 +1608,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(); } @@ -1424,27 +1622,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; @@ -1459,6 +1657,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..bd21f4f90793 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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 dbb69c0af968..41cc294b4bf8 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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,28 +47,32 @@ private AccountSummary() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new AccountSummary();
   }
 
-  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}
@@ -58,6 +80,7 @@ protected java.lang.Object newInstance(
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -66,14 +89,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}
@@ -81,16 +105,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 { @@ -99,9 +122,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}
@@ -109,6 +135,7 @@ public java.lang.String getName() {
    * 
* * string account = 2 [(.google.api.resource_reference) = { ... } + * * @return The account. */ @java.lang.Override @@ -117,14 +144,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}
@@ -132,16 +160,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 { @@ -150,14 +177,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 @@ -166,29 +197,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 { @@ -197,9 +228,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.
    * 
@@ -207,10 +241,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.
    * 
@@ -218,11 +255,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.
    * 
@@ -234,6 +273,8 @@ public int getPropertySummariesCount() { return propertySummaries_.size(); } /** + * + * *
    * List of summaries for child accounts of this account.
    * 
@@ -245,6 +286,8 @@ public com.google.analytics.admin.v1beta.PropertySummary getPropertySummaries(in return propertySummaries_.get(index); } /** + * + * *
    * List of summaries for child accounts of this account.
    * 
@@ -258,6 +301,7 @@ public com.google.analytics.admin.v1beta.PropertySummaryOrBuilder getPropertySum } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -269,8 +313,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -302,8 +345,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; @@ -313,21 +356,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; } @@ -354,99 +394,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.
@@ -454,33 +499,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();
@@ -499,9 +543,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
@@ -520,14 +564,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_);
@@ -556,38 +604,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;
@@ -595,7 +644,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;
@@ -629,9 +679,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_);
           }
@@ -663,40 +714,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) {
@@ -706,10 +762,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}
@@ -717,13 +776,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; @@ -732,6 +791,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Resource name for this account summary.
      * Format: accountSummaries/{account_id}
@@ -739,15 +800,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 { @@ -755,6 +815,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Resource name for this account summary.
      * Format: accountSummaries/{account_id}
@@ -762,18 +824,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}
@@ -781,6 +847,7 @@ public Builder setName(
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { @@ -790,6 +857,8 @@ public Builder clearName() { return this; } /** + * + * *
      * Resource name for this account summary.
      * Format: accountSummaries/{account_id}
@@ -797,12 +866,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; @@ -812,6 +883,8 @@ public Builder setNameBytes( private java.lang.Object account_ = ""; /** + * + * *
      * Resource name of account referred to by this account summary
      * Format: accounts/{account_id}
@@ -819,13 +892,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; @@ -834,6 +907,8 @@ public java.lang.String getAccount() { } } /** + * + * *
      * Resource name of account referred to by this account summary
      * Format: accounts/{account_id}
@@ -841,15 +916,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 { @@ -857,6 +931,8 @@ public java.lang.String getAccount() { } } /** + * + * *
      * Resource name of account referred to by this account summary
      * Format: accounts/{account_id}
@@ -864,18 +940,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}
@@ -883,6 +963,7 @@ public Builder setAccount(
      * 
* * string account = 2 [(.google.api.resource_reference) = { ... } + * * @return This builder for chaining. */ public Builder clearAccount() { @@ -892,6 +973,8 @@ public Builder clearAccount() { return this; } /** + * + * *
      * Resource name of account referred to by this account summary
      * Format: accounts/{account_id}
@@ -899,12 +982,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; @@ -914,18 +999,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; @@ -934,20 +1021,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 { @@ -955,28 +1043,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() { @@ -986,17 +1081,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; @@ -1005,25 +1104,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 { @@ -1031,6 +1139,8 @@ public java.util.List getProp } } /** + * + * *
      * List of summaries for child accounts of this account.
      * 
@@ -1045,6 +1155,8 @@ public int getPropertySummariesCount() { } } /** + * + * *
      * List of summaries for child accounts of this account.
      * 
@@ -1059,6 +1171,8 @@ public com.google.analytics.admin.v1beta.PropertySummary getPropertySummaries(in } } /** + * + * *
      * List of summaries for child accounts of this account.
      * 
@@ -1080,6 +1194,8 @@ public Builder setPropertySummaries( return this; } /** + * + * *
      * List of summaries for child accounts of this account.
      * 
@@ -1098,6 +1214,8 @@ public Builder setPropertySummaries( return this; } /** + * + * *
      * List of summaries for child accounts of this account.
      * 
@@ -1118,6 +1236,8 @@ public Builder addPropertySummaries(com.google.analytics.admin.v1beta.PropertySu return this; } /** + * + * *
      * List of summaries for child accounts of this account.
      * 
@@ -1139,6 +1259,8 @@ public Builder addPropertySummaries( return this; } /** + * + * *
      * List of summaries for child accounts of this account.
      * 
@@ -1157,6 +1279,8 @@ public Builder addPropertySummaries( return this; } /** + * + * *
      * List of summaries for child accounts of this account.
      * 
@@ -1175,6 +1299,8 @@ public Builder addPropertySummaries( return this; } /** + * + * *
      * List of summaries for child accounts of this account.
      * 
@@ -1185,8 +1311,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); @@ -1194,6 +1319,8 @@ public Builder addAllPropertySummaries( return this; } /** + * + * *
      * List of summaries for child accounts of this account.
      * 
@@ -1211,6 +1338,8 @@ public Builder clearPropertySummaries() { return this; } /** + * + * *
      * List of summaries for child accounts of this account.
      * 
@@ -1228,6 +1357,8 @@ public Builder removePropertySummaries(int index) { return this; } /** + * + * *
      * List of summaries for child accounts of this account.
      * 
@@ -1239,6 +1370,8 @@ public com.google.analytics.admin.v1beta.PropertySummary.Builder getPropertySumm return getPropertySummariesFieldBuilder().getBuilder(index); } /** + * + * *
      * List of summaries for child accounts of this account.
      * 
@@ -1248,19 +1381,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 { @@ -1268,6 +1404,8 @@ public com.google.analytics.admin.v1beta.PropertySummaryOrBuilder getPropertySum } } /** + * + * *
      * List of summaries for child accounts of this account.
      * 
@@ -1275,10 +1413,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.
      * 
@@ -1287,26 +1427,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(), @@ -1315,9 +1464,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); } @@ -1327,12 +1476,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(); } @@ -1341,27 +1490,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; @@ -1376,6 +1525,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..5a580dc99c0e 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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 a7b49c28bce1..3d5865a95ae6 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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,33 +46,40 @@ private AcknowledgeUserDataCollectionRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new AcknowledgeUserDataCollectionRequest(); } - 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 @@ -61,29 +88,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 { @@ -92,9 +121,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.
@@ -107,6 +139,7 @@ public java.lang.String getProperty() {
    * 
* * string acknowledgement = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The acknowledgement. */ @java.lang.Override @@ -115,14 +148,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.
@@ -135,16 +169,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 { @@ -153,6 +186,7 @@ public java.lang.String getAcknowledgement() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -164,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(property_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, property_); } @@ -195,17 +228,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; } @@ -227,131 +259,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(); @@ -362,19 +401,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); } @@ -383,13 +425,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_; @@ -403,46 +449,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; @@ -479,22 +530,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) { @@ -504,22 +558,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; @@ -528,20 +587,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 { @@ -549,28 +611,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() { @@ -580,17 +653,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; @@ -600,6 +679,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 +693,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 +708,8 @@ public java.lang.String getAcknowledgement() { } } /** + * + * *
      * Required. An acknowledgement that the caller of this method understands the
      * terms of user data collection.
@@ -639,15 +722,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 { @@ -655,6 +737,8 @@ public java.lang.String getAcknowledgement() { } } /** + * + * *
      * Required. An acknowledgement that the caller of this method understands the
      * terms of user data collection.
@@ -667,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.
@@ -691,6 +779,7 @@ public Builder setAcknowledgement(
      * 
* * string acknowledgement = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearAcknowledgement() { @@ -700,6 +789,8 @@ public Builder clearAcknowledgement() { return this; } /** + * + * *
      * Required. An acknowledgement that the caller of this method understands the
      * terms of user data collection.
@@ -712,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); } @@ -736,41 +829,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; @@ -782,9 +877,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 c9250b46bba3..9cd761e861d7 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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.
@@ -40,10 +67,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.
@@ -56,8 +86,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 5f308d856880..a67e7e79b92e 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,48 +1,69 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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(); } - 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; @@ -54,8 +75,7 @@ public final boolean isInitialized() { } @java.lang.Override - 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); } @@ -73,12 +93,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; @@ -97,131 +118,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(); @@ -229,19 +258,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); } @@ -250,7 +282,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; } @@ -259,46 +292,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; @@ -325,12 +364,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) { @@ -340,9 +380,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); } @@ -352,41 +392,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; @@ -398,9 +441,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..0869ce94c417 --- /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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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..ba2d43cef228 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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..5a9c6db338b2 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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..377aa228db28 --- /dev/null +++ b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AnalyticsAdminProto.java @@ -0,0 +1,1346 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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_RunAccessReportRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1beta_RunAccessReportRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_analytics_admin_v1beta_RunAccessReportResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1beta_RunAccessReportResponse_fieldAccessorTable; + 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_UpdateConversionEventRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_analytics_admin_v1beta_UpdateConversionEventRequest_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\0321google/analytics/admin/v1beta/acce" + + "ss_report.proto\032-google/analytics/admin/" + + "v1beta/resources.proto\032\034google/api/annot" + + "ations.proto\032\027google/api/client.proto\032\037g" + + "oogle/api/field_behavior.proto\032\031google/a" + + "pi/resource.proto\032\033google/protobuf/empty" + + ".proto\032 google/protobuf/field_mask.proto" + + "\032\037google/protobuf/timestamp.proto\"\236\004\n\026Ru" + + "nAccessReportRequest\022\016\n\006entity\030\001 \001(\t\022B\n\n" + + "dimensions\030\002 \003(\0132..google.analytics.admi" + + "n.v1beta.AccessDimension\022<\n\007metrics\030\003 \003(" + + "\0132+.google.analytics.admin.v1beta.Access" + + "Metric\022C\n\013date_ranges\030\004 \003(\0132..google.ana" + + "lytics.admin.v1beta.AccessDateRange\022O\n\020d" + + "imension_filter\030\005 \001(\01325.google.analytics" + + ".admin.v1beta.AccessFilterExpression\022L\n\r" + + "metric_filter\030\006 \001(\01325.google.analytics.a" + + "dmin.v1beta.AccessFilterExpression\022\016\n\006of" + + "fset\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.analyti" + + "cs.admin.v1beta.AccessOrderBy\022\033\n\023return_" + + "entity_quota\030\013 \001(\010\"\273\002\n\027RunAccessReportRe" + + "sponse\022O\n\021dimension_headers\030\001 \003(\01324.goog" + + "le.analytics.admin.v1beta.AccessDimensio" + + "nHeader\022I\n\016metric_headers\030\002 \003(\01321.google" + + ".analytics.admin.v1beta.AccessMetricHead" + + "er\0226\n\004rows\030\003 \003(\0132(.google.analytics.admi" + + "n.v1beta.AccessRow\022\021\n\trow_count\030\004 \001(\005\0229\n" + + "\005quota\030\005 \001(\0132*.google.analytics.admin.v1" + + "beta.AccessQuota\"Q\n\021GetAccountRequest\022<\n" + + "\004name\030\001 \001(\tB.\342A\001\002\372A\'\n%analyticsadmin.goo" + + "gleapis.com/Account\"R\n\023ListAccountsReque" + + "st\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\024ListAccountsR" + + "esponse\0228\n\010accounts\030\001 \003(\0132&.google.analy" + + "tics.admin.v1beta.Account\022\027\n\017next_page_t" + + "oken\030\002 \001(\t\"T\n\024DeleteAccountRequest\022<\n\004na" + + "me\030\001 \001(\tB.\342A\001\002\372A\'\n%analyticsadmin.google" + + "apis.com/Account\"\214\001\n\024UpdateAccountReques" + + "t\022=\n\007account\030\001 \001(\0132&.google.analytics.ad" + + "min.v1beta.AccountB\004\342A\001\002\0225\n\013update_mask\030" + + "\002 \001(\0132\032.google.protobuf.FieldMaskB\004\342A\001\002\"" + + "n\n\035ProvisionAccountTicketRequest\0227\n\007acco" + + "unt\030\001 \001(\0132&.google.analytics.admin.v1bet" + + "a.Account\022\024\n\014redirect_uri\030\002 \001(\t\";\n\036Provi" + + "sionAccountTicketResponse\022\031\n\021account_tic" + + "ket_id\030\001 \001(\t\"S\n\022GetPropertyRequest\022=\n\004na" + + "me\030\001 \001(\tB/\342A\001\002\372A(\n&analyticsadmin.google" + + "apis.com/Property\"j\n\025ListPropertiesReque" + + "st\022\024\n\006filter\030\001 \001(\tB\004\342A\001\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\"\217\001" + + "\n\025UpdatePropertyRequest\022?\n\010property\030\001 \001(" + + "\0132\'.google.analytics.admin.v1beta.Proper" + + "tyB\004\342A\001\002\0225\n\013update_mask\030\002 \001(\0132\032.google.p" + + "rotobuf.FieldMaskB\004\342A\001\002\"X\n\025CreatePropert" + + "yRequest\022?\n\010property\030\001 \001(\0132\'.google.anal" + + "ytics.admin.v1beta.PropertyB\004\342A\001\002\"V\n\025Del" + + "etePropertyRequest\022=\n\004name\030\001 \001(\tB/\342A\001\002\372A" + + "(\n&analyticsadmin.googleapis.com/Propert" + + "y\"\252\001\n\031CreateFirebaseLinkRequest\022C\n\006paren" + + "t\030\001 \001(\tB3\342A\001\002\372A,\022*analyticsadmin.googlea" + + "pis.com/FirebaseLink\022H\n\rfirebase_link\030\002 " + + "\001(\0132+.google.analytics.admin.v1beta.Fire" + + "baseLinkB\004\342A\001\002\"^\n\031DeleteFirebaseLinkRequ" + + "est\022A\n\004name\030\001 \001(\tB3\342A\001\002\372A,\n*analyticsadm" + + "in.googleapis.com/FirebaseLink\"\206\001\n\030ListF" + + "irebaseLinksRequest\022C\n\006parent\030\001 \001(\tB3\342A\001" + + "\002\372A,\022*analyticsadmin.googleapis.com/Fire" + + "baseLink\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_toke" + + "n\030\003 \001(\t\"y\n\031ListFirebaseLinksResponse\022C\n\016" + + "firebase_links\030\001 \003(\0132+.google.analytics." + + "admin.v1beta.FirebaseLink\022\027\n\017next_page_t" + + "oken\030\002 \001(\t\"\257\001\n\032CreateGoogleAdsLinkReques" + + "t\022D\n\006parent\030\001 \001(\tB4\342A\001\002\372A-\022+analyticsadm" + + "in.googleapis.com/GoogleAdsLink\022K\n\017googl" + + "e_ads_link\030\002 \001(\0132,.google.analytics.admi" + + "n.v1beta.GoogleAdsLinkB\004\342A\001\002\"\232\001\n\032UpdateG" + + "oogleAdsLinkRequest\022E\n\017google_ads_link\030\001" + + " \001(\0132,.google.analytics.admin.v1beta.Goo" + + "gleAdsLink\0225\n\013update_mask\030\002 \001(\0132\032.google" + + ".protobuf.FieldMaskB\004\342A\001\002\"`\n\032DeleteGoogl" + + "eAdsLinkRequest\022B\n\004name\030\001 \001(\tB4\342A\001\002\372A-\n+" + + "analyticsadmin.googleapis.com/GoogleAdsL" + + "ink\"\210\001\n\031ListGoogleAdsLinksRequest\022D\n\006par" + + "ent\030\001 \001(\tB4\342A\001\002\372A-\022+analyticsadmin.googl" + + "eapis.com/GoogleAdsLink\022\021\n\tpage_size\030\002 \001" + + "(\005\022\022\n\npage_token\030\003 \001(\t\"}\n\032ListGoogleAdsL" + + "inksResponse\022F\n\020google_ads_links\030\001 \003(\0132," + + ".google.analytics.admin.v1beta.GoogleAds" + + "Link\022\027\n\017next_page_token\030\002 \001(\t\"i\n\035GetData" + + "SharingSettingsRequest\022H\n\004name\030\001 \001(\tB:\342A" + + "\001\002\372A3\n1analyticsadmin.googleapis.com/Dat" + + "aSharingSettings\"D\n\033ListAccountSummaries" + + "Request\022\021\n\tpage_size\030\001 \001(\005\022\022\n\npage_token" + + "\030\002 \001(\t\"\201\001\n\034ListAccountSummariesResponse\022" + + "H\n\021account_summaries\030\001 \003(\0132-.google.anal" + + "ytics.admin.v1beta.AccountSummary\022\027\n\017nex" + + "t_page_token\030\002 \001(\t\"\210\001\n$AcknowledgeUserDa" + + "taCollectionRequest\022A\n\010property\030\001 \001(\tB/\342" + + "A\001\002\372A(\n&analyticsadmin.googleapis.com/Pr" + + "operty\022\035\n\017acknowledgement\030\002 \001(\tB\004\342A\001\002\"\'\n" + + "%AcknowledgeUserDataCollectionResponse\"\212" + + "\004\n SearchChangeHistoryEventsRequest\022?\n\007a" + + "ccount\030\001 \001(\tB.\342A\001\002\372A\'\n%analyticsadmin.go" + + "ogleapis.com/Account\022A\n\010property\030\002 \001(\tB/" + + "\342A\001\001\372A(\n&analyticsadmin.googleapis.com/P" + + "roperty\022U\n\rresource_type\030\003 \003(\01628.google." + + "analytics.admin.v1beta.ChangeHistoryReso" + + "urceTypeB\004\342A\001\001\022?\n\006action\030\004 \003(\0162).google." + + "analytics.admin.v1beta.ActionTypeB\004\342A\001\001\022" + + "\031\n\013actor_email\030\005 \003(\tB\004\342A\001\001\022>\n\024earliest_c" + + "hange_time\030\006 \001(\0132\032.google.protobuf.Times" + + "tampB\004\342A\001\001\022<\n\022latest_change_time\030\007 \001(\0132\032" + + ".google.protobuf.TimestampB\004\342A\001\001\022\027\n\tpage" + + "_size\030\010 \001(\005B\004\342A\001\001\022\030\n\npage_token\030\t \001(\tB\004\342" + + "A\001\001\"\216\001\n!SearchChangeHistoryEventsRespons" + + "e\022P\n\025change_history_events\030\001 \003(\01321.googl" + + "e.analytics.admin.v1beta.ChangeHistoryEv" + + "ent\022\027\n\017next_page_token\030\002 \001(\t\"u\n#GetMeasu" + + "rementProtocolSecretRequest\022N\n\004name\030\001 \001(" + + "\tB@\342A\001\002\372A9\n7analyticsadmin.googleapis.co" + + "m/MeasurementProtocolSecret\"\337\001\n&CreateMe" + + "asurementProtocolSecretRequest\022P\n\006parent" + + "\030\001 \001(\tB@\342A\001\002\372A9\0227analyticsadmin.googleap" + + "is.com/MeasurementProtocolSecret\022c\n\033meas" + + "urement_protocol_secret\030\002 \001(\01328.google.a" + + "nalytics.admin.v1beta.MeasurementProtoco" + + "lSecretB\004\342A\001\002\"x\n&DeleteMeasurementProtoc" + + "olSecretRequest\022N\n\004name\030\001 \001(\tB@\342A\001\002\372A9\n7" + + "analyticsadmin.googleapis.com/Measuremen" + + "tProtocolSecret\"\304\001\n&UpdateMeasurementPro" + + "tocolSecretRequest\022c\n\033measurement_protoc" + + "ol_secret\030\001 \001(\01328.google.analytics.admin" + + ".v1beta.MeasurementProtocolSecretB\004\342A\001\002\022" + + "5\n\013update_mask\030\002 \001(\0132\032.google.protobuf.F" + + "ieldMaskB\004\342A\001\002\"\240\001\n%ListMeasurementProtoc" + + "olSecretsRequest\022P\n\006parent\030\001 \001(\tB@\342A\001\002\372A" + + "9\0227analyticsadmin.googleapis.com/Measure" + + "mentProtocolSecret\022\021\n\tpage_size\030\002 \001(\005\022\022\n" + + "\npage_token\030\003 \001(\t\"\241\001\n&ListMeasurementPro" + + "tocolSecretsResponse\022^\n\034measurement_prot" + + "ocol_secrets\030\001 \003(\01328.google.analytics.ad" + + "min.v1beta.MeasurementProtocolSecret\022\027\n\017" + + "next_page_token\030\002 \001(\t\"\266\001\n\034CreateConversi" + + "onEventRequest\022N\n\020conversion_event\030\001 \001(\013" + + "2..google.analytics.admin.v1beta.Convers" + + "ionEventB\004\342A\001\002\022F\n\006parent\030\002 \001(\tB6\342A\001\002\372A/\022" + + "-analyticsadmin.googleapis.com/Conversio" + + "nEvent\"\245\001\n\034UpdateConversionEventRequest\022" + + "N\n\020conversion_event\030\001 \001(\0132..google.analy" + + "tics.admin.v1beta.ConversionEventB\004\342A\001\002\022" + + "5\n\013update_mask\030\002 \001(\0132\032.google.protobuf.F" + + "ieldMaskB\004\342A\001\002\"a\n\031GetConversionEventRequ" + + "est\022D\n\004name\030\001 \001(\tB6\342A\001\002\372A/\n-analyticsadm" + + "in.googleapis.com/ConversionEvent\"d\n\034Del" + + "eteConversionEventRequest\022D\n\004name\030\001 \001(\tB" + + "6\342A\001\002\372A/\n-analyticsadmin.googleapis.com/" + + "ConversionEvent\"\214\001\n\033ListConversionEvents" + + "Request\022F\n\006parent\030\001 \001(\tB6\342A\001\002\372A/\022-analyt" + + "icsadmin.googleapis.com/ConversionEvent\022" + + "\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"\202" + + "\001\n\034ListConversionEventsResponse\022I\n\021conve" + + "rsion_events\030\001 \003(\0132..google.analytics.ad" + + "min.v1beta.ConversionEvent\022\027\n\017next_page_" + + "token\030\002 \001(\t\"\266\001\n\034CreateCustomDimensionReq" + + "uest\022F\n\006parent\030\001 \001(\tB6\342A\001\002\372A/\022-analytics" + + "admin.googleapis.com/CustomDimension\022N\n\020" + + "custom_dimension\030\002 \001(\0132..google.analytic" + + "s.admin.v1beta.CustomDimensionB\004\342A\001\002\"\237\001\n" + + "\034UpdateCustomDimensionRequest\022H\n\020custom_" + + "dimension\030\001 \001(\0132..google.analytics.admin" + + ".v1beta.CustomDimension\0225\n\013update_mask\030\002" + + " \001(\0132\032.google.protobuf.FieldMaskB\004\342A\001\002\"\214" + + "\001\n\033ListCustomDimensionsRequest\022F\n\006parent" + + "\030\001 \001(\tB6\342A\001\002\372A/\022-analyticsadmin.googleap" + + "is.com/CustomDimension\022\021\n\tpage_size\030\002 \001(" + + "\005\022\022\n\npage_token\030\003 \001(\t\"\202\001\n\034ListCustomDime" + + "nsionsResponse\022I\n\021custom_dimensions\030\001 \003(" + + "\0132..google.analytics.admin.v1beta.Custom" + + "Dimension\022\027\n\017next_page_token\030\002 \001(\t\"e\n\035Ar" + + "chiveCustomDimensionRequest\022D\n\004name\030\001 \001(" + + "\tB6\342A\001\002\372A/\n-analyticsadmin.googleapis.co" + + "m/CustomDimension\"a\n\031GetCustomDimensionR" + + "equest\022D\n\004name\030\001 \001(\tB6\342A\001\002\372A/\n-analytics" + + "admin.googleapis.com/CustomDimension\"\252\001\n" + + "\031CreateCustomMetricRequest\022C\n\006parent\030\001 \001" + + "(\tB3\342A\001\002\372A,\022*analyticsadmin.googleapis.c" + + "om/CustomMetric\022H\n\rcustom_metric\030\002 \001(\0132+" + + ".google.analytics.admin.v1beta.CustomMet" + + "ricB\004\342A\001\002\"\226\001\n\031UpdateCustomMetricRequest\022" + + "B\n\rcustom_metric\030\001 \001(\0132+.google.analytic" + + "s.admin.v1beta.CustomMetric\0225\n\013update_ma" + + "sk\030\002 \001(\0132\032.google.protobuf.FieldMaskB\004\342A" + + "\001\002\"\206\001\n\030ListCustomMetricsRequest\022C\n\006paren" + + "t\030\001 \001(\tB3\342A\001\002\372A,\022*analyticsadmin.googlea" + + "pis.com/CustomMetric\022\021\n\tpage_size\030\002 \001(\005\022" + + "\022\n\npage_token\030\003 \001(\t\"y\n\031ListCustomMetrics" + + "Response\022C\n\016custom_metrics\030\001 \003(\0132+.googl" + + "e.analytics.admin.v1beta.CustomMetric\022\027\n" + + "\017next_page_token\030\002 \001(\t\"_\n\032ArchiveCustomM" + + "etricRequest\022A\n\004name\030\001 \001(\tB3\342A\001\002\372A,\n*ana" + + "lyticsadmin.googleapis.com/CustomMetric\"" + + "[\n\026GetCustomMetricRequest\022A\n\004name\030\001 \001(\tB" + + "3\342A\001\002\372A,\n*analyticsadmin.googleapis.com/" + + "CustomMetric\"m\n\037GetDataRetentionSettings" + + "Request\022J\n\004name\030\001 \001(\tB<\342A\001\002\372A5\n3analytic" + + "sadmin.googleapis.com/DataRetentionSetti" + + "ngs\"\270\001\n\"UpdateDataRetentionSettingsReque" + + "st\022[\n\027data_retention_settings\030\001 \001(\01324.go" + + "ogle.analytics.admin.v1beta.DataRetentio" + + "nSettingsB\004\342A\001\002\0225\n\013update_mask\030\002 \001(\0132\032.g" + + "oogle.protobuf.FieldMaskB\004\342A\001\002\"\242\001\n\027Creat" + + "eDataStreamRequest\022A\n\006parent\030\001 \001(\tB1\342A\001\002" + + "\372A*\022(analyticsadmin.googleapis.com/DataS" + + "tream\022D\n\013data_stream\030\002 \001(\0132).google.anal" + + "ytics.admin.v1beta.DataStreamB\004\342A\001\002\"Z\n\027D" + + "eleteDataStreamRequest\022?\n\004name\030\001 \001(\tB1\342A" + + "\001\002\372A*\n(analyticsadmin.googleapis.com/Dat" + + "aStream\"\220\001\n\027UpdateDataStreamRequest\022>\n\013d" + + "ata_stream\030\001 \001(\0132).google.analytics.admi" + + "n.v1beta.DataStream\0225\n\013update_mask\030\002 \001(\013" + + "2\032.google.protobuf.FieldMaskB\004\342A\001\002\"\202\001\n\026L" + + "istDataStreamsRequest\022A\n\006parent\030\001 \001(\tB1\342" + + "A\001\002\372A*\022(analyticsadmin.googleapis.com/Da" + + "taStream\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_toke" + + "n\030\003 \001(\t\"s\n\027ListDataStreamsResponse\022?\n\014da" + + "ta_streams\030\001 \003(\0132).google.analytics.admi" + + "n.v1beta.DataStream\022\027\n\017next_page_token\030\002" + + " \001(\t\"W\n\024GetDataStreamRequest\022?\n\004name\030\001 \001" + + "(\tB1\342A\001\002\372A*\n(analyticsadmin.googleapis.c" + + "om/DataStream2\333P\n\025AnalyticsAdminService\022" + + "\220\001\n\nGetAccount\0220.google.analytics.admin." + + "v1beta.GetAccountRequest\032&.google.analyt" + + "ics.admin.v1beta.Account\"(\332A\004name\202\323\344\223\002\033\022" + + "\031/v1beta/{name=accounts/*}\022\221\001\n\014ListAccou" + + "nts\0222.google.analytics.admin.v1beta.List" + + "AccountsRequest\0323.google.analytics.admin" + + ".v1beta.ListAccountsResponse\"\030\202\323\344\223\002\022\022\020/v" + + "1beta/accounts\022\206\001\n\rDeleteAccount\0223.googl" + + "e.analytics.admin.v1beta.DeleteAccountRe" + + "quest\032\026.google.protobuf.Empty\"(\332A\004name\202\323" + + "\344\223\002\033*\031/v1beta/{name=accounts/*}\022\266\001\n\rUpda" + + "teAccount\0223.google.analytics.admin.v1bet" + + "a.UpdateAccountRequest\032&.google.analytic" + + "s.admin.v1beta.Account\"H\332A\023account,updat" + + "e_mask\202\323\344\223\002,2!/v1beta/{account.name=acco" + + "unts/*}:\007account\022\311\001\n\026ProvisionAccountTic" + + "ket\022<.google.analytics.admin.v1beta.Prov" + + "isionAccountTicketRequest\032=.google.analy" + + "tics.admin.v1beta.ProvisionAccountTicket" + + "Response\"2\202\323\344\223\002,\"\'/v1beta/accounts:provi" + + "sionAccountTicket:\001*\022\261\001\n\024ListAccountSumm" + + "aries\022:.google.analytics.admin.v1beta.Li" + + "stAccountSummariesRequest\032;.google.analy" + + "tics.admin.v1beta.ListAccountSummariesRe" + + "sponse\" \202\323\344\223\002\032\022\030/v1beta/accountSummaries" + + "\022\225\001\n\013GetProperty\0221.google.analytics.admi" + + "n.v1beta.GetPropertyRequest\032\'.google.ana" + + "lytics.admin.v1beta.Property\"*\332A\004name\202\323\344" + + "\223\002\035\022\033/v1beta/{name=properties/*}\022\231\001\n\016Lis" + + "tProperties\0224.google.analytics.admin.v1b" + + "eta.ListPropertiesRequest\0325.google.analy" + + "tics.admin.v1beta.ListPropertiesResponse" + + "\"\032\202\323\344\223\002\024\022\022/v1beta/properties\022\240\001\n\016CreateP" + + "roperty\0224.google.analytics.admin.v1beta." + + "CreatePropertyRequest\032\'.google.analytics" + + ".admin.v1beta.Property\"/\332A\010property\202\323\344\223\002" + + "\036\"\022/v1beta/properties:\010property\022\233\001\n\016Dele" + + "teProperty\0224.google.analytics.admin.v1be" + + "ta.DeletePropertyRequest\032\'.google.analyt" + + "ics.admin.v1beta.Property\"*\332A\004name\202\323\344\223\002\035" + + "*\033/v1beta/{name=properties/*}\022\276\001\n\016Update" + + "Property\0224.google.analytics.admin.v1beta" + + ".UpdatePropertyRequest\032\'.google.analytic" + + "s.admin.v1beta.Property\"M\332A\024property,upd" + + "ate_mask\202\323\344\223\00202$/v1beta/{property.name=p" + + "roperties/*}:\010property\022\326\001\n\022CreateFirebas" + + "eLink\0228.google.analytics.admin.v1beta.Cr" + + "eateFirebaseLinkRequest\032+.google.analyti" + + "cs.admin.v1beta.FirebaseLink\"Y\332A\024parent," + + "firebase_link\202\323\344\223\002<\"+/v1beta/{parent=pro" + + "perties/*}/firebaseLinks:\rfirebase_link\022" + + "\242\001\n\022DeleteFirebaseLink\0228.google.analytic" + + "s.admin.v1beta.DeleteFirebaseLinkRequest" + + "\032\026.google.protobuf.Empty\":\332A\004name\202\323\344\223\002-*" + + "+/v1beta/{name=properties/*/firebaseLink" + + "s/*}\022\304\001\n\021ListFirebaseLinks\0227.google.anal" + + "ytics.admin.v1beta.ListFirebaseLinksRequ" + + "est\0328.google.analytics.admin.v1beta.List" + + "FirebaseLinksResponse\"<\332A\006parent\202\323\344\223\002-\022+" + + "/v1beta/{parent=properties/*}/firebaseLi" + + "nks\022\336\001\n\023CreateGoogleAdsLink\0229.google.ana" + + "lytics.admin.v1beta.CreateGoogleAdsLinkR" + + "equest\032,.google.analytics.admin.v1beta.G" + + "oogleAdsLink\"^\332A\026parent,google_ads_link\202" + + "\323\344\223\002?\",/v1beta/{parent=properties/*}/goo" + + "gleAdsLinks:\017google_ads_link\022\363\001\n\023UpdateG" + + "oogleAdsLink\0229.google.analytics.admin.v1" + + "beta.UpdateGoogleAdsLinkRequest\032,.google" + + ".analytics.admin.v1beta.GoogleAdsLink\"s\332" + + "A\033google_ads_link,update_mask\202\323\344\223\002O2.google.analytics." + + "admin.v1beta.GetDataRetentionSettingsReq" + + "uest\0324.google.analytics.admin.v1beta.Dat" + + "aRetentionSettings\"@\332A\004name\202\323\344\223\0023\0221/v1be" + + "ta/{name=properties/*/dataRetentionSetti" + + "ngs}\022\251\002\n\033UpdateDataRetentionSettings\022A.g" + + "oogle.analytics.admin.v1beta.UpdateDataR" + + "etentionSettingsRequest\0324.google.analyti" + + "cs.admin.v1beta.DataRetentionSettings\"\220\001" + + "\332A#data_retention_settings,update_mask\202\323" + + "\344\223\002d2I/v1beta/{data_retention_settings.n" + + "ame=properties/*/dataRetentionSettings}:" + + "\027data_retention_settings\022\312\001\n\020CreateDataS" + + "tream\0226.google.analytics.admin.v1beta.Cr" + + "eateDataStreamRequest\032).google.analytics" + + ".admin.v1beta.DataStream\"S\332A\022parent,data" + + "_stream\202\323\344\223\0028\")/v1beta/{parent=propertie" + + "s/*}/dataStreams:\013data_stream\022\234\001\n\020Delete" + + "DataStream\0226.google.analytics.admin.v1be" + + "ta.DeleteDataStreamRequest\032\026.google.prot" + + "obuf.Empty\"8\332A\004name\202\323\344\223\002+*)/v1beta/{name" + + "=properties/*/dataStreams/*}\022\333\001\n\020UpdateD" + + "ataStream\0226.google.analytics.admin.v1bet" + + "a.UpdateDataStreamRequest\032).google.analy" + + "tics.admin.v1beta.DataStream\"d\332A\027data_st" + + "ream,update_mask\202\323\344\223\002D25/v1beta/{data_st" + + "ream.name=properties/*/dataStreams/*}:\013d" + + "ata_stream\022\274\001\n\017ListDataStreams\0225.google." + + "analytics.admin.v1beta.ListDataStreamsRe" + + "quest\0326.google.analytics.admin.v1beta.Li" + + "stDataStreamsResponse\":\332A\006parent\202\323\344\223\002+\022)" + + "/v1beta/{parent=properties/*}/dataStream" + + "s\022\251\001\n\rGetDataStream\0223.google.analytics.a" + + "dmin.v1beta.GetDataStreamRequest\032).googl" + + "e.analytics.admin.v1beta.DataStream\"8\332A\004" + + "name\202\323\344\223\002+\022)/v1beta/{name=properties/*/d" + + "ataStreams/*}\022\354\001\n\017RunAccessReport\0225.goog" + + "le.analytics.admin.v1beta.RunAccessRepor" + + "tRequest\0326.google.analytics.admin.v1beta" + + ".RunAccessReportResponse\"j\202\323\344\223\002d\"-/v1bet" + + "a/{entity=properties/*}:runAccessReport:" + + "\001*Z0\"+/v1beta/{entity=accounts/*}:runAcc" + + "essReport:\001*\032\204\001\312A\035analyticsadmin.googlea" + + "pis.com\322Aahttps://www.googleapis.com/aut" + + "h/analytics.edit,https://www.googleapis." + + "com/auth/analytics.readonlyB~\n!com.googl" + + "e.analytics.admin.v1betaB\023AnalyticsAdmin" + + "ProtoP\001ZBgoogle.golang.org/genproto/goog" + + "leapis/analytics/admin/v1beta;adminb\006pro" + + "to3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.analytics.admin.v1beta.AccessReportProto.getDescriptor(), + 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_RunAccessReportRequest_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_analytics_admin_v1beta_RunAccessReportRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1beta_RunAccessReportRequest_descriptor, + new java.lang.String[] { + "Entity", + "Dimensions", + "Metrics", + "DateRanges", + "DimensionFilter", + "MetricFilter", + "Offset", + "Limit", + "TimeZone", + "OrderBys", + "ReturnEntityQuota", + }); + internal_static_google_analytics_admin_v1beta_RunAccessReportResponse_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_analytics_admin_v1beta_RunAccessReportResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1beta_RunAccessReportResponse_descriptor, + new java.lang.String[] { + "DimensionHeaders", "MetricHeaders", "Rows", "RowCount", "Quota", + }); + internal_static_google_analytics_admin_v1beta_GetAccountRequest_descriptor = + getDescriptor().getMessageTypes().get(2); + 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(3); + 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(4); + 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(5); + 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(6); + 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(7); + 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(8); + 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(9); + 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(10); + 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(11); + 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(12); + 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(13); + 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(14); + 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(15); + 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(16); + 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(17); + 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(18); + 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(19); + 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(20); + 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(21); + 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(22); + 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(23); + 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(24); + 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(25); + 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(26); + 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(27); + 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(28); + 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(29); + 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(30); + 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(31); + 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(32); + 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(33); + 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(34); + 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(35); + 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(36); + 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(37); + 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_UpdateConversionEventRequest_descriptor = + getDescriptor().getMessageTypes().get(38); + internal_static_google_analytics_admin_v1beta_UpdateConversionEventRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_analytics_admin_v1beta_UpdateConversionEventRequest_descriptor, + new java.lang.String[] { + "ConversionEvent", "UpdateMask", + }); + internal_static_google_analytics_admin_v1beta_GetConversionEventRequest_descriptor = + getDescriptor().getMessageTypes().get(39); + 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(40); + 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(41); + 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(42); + 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(43); + 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(44); + 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(45); + 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(46); + 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(47); + 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(48); + 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(49); + 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(50); + 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(51); + 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(52); + 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(53); + 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(54); + 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(55); + 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(56); + 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(57); + 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(58); + 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(59); + 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(60); + 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(61); + 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(62); + 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.AccessReportProto.getDescriptor(); + 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 0fb9dee82922..9b3c4bb44904 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,58 +1,83 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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(); } - 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 @@ -61,30 +86,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 { @@ -93,6 +120,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -104,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(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -129,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.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; } @@ -157,131 +184,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(); @@ -291,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_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(); } @@ -312,13 +345,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_; @@ -329,46 +366,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; @@ -400,17 +441,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) { @@ -420,23 +463,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; @@ -445,21 +493,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 { @@ -467,30 +518,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() { @@ -500,27 +562,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); } @@ -530,41 +598,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; @@ -576,9 +646,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..e34524cf667b --- /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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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 09035fb6a541..d2450c5f0010 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,58 +1,83 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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(); } - 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 @@ -61,30 +86,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 { @@ -93,6 +120,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -104,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(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -129,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.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; } @@ -157,131 +184,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(); @@ -291,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_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(); } @@ -312,13 +345,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_; @@ -329,38 +366,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; @@ -368,7 +406,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; @@ -400,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) { @@ -420,23 +462,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; @@ -445,21 +492,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 { @@ -467,30 +517,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() { @@ -500,27 +561,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); } @@ -530,12 +597,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(); } @@ -544,27 +612,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; @@ -579,6 +647,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..bde51d97afcd --- /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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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 4eca19641363..23427ba17802 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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,47 +44,57 @@ private ChangeHistoryChange() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ChangeHistoryChange(); } - 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.
      * 
@@ -76,24 +104,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.
      * 
@@ -103,24 +139,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.
      * 
@@ -130,24 +174,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.
      * 
@@ -157,24 +209,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.
      * 
@@ -184,78 +244,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.
      * 
@@ -264,9 +359,12 @@ public interface ChangeHistoryResourceOrBuilder extends */ com.google.analytics.admin.v1beta.DataStreamOrBuilder getDataStreamOrBuilder(); - com.google.analytics.admin.v1beta.ChangeHistoryChange.ChangeHistoryResource.ResourceCase getResourceCase(); + 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.
@@ -274,43 +372,48 @@ 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();
     }
 
-    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;
+
     @SuppressWarnings("serial")
     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),
@@ -322,6 +425,7 @@ public enum ResourceCase
       DATA_STREAM(18),
       RESOURCE_NOT_SET(0);
       private final int value;
+
       private ResourceCase(int value) {
         this.value = value;
       }
@@ -337,36 +441,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 @@ -374,21 +490,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.
      * 
@@ -398,18 +519,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 @@ -417,21 +541,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.
      * 
@@ -441,18 +570,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 @@ -460,21 +592,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.
      * 
@@ -484,18 +621,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 @@ -503,21 +643,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.
      * 
@@ -527,18 +672,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 @@ -546,21 +694,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.
      * 
@@ -568,20 +721,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 @@ -589,42 +748,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 @@ -632,42 +806,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 @@ -675,21 +860,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.
      * 
@@ -699,12 +889,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; @@ -716,8 +907,7 @@ public final boolean isInitialized() { } @java.lang.Override - public 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_); } @@ -734,10 +924,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_); @@ -752,36 +944,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; @@ -791,46 +991,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: @@ -887,90 +1082,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 @@ -980,6 +1186,8 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * A snapshot of a resource as before or after the result of a change in
      * change history.
@@ -987,33 +1195,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();
@@ -1048,19 +1258,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);
         }
@@ -1068,51 +1281,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();
         }
       }
@@ -1121,82 +1332,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();
@@ -1224,68 +1453,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) {
@@ -1295,12 +1520,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() {
@@ -1313,13 +1538,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 @@ -1327,11 +1558,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 @@ -1349,6 +1583,8 @@ public com.google.analytics.admin.v1beta.Account getAccount() { } } /** + * + * *
        * A snapshot of an Account resource in change history.
        * 
@@ -1369,14 +1605,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(); @@ -1387,6 +1624,8 @@ public Builder setAccount( return this; } /** + * + * *
        * A snapshot of an Account resource in change history.
        * 
@@ -1395,10 +1634,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; } @@ -1414,6 +1656,8 @@ public Builder mergeAccount(com.google.analytics.admin.v1beta.Account value) { return this; } /** + * + * *
        * A snapshot of an Account resource in change history.
        * 
@@ -1437,6 +1681,8 @@ public Builder clearAccount() { return this; } /** + * + * *
        * A snapshot of an Account resource in change history.
        * 
@@ -1447,6 +1693,8 @@ public com.google.analytics.admin.v1beta.Account.Builder getAccountBuilder() { return getAccountFieldBuilder().getBuilder(); } /** + * + * *
        * A snapshot of an Account resource in change history.
        * 
@@ -1465,6 +1713,8 @@ public com.google.analytics.admin.v1beta.AccountOrBuilder getAccountOrBuilder() } } /** + * + * *
        * A snapshot of an Account resource in change history.
        * 
@@ -1472,14 +1722,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()); @@ -1491,13 +1746,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 @@ -1505,11 +1766,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 @@ -1527,6 +1791,8 @@ public com.google.analytics.admin.v1beta.Property getProperty() { } } /** + * + * *
        * A snapshot of a Property resource in change history.
        * 
@@ -1547,6 +1813,8 @@ public Builder setProperty(com.google.analytics.admin.v1beta.Property value) { return this; } /** + * + * *
        * A snapshot of a Property resource in change history.
        * 
@@ -1565,6 +1833,8 @@ public Builder setProperty( return this; } /** + * + * *
        * A snapshot of a Property resource in change history.
        * 
@@ -1573,10 +1843,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; } @@ -1592,6 +1865,8 @@ public Builder mergeProperty(com.google.analytics.admin.v1beta.Property value) { return this; } /** + * + * *
        * A snapshot of a Property resource in change history.
        * 
@@ -1615,6 +1890,8 @@ public Builder clearProperty() { return this; } /** + * + * *
        * A snapshot of a Property resource in change history.
        * 
@@ -1625,6 +1902,8 @@ public com.google.analytics.admin.v1beta.Property.Builder getPropertyBuilder() { return getPropertyFieldBuilder().getBuilder(); } /** + * + * *
        * A snapshot of a Property resource in change history.
        * 
@@ -1643,6 +1922,8 @@ public com.google.analytics.admin.v1beta.PropertyOrBuilder getPropertyOrBuilder( } } /** + * + * *
        * A snapshot of a Property resource in change history.
        * 
@@ -1650,14 +1931,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()); @@ -1669,13 +1955,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 @@ -1683,11 +1975,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 @@ -1705,6 +2000,8 @@ public com.google.analytics.admin.v1beta.FirebaseLink getFirebaseLink() { } } /** + * + * *
        * A snapshot of a FirebaseLink resource in change history.
        * 
@@ -1725,6 +2022,8 @@ public Builder setFirebaseLink(com.google.analytics.admin.v1beta.FirebaseLink va return this; } /** + * + * *
        * A snapshot of a FirebaseLink resource in change history.
        * 
@@ -1743,6 +2042,8 @@ public Builder setFirebaseLink( return this; } /** + * + * *
        * A snapshot of a FirebaseLink resource in change history.
        * 
@@ -1751,10 +2052,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; } @@ -1770,6 +2074,8 @@ public Builder mergeFirebaseLink(com.google.analytics.admin.v1beta.FirebaseLink return this; } /** + * + * *
        * A snapshot of a FirebaseLink resource in change history.
        * 
@@ -1793,6 +2099,8 @@ public Builder clearFirebaseLink() { return this; } /** + * + * *
        * A snapshot of a FirebaseLink resource in change history.
        * 
@@ -1803,6 +2111,8 @@ public com.google.analytics.admin.v1beta.FirebaseLink.Builder getFirebaseLinkBui return getFirebaseLinkFieldBuilder().getBuilder(); } /** + * + * *
        * A snapshot of a FirebaseLink resource in change history.
        * 
@@ -1821,6 +2131,8 @@ public com.google.analytics.admin.v1beta.FirebaseLinkOrBuilder getFirebaseLinkOr } } /** + * + * *
        * A snapshot of a FirebaseLink resource in change history.
        * 
@@ -1828,14 +2140,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()); @@ -1847,13 +2164,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 @@ -1861,11 +2184,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 @@ -1883,6 +2209,8 @@ public com.google.analytics.admin.v1beta.GoogleAdsLink getGoogleAdsLink() { } } /** + * + * *
        * A snapshot of a GoogleAdsLink resource in change history.
        * 
@@ -1903,6 +2231,8 @@ public Builder setGoogleAdsLink(com.google.analytics.admin.v1beta.GoogleAdsLink return this; } /** + * + * *
        * A snapshot of a GoogleAdsLink resource in change history.
        * 
@@ -1921,6 +2251,8 @@ public Builder setGoogleAdsLink( return this; } /** + * + * *
        * A snapshot of a GoogleAdsLink resource in change history.
        * 
@@ -1929,10 +2261,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; } @@ -1948,6 +2284,8 @@ public Builder mergeGoogleAdsLink(com.google.analytics.admin.v1beta.GoogleAdsLin return this; } /** + * + * *
        * A snapshot of a GoogleAdsLink resource in change history.
        * 
@@ -1971,6 +2309,8 @@ public Builder clearGoogleAdsLink() { return this; } /** + * + * *
        * A snapshot of a GoogleAdsLink resource in change history.
        * 
@@ -1981,6 +2321,8 @@ public com.google.analytics.admin.v1beta.GoogleAdsLink.Builder getGoogleAdsLinkB return getGoogleAdsLinkFieldBuilder().getBuilder(); } /** + * + * *
        * A snapshot of a GoogleAdsLink resource in change history.
        * 
@@ -1999,6 +2341,8 @@ public com.google.analytics.admin.v1beta.GoogleAdsLinkOrBuilder getGoogleAdsLink } } /** + * + * *
        * A snapshot of a GoogleAdsLink resource in change history.
        * 
@@ -2006,14 +2350,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()); @@ -2025,13 +2374,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 @@ -2039,11 +2394,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 @@ -2061,6 +2419,8 @@ public com.google.analytics.admin.v1beta.ConversionEvent getConversionEvent() { } } /** + * + * *
        * A snapshot of a ConversionEvent resource in change history.
        * 
@@ -2081,6 +2441,8 @@ public Builder setConversionEvent(com.google.analytics.admin.v1beta.ConversionEv return this; } /** + * + * *
        * A snapshot of a ConversionEvent resource in change history.
        * 
@@ -2099,6 +2461,8 @@ public Builder setConversionEvent( return this; } /** + * + * *
        * A snapshot of a ConversionEvent resource in change history.
        * 
@@ -2107,10 +2471,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; } @@ -2126,6 +2494,8 @@ public Builder mergeConversionEvent(com.google.analytics.admin.v1beta.Conversion return this; } /** + * + * *
        * A snapshot of a ConversionEvent resource in change history.
        * 
@@ -2149,6 +2519,8 @@ public Builder clearConversionEvent() { return this; } /** + * + * *
        * A snapshot of a ConversionEvent resource in change history.
        * 
@@ -2159,6 +2531,8 @@ public com.google.analytics.admin.v1beta.ConversionEvent.Builder getConversionEv return getConversionEventFieldBuilder().getBuilder(); } /** + * + * *
        * A snapshot of a ConversionEvent resource in change history.
        * 
@@ -2166,7 +2540,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 { @@ -2177,6 +2552,8 @@ public com.google.analytics.admin.v1beta.ConversionEventOrBuilder getConversionE } } /** + * + * *
        * A snapshot of a ConversionEvent resource in change history.
        * 
@@ -2184,14 +2561,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()); @@ -2203,13 +2585,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 @@ -2217,15 +2607,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_; @@ -2239,13 +2635,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(); @@ -2259,11 +2660,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) { @@ -2277,18 +2682,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; } @@ -2304,11 +2719,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) { @@ -2327,24 +2746,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 { @@ -2355,21 +2784,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()); @@ -2381,13 +2820,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 @@ -2395,11 +2841,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 @@ -2417,13 +2867,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(); @@ -2437,11 +2891,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) { @@ -2455,18 +2912,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; } @@ -2482,11 +2947,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) { @@ -2505,24 +2973,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 { @@ -2533,21 +3009,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()); @@ -2559,13 +3044,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 @@ -2573,11 +3064,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 @@ -2595,6 +3089,8 @@ public com.google.analytics.admin.v1beta.DataStream getDataStream() { } } /** + * + * *
        * A snapshot of a DataStream resource in change history.
        * 
@@ -2615,6 +3111,8 @@ public Builder setDataStream(com.google.analytics.admin.v1beta.DataStream value) return this; } /** + * + * *
        * A snapshot of a DataStream resource in change history.
        * 
@@ -2633,6 +3131,8 @@ public Builder setDataStream( return this; } /** + * + * *
        * A snapshot of a DataStream resource in change history.
        * 
@@ -2641,10 +3141,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; } @@ -2660,6 +3163,8 @@ public Builder mergeDataStream(com.google.analytics.admin.v1beta.DataStream valu return this; } /** + * + * *
        * A snapshot of a DataStream resource in change history.
        * 
@@ -2683,6 +3188,8 @@ public Builder clearDataStream() { return this; } /** + * + * *
        * A snapshot of a DataStream resource in change history.
        * 
@@ -2693,6 +3200,8 @@ public com.google.analytics.admin.v1beta.DataStream.Builder getDataStreamBuilder return getDataStreamFieldBuilder().getBuilder(); } /** + * + * *
        * A snapshot of a DataStream resource in change history.
        * 
@@ -2711,6 +3220,8 @@ public com.google.analytics.admin.v1beta.DataStreamOrBuilder getDataStreamOrBuil } } /** + * + * *
        * A snapshot of a DataStream resource in change history.
        * 
@@ -2718,14 +3229,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()); @@ -2735,6 +3251,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) { @@ -2747,41 +3264,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; @@ -2793,21 +3314,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 @@ -2816,29 +3341,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 { @@ -2849,38 +3374,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 @@ -2888,40 +3428,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 @@ -2929,32 +3492,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; @@ -2966,12 +3547,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) { @@ -2992,17 +3573,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; @@ -3012,25 +3592,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; @@ -3061,131 +3639,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(); @@ -3206,9 +3789,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 @@ -3227,8 +3810,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; } @@ -3242,14 +3828,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(); } } @@ -3257,38 +3845,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; @@ -3296,7 +3885,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; @@ -3337,36 +3927,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) { @@ -3376,22 +3969,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; @@ -3400,20 +3996,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 { @@ -3421,28 +4018,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() { @@ -3452,17 +4056,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; @@ -3472,22 +4080,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. */ @@ -3498,24 +4113,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. */ @@ -3529,11 +4151,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() { @@ -3543,46 +4168,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(); @@ -3596,15 +4244,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 { @@ -3615,18 +4268,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; @@ -3639,12 +4299,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); @@ -3657,96 +4321,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(); @@ -3760,15 +4467,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 { @@ -3779,18 +4491,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; @@ -3803,12 +4522,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); @@ -3821,58 +4544,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); } @@ -3882,12 +4625,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(); } @@ -3896,27 +4639,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; @@ -3931,6 +4674,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..d627af349165 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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 340fe89e26de..6cc5a2ab3041 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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,33 +49,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();
   }
 
-  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 @@ -66,29 +89,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 { @@ -99,11 +122,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 @@ -111,11 +137,14 @@ public boolean hasChangeTime() { return changeTime_ != null; } /** + * + * *
    * Time when change was made.
    * 
* * .google.protobuf.Timestamp change_time = 2; + * * @return The changeTime. */ @java.lang.Override @@ -123,6 +152,8 @@ public com.google.protobuf.Timestamp getChangeTime() { return changeTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : changeTime_; } /** + * + * *
    * Time when change was made.
    * 
@@ -137,33 +168,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.
@@ -171,6 +214,7 @@ public com.google.protobuf.TimestampOrBuilder getChangeTimeOrBuilder() {
    * 
* * string user_actor_email = 4; + * * @return The userActorEmail. */ @java.lang.Override @@ -179,14 +223,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.
@@ -194,16 +239,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 { @@ -214,12 +258,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 @@ -228,9 +275,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.
@@ -243,6 +293,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.
@@ -251,11 +303,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.
@@ -268,6 +322,8 @@ public int getChangesCount() {
     return changes_.size();
   }
   /**
+   *
+   *
    * 
    * A list of changes made in this change history event that fit the filters
    * specified in SearchChangeHistoryEventsRequest.
@@ -280,6 +336,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.
@@ -294,6 +352,7 @@ public com.google.analytics.admin.v1beta.ChangeHistoryChangeOrBuilder getChanges
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -305,15 +364,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_)) {
@@ -338,23 +397,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;
@@ -364,27 +420,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;
   }
@@ -407,8 +459,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();
@@ -419,98 +470,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
@@ -520,33 +576,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();
@@ -571,9 +626,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
@@ -592,14 +647,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_);
@@ -617,9 +676,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_;
@@ -636,38 +693,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;
@@ -675,7 +733,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;
@@ -713,9 +772,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_);
           }
@@ -747,52 +807,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) {
@@ -802,22 +867,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; @@ -826,20 +894,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 { @@ -847,28 +916,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() { @@ -878,17 +954,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; @@ -898,34 +978,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.
      * 
@@ -946,14 +1039,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 { @@ -964,6 +1058,8 @@ public Builder setChangeTime( return this; } /** + * + * *
      * Time when change was made.
      * 
@@ -972,9 +1068,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; @@ -987,6 +1083,8 @@ public Builder mergeChangeTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Time when change was made.
      * 
@@ -1004,6 +1102,8 @@ public Builder clearChangeTime() { return this; } /** + * + * *
      * Time when change was made.
      * 
@@ -1016,6 +1116,8 @@ public com.google.protobuf.Timestamp.Builder getChangeTimeBuilder() { return getChangeTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Time when change was made.
      * 
@@ -1026,11 +1128,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.
      * 
@@ -1038,14 +1143,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_; @@ -1053,22 +1161,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. */ @@ -1079,24 +1194,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. */ @@ -1110,11 +1232,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() { @@ -1126,6 +1251,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.
@@ -1133,13 +1260,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; @@ -1148,6 +1275,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.
@@ -1155,15 +1284,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 { @@ -1171,6 +1299,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.
@@ -1178,18 +1308,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.
@@ -1197,6 +1331,7 @@ public Builder setUserActorEmail(
      * 
* * string user_actor_email = 4; + * * @return This builder for chaining. */ public Builder clearUserActorEmail() { @@ -1206,6 +1341,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.
@@ -1213,12 +1350,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; @@ -1226,14 +1365,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 @@ -1241,12 +1383,15 @@ 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. */ @@ -1258,12 +1403,15 @@ public Builder setChangesFiltered(boolean value) { 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() { @@ -1274,18 +1422,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.
@@ -1301,6 +1457,8 @@ public java.util.List get
       }
     }
     /**
+     *
+     *
      * 
      * A list of changes made in this change history event that fit the filters
      * specified in SearchChangeHistoryEventsRequest.
@@ -1316,6 +1474,8 @@ public int getChangesCount() {
       }
     }
     /**
+     *
+     *
      * 
      * A list of changes made in this change history event that fit the filters
      * specified in SearchChangeHistoryEventsRequest.
@@ -1331,6 +1491,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.
@@ -1353,6 +1515,8 @@ public Builder setChanges(
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of changes made in this change history event that fit the filters
      * specified in SearchChangeHistoryEventsRequest.
@@ -1372,6 +1536,8 @@ public Builder setChanges(
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of changes made in this change history event that fit the filters
      * specified in SearchChangeHistoryEventsRequest.
@@ -1393,6 +1559,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.
@@ -1415,6 +1583,8 @@ public Builder addChanges(
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of changes made in this change history event that fit the filters
      * specified in SearchChangeHistoryEventsRequest.
@@ -1434,6 +1604,8 @@ public Builder addChanges(
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of changes made in this change history event that fit the filters
      * specified in SearchChangeHistoryEventsRequest.
@@ -1453,6 +1625,8 @@ public Builder addChanges(
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of changes made in this change history event that fit the filters
      * specified in SearchChangeHistoryEventsRequest.
@@ -1461,11 +1635,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);
@@ -1473,6 +1647,8 @@ public Builder addAllChanges(
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of changes made in this change history event that fit the filters
      * specified in SearchChangeHistoryEventsRequest.
@@ -1491,6 +1667,8 @@ public Builder clearChanges() {
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of changes made in this change history event that fit the filters
      * specified in SearchChangeHistoryEventsRequest.
@@ -1509,6 +1687,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.
@@ -1521,6 +1701,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.
@@ -1531,11 +1713,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.
@@ -1543,8 +1728,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 {
@@ -1552,6 +1737,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.
@@ -1560,10 +1747,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.
@@ -1573,10 +1762,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.
@@ -1584,27 +1776,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);
     }
 
@@ -1614,12 +1809,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();
   }
@@ -1628,27 +1823,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;
@@ -1663,6 +1858,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..5b52cdc8e089 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 2023 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for 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..3f619d311e78 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 2023 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for 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 69% 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 6290c5f58536..4ef7ef7bccac 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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_ = ""; @@ -27,25 +45,28 @@ private ConversionEvent() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ConversionEvent(); } - 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); } /** + * + * *
    * The method by which conversions will be counted across multiple events
    * within a session.
@@ -53,9 +74,10 @@ protected java.lang.Object newInstance(
    *
    * Protobuf enum {@code google.analytics.admin.v1beta.ConversionEvent.ConversionCountingMethod}
    */
-  public enum ConversionCountingMethod
-      implements com.google.protobuf.ProtocolMessageEnum {
+  public enum ConversionCountingMethod implements com.google.protobuf.ProtocolMessageEnum {
     /**
+     *
+     *
      * 
      * Counting method not specified.
      * 
@@ -64,6 +86,8 @@ public enum ConversionCountingMethod */ CONVERSION_COUNTING_METHOD_UNSPECIFIED(0), /** + * + * *
      * Each Event instance is considered a Conversion.
      * 
@@ -72,6 +96,8 @@ public enum ConversionCountingMethod */ ONCE_PER_EVENT(1), /** + * + * *
      * An Event instance is considered a Conversion at most once per session per
      * user.
@@ -84,6 +110,8 @@ public enum ConversionCountingMethod
     ;
 
     /**
+     *
+     *
      * 
      * Counting method not specified.
      * 
@@ -92,6 +120,8 @@ public enum ConversionCountingMethod */ public static final int CONVERSION_COUNTING_METHOD_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Each Event instance is considered a Conversion.
      * 
@@ -100,6 +130,8 @@ public enum ConversionCountingMethod */ public static final int ONCE_PER_EVENT_VALUE = 1; /** + * + * *
      * An Event instance is considered a Conversion at most once per session per
      * user.
@@ -109,7 +141,6 @@ public enum ConversionCountingMethod
      */
     public static final int ONCE_PER_SESSION_VALUE = 2;
 
-
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -134,10 +165,14 @@ public static ConversionCountingMethod valueOf(int value) {
      */
     public static ConversionCountingMethod forNumber(int value) {
       switch (value) {
-        case 0: return CONVERSION_COUNTING_METHOD_UNSPECIFIED;
-        case 1: return ONCE_PER_EVENT;
-        case 2: return ONCE_PER_SESSION;
-        default: return null;
+        case 0:
+          return CONVERSION_COUNTING_METHOD_UNSPECIFIED;
+        case 1:
+          return ONCE_PER_EVENT;
+        case 2:
+          return ONCE_PER_SESSION;
+        default:
+          return null;
       }
     }
 
@@ -145,29 +180,31 @@ public static ConversionCountingMethod forNumber(int value) {
         internalGetValueMap() {
       return internalValueMap;
     }
-    private static final com.google.protobuf.Internal.EnumLiteMap<
-        ConversionCountingMethod> internalValueMap =
-          new com.google.protobuf.Internal.EnumLiteMap() {
-            public ConversionCountingMethod findValueByNumber(int number) {
-              return ConversionCountingMethod.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 ConversionCountingMethod findValueByNumber(int number) {
+                return ConversionCountingMethod.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.ConversionEvent.getDescriptor().getEnumTypes().get(0);
+
+    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+      return com.google.analytics.admin.v1beta.ConversionEvent.getDescriptor()
+          .getEnumTypes()
+          .get(0);
     }
 
     private static final ConversionCountingMethod[] VALUES = values();
@@ -175,8 +212,7 @@ public ConversionCountingMethod findValueByNumber(int number) {
     public static ConversionCountingMethod 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;
@@ -194,15 +230,19 @@ private ConversionCountingMethod(int value) {
   }
 
   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 @@ -211,30 +251,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 { @@ -243,15 +283,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 @@ -260,30 +304,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 { @@ -294,11 +338,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 @@ -306,11 +354,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 @@ -318,11 +370,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() { @@ -332,12 +387,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 with
    * DeleteConversionEvent.
    * 
* * bool deletable = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The deletable. */ @java.lang.Override @@ -348,6 +406,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
@@ -358,6 +418,7 @@ public boolean getDeletable() {
    * 
* * bool custom = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The custom. */ @java.lang.Override @@ -368,34 +429,52 @@ public boolean getCustom() { public static final int COUNTING_METHOD_FIELD_NUMBER = 6; private int countingMethod_ = 0; /** + * + * *
    * Optional. The method by which conversions will be counted across multiple
    * events within a session. If this value is not provided, it will be set to
    * `ONCE_PER_EVENT`.
    * 
* - * .google.analytics.admin.v1beta.ConversionEvent.ConversionCountingMethod counting_method = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.analytics.admin.v1beta.ConversionEvent.ConversionCountingMethod counting_method = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The enum numeric value on the wire for countingMethod. */ - @java.lang.Override public int getCountingMethodValue() { + @java.lang.Override + public int getCountingMethodValue() { return countingMethod_; } /** + * + * *
    * Optional. The method by which conversions will be counted across multiple
    * events within a session. If this value is not provided, it will be set to
    * `ONCE_PER_EVENT`.
    * 
* - * .google.analytics.admin.v1beta.ConversionEvent.ConversionCountingMethod counting_method = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.analytics.admin.v1beta.ConversionEvent.ConversionCountingMethod counting_method = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The countingMethod. */ - @java.lang.Override public com.google.analytics.admin.v1beta.ConversionEvent.ConversionCountingMethod getCountingMethod() { - com.google.analytics.admin.v1beta.ConversionEvent.ConversionCountingMethod result = com.google.analytics.admin.v1beta.ConversionEvent.ConversionCountingMethod.forNumber(countingMethod_); - return result == null ? com.google.analytics.admin.v1beta.ConversionEvent.ConversionCountingMethod.UNRECOGNIZED : result; + @java.lang.Override + public com.google.analytics.admin.v1beta.ConversionEvent.ConversionCountingMethod + getCountingMethod() { + com.google.analytics.admin.v1beta.ConversionEvent.ConversionCountingMethod result = + com.google.analytics.admin.v1beta.ConversionEvent.ConversionCountingMethod.forNumber( + countingMethod_); + return result == null + ? com.google.analytics.admin.v1beta.ConversionEvent.ConversionCountingMethod.UNRECOGNIZED + : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -407,8 +486,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -424,7 +502,10 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (custom_ != false) { output.writeBool(5, custom_); } - if (countingMethod_ != com.google.analytics.admin.v1beta.ConversionEvent.ConversionCountingMethod.CONVERSION_COUNTING_METHOD_UNSPECIFIED.getNumber()) { + if (countingMethod_ + != com.google.analytics.admin.v1beta.ConversionEvent.ConversionCountingMethod + .CONVERSION_COUNTING_METHOD_UNSPECIFIED + .getNumber()) { output.writeEnum(6, countingMethod_); } getUnknownFields().writeTo(output); @@ -443,20 +524,19 @@ 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_); } - if (countingMethod_ != com.google.analytics.admin.v1beta.ConversionEvent.ConversionCountingMethod.CONVERSION_COUNTING_METHOD_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(6, countingMethod_); + if (countingMethod_ + != com.google.analytics.admin.v1beta.ConversionEvent.ConversionCountingMethod + .CONVERSION_COUNTING_METHOD_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(6, countingMethod_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -466,26 +546,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 (countingMethod_ != other.countingMethod_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -507,11 +583,9 @@ 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 = (37 * hash) + COUNTING_METHOD_FIELD_NUMBER; hash = (53 * hash) + countingMethod_; hash = (29 * hash) + getUnknownFields().hashCode(); @@ -520,131 +594,135 @@ public int hashCode() { } 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(); @@ -663,9 +741,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 @@ -684,8 +762,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; } @@ -699,9 +780,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_; @@ -718,38 +797,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; @@ -757,7 +837,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; @@ -806,44 +887,49 @@ 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 - case 48: { - countingMethod_ = input.readEnum(); - 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: + { + 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 + case 48: + { + countingMethod_ = input.readEnum(); + 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) { @@ -853,23 +939,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; @@ -878,21 +967,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 { @@ -900,30 +990,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() { @@ -933,18 +1030,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; @@ -954,19 +1055,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; @@ -975,21 +1078,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 { @@ -997,30 +1101,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() { @@ -1030,18 +1141,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; @@ -1051,39 +1166,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) { @@ -1099,14 +1233,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 { @@ -1117,17 +1254,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; @@ -1140,11 +1281,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); @@ -1157,11 +1302,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; @@ -1169,49 +1318,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 with
      * DeleteConversionEvent.
      * 
* * bool deletable = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The deletable. */ @java.lang.Override @@ -1219,12 +1383,15 @@ public boolean getDeletable() { return deletable_; } /** + * + * *
      * Output only. If set, this event can currently be deleted with
      * DeleteConversionEvent.
      * 
* * bool deletable = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The deletable to set. * @return This builder for chaining. */ @@ -1236,12 +1403,15 @@ public Builder setDeletable(boolean value) { return this; } /** + * + * *
      * Output only. If set, this event can currently be deleted with
      * DeleteConversionEvent.
      * 
* * bool deletable = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearDeletable() { @@ -1251,8 +1421,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
@@ -1263,6 +1435,7 @@ public Builder clearDeletable() {
      * 
* * bool custom = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The custom. */ @java.lang.Override @@ -1270,6 +1443,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
@@ -1280,6 +1455,7 @@ public boolean getCustom() {
      * 
* * bool custom = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The custom to set. * @return This builder for chaining. */ @@ -1291,6 +1467,8 @@ public Builder setCustom(boolean value) { 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
@@ -1301,6 +1479,7 @@ public Builder setCustom(boolean value) {
      * 
* * bool custom = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearCustom() { @@ -1312,26 +1491,37 @@ public Builder clearCustom() { private int countingMethod_ = 0; /** + * + * *
      * Optional. The method by which conversions will be counted across multiple
      * events within a session. If this value is not provided, it will be set to
      * `ONCE_PER_EVENT`.
      * 
* - * .google.analytics.admin.v1beta.ConversionEvent.ConversionCountingMethod counting_method = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.analytics.admin.v1beta.ConversionEvent.ConversionCountingMethod counting_method = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The enum numeric value on the wire for countingMethod. */ - @java.lang.Override public int getCountingMethodValue() { + @java.lang.Override + public int getCountingMethodValue() { return countingMethod_; } /** + * + * *
      * Optional. The method by which conversions will be counted across multiple
      * events within a session. If this value is not provided, it will be set to
      * `ONCE_PER_EVENT`.
      * 
* - * .google.analytics.admin.v1beta.ConversionEvent.ConversionCountingMethod counting_method = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.analytics.admin.v1beta.ConversionEvent.ConversionCountingMethod counting_method = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param value The enum numeric value on the wire for countingMethod to set. * @return This builder for chaining. */ @@ -1342,32 +1532,48 @@ public Builder setCountingMethodValue(int value) { return this; } /** + * + * *
      * Optional. The method by which conversions will be counted across multiple
      * events within a session. If this value is not provided, it will be set to
      * `ONCE_PER_EVENT`.
      * 
* - * .google.analytics.admin.v1beta.ConversionEvent.ConversionCountingMethod counting_method = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.analytics.admin.v1beta.ConversionEvent.ConversionCountingMethod counting_method = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The countingMethod. */ @java.lang.Override - public com.google.analytics.admin.v1beta.ConversionEvent.ConversionCountingMethod getCountingMethod() { - com.google.analytics.admin.v1beta.ConversionEvent.ConversionCountingMethod result = com.google.analytics.admin.v1beta.ConversionEvent.ConversionCountingMethod.forNumber(countingMethod_); - return result == null ? com.google.analytics.admin.v1beta.ConversionEvent.ConversionCountingMethod.UNRECOGNIZED : result; + public com.google.analytics.admin.v1beta.ConversionEvent.ConversionCountingMethod + getCountingMethod() { + com.google.analytics.admin.v1beta.ConversionEvent.ConversionCountingMethod result = + com.google.analytics.admin.v1beta.ConversionEvent.ConversionCountingMethod.forNumber( + countingMethod_); + return result == null + ? com.google.analytics.admin.v1beta.ConversionEvent.ConversionCountingMethod.UNRECOGNIZED + : result; } /** + * + * *
      * Optional. The method by which conversions will be counted across multiple
      * events within a session. If this value is not provided, it will be set to
      * `ONCE_PER_EVENT`.
      * 
* - * .google.analytics.admin.v1beta.ConversionEvent.ConversionCountingMethod counting_method = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.analytics.admin.v1beta.ConversionEvent.ConversionCountingMethod counting_method = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param value The countingMethod to set. * @return This builder for chaining. */ - public Builder setCountingMethod(com.google.analytics.admin.v1beta.ConversionEvent.ConversionCountingMethod value) { + public Builder setCountingMethod( + com.google.analytics.admin.v1beta.ConversionEvent.ConversionCountingMethod value) { if (value == null) { throw new NullPointerException(); } @@ -1377,13 +1583,18 @@ public Builder setCountingMethod(com.google.analytics.admin.v1beta.ConversionEve return this; } /** + * + * *
      * Optional. The method by which conversions will be counted across multiple
      * events within a session. If this value is not provided, it will be set to
      * `ONCE_PER_EVENT`.
      * 
* - * .google.analytics.admin.v1beta.ConversionEvent.ConversionCountingMethod counting_method = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.analytics.admin.v1beta.ConversionEvent.ConversionCountingMethod counting_method = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return This builder for chaining. */ public Builder clearCountingMethod() { @@ -1392,9 +1603,9 @@ public Builder clearCountingMethod() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1404,12 +1615,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(); } @@ -1418,27 +1629,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; @@ -1453,6 +1664,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 73% 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 aed72cab8271..5e6b5df2a8aa 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,95 +1,137 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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 with
    * 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,29 +142,40 @@ public interface ConversionEventOrBuilder extends
    * 
* * bool custom = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The custom. */ boolean getCustom(); /** + * + * *
    * Optional. The method by which conversions will be counted across multiple
    * events within a session. If this value is not provided, it will be set to
    * `ONCE_PER_EVENT`.
    * 
* - * .google.analytics.admin.v1beta.ConversionEvent.ConversionCountingMethod counting_method = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.analytics.admin.v1beta.ConversionEvent.ConversionCountingMethod counting_method = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The enum numeric value on the wire for countingMethod. */ int getCountingMethodValue(); /** + * + * *
    * Optional. The method by which conversions will be counted across multiple
    * events within a session. If this value is not provided, it will be set to
    * `ONCE_PER_EVENT`.
    * 
* - * .google.analytics.admin.v1beta.ConversionEvent.ConversionCountingMethod counting_method = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.analytics.admin.v1beta.ConversionEvent.ConversionCountingMethod counting_method = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The countingMethod. */ com.google.analytics.admin.v1beta.ConversionEvent.ConversionCountingMethod getCountingMethod(); 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 6d57f5e77ba8..137b634976c3 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,56 +1,80 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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(); } - 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 @@ -58,39 +82,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 @@ -99,30 +142,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 { @@ -131,6 +176,7 @@ public java.lang.String getParent() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -142,8 +188,7 @@ public final boolean isInitialized() { } @java.lang.Override - public 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()); } @@ -160,8 +205,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_); @@ -174,20 +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.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; } @@ -211,131 +254,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(); @@ -350,13 +398,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(); } @@ -371,18 +420,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_; @@ -393,38 +445,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; @@ -432,7 +485,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()); } @@ -467,24 +522,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) { @@ -494,43 +550,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) { @@ -546,11 +622,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) { @@ -564,17 +644,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; @@ -587,11 +672,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); @@ -604,11 +693,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; @@ -616,36 +709,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_; @@ -653,19 +759,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; @@ -674,21 +784,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 { @@ -696,30 +809,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() { @@ -729,27 +853,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); } @@ -759,41 +889,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; @@ -805,9 +937,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..5750efe06d97 --- /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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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 f86a67e7791c..9bd1ac802295 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,57 +1,82 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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(); } - 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 @@ -60,29 +85,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 { @@ -93,11 +120,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 @@ -105,30 +137,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; @@ -140,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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -161,8 +206,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; @@ -172,19 +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.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; @@ -209,131 +252,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(); @@ -348,13 +396,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(); } @@ -369,21 +418,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(); } } @@ -391,38 +443,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; @@ -430,7 +483,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; @@ -465,24 +520,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) { @@ -492,22 +548,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; @@ -516,20 +577,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 { @@ -537,28 +601,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() { @@ -568,17 +643,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; @@ -588,39 +669,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) { @@ -636,11 +736,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) { @@ -654,17 +758,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; @@ -677,11 +786,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); @@ -694,11 +807,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; @@ -706,43 +823,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); } @@ -752,41 +882,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; @@ -798,9 +930,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..e78bbdd22ea1 --- /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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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 4fabc21d5b01..235d68607f03 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,57 +1,82 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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(); } - 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 @@ -60,29 +85,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 { @@ -93,11 +120,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 @@ -105,30 +137,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; @@ -140,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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -161,8 +206,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; @@ -172,19 +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.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; @@ -209,131 +252,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(); @@ -348,9 +396,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 @@ -369,8 +417,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; } @@ -381,9 +432,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(); } } @@ -391,38 +441,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; @@ -430,7 +481,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; @@ -465,24 +517,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) { @@ -492,22 +545,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; @@ -516,20 +574,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 { @@ -537,28 +598,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() { @@ -568,17 +640,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; @@ -588,39 +666,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) { @@ -636,11 +733,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) { @@ -654,17 +755,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; @@ -677,11 +783,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); @@ -694,11 +804,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; @@ -706,43 +820,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); } @@ -752,12 +878,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(); } @@ -766,27 +892,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; @@ -801,6 +927,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..c26b71d5d8ed --- /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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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 d72e508670d3..91cec1e4a684 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,57 +1,82 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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(); } - 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 @@ -60,29 +85,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 { @@ -93,11 +120,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 @@ -105,30 +137,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; @@ -140,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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -161,8 +206,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; @@ -172,19 +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.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; @@ -209,131 +252,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(); @@ -348,9 +396,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 @@ -369,8 +417,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; } @@ -381,9 +432,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(); } } @@ -391,38 +440,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; @@ -430,7 +480,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; @@ -465,24 +516,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) { @@ -492,22 +544,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; @@ -516,20 +573,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 { @@ -537,28 +597,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() { @@ -568,17 +639,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; @@ -588,39 +665,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) { @@ -636,11 +732,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) { @@ -654,17 +754,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; @@ -677,11 +781,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); @@ -694,11 +802,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; @@ -706,43 +818,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); } @@ -752,12 +876,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(); } @@ -766,27 +890,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; @@ -801,6 +925,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..595f00637df6 --- /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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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 cf9c2fd72204..f6606c461806 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,58 +1,83 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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(); } - 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 @@ -61,30 +86,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 { @@ -95,11 +122,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 @@ -107,30 +139,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; @@ -142,8 +188,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -163,8 +208,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; @@ -174,19 +218,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; @@ -211,131 +254,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(); @@ -350,9 +398,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 @@ -371,8 +419,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; } @@ -383,9 +434,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(); } } @@ -393,38 +443,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; @@ -432,7 +483,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; @@ -467,24 +519,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) { @@ -494,23 +547,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; @@ -519,21 +577,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 { @@ -541,30 +602,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() { @@ -574,18 +646,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; @@ -595,39 +673,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) { @@ -643,11 +740,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) { @@ -661,17 +762,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; @@ -684,11 +790,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); @@ -701,11 +811,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; @@ -713,43 +827,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); } @@ -759,12 +885,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(); } @@ -773,27 +899,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; @@ -808,6 +934,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..04bf57e900b8 --- /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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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 6014c3e70c78..5097386bd31d 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,57 +1,82 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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(); } - 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 @@ -60,29 +85,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 { @@ -93,11 +120,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 @@ -105,30 +137,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; @@ -140,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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -161,8 +206,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; @@ -172,19 +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.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; @@ -209,131 +252,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(); @@ -348,13 +396,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(); } @@ -369,21 +418,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(); } } @@ -391,38 +443,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; @@ -430,7 +483,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; @@ -465,24 +520,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) { @@ -492,22 +548,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; @@ -516,20 +577,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 { @@ -537,28 +601,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() { @@ -568,17 +643,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; @@ -588,39 +669,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) { @@ -636,11 +736,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) { @@ -654,17 +758,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; @@ -677,11 +786,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); @@ -694,11 +807,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; @@ -706,43 +823,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); } @@ -752,12 +881,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(); } @@ -766,27 +896,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; @@ -801,6 +931,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..0adfaf10c35b --- /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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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 28d5228827e2..35b74569680f 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,58 +1,85 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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(); } - 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 @@ -61,30 +88,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 { @@ -95,11 +124,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 @@ -107,30 +141,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; @@ -142,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_); } @@ -163,8 +212,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; @@ -174,19 +224,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; @@ -211,131 +262,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(); @@ -350,19 +409,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); } @@ -371,21 +433,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(); } } @@ -393,46 +460,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; @@ -467,24 +540,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) { @@ -494,23 +569,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; @@ -519,21 +599,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 { @@ -541,30 +624,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() { @@ -574,18 +668,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; @@ -595,41 +695,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(); @@ -643,11 +764,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) { @@ -661,17 +786,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; @@ -684,11 +816,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); @@ -701,55 +837,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); } @@ -759,41 +913,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; @@ -805,9 +962,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..6db411497735 --- /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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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 bba4aec3645a..41a2adc12f63 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,56 +1,79 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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(); } - 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 @@ -58,32 +81,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; @@ -95,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 (property_ != null) { output.writeMessage(1, getProperty()); } @@ -110,8 +146,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; @@ -121,17 +156,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; @@ -154,131 +189,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(); @@ -292,9 +332,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 @@ -313,8 +353,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; } @@ -322,9 +365,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(); } } @@ -332,38 +373,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; @@ -371,7 +413,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()); } @@ -401,19 +444,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) { @@ -423,46 +466,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) { @@ -478,15 +541,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 { @@ -497,18 +563,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; @@ -521,12 +591,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); @@ -539,12 +613,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; @@ -552,45 +630,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); } @@ -600,12 +690,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(); } @@ -614,27 +704,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; @@ -649,6 +739,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..0d146fd58ebc --- /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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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 71% 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 cfb013222ec9..1d13f111d4ad 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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,34 +47,38 @@ private CustomDimension() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CustomDimension(); } - 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.
      * 
@@ -65,6 +87,8 @@ public enum DimensionScope */ DIMENSION_SCOPE_UNSPECIFIED(0), /** + * + * *
      * Dimension scoped to an event.
      * 
@@ -73,6 +97,8 @@ public enum DimensionScope */ EVENT(1), /** + * + * *
      * Dimension scoped to a user.
      * 
@@ -81,6 +107,8 @@ public enum DimensionScope */ USER(2), /** + * + * *
      * Dimension scoped to eCommerce items
      * 
@@ -92,6 +120,8 @@ public enum DimensionScope ; /** + * + * *
      * Scope unknown or not specified.
      * 
@@ -100,6 +130,8 @@ public enum DimensionScope */ public static final int DIMENSION_SCOPE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Dimension scoped to an event.
      * 
@@ -108,6 +140,8 @@ public enum DimensionScope */ public static final int EVENT_VALUE = 1; /** + * + * *
      * Dimension scoped to a user.
      * 
@@ -116,6 +150,8 @@ public enum DimensionScope */ public static final int USER_VALUE = 2; /** + * + * *
      * Dimension scoped to eCommerce items
      * 
@@ -124,7 +160,6 @@ public enum DimensionScope */ public static final int ITEM_VALUE = 3; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -149,50 +184,53 @@ 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; - case 3: return ITEM; - default: return null; + case 0: + return DIMENSION_SCOPE_UNSPECIFIED; + case 1: + return EVENT; + case 2: + return USER; + case 3: + return ITEM; + 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; @@ -210,15 +248,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 @@ -227,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 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 { @@ -259,9 +301,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.
    *
@@ -277,7 +322,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 @@ -286,14 +334,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.
    *
@@ -309,17 +358,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 { @@ -328,9 +378,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
@@ -340,6 +393,7 @@ public java.lang.String getParameterName() {
    * 
* * string display_name = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The displayName. */ @java.lang.Override @@ -348,14 +402,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
@@ -365,16 +420,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 { @@ -383,15 +437,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 @@ -400,30 +458,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 { @@ -434,32 +492,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.
@@ -468,6 +543,7 @@ public java.lang.String getDescription() {
    * 
* * bool disallow_ads_personalization = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The disallowAdsPersonalization. */ @java.lang.Override @@ -476,6 +552,7 @@ public boolean getDisallowAdsPersonalization() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -487,8 +564,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -501,7 +577,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) { @@ -528,13 +607,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; @@ -544,24 +624,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; } @@ -584,139 +660,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(); @@ -731,9 +810,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 @@ -752,8 +831,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; } @@ -784,38 +866,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; @@ -823,7 +906,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; @@ -876,42 +960,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) { @@ -921,23 +1012,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; @@ -946,21 +1040,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 { @@ -968,30 +1063,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() { @@ -1001,18 +1103,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; @@ -1022,6 +1128,8 @@ public Builder setNameBytes( private java.lang.Object parameterName_ = ""; /** + * + * *
      * Required. Immutable. Tagging parameter name for this custom dimension.
      *
@@ -1037,14 +1145,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; @@ -1053,6 +1163,8 @@ public java.lang.String getParameterName() { } } /** + * + * *
      * Required. Immutable. Tagging parameter name for this custom dimension.
      *
@@ -1068,16 +1180,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 { @@ -1085,6 +1198,8 @@ public java.lang.String getParameterName() { } } /** + * + * *
      * Required. Immutable. Tagging parameter name for this custom dimension.
      *
@@ -1100,19 +1215,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.
      *
@@ -1128,7 +1249,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() { @@ -1138,6 +1262,8 @@ public Builder clearParameterName() { return this; } /** + * + * *
      * Required. Immutable. Tagging parameter name for this custom dimension.
      *
@@ -1153,13 +1279,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; @@ -1169,6 +1299,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
@@ -1178,13 +1310,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; @@ -1193,6 +1325,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
@@ -1202,15 +1336,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 { @@ -1218,6 +1351,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
@@ -1227,18 +1362,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
@@ -1248,6 +1387,7 @@ public Builder setDisplayName(
      * 
* * string display_name = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearDisplayName() { @@ -1257,6 +1397,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
@@ -1266,12 +1408,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; @@ -1281,19 +1425,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; @@ -1302,21 +1448,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 { @@ -1324,30 +1471,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() { @@ -1357,18 +1511,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; @@ -1378,22 +1536,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. */ @@ -1404,28 +1573,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(); } @@ -1435,11 +1618,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() { @@ -1449,8 +1637,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.
@@ -1459,6 +1649,7 @@ public Builder clearScope() {
      * 
* * bool disallow_ads_personalization = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The disallowAdsPersonalization. */ @java.lang.Override @@ -1466,6 +1657,8 @@ public boolean getDisallowAdsPersonalization() { return disallowAdsPersonalization_; } /** + * + * *
      * Optional. If set to true, sets this dimension as NPA and excludes it from
      * ads personalization.
@@ -1474,6 +1667,7 @@ public boolean getDisallowAdsPersonalization() {
      * 
* * bool disallow_ads_personalization = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The disallowAdsPersonalization to set. * @return This builder for chaining. */ @@ -1485,6 +1679,8 @@ public Builder setDisallowAdsPersonalization(boolean value) { return this; } /** + * + * *
      * Optional. If set to true, sets this dimension as NPA and excludes it from
      * ads personalization.
@@ -1493,6 +1689,7 @@ public Builder setDisallowAdsPersonalization(boolean value) {
      * 
* * bool disallow_ads_personalization = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearDisallowAdsPersonalization() { @@ -1501,9 +1698,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); } @@ -1513,12 +1710,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(); } @@ -1527,27 +1724,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; @@ -1562,6 +1759,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 72% 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 3445a5d03596..c57ddaf48abc 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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.
    *
@@ -45,11 +68,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.
    *
@@ -65,13 +93,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
@@ -81,10 +113,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
@@ -94,53 +129,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.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.
@@ -149,6 +201,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 7403e7d4e7b6..e88476fb62f2 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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,25 +49,28 @@ private CustomMetric() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CustomMetric(); } - 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.
    *
@@ -59,9 +80,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.
      * 
@@ -70,6 +92,8 @@ public enum MeasurementUnit */ MEASUREMENT_UNIT_UNSPECIFIED(0), /** + * + * *
      * This metric uses default units.
      * 
@@ -78,6 +102,8 @@ public enum MeasurementUnit */ STANDARD(1), /** + * + * *
      * This metric measures a currency.
      * 
@@ -86,6 +112,8 @@ public enum MeasurementUnit */ CURRENCY(2), /** + * + * *
      * This metric measures feet.
      * 
@@ -94,6 +122,8 @@ public enum MeasurementUnit */ FEET(3), /** + * + * *
      * This metric measures meters.
      * 
@@ -102,6 +132,8 @@ public enum MeasurementUnit */ METERS(4), /** + * + * *
      * This metric measures kilometers.
      * 
@@ -110,6 +142,8 @@ public enum MeasurementUnit */ KILOMETERS(5), /** + * + * *
      * This metric measures miles.
      * 
@@ -118,6 +152,8 @@ public enum MeasurementUnit */ MILES(6), /** + * + * *
      * This metric measures milliseconds.
      * 
@@ -126,6 +162,8 @@ public enum MeasurementUnit */ MILLISECONDS(7), /** + * + * *
      * This metric measures seconds.
      * 
@@ -134,6 +172,8 @@ public enum MeasurementUnit */ SECONDS(8), /** + * + * *
      * This metric measures minutes.
      * 
@@ -142,6 +182,8 @@ public enum MeasurementUnit */ MINUTES(9), /** + * + * *
      * This metric measures hours.
      * 
@@ -153,6 +195,8 @@ public enum MeasurementUnit ; /** + * + * *
      * MeasurementUnit unspecified or missing.
      * 
@@ -161,6 +205,8 @@ public enum MeasurementUnit */ public static final int MEASUREMENT_UNIT_UNSPECIFIED_VALUE = 0; /** + * + * *
      * This metric uses default units.
      * 
@@ -169,6 +215,8 @@ public enum MeasurementUnit */ public static final int STANDARD_VALUE = 1; /** + * + * *
      * This metric measures a currency.
      * 
@@ -177,6 +225,8 @@ public enum MeasurementUnit */ public static final int CURRENCY_VALUE = 2; /** + * + * *
      * This metric measures feet.
      * 
@@ -185,6 +235,8 @@ public enum MeasurementUnit */ public static final int FEET_VALUE = 3; /** + * + * *
      * This metric measures meters.
      * 
@@ -193,6 +245,8 @@ public enum MeasurementUnit */ public static final int METERS_VALUE = 4; /** + * + * *
      * This metric measures kilometers.
      * 
@@ -201,6 +255,8 @@ public enum MeasurementUnit */ public static final int KILOMETERS_VALUE = 5; /** + * + * *
      * This metric measures miles.
      * 
@@ -209,6 +265,8 @@ public enum MeasurementUnit */ public static final int MILES_VALUE = 6; /** + * + * *
      * This metric measures milliseconds.
      * 
@@ -217,6 +275,8 @@ public enum MeasurementUnit */ public static final int MILLISECONDS_VALUE = 7; /** + * + * *
      * This metric measures seconds.
      * 
@@ -225,6 +285,8 @@ public enum MeasurementUnit */ public static final int SECONDS_VALUE = 8; /** + * + * *
      * This metric measures minutes.
      * 
@@ -233,6 +295,8 @@ public enum MeasurementUnit */ public static final int MINUTES_VALUE = 9; /** + * + * *
      * This metric measures hours.
      * 
@@ -241,7 +305,6 @@ public enum MeasurementUnit */ public static final int HOURS_VALUE = 10; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -266,47 +329,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); } @@ -315,8 +389,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; @@ -334,15 +407,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.
      * 
@@ -351,6 +427,8 @@ public enum MetricScope */ METRIC_SCOPE_UNSPECIFIED(0), /** + * + * *
      * Metric scoped to an event.
      * 
@@ -362,6 +440,8 @@ public enum MetricScope ; /** + * + * *
      * Scope unknown or not specified.
      * 
@@ -370,6 +450,8 @@ public enum MetricScope */ public static final int METRIC_SCOPE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Metric scoped to an event.
      * 
@@ -378,7 +460,6 @@ public enum MetricScope */ public static final int EVENT_VALUE = 1; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -403,48 +484,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; @@ -462,6 +542,8 @@ private MetricScope(int value) { } /** + * + * *
    * Labels that mark the data in this custom metric as data that should be
    * restricted to specific users.
@@ -469,9 +551,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.
      * 
@@ -480,6 +563,8 @@ public enum RestrictedMetricType */ RESTRICTED_METRIC_TYPE_UNSPECIFIED(0), /** + * + * *
      * Metric reports cost data.
      * 
@@ -488,6 +573,8 @@ public enum RestrictedMetricType */ COST_DATA(1), /** + * + * *
      * Metric reports revenue data.
      * 
@@ -499,6 +586,8 @@ public enum RestrictedMetricType ; /** + * + * *
      * Type unknown or unspecified.
      * 
@@ -507,6 +596,8 @@ public enum RestrictedMetricType */ public static final int RESTRICTED_METRIC_TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Metric reports cost data.
      * 
@@ -515,6 +606,8 @@ public enum RestrictedMetricType */ public static final int COST_DATA_VALUE = 1; /** + * + * *
      * Metric reports revenue data.
      * 
@@ -523,7 +616,6 @@ public enum RestrictedMetricType */ public static final int REVENUE_DATA_VALUE = 2; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -548,10 +640,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; } } @@ -559,28 +655,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); } @@ -589,8 +685,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; @@ -608,15 +703,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 @@ -625,30 +724,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 { @@ -657,9 +756,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.
    *
@@ -670,7 +772,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 @@ -679,14 +784,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.
    *
@@ -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,132 +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(); @@ -1240,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 @@ -1261,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; } @@ -1302,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; @@ -1404,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) { @@ -1466,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; @@ -1491,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 { @@ -1513,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() { @@ -1546,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; @@ -1567,6 +1788,8 @@ public Builder setNameBytes( private java.lang.Object parameterName_ = ""; /** + * + * *
      * Required. Immutable. Tagging name for this custom metric.
      *
@@ -1577,14 +1800,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; @@ -1593,6 +1818,8 @@ public java.lang.String getParameterName() { } } /** + * + * *
      * Required. Immutable. Tagging name for this custom metric.
      *
@@ -1603,16 +1830,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 { @@ -1620,6 +1848,8 @@ public java.lang.String getParameterName() { } } /** + * + * *
      * Required. Immutable. Tagging name for this custom metric.
      *
@@ -1630,19 +1860,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.
      *
@@ -1653,7 +1889,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() { @@ -1663,6 +1902,8 @@ public Builder clearParameterName() { return this; } /** + * + * *
      * Required. Immutable. Tagging name for this custom metric.
      *
@@ -1673,13 +1914,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; @@ -1689,6 +1934,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
@@ -1698,13 +1945,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; @@ -1713,6 +1960,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
@@ -1722,15 +1971,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 { @@ -1738,6 +1986,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
@@ -1747,18 +1997,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
@@ -1768,6 +2022,7 @@ public Builder setDisplayName(
      * 
* * string display_name = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearDisplayName() { @@ -1777,6 +2032,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
@@ -1786,12 +2043,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; @@ -1801,19 +2060,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; @@ -1822,21 +2083,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 { @@ -1844,30 +2106,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() { @@ -1877,18 +2146,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; @@ -1898,22 +2171,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. */ @@ -1924,28 +2208,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(); } @@ -1955,11 +2254,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() { @@ -1971,22 +2275,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. */ @@ -1997,24 +2312,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. */ @@ -2028,11 +2356,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() { @@ -2043,7 +2376,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_); @@ -2051,54 +2385,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. @@ -2114,17 +2471,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(); } @@ -2134,18 +2497,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()); @@ -2154,13 +2524,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() { @@ -2170,27 +2545,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. */ @@ -2198,32 +2582,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. */ @@ -2234,18 +2627,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); @@ -2253,9 +2650,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); } @@ -2265,12 +2662,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(); } @@ -2279,27 +2676,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; @@ -2314,6 +2711,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 bab0b8de610c..33240df380be 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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.
    *
@@ -40,11 +63,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.
    *
@@ -55,13 +83,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
@@ -71,10 +103,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
@@ -84,125 +119,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 e38a43e7dff7..0b751b55c8a7 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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,34 +44,38 @@ private DataRetentionSettings() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DataRetentionSettings(); } - 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.
      * 
@@ -62,6 +84,8 @@ public enum RetentionDuration */ RETENTION_DURATION_UNSPECIFIED(0), /** + * + * *
      * The data retention time duration is 2 months.
      * 
@@ -70,6 +94,8 @@ public enum RetentionDuration */ TWO_MONTHS(1), /** + * + * *
      * The data retention time duration is 14 months.
      * 
@@ -78,6 +104,8 @@ public enum RetentionDuration */ FOURTEEN_MONTHS(3), /** + * + * *
      * The data retention time duration is 26 months.
      * Available to 360 properties only.
@@ -87,6 +115,8 @@ public enum RetentionDuration
      */
     TWENTY_SIX_MONTHS(4),
     /**
+     *
+     *
      * 
      * The data retention time duration is 38 months.
      * Available to 360 properties only.
@@ -96,6 +126,8 @@ public enum RetentionDuration
      */
     THIRTY_EIGHT_MONTHS(5),
     /**
+     *
+     *
      * 
      * The data retention time duration is 50 months.
      * Available to 360 properties only.
@@ -108,6 +140,8 @@ public enum RetentionDuration
     ;
 
     /**
+     *
+     *
      * 
      * Data retention time duration is not specified.
      * 
@@ -116,6 +150,8 @@ public enum RetentionDuration */ public static final int RETENTION_DURATION_UNSPECIFIED_VALUE = 0; /** + * + * *
      * The data retention time duration is 2 months.
      * 
@@ -124,6 +160,8 @@ public enum RetentionDuration */ public static final int TWO_MONTHS_VALUE = 1; /** + * + * *
      * The data retention time duration is 14 months.
      * 
@@ -132,6 +170,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.
@@ -141,6 +181,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.
@@ -150,6 +192,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.
@@ -159,7 +203,6 @@ public enum RetentionDuration
      */
     public static final int FIFTY_MONTHS_VALUE = 6;
 
-
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -184,13 +227,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;
       }
     }
 
@@ -198,29 +248,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();
@@ -228,8 +280,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;
@@ -247,15 +298,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 @@ -264,30 +319,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 { @@ -298,38 +353,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 @@ -338,6 +413,7 @@ public boolean getResetUserDataOnNewActivity() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -349,12 +425,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) { @@ -372,13 +450,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; @@ -388,18 +467,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; } @@ -416,139 +494,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(); @@ -560,9 +642,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 @@ -581,8 +663,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; } @@ -604,38 +689,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; @@ -643,7 +729,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; @@ -681,27 +768,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) { @@ -711,23 +802,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; @@ -736,21 +830,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 { @@ -758,30 +853,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() { @@ -791,18 +893,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; @@ -812,22 +918,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. */ @@ -838,28 +955,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(); } @@ -869,11 +1002,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() { @@ -883,14 +1021,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 @@ -898,12 +1039,15 @@ 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. */ @@ -915,12 +1059,15 @@ public Builder setResetUserDataOnNewActivity(boolean value) { 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() { @@ -929,9 +1076,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); } @@ -941,12 +1088,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(); } @@ -955,27 +1102,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; @@ -990,6 +1137,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..498d4a51e13f 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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 25758543d551..f6115dd560a3 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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,43 +28,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();
   }
 
-  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
@@ -55,6 +77,7 @@ protected java.lang.Object newInstance(
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ @java.lang.Override @@ -63,14 +86,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
@@ -78,16 +102,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 { @@ -98,12 +121,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 @@ -114,6 +140,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.
@@ -121,6 +149,7 @@ public boolean getSharingWithGoogleSupportEnabled() {
    * 
* * bool sharing_with_google_assigned_sales_enabled = 3; + * * @return The sharingWithGoogleAssignedSalesEnabled. */ @java.lang.Override @@ -131,12 +160,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 @@ -147,11 +179,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 @@ -162,11 +197,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 @@ -175,6 +213,7 @@ public boolean getSharingWithOthersEnabled() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -186,8 +225,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -219,24 +257,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; @@ -246,25 +287,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; } @@ -279,118 +319,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.
@@ -398,33 +447,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();
@@ -439,9 +487,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
@@ -460,8 +508,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;
     }
@@ -492,38 +543,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;
@@ -531,7 +583,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;
@@ -578,42 +631,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) {
@@ -623,10 +683,13 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * Output only. Resource name.
      * Format: accounts/{account}/dataSharingSettings
@@ -634,13 +697,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; @@ -649,6 +712,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. Resource name.
      * Format: accounts/{account}/dataSharingSettings
@@ -656,15 +721,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 { @@ -672,6 +736,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. Resource name.
      * Format: accounts/{account}/dataSharingSettings
@@ -679,18 +745,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
@@ -698,6 +768,7 @@ public Builder setName(
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearName() { @@ -707,6 +778,8 @@ public Builder clearName() { return this; } /** + * + * *
      * Output only. Resource name.
      * Format: accounts/{account}/dataSharingSettings
@@ -714,12 +787,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; @@ -727,14 +802,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 @@ -742,12 +820,15 @@ 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. */ @@ -759,12 +840,15 @@ public Builder setSharingWithGoogleSupportEnabled(boolean value) { 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() { @@ -774,8 +858,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.
@@ -783,6 +869,7 @@ public Builder clearSharingWithGoogleSupportEnabled() {
      * 
* * bool sharing_with_google_assigned_sales_enabled = 3; + * * @return The sharingWithGoogleAssignedSalesEnabled. */ @java.lang.Override @@ -790,6 +877,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.
@@ -797,6 +886,7 @@ public boolean getSharingWithGoogleAssignedSalesEnabled() {
      * 
* * bool sharing_with_google_assigned_sales_enabled = 3; + * * @param value The sharingWithGoogleAssignedSalesEnabled to set. * @return This builder for chaining. */ @@ -808,6 +898,8 @@ public Builder setSharingWithGoogleAssignedSalesEnabled(boolean value) { 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.
@@ -815,6 +907,7 @@ public Builder setSharingWithGoogleAssignedSalesEnabled(boolean value) {
      * 
* * bool sharing_with_google_assigned_sales_enabled = 3; + * * @return This builder for chaining. */ public Builder clearSharingWithGoogleAssignedSalesEnabled() { @@ -824,14 +917,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 @@ -839,12 +935,15 @@ 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. */ @@ -856,12 +955,15 @@ public Builder setSharingWithGoogleAnySalesEnabled(boolean value) { 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() { @@ -871,13 +973,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 @@ -885,11 +990,14 @@ 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. */ @@ -901,11 +1009,14 @@ public Builder setSharingWithGoogleProductsEnabled(boolean value) { 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() { @@ -915,13 +1026,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 @@ -929,11 +1043,14 @@ 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. */ @@ -945,11 +1062,14 @@ public Builder setSharingWithOthersEnabled(boolean value) { 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() { @@ -958,9 +1078,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); } @@ -970,12 +1090,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(); } @@ -984,27 +1104,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; @@ -1019,6 +1139,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..26d272fc22be 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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 2005fff5c4e5..9a1d894f4a21 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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,34 +45,38 @@ private DataStream() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DataStream(); } - 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.
      * 
@@ -63,6 +85,8 @@ public enum DataStreamType */ DATA_STREAM_TYPE_UNSPECIFIED(0), /** + * + * *
      * Web data stream.
      * 
@@ -71,6 +95,8 @@ public enum DataStreamType */ WEB_DATA_STREAM(1), /** + * + * *
      * Android app data stream.
      * 
@@ -79,6 +105,8 @@ public enum DataStreamType */ ANDROID_APP_DATA_STREAM(2), /** + * + * *
      * iOS app data stream.
      * 
@@ -90,6 +118,8 @@ public enum DataStreamType ; /** + * + * *
      * Type unknown or not specified.
      * 
@@ -98,6 +128,8 @@ public enum DataStreamType */ public static final int DATA_STREAM_TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Web data stream.
      * 
@@ -106,6 +138,8 @@ public enum DataStreamType */ public static final int WEB_DATA_STREAM_VALUE = 1; /** + * + * *
      * Android app data stream.
      * 
@@ -114,6 +148,8 @@ public enum DataStreamType */ public static final int ANDROID_APP_DATA_STREAM_VALUE = 2; /** + * + * *
      * iOS app data stream.
      * 
@@ -122,7 +158,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( @@ -147,50 +182,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; @@ -207,11 +243,14 @@ 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.
      *
@@ -219,10 +258,13 @@ public interface WebStreamDataOrBuilder extends
      * 
* * string measurement_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The measurementId. */ java.lang.String getMeasurementId(); /** + * + * *
      * Output only. Analytics Measurement ID.
      *
@@ -230,71 +272,84 @@ public interface WebStreamDataOrBuilder extends
      * 
* * 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(); /** + * + * *
      * Domain name of the web app being measured, or empty.
      * Example: "http://www.google.com", "https://www.google.com"
      * 
* * string default_uri = 3; + * * @return The defaultUri. */ java.lang.String getDefaultUri(); /** + * + * *
      * Domain name of the web app being measured, or empty.
      * Example: "http://www.google.com", "https://www.google.com"
      * 
* * string default_uri = 3; + * * @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_ = ""; @@ -303,28 +358,32 @@ private WebStreamData() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new WebStreamData(); } - 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.
      *
@@ -332,6 +391,7 @@ protected java.lang.Object newInstance(
      * 
* * string measurement_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The measurementId. */ @java.lang.Override @@ -340,14 +400,15 @@ 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.
      *
@@ -355,16 +416,15 @@ public java.lang.String getMeasurementId() {
      * 
* * 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 { @@ -373,15 +433,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 @@ -390,30 +454,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 { @@ -422,15 +486,19 @@ public java.lang.String getFirebaseAppId() { } public static final int DEFAULT_URI_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object defaultUri_ = ""; /** + * + * *
      * Domain name of the web app being measured, or empty.
      * Example: "http://www.google.com", "https://www.google.com"
      * 
* * string default_uri = 3; + * * @return The defaultUri. */ @java.lang.Override @@ -439,30 +507,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; } } /** + * + * *
      * Domain name of the web app being measured, or empty.
      * Example: "http://www.google.com", "https://www.google.com"
      * 
* * string default_uri = 3; + * * @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 { @@ -471,6 +539,7 @@ public java.lang.String getDefaultUri() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -482,8 +551,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -519,19 +587,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; } @@ -555,89 +621,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 @@ -647,39 +718,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(); @@ -691,13 +764,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(); } @@ -712,13 +786,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_; @@ -735,38 +813,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; @@ -774,7 +855,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; @@ -816,27 +899,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) { @@ -846,10 +933,13 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object measurementId_ = ""; /** + * + * *
        * Output only. Analytics Measurement ID.
        *
@@ -857,13 +947,13 @@ public Builder mergeFrom(
        * 
* * 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; @@ -872,6 +962,8 @@ public java.lang.String getMeasurementId() { } } /** + * + * *
        * Output only. Analytics Measurement ID.
        *
@@ -879,15 +971,14 @@ public java.lang.String getMeasurementId() {
        * 
* * 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 { @@ -895,6 +986,8 @@ public java.lang.String getMeasurementId() { } } /** + * + * *
        * Output only. Analytics Measurement ID.
        *
@@ -902,18 +995,22 @@ public java.lang.String getMeasurementId() {
        * 
* * 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.
        *
@@ -921,6 +1018,7 @@ public Builder setMeasurementId(
        * 
* * string measurement_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearMeasurementId() { @@ -930,6 +1028,8 @@ public Builder clearMeasurementId() { return this; } /** + * + * *
        * Output only. Analytics Measurement ID.
        *
@@ -937,12 +1037,14 @@ public Builder clearMeasurementId() {
        * 
* * 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; @@ -952,19 +1054,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; @@ -973,21 +1077,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 { @@ -995,30 +1100,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() { @@ -1028,18 +1140,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; @@ -1049,19 +1165,21 @@ public Builder setFirebaseAppIdBytes( private java.lang.Object defaultUri_ = ""; /** + * + * *
        * Domain name of the web app being measured, or empty.
        * Example: "http://www.google.com", "https://www.google.com"
        * 
* * string default_uri = 3; + * * @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; @@ -1070,21 +1188,22 @@ public java.lang.String getDefaultUri() { } } /** + * + * *
        * Domain name of the web app being measured, or empty.
        * Example: "http://www.google.com", "https://www.google.com"
        * 
* * string default_uri = 3; + * * @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 { @@ -1092,30 +1211,37 @@ public java.lang.String getDefaultUri() { } } /** + * + * *
        * Domain name of the web app being measured, or empty.
        * Example: "http://www.google.com", "https://www.google.com"
        * 
* * string default_uri = 3; + * * @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; } /** + * + * *
        * Domain name of the web app being measured, or empty.
        * Example: "http://www.google.com", "https://www.google.com"
        * 
* * string default_uri = 3; + * * @return This builder for chaining. */ public Builder clearDefaultUri() { @@ -1125,24 +1251,29 @@ public Builder clearDefaultUri() { return this; } /** + * + * *
        * Domain name of the web app being measured, or empty.
        * Example: "http://www.google.com", "https://www.google.com"
        * 
* * string default_uri = 3; + * * @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) { @@ -1155,12 +1286,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(); } @@ -1169,27 +1301,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; @@ -1204,73 +1337,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_ = ""; @@ -1278,34 +1424,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(); } - 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 @@ -1314,30 +1465,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 { @@ -1346,15 +1497,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 @@ -1363,30 +1518,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 { @@ -1395,6 +1550,7 @@ public java.lang.String getPackageName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1406,8 +1562,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -1437,17 +1592,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; } @@ -1469,89 +1623,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 @@ -1561,39 +1721,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(); @@ -1604,14 +1767,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 @@ -1625,13 +1790,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_; @@ -1645,46 +1814,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; @@ -1721,22 +1897,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) { @@ -1746,23 +1925,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; @@ -1771,21 +1953,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 { @@ -1793,30 +1976,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() { @@ -1826,18 +2016,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; @@ -1847,19 +2041,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; @@ -1868,21 +2064,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 { @@ -1890,30 +2087,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() { @@ -1923,24 +2127,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) { @@ -1953,41 +2162,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; @@ -1999,76 +2211,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_ = ""; @@ -2076,34 +2306,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(); } - 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 @@ -2112,30 +2347,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 { @@ -2144,15 +2379,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 @@ -2161,30 +2402,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 { @@ -2193,6 +2436,7 @@ public java.lang.String getBundleId() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2204,8 +2448,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -2235,17 +2478,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; } @@ -2267,89 +2509,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 @@ -2359,39 +2606,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(); @@ -2402,13 +2651,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(); } @@ -2423,13 +2673,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_; @@ -2443,46 +2697,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; @@ -2519,22 +2779,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) { @@ -2544,23 +2807,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; @@ -2569,21 +2835,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 { @@ -2591,30 +2858,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() { @@ -2624,18 +2898,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; @@ -2645,19 +2923,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; @@ -2666,21 +2948,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 { @@ -2688,30 +2973,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() { @@ -2721,24 +3017,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) { @@ -2751,41 +3054,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; @@ -2797,23 +3103,27 @@ 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; + @SuppressWarnings("serial") 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; } @@ -2829,32 +3139,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 @@ -2862,22 +3179,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.
@@ -2886,21 +3208,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 @@ -2908,45 +3236,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 @@ -2954,41 +3297,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}
@@ -2996,6 +3350,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 @@ -3004,14 +3359,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}
@@ -3019,16 +3375,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 { @@ -3039,33 +3394,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.
    *
@@ -3075,6 +3448,7 @@ public java.lang.String getName() {
    * 
* * string display_name = 3; + * * @return The displayName. */ @java.lang.Override @@ -3083,14 +3457,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.
    *
@@ -3100,16 +3475,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 +3494,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 +3510,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 +3526,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 +3543,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 +3559,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 +3575,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 +3590,7 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -3205,12 +3602,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 +3621,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 +3644,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 +3681,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,132 +3760,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(); @@ -3521,9 +3922,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 @@ -3542,8 +3943,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; @@ -3561,30 +3965,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(); } } @@ -3593,38 +3990,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; @@ -3653,21 +4051,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(); @@ -3695,62 +4097,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) { @@ -3760,12 +4163,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() { @@ -3778,14 +4181,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 @@ -3793,12 +4202,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 @@ -3816,6 +4228,8 @@ public com.google.analytics.admin.v1beta.DataStream.WebStreamData getWebStreamDa } } /** + * + * *
      * Data specific to web streams. Must be populated if type is
      * WEB_DATA_STREAM.
@@ -3823,7 +4237,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();
@@ -3837,6 +4252,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.
@@ -3856,6 +4273,8 @@ public Builder setWebStreamData(
       return this;
     }
     /**
+     *
+     *
      * 
      * Data specific to web streams. Must be populated if type is
      * WEB_DATA_STREAM.
@@ -3863,12 +4282,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;
         }
@@ -3884,6 +4309,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.
@@ -3908,6 +4335,8 @@ public Builder clearWebStreamData() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Data specific to web streams. Must be populated if type is
      * WEB_DATA_STREAM.
@@ -3915,10 +4344,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.
@@ -3927,7 +4359,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 {
@@ -3938,6 +4371,8 @@ public com.google.analytics.admin.v1beta.DataStream.WebStreamDataOrBuilder getWe
       }
     }
     /**
+     *
+     *
      * 
      * Data specific to web streams. Must be populated if type is
      * WEB_DATA_STREAM.
@@ -3946,14 +4381,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());
@@ -3965,14 +4406,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 @@ -3980,37 +4429,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(); @@ -4024,12 +4486,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) { @@ -4043,19 +4509,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; } @@ -4071,12 +4548,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) { @@ -4095,52 +4576,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()); @@ -4152,14 +4655,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 @@ -4167,12 +4677,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 @@ -4190,14 +4704,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(); @@ -4211,12 +4729,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) { @@ -4230,19 +4751,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; } @@ -4258,12 +4788,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) { @@ -4282,26 +4815,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 { @@ -4312,22 +4853,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()); @@ -4340,6 +4890,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}
@@ -4347,13 +4899,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; @@ -4362,6 +4914,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. Resource name of this Data Stream.
      * Format: properties/{property_id}/dataStreams/{stream_id}
@@ -4369,15 +4923,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 { @@ -4385,6 +4938,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. Resource name of this Data Stream.
      * Format: properties/{property_id}/dataStreams/{stream_id}
@@ -4392,18 +4947,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}
@@ -4411,6 +4970,7 @@ public Builder setName(
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearName() { @@ -4420,6 +4980,8 @@ public Builder clearName() { return this; } /** + * + * *
      * Output only. Resource name of this Data Stream.
      * Format: properties/{property_id}/dataStreams/{stream_id}
@@ -4427,12 +4989,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; @@ -4442,22 +5006,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. */ @@ -4468,24 +5043,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. */ @@ -4499,11 +5087,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() { @@ -4515,6 +5108,8 @@ public Builder clearType() { private java.lang.Object displayName_ = ""; /** + * + * *
      * Human-readable display name for the Data Stream.
      *
@@ -4524,13 +5119,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; @@ -4539,6 +5134,8 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * Human-readable display name for the Data Stream.
      *
@@ -4548,15 +5145,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 { @@ -4564,6 +5160,8 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * Human-readable display name for the Data Stream.
      *
@@ -4573,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.
      *
@@ -4594,6 +5196,7 @@ public Builder setDisplayName(
      * 
* * string display_name = 3; + * * @return This builder for chaining. */ public Builder clearDisplayName() { @@ -4603,6 +5206,8 @@ public Builder clearDisplayName() { return this; } /** + * + * *
      * Human-readable display name for the Data Stream.
      *
@@ -4612,12 +5217,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; @@ -4627,39 +5234,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) { @@ -4675,14 +5301,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 { @@ -4693,17 +5322,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; @@ -4716,11 +5349,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); @@ -4733,11 +5370,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; @@ -4745,36 +5386,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_; @@ -4782,39 +5435,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) { @@ -4830,14 +5502,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 { @@ -4848,17 +5523,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; @@ -4871,11 +5550,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); @@ -4888,11 +5571,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; @@ -4900,43 +5587,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); } @@ -4946,12 +5645,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(); } @@ -4960,27 +5659,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; @@ -4995,6 +5694,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 2a7b5b6b882f..34e64a33cfb8 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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.
    *
@@ -150,10 +218,13 @@ public interface DataStreamOrBuilder extends
    * 
* * string display_name = 3; + * * @return The displayName. */ java.lang.String getDisplayName(); /** + * + * *
    * Human-readable display name for the Data Stream.
    *
@@ -163,62 +234,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 44e4921bd58a..2148c1eb31ed 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,59 +1,84 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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(); } - 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 @@ -62,31 +87,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 { @@ -95,6 +122,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -106,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(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -131,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.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; } @@ -159,131 +186,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(); @@ -293,9 +325,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 @@ -314,8 +346,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; } @@ -331,38 +366,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; @@ -370,7 +406,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; @@ -402,17 +439,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) { @@ -422,24 +461,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; @@ -448,22 +492,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 { @@ -471,32 +518,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() { @@ -506,28 +564,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); } @@ -537,12 +601,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(); } @@ -551,27 +615,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; @@ -586,6 +650,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..6c733caa1b48 --- /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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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 49536a7f98b0..60695dc09bb3 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,59 +1,84 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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(); } - 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 @@ -62,31 +87,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 { @@ -95,6 +122,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -106,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(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -131,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.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; } @@ -159,131 +186,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(); @@ -293,13 +325,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(); } @@ -314,13 +347,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_; @@ -331,38 +368,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; @@ -370,7 +408,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; @@ -402,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) { @@ -422,24 +464,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; @@ -448,22 +495,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 { @@ -471,32 +521,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() { @@ -506,28 +567,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); } @@ -537,41 +604,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; @@ -583,9 +652,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..868e34658425 --- /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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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 5a62fb675e10..0083af4e6914 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,58 +1,83 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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(); } - 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 @@ -61,30 +86,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 { @@ -93,6 +120,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -104,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(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -129,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.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; } @@ -157,131 +184,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(); @@ -291,9 +323,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 @@ -312,8 +344,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; } @@ -329,38 +364,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; @@ -368,7 +404,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; @@ -400,17 +437,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) { @@ -420,23 +459,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; @@ -445,21 +489,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 { @@ -467,30 +514,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() { @@ -500,27 +558,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); } @@ -530,12 +594,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(); } @@ -544,27 +608,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; @@ -579,6 +643,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..5596ad1764b2 --- /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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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 cbb7cf6d3b7b..f44ad9a4acbf 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,58 +1,83 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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(); } - 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 @@ -61,30 +86,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 { @@ -93,6 +120,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -104,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(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -129,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.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; } @@ -157,131 +184,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(); @@ -291,9 +323,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 @@ -312,8 +344,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; } @@ -329,38 +364,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; @@ -368,7 +404,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; @@ -400,17 +437,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) { @@ -420,23 +459,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; @@ -445,21 +489,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 { @@ -467,30 +514,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() { @@ -500,27 +558,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); } @@ -530,12 +594,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(); } @@ -544,27 +608,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; @@ -579,6 +643,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..f6f3db240c91 --- /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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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 a6638eeee221..f6809baa1c36 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,57 +1,82 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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(); } - 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 @@ -60,29 +85,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 { @@ -91,6 +118,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -102,8 +130,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -127,15 +154,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; } @@ -155,131 +182,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(); @@ -289,13 +321,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(); } @@ -310,13 +343,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_; @@ -327,38 +364,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; @@ -366,7 +404,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; @@ -398,17 +438,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) { @@ -418,22 +460,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; @@ -442,20 +489,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 { @@ -463,28 +513,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() { @@ -494,26 +555,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); } @@ -523,12 +590,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(); } @@ -537,27 +605,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; @@ -572,6 +640,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..31db45aa717f --- /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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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 20292ef0f607..06dc961d971e 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,59 +1,86 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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(); } - 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 @@ -62,31 +89,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 { @@ -95,6 +124,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -106,8 +136,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -131,15 +160,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; } @@ -159,131 +189,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(); @@ -293,19 +331,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); } @@ -314,13 +355,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_; @@ -331,46 +376,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; @@ -402,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) { @@ -422,24 +475,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; @@ -448,22 +506,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 { @@ -471,32 +532,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() { @@ -506,28 +578,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); } @@ -537,41 +615,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; @@ -583,9 +664,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..d64879420a6a --- /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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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 c73b00c47f25..f2a3fc4d52e3 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,59 +1,84 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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(); } - 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 @@ -62,31 +87,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 { @@ -95,6 +122,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -106,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(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -131,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.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; } @@ -159,131 +186,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(); @@ -293,9 +325,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 @@ -314,8 +346,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; } @@ -331,38 +366,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; @@ -370,7 +406,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; @@ -402,17 +439,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) { @@ -422,24 +461,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; @@ -448,22 +492,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 { @@ -471,32 +518,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() { @@ -506,28 +564,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); } @@ -537,12 +601,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(); } @@ -551,27 +615,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; @@ -586,6 +650,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..13a22b7e823d --- /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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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 32c15ca25adf..88fc6d97add6 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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,33 +44,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(); } - 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 @@ -61,29 +84,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 { @@ -92,9 +115,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
@@ -106,6 +132,7 @@ public java.lang.String getName() {
    * 
* * string project = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return The project. */ @java.lang.Override @@ -114,14 +141,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
@@ -133,16 +161,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 { @@ -153,11 +180,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 @@ -165,11 +196,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 @@ -177,11 +212,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() { @@ -189,6 +227,7 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -200,8 +239,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -227,8 +265,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; @@ -238,21 +275,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; @@ -278,132 +313,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(); @@ -419,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_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 @@ -440,8 +479,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; } @@ -455,9 +497,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(); } } @@ -465,38 +505,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; @@ -544,29 +585,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) { @@ -576,22 +619,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; @@ -600,20 +646,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 { @@ -621,28 +668,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() { @@ -652,17 +706,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; @@ -672,6 +730,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 +743,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 +758,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
@@ -709,15 +771,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 { @@ -725,6 +786,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
@@ -736,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
@@ -759,6 +826,7 @@ public Builder setProject(
      * 
* * string project = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return This builder for chaining. */ public Builder clearProject() { @@ -768,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
@@ -779,12 +849,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; @@ -794,39 +866,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) { @@ -842,14 +933,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 { @@ -860,17 +954,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; @@ -883,11 +981,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); @@ -900,11 +1002,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; @@ -912,43 +1018,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); } @@ -958,12 +1076,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(); } @@ -972,27 +1090,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; @@ -1007,6 +1125,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 9c1bdecabd9e..4f921ab36d63 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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
@@ -39,10 +62,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
@@ -54,35 +80,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 4597886d3d7f..b73bf77fb54f 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,59 +1,84 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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(); } - 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 @@ -62,31 +87,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 { @@ -95,6 +122,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -106,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(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -131,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.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; } @@ -159,131 +186,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(); @@ -293,9 +324,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 @@ -314,8 +345,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; } @@ -331,38 +365,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; @@ -370,7 +405,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; @@ -402,17 +438,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) { @@ -422,24 +460,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; @@ -448,22 +491,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 { @@ -471,32 +517,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() { @@ -506,28 +563,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); } @@ -537,12 +600,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(); } @@ -551,27 +614,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; @@ -586,6 +649,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..5ab0cb355bfa --- /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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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 78f6e9f2dfcf..094beaa111d7 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,59 +1,84 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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(); } - 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 @@ -62,31 +87,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 { @@ -95,6 +122,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -106,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(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -131,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.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; } @@ -159,131 +186,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(); @@ -293,9 +325,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 @@ -314,8 +346,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; } @@ -331,38 +366,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; @@ -370,7 +406,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; @@ -402,17 +439,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) { @@ -422,24 +461,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; @@ -448,22 +492,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 { @@ -471,32 +518,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() { @@ -506,28 +564,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); } @@ -537,12 +601,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(); } @@ -551,27 +615,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; @@ -586,6 +650,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..b6d475cfa890 --- /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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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 11f6c1f25b3a..b9c44d55a676 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,58 +1,83 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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(); } - 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 @@ -61,30 +86,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 { @@ -93,6 +120,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -104,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(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -129,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.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; } @@ -157,131 +184,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(); @@ -291,9 +323,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 @@ -312,8 +344,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; } @@ -329,38 +364,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; @@ -368,7 +404,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; @@ -400,17 +437,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) { @@ -420,23 +459,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; @@ -445,21 +489,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 { @@ -467,30 +514,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() { @@ -500,27 +558,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); } @@ -530,12 +594,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(); } @@ -544,27 +608,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; @@ -579,6 +643,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..c50af5d04402 --- /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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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 f2465b5c8b4d..5cd516d94dfb 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,58 +1,83 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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(); } - 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 @@ -61,30 +86,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 { @@ -93,6 +120,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -104,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(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -129,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.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; } @@ -157,131 +184,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(); @@ -291,9 +323,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 @@ -312,8 +344,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; } @@ -329,38 +364,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; @@ -368,7 +404,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; @@ -400,17 +437,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) { @@ -420,23 +459,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; @@ -445,21 +489,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 { @@ -467,30 +514,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() { @@ -500,27 +558,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); } @@ -530,12 +594,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(); } @@ -544,27 +608,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; @@ -579,6 +643,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..303cbc52bb0f --- /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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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 8a36393be38f..cd7344b6a3bf 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,52 +1,75 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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(); } - 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:
@@ -54,7 +77,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 @@ -63,14 +89,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:
@@ -78,17 +105,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 { @@ -97,6 +125,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -108,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_); } @@ -133,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.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; } @@ -161,131 +189,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(); @@ -295,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_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(); } @@ -316,13 +352,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_; @@ -333,46 +373,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; @@ -404,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) { @@ -424,10 +470,13 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Required. The name of the settings to lookup.
      * Format:
@@ -435,14 +484,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; @@ -451,6 +502,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the settings to lookup.
      * Format:
@@ -458,16 +511,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 { @@ -475,6 +529,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the settings to lookup.
      * Format:
@@ -482,19 +538,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:
@@ -502,7 +564,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() { @@ -512,6 +577,8 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. The name of the settings to lookup.
      * Format:
@@ -519,22 +586,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); } @@ -544,41 +615,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; @@ -590,9 +663,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..f837c8e396c6 --- /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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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 7d180827dd26..694438269cb5 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,59 +1,84 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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(); } - 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 @@ -62,31 +87,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 { @@ -95,6 +122,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -106,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(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -131,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.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; } @@ -159,131 +186,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(); @@ -293,13 +325,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(); } @@ -314,13 +347,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_; @@ -331,46 +368,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; @@ -402,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) { @@ -422,24 +465,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; @@ -448,22 +496,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 { @@ -471,32 +522,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() { @@ -506,28 +568,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); } @@ -537,41 +605,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; @@ -583,9 +653,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..c008a5b70021 --- /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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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 964e3032d5fa..580c4bc76f05 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,58 +1,83 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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(); } - 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 @@ -61,30 +86,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 { @@ -93,6 +120,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -104,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(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -129,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.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; } @@ -157,131 +184,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(); @@ -291,9 +323,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 @@ -312,8 +344,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; } @@ -329,38 +364,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; @@ -368,7 +404,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; @@ -400,17 +437,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) { @@ -420,23 +459,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; @@ -445,21 +489,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 { @@ -467,30 +514,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() { @@ -500,27 +558,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); } @@ -530,12 +594,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(); } @@ -544,27 +608,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; @@ -579,6 +643,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..1ad1ed15b62e --- /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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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 f13d56bd014e..06d16a572e23 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,59 +1,86 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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(); } - 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 @@ -62,31 +89,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 { @@ -95,6 +124,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -106,8 +136,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -131,15 +160,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; } @@ -159,131 +188,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(); @@ -293,14 +329,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 @@ -314,13 +352,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_; @@ -331,46 +373,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; @@ -402,17 +449,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) { @@ -422,24 +471,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; @@ -448,22 +502,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 { @@ -471,32 +528,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() { @@ -506,28 +574,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); } @@ -537,41 +611,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; @@ -583,9 +659,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..f21966dfd258 --- /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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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 f99518bab424..e47174f13a81 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,59 +1,84 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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(); } - 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 @@ -62,31 +87,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 { @@ -95,6 +122,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -106,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(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -131,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.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; } @@ -159,131 +186,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(); @@ -293,9 +324,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 @@ -314,8 +345,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; } @@ -331,38 +365,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; @@ -370,7 +405,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; @@ -402,17 +438,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) { @@ -422,24 +460,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; @@ -448,22 +491,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 { @@ -471,32 +517,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() { @@ -506,28 +563,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); } @@ -537,12 +600,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(); } @@ -551,27 +614,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; @@ -586,6 +649,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..97fe8880f480 --- /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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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 71% 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 89f9380fe342..8afab8bca792 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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,28 +45,32 @@ private GoogleAdsLink() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GoogleAdsLink(); } - 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}
@@ -57,6 +79,7 @@ protected java.lang.Object newInstance(
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ @java.lang.Override @@ -65,14 +88,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}
@@ -81,16 +105,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 { @@ -99,14 +122,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 @@ -115,29 +142,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 { @@ -148,11 +175,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 @@ -163,6 +193,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
@@ -171,6 +203,7 @@ public boolean getCanManageClients() {
    * 
* * .google.protobuf.BoolValue ads_personalization_enabled = 5; + * * @return Whether the adsPersonalizationEnabled field is set. */ @java.lang.Override @@ -178,6 +211,8 @@ public boolean hasAdsPersonalizationEnabled() { return adsPersonalizationEnabled_ != null; } /** + * + * *
    * Enable personalized advertising features with this integration.
    * Automatically publish my Google Analytics audience lists and Google
@@ -186,13 +221,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
@@ -204,17 +244,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 @@ -222,11 +268,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 @@ -234,11 +284,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() { @@ -248,11 +301,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 @@ -260,11 +317,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 @@ -272,11 +333,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() { @@ -284,15 +348,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 @@ -301,30 +369,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 { @@ -333,6 +401,7 @@ public java.lang.String getCreatorEmailAddress() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -344,8 +413,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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,20 +451,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_); @@ -409,36 +475,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; } @@ -455,8 +516,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(); @@ -476,132 +536,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(); @@ -629,9 +693,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 @@ -650,8 +714,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; } @@ -668,19 +735,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_; @@ -691,38 +755,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; @@ -730,7 +795,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; @@ -784,53 +850,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) { @@ -840,10 +909,13 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Output only. Format:
      * properties/{propertyId}/googleAdsLinks/{googleAdsLinkId}
@@ -852,13 +924,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 +939,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. Format:
      * properties/{propertyId}/googleAdsLinks/{googleAdsLinkId}
@@ -875,15 +949,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 { @@ -891,6 +964,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. Format:
      * properties/{propertyId}/googleAdsLinks/{googleAdsLinkId}
@@ -899,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}
@@ -919,6 +998,7 @@ public Builder setName(
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearName() { @@ -928,6 +1008,8 @@ public Builder clearName() { return this; } /** + * + * *
      * Output only. Format:
      * properties/{propertyId}/googleAdsLinks/{googleAdsLinkId}
@@ -936,12 +1018,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; @@ -951,18 +1035,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; @@ -971,20 +1057,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 { @@ -992,28 +1079,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() { @@ -1023,17 +1117,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; @@ -1041,13 +1139,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 @@ -1055,11 +1156,14 @@ 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. */ @@ -1071,11 +1175,14 @@ public Builder setCanManageClients(boolean value) { 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() { @@ -1087,8 +1194,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
@@ -1097,12 +1209,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
@@ -1111,16 +1226,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
@@ -1144,6 +1264,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
@@ -1165,6 +1287,8 @@ public Builder setAdsPersonalizationEnabled(
       return this;
     }
     /**
+     *
+     *
      * 
      * Enable personalized advertising features with this integration.
      * Automatically publish my Google Analytics audience lists and Google
@@ -1176,9 +1300,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;
@@ -1191,6 +1315,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
@@ -1211,6 +1337,8 @@ public Builder clearAdsPersonalizationEnabled() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Enable personalized advertising features with this integration.
      * Automatically publish my Google Analytics audience lists and Google
@@ -1226,6 +1354,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
@@ -1239,11 +1369,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
@@ -1254,14 +1387,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_;
@@ -1269,39 +1405,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) { @@ -1317,14 +1472,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 { @@ -1335,17 +1493,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; @@ -1358,11 +1520,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); @@ -1375,11 +1541,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; @@ -1387,36 +1557,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_; @@ -1424,39 +1606,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) { @@ -1472,14 +1673,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 { @@ -1490,17 +1694,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; @@ -1513,11 +1721,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); @@ -1530,11 +1742,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; @@ -1542,36 +1758,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_; @@ -1579,19 +1807,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; @@ -1600,21 +1830,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 { @@ -1622,30 +1853,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() { @@ -1655,27 +1893,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); } @@ -1685,12 +1927,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(); } @@ -1699,27 +1941,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; @@ -1734,6 +1976,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 f9609c019ba0..bb1076a72c2f 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,13 +1,31 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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}
@@ -16,10 +34,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}
@@ -28,42 +49,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
@@ -72,10 +103,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
@@ -84,10 +118,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
@@ -100,78 +137,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..270829cedebf 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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 4617e97bc661..42aad163e4f9 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,51 +1,72 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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(); } - 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.
@@ -54,6 +75,7 @@ protected java.lang.Object newInstance(
    * 
* * int32 page_size = 1; + * * @return The pageSize. */ @java.lang.Override @@ -62,9 +84,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.
@@ -73,6 +98,7 @@ public int getPageSize() {
    * 
* * string page_token = 2; + * * @return The pageToken. */ @java.lang.Override @@ -81,14 +107,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.
@@ -97,16 +124,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 { @@ -115,6 +141,7 @@ public java.lang.String getPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -126,8 +153,7 @@ public final boolean isInitialized() { } @java.lang.Override - public 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_); } @@ -144,8 +170,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_); @@ -158,17 +183,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; } @@ -190,131 +214,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(); @@ -325,13 +354,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(); } @@ -346,13 +376,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_; @@ -366,38 +400,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; @@ -405,7 +440,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()); } @@ -440,22 +477,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) { @@ -465,10 +505,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.
@@ -477,6 +520,7 @@ public Builder mergeFrom(
      * 
* * int32 page_size = 1; + * * @return The pageSize. */ @java.lang.Override @@ -484,6 +528,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.
@@ -492,6 +538,7 @@ public int getPageSize() {
      * 
* * int32 page_size = 1; + * * @param value The pageSize to set. * @return This builder for chaining. */ @@ -503,6 +550,8 @@ public Builder setPageSize(int value) { return this; } /** + * + * *
      * The maximum number of AccountSummary resources to return. The service may
      * return fewer than this value, even if there are additional pages.
@@ -511,6 +560,7 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 1; + * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -522,6 +572,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.
@@ -530,13 +582,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; @@ -545,6 +597,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * A page token, received from a previous `ListAccountSummaries` call.
      * Provide this to retrieve the subsequent page.
@@ -553,15 +607,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 { @@ -569,6 +622,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * A page token, received from a previous `ListAccountSummaries` call.
      * Provide this to retrieve the subsequent page.
@@ -577,18 +632,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.
@@ -597,6 +656,7 @@ public Builder setPageToken(
      * 
* * string page_token = 2; + * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -606,6 +666,8 @@ public Builder clearPageToken() { return this; } /** + * + * *
      * A page token, received from a previous `ListAccountSummaries` call.
      * Provide this to retrieve the subsequent page.
@@ -614,21 +676,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); } @@ -638,12 +702,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(); } @@ -652,27 +717,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; @@ -687,6 +752,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..e42b50889f91 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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 1ca25d0514f2..8f64fb4f8305 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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,28 +44,32 @@ private ListAccountSummariesResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListAccountSummariesResponse(); } - 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.
    * 
@@ -55,10 +77,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.
    * 
@@ -66,11 +91,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.
    * 
@@ -82,6 +109,8 @@ public int getAccountSummariesCount() { return accountSummaries_.size(); } /** + * + * *
    * Account summaries of all accounts the caller has access to.
    * 
@@ -93,6 +122,8 @@ public com.google.analytics.admin.v1beta.AccountSummary getAccountSummaries(int return accountSummaries_.get(index); } /** + * + * *
    * Account summaries of all accounts the caller has access to.
    * 
@@ -106,15 +137,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 @@ -123,30 +158,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 { @@ -155,6 +190,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -166,8 +202,7 @@ public final boolean isInitialized() { } @java.lang.Override - 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)); } @@ -184,8 +219,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_); @@ -198,17 +232,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; } @@ -232,131 +265,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(); @@ -373,13 +411,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(); } @@ -394,14 +433,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_); @@ -413,7 +456,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_; @@ -424,38 +468,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; @@ -463,7 +508,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()) { @@ -482,9 +529,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_); } @@ -521,30 +569,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) { @@ -554,28 +605,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 { @@ -583,6 +644,8 @@ public java.util.List getAccou } } /** + * + * *
      * Account summaries of all accounts the caller has access to.
      * 
@@ -597,6 +660,8 @@ public int getAccountSummariesCount() { } } /** + * + * *
      * Account summaries of all accounts the caller has access to.
      * 
@@ -611,6 +676,8 @@ public com.google.analytics.admin.v1beta.AccountSummary getAccountSummaries(int } } /** + * + * *
      * Account summaries of all accounts the caller has access to.
      * 
@@ -632,6 +699,8 @@ public Builder setAccountSummaries( return this; } /** + * + * *
      * Account summaries of all accounts the caller has access to.
      * 
@@ -650,6 +719,8 @@ public Builder setAccountSummaries( return this; } /** + * + * *
      * Account summaries of all accounts the caller has access to.
      * 
@@ -670,6 +741,8 @@ public Builder addAccountSummaries(com.google.analytics.admin.v1beta.AccountSumm return this; } /** + * + * *
      * Account summaries of all accounts the caller has access to.
      * 
@@ -691,6 +764,8 @@ public Builder addAccountSummaries( return this; } /** + * + * *
      * Account summaries of all accounts the caller has access to.
      * 
@@ -709,6 +784,8 @@ public Builder addAccountSummaries( return this; } /** + * + * *
      * Account summaries of all accounts the caller has access to.
      * 
@@ -727,6 +804,8 @@ public Builder addAccountSummaries( return this; } /** + * + * *
      * Account summaries of all accounts the caller has access to.
      * 
@@ -737,8 +816,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); @@ -746,6 +824,8 @@ public Builder addAllAccountSummaries( return this; } /** + * + * *
      * Account summaries of all accounts the caller has access to.
      * 
@@ -763,6 +843,8 @@ public Builder clearAccountSummaries() { return this; } /** + * + * *
      * Account summaries of all accounts the caller has access to.
      * 
@@ -780,6 +862,8 @@ public Builder removeAccountSummaries(int index) { return this; } /** + * + * *
      * Account summaries of all accounts the caller has access to.
      * 
@@ -791,6 +875,8 @@ public com.google.analytics.admin.v1beta.AccountSummary.Builder getAccountSummar return getAccountSummariesFieldBuilder().getBuilder(index); } /** + * + * *
      * Account summaries of all accounts the caller has access to.
      * 
@@ -800,19 +886,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 { @@ -820,6 +909,8 @@ public com.google.analytics.admin.v1beta.AccountSummaryOrBuilder getAccountSumma } } /** + * + * *
      * Account summaries of all accounts the caller has access to.
      * 
@@ -827,10 +918,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.
      * 
@@ -839,26 +932,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(), @@ -870,19 +971,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; @@ -891,21 +994,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 { @@ -913,30 +1017,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() { @@ -946,27 +1057,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); } @@ -976,41 +1091,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; @@ -1022,9 +1139,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..52f5e09601d7 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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 2106de5860a8..e83ec27835aa 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,51 +1,72 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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(); } - 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.
@@ -54,6 +75,7 @@ protected java.lang.Object newInstance(
    * 
* * int32 page_size = 1; + * * @return The pageSize. */ @java.lang.Override @@ -62,9 +84,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.
@@ -73,6 +98,7 @@ public int getPageSize() {
    * 
* * string page_token = 2; + * * @return The pageToken. */ @java.lang.Override @@ -81,14 +107,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.
@@ -97,16 +124,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 { @@ -117,6 +143,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
@@ -124,6 +152,7 @@ public java.lang.String getPageToken() {
    * 
* * bool show_deleted = 3; + * * @return The showDeleted. */ @java.lang.Override @@ -132,6 +161,7 @@ public boolean getShowDeleted() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -143,8 +173,7 @@ public final boolean isInitialized() { } @java.lang.Override - public 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_); } @@ -164,15 +193,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; @@ -182,19 +209,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; } @@ -211,139 +236,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(); @@ -355,9 +384,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 @@ -376,8 +405,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; } @@ -399,38 +431,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; @@ -438,7 +471,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()); } @@ -476,27 +510,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) { @@ -506,10 +544,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.
@@ -518,6 +559,7 @@ public Builder mergeFrom(
      * 
* * int32 page_size = 1; + * * @return The pageSize. */ @java.lang.Override @@ -525,6 +567,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.
@@ -533,6 +577,7 @@ public int getPageSize() {
      * 
* * int32 page_size = 1; + * * @param value The pageSize to set. * @return This builder for chaining. */ @@ -544,6 +589,8 @@ public Builder setPageSize(int value) { return this; } /** + * + * *
      * The maximum number of resources to return. The service may return
      * fewer than this value, even if there are additional pages.
@@ -552,6 +599,7 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 1; + * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -563,6 +611,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.
@@ -571,13 +621,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; @@ -586,6 +636,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * A page token, received from a previous `ListAccounts` call.
      * Provide this to retrieve the subsequent page.
@@ -594,15 +646,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 { @@ -610,6 +661,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * A page token, received from a previous `ListAccounts` call.
      * Provide this to retrieve the subsequent page.
@@ -618,18 +671,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.
@@ -638,6 +695,7 @@ public Builder setPageToken(
      * 
* * string page_token = 2; + * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -647,6 +705,8 @@ public Builder clearPageToken() { return this; } /** + * + * *
      * A page token, received from a previous `ListAccounts` call.
      * Provide this to retrieve the subsequent page.
@@ -655,12 +715,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; @@ -668,8 +730,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
@@ -677,6 +741,7 @@ public Builder setPageTokenBytes(
      * 
* * bool show_deleted = 3; + * * @return The showDeleted. */ @java.lang.Override @@ -684,6 +749,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
@@ -691,6 +758,7 @@ public boolean getShowDeleted() {
      * 
* * bool show_deleted = 3; + * * @param value The showDeleted to set. * @return This builder for chaining. */ @@ -702,6 +770,8 @@ public Builder setShowDeleted(boolean value) { return this; } /** + * + * *
      * Whether to include soft-deleted (ie: "trashed") Accounts in the
      * results. Accounts can be inspected to determine whether they are deleted or
@@ -709,6 +779,7 @@ public Builder setShowDeleted(boolean value) {
      * 
* * bool show_deleted = 3; + * * @return This builder for chaining. */ public Builder clearShowDeleted() { @@ -717,9 +788,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); } @@ -729,12 +800,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(); } @@ -743,27 +814,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; @@ -778,6 +849,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..9a220c4cfcf1 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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 9e8bbf2dc646..5a1be707ae4d 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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,28 +44,32 @@ private ListAccountsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListAccountsResponse(); } - 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.
    * 
@@ -59,6 +81,8 @@ public java.util.List getAccountsList return accounts_; } /** + * + * *
    * Results that were accessible to the caller.
    * 
@@ -66,11 +90,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.
    * 
@@ -82,6 +108,8 @@ public int getAccountsCount() { return accounts_.size(); } /** + * + * *
    * Results that were accessible to the caller.
    * 
@@ -93,6 +121,8 @@ public com.google.analytics.admin.v1beta.Account getAccounts(int index) { return accounts_.get(index); } /** + * + * *
    * Results that were accessible to the caller.
    * 
@@ -100,21 +130,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 @@ -123,30 +156,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 { @@ -155,6 +188,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -166,8 +200,7 @@ public final boolean isInitialized() { } @java.lang.Override - 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)); } @@ -184,8 +217,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_); @@ -198,17 +230,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; } @@ -232,131 +263,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(); @@ -373,9 +409,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 @@ -394,14 +430,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_); @@ -424,38 +464,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; @@ -463,7 +504,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()) { @@ -482,9 +524,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_); } @@ -521,30 +564,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) { @@ -554,21 +599,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.
      * 
@@ -583,6 +635,8 @@ public java.util.List getAccountsList } } /** + * + * *
      * Results that were accessible to the caller.
      * 
@@ -597,6 +651,8 @@ public int getAccountsCount() { } } /** + * + * *
      * Results that were accessible to the caller.
      * 
@@ -611,14 +667,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(); @@ -632,6 +689,8 @@ public Builder setAccounts( return this; } /** + * + * *
      * Results that were accessible to the caller.
      * 
@@ -650,6 +709,8 @@ public Builder setAccounts( return this; } /** + * + * *
      * Results that were accessible to the caller.
      * 
@@ -670,14 +731,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(); @@ -691,14 +753,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()); @@ -709,6 +772,8 @@ public Builder addAccounts( return this; } /** + * + * *
      * Results that were accessible to the caller.
      * 
@@ -727,6 +792,8 @@ public Builder addAccounts( return this; } /** + * + * *
      * Results that were accessible to the caller.
      * 
@@ -737,8 +804,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); @@ -746,6 +812,8 @@ public Builder addAllAccounts( return this; } /** + * + * *
      * Results that were accessible to the caller.
      * 
@@ -763,6 +831,8 @@ public Builder clearAccounts() { return this; } /** + * + * *
      * Results that were accessible to the caller.
      * 
@@ -780,39 +850,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 { @@ -820,6 +895,8 @@ public com.google.analytics.admin.v1beta.AccountOrBuilder getAccountsOrBuilder( } } /** + * + * *
      * Results that were accessible to the caller.
      * 
@@ -827,42 +904,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_; @@ -870,19 +953,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; @@ -891,21 +976,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 { @@ -913,30 +999,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() { @@ -946,27 +1039,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); } @@ -976,12 +1073,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(); } @@ -990,27 +1087,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; @@ -1025,6 +1122,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..bde1f770aa4d 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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 61a3e94cc426..8cb004a1b2f9 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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,34 +44,41 @@ private ListConversionEventsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListConversionEventsRequest(); } - 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 @@ -62,30 +87,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 { @@ -96,6 +123,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.
@@ -103,6 +132,7 @@ public java.lang.String getParent() {
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -111,9 +141,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.
@@ -122,6 +155,7 @@ public int getPageSize() {
    * 
* * string page_token = 3; + * * @return The pageToken. */ @java.lang.Override @@ -130,14 +164,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.
@@ -146,16 +181,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 { @@ -164,6 +198,7 @@ public java.lang.String getPageToken() { } 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 { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -199,8 +233,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_); @@ -213,19 +246,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; } @@ -249,131 +280,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(); @@ -385,13 +421,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(); } @@ -406,13 +443,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_; @@ -429,38 +470,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; @@ -468,7 +510,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; @@ -508,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) { @@ -538,23 +586,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; @@ -563,21 +616,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 { @@ -585,30 +641,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() { @@ -618,18 +685,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; @@ -637,8 +710,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 +721,7 @@ public Builder setParentBytes(
      * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -653,6 +729,8 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * The maximum number of resources to return.
      * If unspecified, at most 50 resources will be returned.
@@ -660,6 +738,7 @@ public int getPageSize() {
      * 
* * int32 page_size = 2; + * * @param value The pageSize to set. * @return This builder for chaining. */ @@ -671,6 +750,8 @@ public Builder setPageSize(int value) { return this; } /** + * + * *
      * The maximum number of resources to return.
      * If unspecified, at most 50 resources will be returned.
@@ -678,6 +759,7 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2; + * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -689,6 +771,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.
@@ -697,13 +781,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 +796,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * A page token, received from a previous `ListConversionEvents` call.
      * Provide this to retrieve the subsequent page.
@@ -720,15 +806,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 +821,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * A page token, received from a previous `ListConversionEvents` call.
      * Provide this to retrieve the subsequent page.
@@ -744,18 +831,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.
@@ -764,6 +855,7 @@ public Builder setPageToken(
      * 
* * string page_token = 3; + * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -773,6 +865,8 @@ public Builder clearPageToken() { return this; } /** + * + * *
      * A page token, received from a previous `ListConversionEvents` call.
      * Provide this to retrieve the subsequent page.
@@ -781,21 +875,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 +901,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(); } @@ -819,27 +916,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; @@ -854,6 +951,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..903f9f91f9f7 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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 2113b86feb96..f241715505e6 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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,28 +44,32 @@ private ListConversionEventsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListConversionEventsResponse(); } - 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
    * 
@@ -55,10 +77,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
    * 
@@ -66,11 +91,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
    * 
@@ -82,6 +109,8 @@ public int getConversionEventsCount() { return conversionEvents_.size(); } /** + * + * *
    * The requested conversion events
    * 
@@ -93,6 +122,8 @@ public com.google.analytics.admin.v1beta.ConversionEvent getConversionEvents(int return conversionEvents_.get(index); } /** + * + * *
    * The requested conversion events
    * 
@@ -106,15 +137,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 @@ -123,30 +158,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 { @@ -155,6 +190,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -166,8 +202,7 @@ public final boolean isInitialized() { } @java.lang.Override - 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)); } @@ -184,8 +219,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_); @@ -198,17 +232,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; } @@ -232,131 +265,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(); @@ -373,13 +411,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(); } @@ -394,14 +433,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_); @@ -413,7 +456,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_; @@ -424,38 +468,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; @@ -463,7 +508,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()) { @@ -482,9 +529,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_); } @@ -521,30 +569,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) { @@ -554,28 +605,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 { @@ -583,6 +644,8 @@ public java.util.List getConv } } /** + * + * *
      * The requested conversion events
      * 
@@ -597,6 +660,8 @@ public int getConversionEventsCount() { } } /** + * + * *
      * The requested conversion events
      * 
@@ -611,6 +676,8 @@ public com.google.analytics.admin.v1beta.ConversionEvent getConversionEvents(int } } /** + * + * *
      * The requested conversion events
      * 
@@ -632,6 +699,8 @@ public Builder setConversionEvents( return this; } /** + * + * *
      * The requested conversion events
      * 
@@ -650,6 +719,8 @@ public Builder setConversionEvents( return this; } /** + * + * *
      * The requested conversion events
      * 
@@ -670,6 +741,8 @@ public Builder addConversionEvents(com.google.analytics.admin.v1beta.ConversionE return this; } /** + * + * *
      * The requested conversion events
      * 
@@ -691,6 +764,8 @@ public Builder addConversionEvents( return this; } /** + * + * *
      * The requested conversion events
      * 
@@ -709,6 +784,8 @@ public Builder addConversionEvents( return this; } /** + * + * *
      * The requested conversion events
      * 
@@ -727,6 +804,8 @@ public Builder addConversionEvents( return this; } /** + * + * *
      * The requested conversion events
      * 
@@ -737,8 +816,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); @@ -746,6 +824,8 @@ public Builder addAllConversionEvents( return this; } /** + * + * *
      * The requested conversion events
      * 
@@ -763,6 +843,8 @@ public Builder clearConversionEvents() { return this; } /** + * + * *
      * The requested conversion events
      * 
@@ -780,6 +862,8 @@ public Builder removeConversionEvents(int index) { return this; } /** + * + * *
      * The requested conversion events
      * 
@@ -791,6 +875,8 @@ public com.google.analytics.admin.v1beta.ConversionEvent.Builder getConversionEv return getConversionEventsFieldBuilder().getBuilder(index); } /** + * + * *
      * The requested conversion events
      * 
@@ -800,19 +886,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 { @@ -820,6 +909,8 @@ public com.google.analytics.admin.v1beta.ConversionEventOrBuilder getConversionE } } /** + * + * *
      * The requested conversion events
      * 
@@ -827,10 +918,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
      * 
@@ -839,26 +932,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(), @@ -870,19 +972,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; @@ -891,21 +995,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 { @@ -913,30 +1018,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() { @@ -946,27 +1058,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); } @@ -976,41 +1092,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; @@ -1022,9 +1140,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..161bdee80e09 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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 54e8c9a7ba60..7ff7c66c6147 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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,33 +44,40 @@ private ListCustomDimensionsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListCustomDimensionsRequest(); } - 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 @@ -61,29 +86,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 { @@ -94,6 +121,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.
@@ -101,6 +130,7 @@ public java.lang.String getParent() {
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -109,9 +139,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.
@@ -121,6 +154,7 @@ public int getPageSize() {
    * 
* * string page_token = 3; + * * @return The pageToken. */ @java.lang.Override @@ -129,14 +163,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.
@@ -146,16 +181,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 { @@ -164,6 +198,7 @@ public java.lang.String getPageToken() { } 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 { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -199,8 +233,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_); @@ -213,19 +246,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; } @@ -249,131 +280,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(); @@ -385,13 +421,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(); } @@ -406,13 +443,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_; @@ -429,38 +470,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; @@ -468,7 +510,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; @@ -508,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) { @@ -538,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; @@ -562,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 { @@ -583,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() { @@ -614,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; @@ -632,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.
@@ -641,6 +716,7 @@ public Builder setParentBytes(
      * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -648,6 +724,8 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * The maximum number of resources to return.
      * If unspecified, at most 50 resources will be returned.
@@ -655,6 +733,7 @@ public int getPageSize() {
      * 
* * int32 page_size = 2; + * * @param value The pageSize to set. * @return This builder for chaining. */ @@ -666,6 +745,8 @@ public Builder setPageSize(int value) { return this; } /** + * + * *
      * The maximum number of resources to return.
      * If unspecified, at most 50 resources will be returned.
@@ -673,6 +754,7 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2; + * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -684,6 +766,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 +777,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 +792,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * A page token, received from a previous `ListCustomDimensions` call.
      * Provide this to retrieve the subsequent page.
@@ -717,15 +803,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 { @@ -733,6 +818,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * A page token, received from a previous `ListCustomDimensions` call.
      * Provide this to retrieve the subsequent page.
@@ -742,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.
@@ -763,6 +854,7 @@ public Builder setPageToken(
      * 
* * string page_token = 3; + * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -772,6 +864,8 @@ public Builder clearPageToken() { return this; } /** + * + * *
      * A page token, received from a previous `ListCustomDimensions` call.
      * Provide this to retrieve the subsequent page.
@@ -781,21 +875,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 +901,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(); } @@ -819,27 +916,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; @@ -854,6 +951,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 45a12651de22..d45a71a9da88 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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.
@@ -49,10 +79,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.
@@ -62,8 +95,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 72% 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 307ab167b5c8..25286c3f8b3f 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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,28 +44,32 @@ private ListCustomDimensionsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListCustomDimensionsResponse(); } - 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.
    * 
@@ -55,10 +77,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.
    * 
@@ -66,11 +91,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.
    * 
@@ -82,6 +109,8 @@ public int getCustomDimensionsCount() { return customDimensions_.size(); } /** + * + * *
    * List of CustomDimensions.
    * 
@@ -93,6 +122,8 @@ public com.google.analytics.admin.v1beta.CustomDimension getCustomDimensions(int return customDimensions_.get(index); } /** + * + * *
    * List of CustomDimensions.
    * 
@@ -106,15 +137,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 @@ -123,30 +158,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 { @@ -155,6 +190,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -166,8 +202,7 @@ public final boolean isInitialized() { } @java.lang.Override - 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)); } @@ -184,8 +219,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_); @@ -198,17 +232,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; } @@ -232,131 +265,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(); @@ -373,13 +411,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(); } @@ -394,14 +433,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_); @@ -413,7 +456,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_; @@ -424,38 +468,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; @@ -463,7 +508,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()) { @@ -482,9 +529,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_); } @@ -521,30 +569,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) { @@ -554,28 +605,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 { @@ -583,6 +644,8 @@ public java.util.List getCust } } /** + * + * *
      * List of CustomDimensions.
      * 
@@ -597,6 +660,8 @@ public int getCustomDimensionsCount() { } } /** + * + * *
      * List of CustomDimensions.
      * 
@@ -611,6 +676,8 @@ public com.google.analytics.admin.v1beta.CustomDimension getCustomDimensions(int } } /** + * + * *
      * List of CustomDimensions.
      * 
@@ -632,6 +699,8 @@ public Builder setCustomDimensions( return this; } /** + * + * *
      * List of CustomDimensions.
      * 
@@ -650,6 +719,8 @@ public Builder setCustomDimensions( return this; } /** + * + * *
      * List of CustomDimensions.
      * 
@@ -670,6 +741,8 @@ public Builder addCustomDimensions(com.google.analytics.admin.v1beta.CustomDimen return this; } /** + * + * *
      * List of CustomDimensions.
      * 
@@ -691,6 +764,8 @@ public Builder addCustomDimensions( return this; } /** + * + * *
      * List of CustomDimensions.
      * 
@@ -709,6 +784,8 @@ public Builder addCustomDimensions( return this; } /** + * + * *
      * List of CustomDimensions.
      * 
@@ -727,6 +804,8 @@ public Builder addCustomDimensions( return this; } /** + * + * *
      * List of CustomDimensions.
      * 
@@ -737,8 +816,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); @@ -746,6 +824,8 @@ public Builder addAllCustomDimensions( return this; } /** + * + * *
      * List of CustomDimensions.
      * 
@@ -763,6 +843,8 @@ public Builder clearCustomDimensions() { return this; } /** + * + * *
      * List of CustomDimensions.
      * 
@@ -780,6 +862,8 @@ public Builder removeCustomDimensions(int index) { return this; } /** + * + * *
      * List of CustomDimensions.
      * 
@@ -791,6 +875,8 @@ public com.google.analytics.admin.v1beta.CustomDimension.Builder getCustomDimens return getCustomDimensionsFieldBuilder().getBuilder(index); } /** + * + * *
      * List of CustomDimensions.
      * 
@@ -800,19 +886,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 { @@ -820,6 +909,8 @@ public com.google.analytics.admin.v1beta.CustomDimensionOrBuilder getCustomDimen } } /** + * + * *
      * List of CustomDimensions.
      * 
@@ -827,10 +918,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.
      * 
@@ -839,26 +932,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(), @@ -870,19 +972,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; @@ -891,21 +995,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 { @@ -913,30 +1018,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() { @@ -946,27 +1058,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); } @@ -976,41 +1092,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; @@ -1022,9 +1140,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..ee62c649aaf7 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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 1714d4c84f41..1337dee2c117 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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,33 +44,40 @@ private ListCustomMetricsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListCustomMetricsRequest(); } - 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 @@ -61,29 +86,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 { @@ -94,6 +121,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.
@@ -101,6 +130,7 @@ public java.lang.String getParent() {
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -109,9 +139,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.
@@ -121,6 +154,7 @@ public int getPageSize() {
    * 
* * string page_token = 3; + * * @return The pageToken. */ @java.lang.Override @@ -129,14 +163,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.
@@ -146,16 +181,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 { @@ -164,6 +198,7 @@ public java.lang.String getPageToken() { } 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 { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -199,8 +233,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_); @@ -213,19 +246,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; } @@ -249,131 +280,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(); @@ -385,9 +421,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 @@ -406,8 +442,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; } @@ -429,38 +468,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; @@ -468,7 +508,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; @@ -508,27 +549,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) { @@ -538,22 +583,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; @@ -562,20 +612,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 { @@ -583,28 +636,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() { @@ -614,17 +678,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; @@ -632,8 +702,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.
@@ -641,6 +713,7 @@ public Builder setParentBytes(
      * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -648,6 +721,8 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * The maximum number of resources to return.
      * If unspecified, at most 50 resources will be returned.
@@ -655,6 +730,7 @@ public int getPageSize() {
      * 
* * int32 page_size = 2; + * * @param value The pageSize to set. * @return This builder for chaining. */ @@ -666,6 +742,8 @@ public Builder setPageSize(int value) { return this; } /** + * + * *
      * The maximum number of resources to return.
      * If unspecified, at most 50 resources will be returned.
@@ -673,6 +751,7 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2; + * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -684,6 +763,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 +774,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 +789,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * A page token, received from a previous `ListCustomMetrics` call.
      * Provide this to retrieve the subsequent page.
@@ -717,15 +800,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 { @@ -733,6 +815,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * A page token, received from a previous `ListCustomMetrics` call.
      * Provide this to retrieve the subsequent page.
@@ -742,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.
@@ -763,6 +851,7 @@ public Builder setPageToken(
      * 
* * string page_token = 3; + * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -772,6 +861,8 @@ public Builder clearPageToken() { return this; } /** + * + * *
      * A page token, received from a previous `ListCustomMetrics` call.
      * Provide this to retrieve the subsequent page.
@@ -781,21 +872,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 +898,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(); } @@ -819,27 +912,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; @@ -854,6 +947,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 5a536091fe84..6bec17e08844 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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.
@@ -49,10 +79,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.
@@ -62,8 +95,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 75856c01fdf7..660891be2eb4 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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,28 +44,32 @@ private ListCustomMetricsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListCustomMetricsResponse(); } - 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.
    * 
@@ -59,6 +81,8 @@ public java.util.List getCustomM return customMetrics_; } /** + * + * *
    * List of CustomMetrics.
    * 
@@ -66,11 +90,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.
    * 
@@ -82,6 +108,8 @@ public int getCustomMetricsCount() { return customMetrics_.size(); } /** + * + * *
    * List of CustomMetrics.
    * 
@@ -93,6 +121,8 @@ public com.google.analytics.admin.v1beta.CustomMetric getCustomMetrics(int index return customMetrics_.get(index); } /** + * + * *
    * List of CustomMetrics.
    * 
@@ -106,15 +136,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 @@ -123,30 +157,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 { @@ -155,6 +189,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -166,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 { for (int i = 0; i < customMetrics_.size(); i++) { output.writeMessage(1, customMetrics_.get(i)); } @@ -184,8 +218,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_); @@ -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.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; } @@ -232,131 +264,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(); @@ -373,9 +410,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 @@ -394,14 +431,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_); @@ -424,38 +465,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; @@ -463,7 +505,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()) { @@ -482,9 +525,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_); } @@ -521,30 +565,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) { @@ -554,21 +600,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.
      * 
@@ -583,6 +637,8 @@ public java.util.List getCustomM } } /** + * + * *
      * List of CustomMetrics.
      * 
@@ -597,6 +653,8 @@ public int getCustomMetricsCount() { } } /** + * + * *
      * List of CustomMetrics.
      * 
@@ -611,6 +669,8 @@ public com.google.analytics.admin.v1beta.CustomMetric getCustomMetrics(int index } } /** + * + * *
      * List of CustomMetrics.
      * 
@@ -632,6 +692,8 @@ public Builder setCustomMetrics( return this; } /** + * + * *
      * List of CustomMetrics.
      * 
@@ -650,6 +712,8 @@ public Builder setCustomMetrics( return this; } /** + * + * *
      * List of CustomMetrics.
      * 
@@ -670,6 +734,8 @@ public Builder addCustomMetrics(com.google.analytics.admin.v1beta.CustomMetric v return this; } /** + * + * *
      * List of CustomMetrics.
      * 
@@ -691,6 +757,8 @@ public Builder addCustomMetrics( return this; } /** + * + * *
      * List of CustomMetrics.
      * 
@@ -709,6 +777,8 @@ public Builder addCustomMetrics( return this; } /** + * + * *
      * List of CustomMetrics.
      * 
@@ -727,6 +797,8 @@ public Builder addCustomMetrics( return this; } /** + * + * *
      * List of CustomMetrics.
      * 
@@ -737,8 +809,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); @@ -746,6 +817,8 @@ public Builder addAllCustomMetrics( return this; } /** + * + * *
      * List of CustomMetrics.
      * 
@@ -763,6 +836,8 @@ public Builder clearCustomMetrics() { return this; } /** + * + * *
      * List of CustomMetrics.
      * 
@@ -780,6 +855,8 @@ public Builder removeCustomMetrics(int index) { return this; } /** + * + * *
      * List of CustomMetrics.
      * 
@@ -791,6 +868,8 @@ public com.google.analytics.admin.v1beta.CustomMetric.Builder getCustomMetricsBu return getCustomMetricsFieldBuilder().getBuilder(index); } /** + * + * *
      * List of CustomMetrics.
      * 
@@ -800,19 +879,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 { @@ -820,6 +902,8 @@ public com.google.analytics.admin.v1beta.CustomMetricOrBuilder getCustomMetricsO } } /** + * + * *
      * List of CustomMetrics.
      * 
@@ -827,10 +911,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.
      * 
@@ -839,26 +925,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(), @@ -870,19 +964,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; @@ -891,21 +987,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 { @@ -913,30 +1010,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() { @@ -946,27 +1050,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); } @@ -976,12 +1084,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(); } @@ -990,27 +1098,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; @@ -1025,6 +1133,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..d42c2860928e 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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 17f982755860..55450b520e95 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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,33 +44,40 @@ private ListDataStreamsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListDataStreamsRequest(); } - 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 @@ -61,29 +86,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 { @@ -94,6 +121,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.
@@ -101,6 +130,7 @@ public java.lang.String getParent() {
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -109,9 +139,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.
@@ -121,6 +154,7 @@ public int getPageSize() {
    * 
* * string page_token = 3; + * * @return The pageToken. */ @java.lang.Override @@ -129,14 +163,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.
@@ -146,16 +181,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 { @@ -164,6 +198,7 @@ public java.lang.String getPageToken() { } 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 { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -199,8 +233,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_); @@ -213,19 +246,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; } @@ -249,131 +280,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(); @@ -385,9 +421,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 @@ -406,8 +442,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; } @@ -429,38 +468,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; @@ -468,7 +508,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; @@ -508,27 +549,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) { @@ -538,22 +583,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; @@ -562,20 +612,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 { @@ -583,28 +636,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() { @@ -614,17 +678,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; @@ -632,8 +702,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.
@@ -641,6 +713,7 @@ public Builder setParentBytes(
      * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -648,6 +721,8 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * The maximum number of resources to return.
      * If unspecified, at most 50 resources will be returned.
@@ -655,6 +730,7 @@ public int getPageSize() {
      * 
* * int32 page_size = 2; + * * @param value The pageSize to set. * @return This builder for chaining. */ @@ -666,6 +742,8 @@ public Builder setPageSize(int value) { return this; } /** + * + * *
      * The maximum number of resources to return.
      * If unspecified, at most 50 resources will be returned.
@@ -673,6 +751,7 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2; + * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -684,6 +763,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 +774,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 +789,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * A page token, received from a previous `ListDataStreams` call.
      * Provide this to retrieve the subsequent page.
@@ -717,15 +800,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 { @@ -733,6 +815,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * A page token, received from a previous `ListDataStreams` call.
      * Provide this to retrieve the subsequent page.
@@ -742,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.
@@ -763,6 +851,7 @@ public Builder setPageToken(
      * 
* * string page_token = 3; + * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -772,6 +861,8 @@ public Builder clearPageToken() { return this; } /** + * + * *
      * A page token, received from a previous `ListDataStreams` call.
      * Provide this to retrieve the subsequent page.
@@ -781,21 +872,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 +898,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(); } @@ -819,27 +912,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; @@ -854,6 +947,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 f3ef316c0bd2..fcabb50dd789 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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.
@@ -49,10 +79,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.
@@ -62,8 +95,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 c1ebec821719..ffe8be3b6b72 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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,28 +44,32 @@ private ListDataStreamsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListDataStreamsResponse(); } - 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.
    * 
@@ -59,6 +81,8 @@ public java.util.List getDataStrea return dataStreams_; } /** + * + * *
    * List of DataStreams.
    * 
@@ -66,11 +90,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.
    * 
@@ -82,6 +108,8 @@ public int getDataStreamsCount() { return dataStreams_.size(); } /** + * + * *
    * List of DataStreams.
    * 
@@ -93,6 +121,8 @@ public com.google.analytics.admin.v1beta.DataStream getDataStreams(int index) { return dataStreams_.get(index); } /** + * + * *
    * List of DataStreams.
    * 
@@ -100,21 +130,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 @@ -123,30 +156,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 { @@ -155,6 +188,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -166,8 +200,7 @@ public final boolean isInitialized() { } @java.lang.Override - 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)); } @@ -184,8 +217,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_); @@ -198,17 +230,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; } @@ -232,131 +263,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(); @@ -373,9 +409,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 @@ -394,14 +430,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_); @@ -424,38 +464,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; @@ -463,7 +504,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()) { @@ -482,9 +524,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_); } @@ -521,30 +564,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) { @@ -554,21 +599,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.
      * 
@@ -583,6 +636,8 @@ public java.util.List getDataStrea } } /** + * + * *
      * List of DataStreams.
      * 
@@ -597,6 +652,8 @@ public int getDataStreamsCount() { } } /** + * + * *
      * List of DataStreams.
      * 
@@ -611,14 +668,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(); @@ -632,6 +690,8 @@ public Builder setDataStreams( return this; } /** + * + * *
      * List of DataStreams.
      * 
@@ -650,6 +710,8 @@ public Builder setDataStreams( return this; } /** + * + * *
      * List of DataStreams.
      * 
@@ -670,14 +732,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(); @@ -691,6 +754,8 @@ public Builder addDataStreams( return this; } /** + * + * *
      * List of DataStreams.
      * 
@@ -709,6 +774,8 @@ public Builder addDataStreams( return this; } /** + * + * *
      * List of DataStreams.
      * 
@@ -727,6 +794,8 @@ public Builder addDataStreams( return this; } /** + * + * *
      * List of DataStreams.
      * 
@@ -737,8 +806,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); @@ -746,6 +814,8 @@ public Builder addAllDataStreams( return this; } /** + * + * *
      * List of DataStreams.
      * 
@@ -763,6 +833,8 @@ public Builder clearDataStreams() { return this; } /** + * + * *
      * List of DataStreams.
      * 
@@ -780,17 +852,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.
      * 
@@ -800,19 +875,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 { @@ -820,6 +898,8 @@ public com.google.analytics.admin.v1beta.DataStreamOrBuilder getDataStreamsOrBui } } /** + * + * *
      * List of DataStreams.
      * 
@@ -827,42 +907,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_; @@ -870,19 +956,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; @@ -891,21 +979,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 { @@ -913,30 +1002,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() { @@ -946,27 +1042,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); } @@ -976,12 +1076,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(); } @@ -990,27 +1090,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; @@ -1025,6 +1125,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..73719c0e3e5e 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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 1502eb64bcfe..549f2319661d 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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,34 +44,41 @@ private ListFirebaseLinksRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListFirebaseLinksRequest(); } - 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 @@ -62,30 +87,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 { @@ -96,6 +123,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.
@@ -104,6 +133,7 @@ public java.lang.String getParent() {
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -112,9 +142,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.
@@ -123,6 +156,7 @@ public int getPageSize() {
    * 
* * string page_token = 3; + * * @return The pageToken. */ @java.lang.Override @@ -131,14 +165,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.
@@ -147,16 +182,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 { @@ -165,6 +199,7 @@ public java.lang.String getPageToken() { } 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 { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -200,8 +234,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_); @@ -214,19 +247,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; } @@ -250,131 +281,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(); @@ -386,9 +422,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 @@ -407,8 +443,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; } @@ -430,38 +469,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; @@ -469,7 +509,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; @@ -509,27 +550,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,23 +584,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; @@ -564,21 +614,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 { @@ -586,30 +639,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() { @@ -619,18 +683,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; @@ -638,8 +708,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.
@@ -648,6 +720,7 @@ public Builder setParentBytes(
      * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -655,6 +728,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.
@@ -663,6 +738,7 @@ public int getPageSize() {
      * 
* * int32 page_size = 2; + * * @param value The pageSize to set. * @return This builder for chaining. */ @@ -674,6 +750,8 @@ public Builder setPageSize(int value) { return this; } /** + * + * *
      * The maximum number of resources to return. The service may return
      * fewer than this value, even if there are additional pages.
@@ -682,6 +760,7 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2; + * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -693,6 +772,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.
@@ -701,13 +782,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; @@ -716,6 +797,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * A page token, received from a previous `ListFirebaseLinks` call.
      * Provide this to retrieve the subsequent page.
@@ -724,15 +807,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 +822,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * A page token, received from a previous `ListFirebaseLinks` call.
      * Provide this to retrieve the subsequent page.
@@ -748,18 +832,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.
@@ -768,6 +856,7 @@ public Builder setPageToken(
      * 
* * string page_token = 3; + * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -777,6 +866,8 @@ public Builder clearPageToken() { return this; } /** + * + * *
      * A page token, received from a previous `ListFirebaseLinks` call.
      * Provide this to retrieve the subsequent page.
@@ -785,21 +876,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); } @@ -809,12 +902,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(); } @@ -823,27 +916,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; @@ -858,6 +951,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 5099b0e86234..8fbf88e319ff 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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 44260686c348..bd888d424abb 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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,28 +44,32 @@ private ListFirebaseLinksResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListFirebaseLinksResponse(); } - 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.
    * 
@@ -59,6 +81,8 @@ public java.util.List getFirebas return firebaseLinks_; } /** + * + * *
    * List of FirebaseLinks. This will have at most one value.
    * 
@@ -66,11 +90,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.
    * 
@@ -82,6 +108,8 @@ public int getFirebaseLinksCount() { return firebaseLinks_.size(); } /** + * + * *
    * List of FirebaseLinks. This will have at most one value.
    * 
@@ -93,6 +121,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.
    * 
@@ -106,9 +136,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.
@@ -117,6 +150,7 @@ public com.google.analytics.admin.v1beta.FirebaseLinkOrBuilder getFirebaseLinksO
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -125,14 +159,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.
@@ -141,16 +176,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 { @@ -159,6 +193,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -170,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 < firebaseLinks_.size(); i++) { output.writeMessage(1, firebaseLinks_.get(i)); } @@ -188,8 +222,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_); @@ -202,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.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; } @@ -236,131 +268,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(); @@ -377,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_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 @@ -398,14 +435,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_); @@ -428,38 +469,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; @@ -467,7 +509,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()) { @@ -486,9 +529,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_); } @@ -525,30 +569,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) { @@ -558,21 +604,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.
      * 
@@ -587,6 +641,8 @@ public java.util.List getFirebas } } /** + * + * *
      * List of FirebaseLinks. This will have at most one value.
      * 
@@ -601,6 +657,8 @@ public int getFirebaseLinksCount() { } } /** + * + * *
      * List of FirebaseLinks. This will have at most one value.
      * 
@@ -615,6 +673,8 @@ public com.google.analytics.admin.v1beta.FirebaseLink getFirebaseLinks(int index } } /** + * + * *
      * List of FirebaseLinks. This will have at most one value.
      * 
@@ -636,6 +696,8 @@ public Builder setFirebaseLinks( return this; } /** + * + * *
      * List of FirebaseLinks. This will have at most one value.
      * 
@@ -654,6 +716,8 @@ public Builder setFirebaseLinks( return this; } /** + * + * *
      * List of FirebaseLinks. This will have at most one value.
      * 
@@ -674,6 +738,8 @@ public Builder addFirebaseLinks(com.google.analytics.admin.v1beta.FirebaseLink v return this; } /** + * + * *
      * List of FirebaseLinks. This will have at most one value.
      * 
@@ -695,6 +761,8 @@ public Builder addFirebaseLinks( return this; } /** + * + * *
      * List of FirebaseLinks. This will have at most one value.
      * 
@@ -713,6 +781,8 @@ public Builder addFirebaseLinks( return this; } /** + * + * *
      * List of FirebaseLinks. This will have at most one value.
      * 
@@ -731,6 +801,8 @@ public Builder addFirebaseLinks( return this; } /** + * + * *
      * List of FirebaseLinks. This will have at most one value.
      * 
@@ -741,8 +813,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); @@ -750,6 +821,8 @@ public Builder addAllFirebaseLinks( return this; } /** + * + * *
      * List of FirebaseLinks. This will have at most one value.
      * 
@@ -767,6 +840,8 @@ public Builder clearFirebaseLinks() { return this; } /** + * + * *
      * List of FirebaseLinks. This will have at most one value.
      * 
@@ -784,6 +859,8 @@ public Builder removeFirebaseLinks(int index) { return this; } /** + * + * *
      * List of FirebaseLinks. This will have at most one value.
      * 
@@ -795,6 +872,8 @@ public com.google.analytics.admin.v1beta.FirebaseLink.Builder getFirebaseLinksBu return getFirebaseLinksFieldBuilder().getBuilder(index); } /** + * + * *
      * List of FirebaseLinks. This will have at most one value.
      * 
@@ -804,19 +883,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 { @@ -824,6 +906,8 @@ public com.google.analytics.admin.v1beta.FirebaseLinkOrBuilder getFirebaseLinksO } } /** + * + * *
      * List of FirebaseLinks. This will have at most one value.
      * 
@@ -831,10 +915,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.
      * 
@@ -843,26 +929,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(), @@ -874,6 +968,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.
@@ -882,13 +978,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; @@ -897,6 +993,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.
@@ -905,15 +1003,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 { @@ -921,6 +1018,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.
@@ -929,18 +1028,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.
@@ -949,6 +1052,7 @@ public Builder setNextPageToken(
      * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { @@ -958,6 +1062,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.
@@ -966,21 +1072,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); } @@ -990,12 +1098,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(); } @@ -1004,27 +1112,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; @@ -1039,6 +1147,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..c3539d7a10da 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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 8382c0e76d00..a6587d1a3008 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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,33 +44,40 @@ private ListGoogleAdsLinksRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListGoogleAdsLinksRequest(); } - 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 @@ -61,29 +86,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 { @@ -94,6 +121,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.
@@ -101,6 +130,7 @@ public java.lang.String getParent() {
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -109,9 +139,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.
@@ -121,6 +154,7 @@ public int getPageSize() {
    * 
* * string page_token = 3; + * * @return The pageToken. */ @java.lang.Override @@ -129,14 +163,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.
@@ -146,16 +181,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 { @@ -164,6 +198,7 @@ public java.lang.String getPageToken() { } 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 { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -199,8 +233,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_); @@ -213,19 +246,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; } @@ -249,131 +280,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(); @@ -385,9 +421,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 @@ -406,8 +442,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; } @@ -429,38 +468,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; @@ -468,7 +508,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; @@ -508,27 +549,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) { @@ -538,22 +583,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; @@ -562,20 +612,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 { @@ -583,28 +636,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() { @@ -614,17 +678,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; @@ -632,8 +702,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.
@@ -641,6 +713,7 @@ public Builder setParentBytes(
      * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -648,6 +721,8 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * The maximum number of resources to return.
      * If unspecified, at most 50 resources will be returned.
@@ -655,6 +730,7 @@ public int getPageSize() {
      * 
* * int32 page_size = 2; + * * @param value The pageSize to set. * @return This builder for chaining. */ @@ -666,6 +742,8 @@ public Builder setPageSize(int value) { return this; } /** + * + * *
      * The maximum number of resources to return.
      * If unspecified, at most 50 resources will be returned.
@@ -673,6 +751,7 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2; + * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -684,6 +763,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 +774,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 +789,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * A page token, received from a previous `ListGoogleAdsLinks` call.
      * Provide this to retrieve the subsequent page.
@@ -717,15 +800,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 { @@ -733,6 +815,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * A page token, received from a previous `ListGoogleAdsLinks` call.
      * Provide this to retrieve the subsequent page.
@@ -742,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.
@@ -763,6 +851,7 @@ public Builder setPageToken(
      * 
* * string page_token = 3; + * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -772,6 +861,8 @@ public Builder clearPageToken() { return this; } /** + * + * *
      * A page token, received from a previous `ListGoogleAdsLinks` call.
      * Provide this to retrieve the subsequent page.
@@ -781,21 +872,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 +898,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(); } @@ -819,27 +912,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; @@ -854,6 +947,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 61e06a7549de..c0675ee80264 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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.
@@ -49,10 +79,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.
@@ -62,8 +95,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 899b674e9b72..93ee954bb2f4 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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,28 +44,32 @@ private ListGoogleAdsLinksResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListGoogleAdsLinksResponse(); } - 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.
    * 
@@ -59,6 +81,8 @@ public java.util.List getGoogle return googleAdsLinks_; } /** + * + * *
    * List of GoogleAdsLinks.
    * 
@@ -66,11 +90,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.
    * 
@@ -82,6 +108,8 @@ public int getGoogleAdsLinksCount() { return googleAdsLinks_.size(); } /** + * + * *
    * List of GoogleAdsLinks.
    * 
@@ -93,6 +121,8 @@ public com.google.analytics.admin.v1beta.GoogleAdsLink getGoogleAdsLinks(int ind return googleAdsLinks_.get(index); } /** + * + * *
    * List of GoogleAdsLinks.
    * 
@@ -106,15 +136,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 @@ -123,30 +157,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 { @@ -155,6 +189,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -166,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 { for (int i = 0; i < googleAdsLinks_.size(); i++) { output.writeMessage(1, googleAdsLinks_.get(i)); } @@ -184,8 +218,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_); @@ -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.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; } @@ -232,131 +264,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(); @@ -373,13 +410,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(); } @@ -394,14 +432,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_); @@ -413,7 +455,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_; @@ -424,38 +467,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; @@ -463,7 +507,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()) { @@ -482,9 +528,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_); } @@ -521,30 +568,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) { @@ -554,21 +604,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.
      * 
@@ -583,6 +642,8 @@ public java.util.List getGoogle } } /** + * + * *
      * List of GoogleAdsLinks.
      * 
@@ -597,6 +658,8 @@ public int getGoogleAdsLinksCount() { } } /** + * + * *
      * List of GoogleAdsLinks.
      * 
@@ -611,6 +674,8 @@ public com.google.analytics.admin.v1beta.GoogleAdsLink getGoogleAdsLinks(int ind } } /** + * + * *
      * List of GoogleAdsLinks.
      * 
@@ -632,6 +697,8 @@ public Builder setGoogleAdsLinks( return this; } /** + * + * *
      * List of GoogleAdsLinks.
      * 
@@ -650,6 +717,8 @@ public Builder setGoogleAdsLinks( return this; } /** + * + * *
      * List of GoogleAdsLinks.
      * 
@@ -670,6 +739,8 @@ public Builder addGoogleAdsLinks(com.google.analytics.admin.v1beta.GoogleAdsLink return this; } /** + * + * *
      * List of GoogleAdsLinks.
      * 
@@ -691,6 +762,8 @@ public Builder addGoogleAdsLinks( return this; } /** + * + * *
      * List of GoogleAdsLinks.
      * 
@@ -709,6 +782,8 @@ public Builder addGoogleAdsLinks( return this; } /** + * + * *
      * List of GoogleAdsLinks.
      * 
@@ -727,6 +802,8 @@ public Builder addGoogleAdsLinks( return this; } /** + * + * *
      * List of GoogleAdsLinks.
      * 
@@ -737,8 +814,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); @@ -746,6 +822,8 @@ public Builder addAllGoogleAdsLinks( return this; } /** + * + * *
      * List of GoogleAdsLinks.
      * 
@@ -763,6 +841,8 @@ public Builder clearGoogleAdsLinks() { return this; } /** + * + * *
      * List of GoogleAdsLinks.
      * 
@@ -780,6 +860,8 @@ public Builder removeGoogleAdsLinks(int index) { return this; } /** + * + * *
      * List of GoogleAdsLinks.
      * 
@@ -791,6 +873,8 @@ public com.google.analytics.admin.v1beta.GoogleAdsLink.Builder getGoogleAdsLinks return getGoogleAdsLinksFieldBuilder().getBuilder(index); } /** + * + * *
      * List of GoogleAdsLinks.
      * 
@@ -800,19 +884,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 { @@ -820,6 +907,8 @@ public com.google.analytics.admin.v1beta.GoogleAdsLinkOrBuilder getGoogleAdsLink } } /** + * + * *
      * List of GoogleAdsLinks.
      * 
@@ -827,10 +916,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.
      * 
@@ -839,26 +930,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(), @@ -870,19 +969,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; @@ -891,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 { @@ -913,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() { @@ -946,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); } @@ -976,12 +1089,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(); } @@ -990,27 +1104,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; @@ -1025,6 +1139,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..2939048bda73 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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 afbc888d8da6..9a526e8a9592 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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,35 +46,42 @@ private ListMeasurementProtocolSecretsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListMeasurementProtocolSecretsRequest(); } - 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 @@ -63,31 +90,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 { @@ -98,6 +127,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.
@@ -105,6 +136,7 @@ public java.lang.String getParent() {
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -113,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 `ListMeasurementProtocolSecrets`
    * call. Provide this to retrieve the subsequent page. When paginating, all
@@ -124,6 +159,7 @@ public int getPageSize() {
    * 
* * string page_token = 3; + * * @return The pageToken. */ @java.lang.Override @@ -132,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 `ListMeasurementProtocolSecrets`
    * call. Provide this to retrieve the subsequent page. When paginating, all
@@ -148,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 { @@ -166,6 +202,7 @@ public java.lang.String getPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -177,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_); } @@ -201,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_); @@ -215,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.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; } @@ -251,131 +284,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(); @@ -387,19 +428,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); } @@ -408,13 +452,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_; @@ -431,46 +479,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; @@ -510,27 +564,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,24 +598,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; @@ -566,22 +629,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 { @@ -589,32 +655,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() { @@ -624,19 +701,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; @@ -644,8 +727,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.
@@ -653,6 +738,7 @@ public Builder setParentBytes(
      * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -660,6 +746,8 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * The maximum number of resources to return.
      * If unspecified, at most 10 resources will be returned.
@@ -667,6 +755,7 @@ public int getPageSize() {
      * 
* * int32 page_size = 2; + * * @param value The pageSize to set. * @return This builder for chaining. */ @@ -678,6 +767,8 @@ public Builder setPageSize(int value) { return this; } /** + * + * *
      * The maximum number of resources to return.
      * If unspecified, at most 10 resources will be returned.
@@ -685,6 +776,7 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2; + * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -696,6 +788,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
@@ -704,13 +798,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 +813,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
@@ -727,15 +823,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 +838,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
@@ -751,18 +848,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
@@ -771,6 +872,7 @@ public Builder setPageToken(
      * 
* * string page_token = 3; + * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -780,6 +882,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
@@ -788,21 +892,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,41 +918,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; @@ -858,9 +967,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..d44c9f5df06c 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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 46d4dcfe4350..d20ff3246d2d 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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,95 +46,125 @@ private ListMeasurementProtocolSecretsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListMeasurementProtocolSecretsResponse(); } - 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 @@ -123,30 +173,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 { @@ -155,6 +205,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -166,8 +217,7 @@ public final boolean isInitialized() { } @java.lang.Override - 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)); } @@ -184,8 +234,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_); @@ -198,17 +249,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; } @@ -232,131 +284,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(); @@ -373,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_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); } @@ -394,17 +457,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_; @@ -413,7 +481,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_; @@ -424,46 +493,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()) { @@ -482,9 +557,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_); } @@ -521,30 +597,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) { @@ -554,28 +633,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 { @@ -583,11 +674,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) { @@ -597,13 +692,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 { @@ -611,11 +711,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) { @@ -632,14 +736,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()); @@ -650,13 +759,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(); @@ -670,11 +784,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) { @@ -691,11 +809,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) { @@ -709,14 +831,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()); @@ -727,18 +854,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); @@ -746,11 +877,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) { @@ -763,11 +898,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) { @@ -780,39 +919,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 { @@ -820,45 +973,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(), @@ -870,19 +1045,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; @@ -891,21 +1068,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 { @@ -913,30 +1091,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() { @@ -946,27 +1131,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); } @@ -976,41 +1165,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; @@ -1022,9 +1214,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..72e79c607717 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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 f004af12bdea..1640f3776c54 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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,28 +44,32 @@ private ListPropertiesRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListPropertiesRequest(); } - 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:
@@ -68,6 +90,7 @@ protected java.lang.Object newInstance(
    * 
* * string filter = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The filter. */ @java.lang.Override @@ -76,14 +99,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:
@@ -104,16 +128,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 { @@ -124,6 +147,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.
@@ -132,6 +157,7 @@ public java.lang.String getFilter() {
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -140,9 +166,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.
@@ -151,6 +180,7 @@ public int getPageSize() {
    * 
* * string page_token = 3; + * * @return The pageToken. */ @java.lang.Override @@ -159,14 +189,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.
@@ -175,16 +206,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 { @@ -195,6 +225,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
@@ -202,6 +234,7 @@ public java.lang.String getPageToken() {
    * 
* * bool show_deleted = 4; + * * @return The showDeleted. */ @java.lang.Override @@ -210,6 +243,7 @@ public boolean getShowDeleted() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -221,8 +255,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -248,15 +281,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; @@ -266,21 +297,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; } @@ -299,139 +327,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(); @@ -444,9 +476,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 @@ -465,8 +497,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; } @@ -491,38 +526,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; @@ -530,7 +566,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; @@ -573,32 +610,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) { @@ -608,10 +650,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 +677,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 +692,8 @@ public java.lang.String getFilter() { } } /** + * + * *
      * Required. An expression for filtering the results of the request.
      * Fields eligible for filtering are:
@@ -667,15 +714,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 { @@ -683,6 +729,8 @@ public java.lang.String getFilter() { } } /** + * + * *
      * Required. An expression for filtering the results of the request.
      * Fields eligible for filtering are:
@@ -703,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:
@@ -735,6 +787,7 @@ public Builder setFilter(
      * 
* * string filter = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearFilter() { @@ -744,6 +797,8 @@ public Builder clearFilter() { return this; } /** + * + * *
      * Required. An expression for filtering the results of the request.
      * Fields eligible for filtering are:
@@ -764,12 +819,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; @@ -777,8 +834,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.
@@ -787,6 +846,7 @@ public Builder setFilterBytes(
      * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -794,6 +854,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.
@@ -802,6 +864,7 @@ public int getPageSize() {
      * 
* * int32 page_size = 2; + * * @param value The pageSize to set. * @return This builder for chaining. */ @@ -813,6 +876,8 @@ public Builder setPageSize(int value) { return this; } /** + * + * *
      * The maximum number of resources to return. The service may return
      * fewer than this value, even if there are additional pages.
@@ -821,6 +886,7 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2; + * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -832,6 +898,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.
@@ -840,13 +908,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; @@ -855,6 +923,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * A page token, received from a previous `ListProperties` call.
      * Provide this to retrieve the subsequent page.
@@ -863,15 +933,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 { @@ -879,6 +948,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * A page token, received from a previous `ListProperties` call.
      * Provide this to retrieve the subsequent page.
@@ -887,18 +958,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.
@@ -907,6 +982,7 @@ public Builder setPageToken(
      * 
* * string page_token = 3; + * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -916,6 +992,8 @@ public Builder clearPageToken() { return this; } /** + * + * *
      * A page token, received from a previous `ListProperties` call.
      * Provide this to retrieve the subsequent page.
@@ -924,12 +1002,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; @@ -937,8 +1017,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
@@ -946,6 +1028,7 @@ public Builder setPageTokenBytes(
      * 
* * bool show_deleted = 4; + * * @return The showDeleted. */ @java.lang.Override @@ -953,6 +1036,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
@@ -960,6 +1045,7 @@ public boolean getShowDeleted() {
      * 
* * bool show_deleted = 4; + * * @param value The showDeleted to set. * @return This builder for chaining. */ @@ -971,6 +1057,8 @@ public Builder setShowDeleted(boolean value) { return this; } /** + * + * *
      * Whether to include soft-deleted (ie: "trashed") Properties in the
      * results. Properties can be inspected to determine whether they are deleted
@@ -978,6 +1066,7 @@ public Builder setShowDeleted(boolean value) {
      * 
* * bool show_deleted = 4; + * * @return This builder for chaining. */ public Builder clearShowDeleted() { @@ -986,9 +1075,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); } @@ -998,12 +1087,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(); } @@ -1012,27 +1101,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; @@ -1047,6 +1136,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 ae37c50be35e..3c62a031d74f 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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:
@@ -28,10 +46,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:
@@ -52,12 +73,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.
@@ -66,11 +89,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.
@@ -79,10 +105,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.
@@ -91,12 +120,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
@@ -104,6 +135,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 73% 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 e2612c8aa861..54509cd56737 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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,28 +44,32 @@ private ListPropertiesResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListPropertiesResponse(); } - 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.
    * 
@@ -59,6 +81,8 @@ public java.util.List getPropertiesL return properties_; } /** + * + * *
    * Results that matched the filter criteria and were accessible to the caller.
    * 
@@ -66,11 +90,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.
    * 
@@ -82,6 +108,8 @@ public int getPropertiesCount() { return properties_.size(); } /** + * + * *
    * Results that matched the filter criteria and were accessible to the caller.
    * 
@@ -93,6 +121,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.
    * 
@@ -100,21 +130,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 @@ -123,30 +156,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 { @@ -155,6 +188,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -166,8 +200,7 @@ public final boolean isInitialized() { } @java.lang.Override - 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)); } @@ -184,8 +217,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_); @@ -198,17 +230,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; } @@ -232,131 +263,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(); @@ -373,9 +409,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 @@ -394,14 +430,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_); @@ -424,38 +464,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; @@ -463,7 +504,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()) { @@ -482,9 +524,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_); } @@ -521,30 +564,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) { @@ -554,21 +599,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.
      * 
@@ -583,6 +636,8 @@ public java.util.List getPropertiesL } } /** + * + * *
      * Results that matched the filter criteria and were accessible to the caller.
      * 
@@ -597,6 +652,8 @@ public int getPropertiesCount() { } } /** + * + * *
      * Results that matched the filter criteria and were accessible to the caller.
      * 
@@ -611,14 +668,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(); @@ -632,6 +690,8 @@ public Builder setProperties( return this; } /** + * + * *
      * Results that matched the filter criteria and were accessible to the caller.
      * 
@@ -650,6 +710,8 @@ public Builder setProperties( return this; } /** + * + * *
      * Results that matched the filter criteria and were accessible to the caller.
      * 
@@ -670,14 +732,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(); @@ -691,6 +754,8 @@ public Builder addProperties( return this; } /** + * + * *
      * Results that matched the filter criteria and were accessible to the caller.
      * 
@@ -709,6 +774,8 @@ public Builder addProperties( return this; } /** + * + * *
      * Results that matched the filter criteria and were accessible to the caller.
      * 
@@ -727,6 +794,8 @@ public Builder addProperties( return this; } /** + * + * *
      * Results that matched the filter criteria and were accessible to the caller.
      * 
@@ -737,8 +806,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); @@ -746,6 +814,8 @@ public Builder addAllProperties( return this; } /** + * + * *
      * Results that matched the filter criteria and were accessible to the caller.
      * 
@@ -763,6 +833,8 @@ public Builder clearProperties() { return this; } /** + * + * *
      * Results that matched the filter criteria and were accessible to the caller.
      * 
@@ -780,39 +852,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 { @@ -820,6 +897,8 @@ public com.google.analytics.admin.v1beta.PropertyOrBuilder getPropertiesOrBuilde } } /** + * + * *
      * Results that matched the filter criteria and were accessible to the caller.
      * 
@@ -827,42 +906,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_; @@ -870,19 +955,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; @@ -891,21 +978,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 { @@ -913,30 +1001,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() { @@ -946,27 +1041,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); } @@ -976,12 +1075,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(); } @@ -990,27 +1089,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; @@ -1025,6 +1124,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..231d6c76269e 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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 51f288cc322f..ae3288a60e0a 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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,28 +45,32 @@ private MeasurementProtocolSecret() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new MeasurementProtocolSecret(); } - 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. Format:
@@ -56,6 +78,7 @@ protected java.lang.Object newInstance(
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ @java.lang.Override @@ -64,14 +87,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:
@@ -79,16 +103,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 { @@ -97,14 +120,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 @@ -113,29 +140,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 { @@ -144,9 +171,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
@@ -154,6 +184,7 @@ public java.lang.String getDisplayName() {
    * 
* * string secret_value = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The secretValue. */ @java.lang.Override @@ -162,14 +193,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
@@ -177,16 +209,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 { @@ -195,6 +226,7 @@ public java.lang.String getSecretValue() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -206,8 +238,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -243,19 +274,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.analytics.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; } @@ -279,131 +308,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(); @@ -415,9 +449,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 @@ -436,8 +470,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; } @@ -459,38 +496,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; @@ -498,7 +536,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; @@ -540,27 +579,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) { @@ -570,10 +613,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:
@@ -581,13 +627,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; @@ -596,6 +642,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:
@@ -603,15 +651,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 { @@ -619,6 +666,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:
@@ -626,18 +675,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:
@@ -645,6 +698,7 @@ public Builder setName(
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearName() { @@ -654,6 +708,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:
@@ -661,12 +717,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; @@ -676,18 +734,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; @@ -696,20 +756,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 { @@ -717,28 +778,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() { @@ -748,17 +816,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; @@ -768,6 +840,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
@@ -775,13 +849,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; @@ -790,6 +864,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
@@ -797,15 +873,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 { @@ -813,6 +888,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
@@ -820,18 +897,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
@@ -839,6 +920,7 @@ public Builder setSecretValue(
      * 
* * string secret_value = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearSecretValue() { @@ -848,6 +930,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
@@ -855,21 +939,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); } @@ -879,12 +965,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(); } @@ -893,27 +979,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; @@ -928,6 +1014,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 98b8c54e79f3..8f648031781f 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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. 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/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/NumericValue.java b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/NumericValue.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/NumericValue.java rename to java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/NumericValue.java index 10881746a2a0..1aaac91e0bd7 100644 --- a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/NumericValue.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/NumericValue.java @@ -1,57 +1,79 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1beta/access_report.proto package com.google.analytics.admin.v1beta; /** + * + * *
  * To represent a number.
  * 
* * Protobuf type {@code google.analytics.admin.v1beta.NumericValue} */ -public final class NumericValue extends - com.google.protobuf.GeneratedMessageV3 implements +public final class NumericValue extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1beta.NumericValue) NumericValueOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use NumericValue.newBuilder() to construct. private NumericValue(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private NumericValue() { - } + + private NumericValue() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new NumericValue(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1beta.AccessReportProto.internal_static_google_analytics_admin_v1beta_NumericValue_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1beta.AccessReportProto + .internal_static_google_analytics_admin_v1beta_NumericValue_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.AccessReportProto.internal_static_google_analytics_admin_v1beta_NumericValue_fieldAccessorTable + return com.google.analytics.admin.v1beta.AccessReportProto + .internal_static_google_analytics_admin_v1beta_NumericValue_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.NumericValue.class, com.google.analytics.admin.v1beta.NumericValue.Builder.class); + com.google.analytics.admin.v1beta.NumericValue.class, + com.google.analytics.admin.v1beta.NumericValue.Builder.class); } private int oneValueCase_ = 0; + @SuppressWarnings("serial") 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; } @@ -67,30 +89,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 @@ -98,11 +126,14 @@ public boolean hasInt64Value() { return oneValueCase_ == 1; } /** + * + * *
    * Integer value
    * 
* * int64 int64_value = 1; + * * @return The int64Value. */ @java.lang.Override @@ -115,11 +146,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 @@ -127,11 +161,14 @@ public boolean hasDoubleValue() { return oneValueCase_ == 2; } /** + * + * *
    * Double value
    * 
* * double double_value = 2; + * * @return The doubleValue. */ @java.lang.Override @@ -143,6 +180,7 @@ public double getDoubleValue() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -154,15 +192,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); } @@ -174,14 +209,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; @@ -191,23 +226,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.NumericValue)) { return super.equals(obj); } - com.google.analytics.admin.v1beta.NumericValue other = (com.google.analytics.admin.v1beta.NumericValue) obj; + com.google.analytics.admin.v1beta.NumericValue other = + (com.google.analytics.admin.v1beta.NumericValue) obj; if (!getOneValueCase().equals(other.getOneValueCase())) return false; switch (oneValueCase_) { case 1: - if (getInt64Value() - != other.getInt64Value()) return false; + if (getInt64Value() != other.getInt64Value()) return false; break; case 2: if (java.lang.Double.doubleToLongBits(getDoubleValue()) - != java.lang.Double.doubleToLongBits( - other.getDoubleValue())) return false; + != java.lang.Double.doubleToLongBits(other.getDoubleValue())) return false; break; case 0: default: @@ -226,13 +260,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: @@ -242,132 +277,136 @@ public int hashCode() { return hash; } - public static com.google.analytics.admin.v1beta.NumericValue parseFrom( - java.nio.ByteBuffer data) + public static com.google.analytics.admin.v1beta.NumericValue parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1beta.NumericValue parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1beta.NumericValue parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1beta.NumericValue parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1beta.NumericValue parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1beta.NumericValue parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.analytics.admin.v1beta.NumericValue parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1beta.NumericValue parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.analytics.admin.v1beta.NumericValue parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1beta.NumericValue parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.analytics.admin.v1beta.NumericValue parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.analytics.admin.v1beta.NumericValue parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1beta.NumericValue parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.analytics.admin.v1beta.NumericValue prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * To represent a number.
    * 
* * Protobuf type {@code google.analytics.admin.v1beta.NumericValue} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.analytics.admin.v1beta.NumericValue) com.google.analytics.admin.v1beta.NumericValueOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1beta.AccessReportProto.internal_static_google_analytics_admin_v1beta_NumericValue_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1beta.AccessReportProto + .internal_static_google_analytics_admin_v1beta_NumericValue_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.AccessReportProto.internal_static_google_analytics_admin_v1beta_NumericValue_fieldAccessorTable + return com.google.analytics.admin.v1beta.AccessReportProto + .internal_static_google_analytics_admin_v1beta_NumericValue_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.NumericValue.class, com.google.analytics.admin.v1beta.NumericValue.Builder.class); + com.google.analytics.admin.v1beta.NumericValue.class, + com.google.analytics.admin.v1beta.NumericValue.Builder.class); } // Construct using com.google.analytics.admin.v1beta.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(); @@ -378,9 +417,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.analytics.admin.v1beta.AccessReportProto.internal_static_google_analytics_admin_v1beta_NumericValue_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1beta.AccessReportProto + .internal_static_google_analytics_admin_v1beta_NumericValue_descriptor; } @java.lang.Override @@ -399,8 +438,11 @@ public com.google.analytics.admin.v1beta.NumericValue build() { @java.lang.Override public com.google.analytics.admin.v1beta.NumericValue buildPartial() { - com.google.analytics.admin.v1beta.NumericValue result = new com.google.analytics.admin.v1beta.NumericValue(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.analytics.admin.v1beta.NumericValue result = + new com.google.analytics.admin.v1beta.NumericValue(this); + if (bitField0_ != 0) { + buildPartial0(result); + } buildPartialOneofs(result); onBuilt(); return result; @@ -419,38 +461,39 @@ private void buildPartialOneofs(com.google.analytics.admin.v1beta.NumericValue 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.NumericValue) { - return mergeFrom((com.google.analytics.admin.v1beta.NumericValue)other); + return mergeFrom((com.google.analytics.admin.v1beta.NumericValue) other); } else { super.mergeFrom(other); return this; @@ -460,17 +503,20 @@ public Builder mergeFrom(com.google.protobuf.Message other) { public Builder mergeFrom(com.google.analytics.admin.v1beta.NumericValue other) { if (other == com.google.analytics.admin.v1beta.NumericValue.getDefaultInstance()) return this; switch (other.getOneValueCase()) { - case INT64_VALUE: { - setInt64Value(other.getInt64Value()); - break; - } - case DOUBLE_VALUE: { - setDoubleValue(other.getDoubleValue()); - break; - } - case ONEVALUE_NOT_SET: { - break; - } + case INT64_VALUE: + { + setInt64Value(other.getInt64Value()); + break; + } + case DOUBLE_VALUE: + { + setDoubleValue(other.getDoubleValue()); + break; + } + case ONEVALUE_NOT_SET: + { + break; + } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -498,22 +544,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) { @@ -523,12 +572,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() { @@ -541,22 +590,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() { @@ -566,11 +621,14 @@ public long getInt64Value() { return 0L; } /** + * + * *
      * Integer value
      * 
* * int64 int64_value = 1; + * * @param value The int64Value to set. * @return This builder for chaining. */ @@ -582,11 +640,14 @@ public Builder setInt64Value(long value) { return this; } /** + * + * *
      * Integer value
      * 
* * int64 int64_value = 1; + * * @return This builder for chaining. */ public Builder clearInt64Value() { @@ -599,22 +660,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() { @@ -624,11 +691,14 @@ public double getDoubleValue() { return 0D; } /** + * + * *
      * Double value
      * 
* * double double_value = 2; + * * @param value The doubleValue to set. * @return This builder for chaining. */ @@ -640,11 +710,14 @@ public Builder setDoubleValue(double value) { return this; } /** + * + * *
      * Double value
      * 
* * double double_value = 2; + * * @return This builder for chaining. */ public Builder clearDoubleValue() { @@ -655,9 +728,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); } @@ -667,12 +740,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1beta.NumericValue) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1beta.NumericValue) private static final com.google.analytics.admin.v1beta.NumericValue DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1beta.NumericValue(); } @@ -681,27 +754,27 @@ public static com.google.analytics.admin.v1beta.NumericValue getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public NumericValue parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(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; @@ -716,6 +789,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1beta.NumericValue 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/NumericValueOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/NumericValueOrBuilder.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/NumericValueOrBuilder.java rename to java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/NumericValueOrBuilder.java index 1ffb3acbf69c..0ee703dd9fe6 100644 --- a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/NumericValueOrBuilder.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/NumericValueOrBuilder.java @@ -1,46 +1,74 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/analytics/admin/v1beta/access_report.proto package com.google.analytics.admin.v1beta; -public interface NumericValueOrBuilder extends +public interface NumericValueOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1beta.NumericValue) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Integer value
    * 
* * int64 int64_value = 1; + * * @return Whether the int64Value field is set. */ boolean hasInt64Value(); /** + * + * *
    * Integer value
    * 
* * int64 int64_value = 1; + * * @return The int64Value. */ long getInt64Value(); /** + * + * *
    * Double value
    * 
* * double double_value = 2; + * * @return Whether the doubleValue field is set. */ boolean hasDoubleValue(); /** + * + * *
    * Double value
    * 
* * double double_value = 2; + * * @return The doubleValue. */ double getDoubleValue(); diff --git a/owl-bot-staging/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 5dc660abfaac..169914195cdc 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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,28 +51,32 @@ private Property() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Property(); } - 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}
@@ -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 property.
    * Format: properties/{property_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 { @@ -105,6 +128,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
@@ -112,13 +137,19 @@ public java.lang.String getName() {
    * types cannot yet be created with the 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
@@ -126,22 +157,31 @@ public java.lang.String getName() {
    * types cannot yet be created with the 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 @@ -149,11 +189,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 @@ -161,11 +205,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() { @@ -175,11 +222,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 @@ -187,11 +238,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 @@ -199,11 +254,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() { @@ -211,9 +269,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.
    *
@@ -223,6 +284,7 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
    * 
* * string parent = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return The parent. */ @java.lang.Override @@ -231,14 +293,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.
    *
@@ -248,16 +311,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 { @@ -266,9 +328,12 @@ 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.
    *
@@ -276,6 +341,7 @@ public java.lang.String getParent() {
    * 
* * string display_name = 5 [(.google.api.field_behavior) = REQUIRED]; + * * @return The displayName. */ @java.lang.Override @@ -284,14 +350,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. Human-readable display name for this property.
    *
@@ -299,16 +366,15 @@ public java.lang.String getDisplayName() {
    * 
* * 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 { @@ -319,35 +385,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,
@@ -361,6 +441,7 @@ public java.lang.String getDisplayName() {
    * 
* * string time_zone = 7 [(.google.api.field_behavior) = REQUIRED]; + * * @return The timeZone. */ @java.lang.Override @@ -369,14 +450,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,
@@ -390,16 +472,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 { @@ -408,9 +489,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.
    *
@@ -420,6 +504,7 @@ public java.lang.String getTimeZone() {
    * 
* * string currency_code = 8; + * * @return The currencyCode. */ @java.lang.Override @@ -428,14 +513,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.
    *
@@ -445,16 +531,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 { @@ -465,40 +550,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.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 @@ -506,12 +608,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 @@ -519,12 +625,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() { @@ -534,13 +643,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 @@ -548,13 +661,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 @@ -562,13 +679,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() { @@ -576,16 +696,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 @@ -594,31 +720,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 { @@ -627,6 +755,7 @@ public java.lang.String getAccount() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -638,8 +767,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -655,7 +783,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_)) { @@ -664,7 +794,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) { @@ -676,7 +807,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); @@ -695,19 +827,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_); @@ -715,24 +846,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; @@ -742,48 +871,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; } @@ -834,132 +954,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(); @@ -997,9 +1121,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 @@ -1018,8 +1142,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; } @@ -1033,14 +1160,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_; @@ -1061,14 +1184,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_; @@ -1079,38 +1198,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; @@ -1196,85 +1316,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) { @@ -1284,10 +1410,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}
@@ -1295,13 +1424,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; @@ -1310,6 +1439,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. Resource name of this property.
      * Format: properties/{property_id}
@@ -1317,15 +1448,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 { @@ -1333,6 +1463,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. Resource name of this property.
      * Format: properties/{property_id}
@@ -1340,18 +1472,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}
@@ -1359,6 +1495,7 @@ public Builder setName(
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearName() { @@ -1368,6 +1505,8 @@ public Builder clearName() { return this; } /** + * + * *
      * Output only. Resource name of this property.
      * Format: properties/{property_id}
@@ -1375,12 +1514,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; @@ -1390,6 +1531,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
@@ -1397,13 +1540,19 @@ public Builder setNameBytes(
      * types cannot yet be created with the 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
@@ -1411,7 +1560,10 @@ public Builder setNameBytes(
      * types cannot yet be created with the 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. */ @@ -1422,6 +1574,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
@@ -1429,15 +1583,21 @@ public Builder setPropertyTypeValue(int value) {
      * types cannot yet be created with the 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
@@ -1445,7 +1605,10 @@ public com.google.analytics.admin.v1beta.PropertyType getPropertyType() {
      * types cannot yet be created with the 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. */ @@ -1459,6 +1622,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
@@ -1466,7 +1631,10 @@ public Builder setPropertyType(com.google.analytics.admin.v1beta.PropertyType va
      * types cannot yet be created with the 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() { @@ -1478,39 +1646,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) { @@ -1526,14 +1713,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 { @@ -1544,17 +1734,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; @@ -1567,11 +1761,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); @@ -1584,11 +1782,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; @@ -1596,36 +1798,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_; @@ -1633,39 +1847,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) { @@ -1681,14 +1914,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 { @@ -1699,17 +1935,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; @@ -1722,11 +1962,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); @@ -1739,11 +1983,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; @@ -1751,36 +1999,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_; @@ -1788,6 +2048,8 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { private java.lang.Object parent_ = ""; /** + * + * *
      * Immutable. Resource name of this property's logical parent.
      *
@@ -1797,13 +2059,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; @@ -1812,6 +2074,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Immutable. Resource name of this property's logical parent.
      *
@@ -1821,15 +2085,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 { @@ -1837,6 +2100,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Immutable. Resource name of this property's logical parent.
      *
@@ -1846,18 +2111,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.
      *
@@ -1867,6 +2136,7 @@ public Builder setParent(
      * 
* * string parent = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return This builder for chaining. */ public Builder clearParent() { @@ -1876,6 +2146,8 @@ public Builder clearParent() { return this; } /** + * + * *
      * Immutable. Resource name of this property's logical parent.
      *
@@ -1885,12 +2157,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; @@ -1900,6 +2174,8 @@ public Builder setParentBytes( private java.lang.Object displayName_ = ""; /** + * + * *
      * Required. Human-readable display name for this property.
      *
@@ -1907,13 +2183,13 @@ public Builder setParentBytes(
      * 
* * 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; @@ -1922,6 +2198,8 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * Required. Human-readable display name for this property.
      *
@@ -1929,15 +2207,14 @@ public java.lang.String getDisplayName() {
      * 
* * 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 { @@ -1945,6 +2222,8 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * Required. Human-readable display name for this property.
      *
@@ -1952,18 +2231,22 @@ public java.lang.String getDisplayName() {
      * 
* * 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.
      *
@@ -1971,6 +2254,7 @@ public Builder setDisplayName(
      * 
* * string display_name = 5 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearDisplayName() { @@ -1980,6 +2264,8 @@ public Builder clearDisplayName() { return this; } /** + * + * *
      * Required. Human-readable display name for this property.
      *
@@ -1987,12 +2273,14 @@ public Builder clearDisplayName() {
      * 
* * 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; @@ -2002,24 +2290,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. */ @@ -2030,26 +2325,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. */ @@ -2063,12 +2367,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() { @@ -2080,6 +2387,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,
@@ -2093,13 +2402,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; @@ -2108,6 +2417,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,
@@ -2121,15 +2432,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 { @@ -2137,6 +2447,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,
@@ -2150,18 +2462,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,
@@ -2175,6 +2491,7 @@ public Builder setTimeZone(
      * 
* * string time_zone = 7 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearTimeZone() { @@ -2184,6 +2501,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,
@@ -2197,12 +2516,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; @@ -2212,6 +2533,8 @@ public Builder setTimeZoneBytes( private java.lang.Object currencyCode_ = ""; /** + * + * *
      * The currency type used in reports involving monetary values.
      *
@@ -2221,13 +2544,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; @@ -2236,6 +2559,8 @@ public java.lang.String getCurrencyCode() { } } /** + * + * *
      * The currency type used in reports involving monetary values.
      *
@@ -2245,15 +2570,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 { @@ -2261,6 +2585,8 @@ public java.lang.String getCurrencyCode() { } } /** + * + * *
      * The currency type used in reports involving monetary values.
      *
@@ -2270,18 +2596,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.
      *
@@ -2291,6 +2621,7 @@ public Builder setCurrencyCode(
      * 
* * string currency_code = 8; + * * @return This builder for chaining. */ public Builder clearCurrencyCode() { @@ -2300,6 +2631,8 @@ public Builder clearCurrencyCode() { return this; } /** + * + * *
      * The currency type used in reports involving monetary values.
      *
@@ -2309,12 +2642,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; @@ -2324,24 +2659,35 @@ 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. */ @@ -2352,26 +2698,37 @@ 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. */ @@ -2385,12 +2742,17 @@ 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() { @@ -2402,42 +2764,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) { @@ -2453,15 +2834,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 { @@ -2472,18 +2856,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; @@ -2496,12 +2884,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); @@ -2514,12 +2906,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; @@ -2527,38 +2923,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_; @@ -2566,45 +2974,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) { @@ -2620,16 +3047,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 { @@ -2640,19 +3070,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; @@ -2665,13 +3099,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); @@ -2684,13 +3122,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; @@ -2698,40 +3140,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_; @@ -2739,20 +3193,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; @@ -2761,22 +3219,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 { @@ -2784,32 +3245,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() { @@ -2819,28 +3291,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); } @@ -2850,12 +3328,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(); } @@ -2864,27 +3342,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; @@ -2899,6 +3377,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 78% 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 b89d650945ac..b6b416219743 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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
@@ -39,11 +62,16 @@ public interface PropertyOrBuilder extends
    * types cannot yet be created with the 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
@@ -51,66 +79,93 @@ public interface PropertyOrBuilder extends
    * types cannot yet be created with the 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.
    *
@@ -120,10 +175,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.
    *
@@ -133,12 +191,14 @@ 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.
    *
@@ -146,10 +206,13 @@ public interface PropertyOrBuilder extends
    * 
* * string display_name = 5 [(.google.api.field_behavior) = REQUIRED]; + * * @return The displayName. */ java.lang.String getDisplayName(); /** + * + * *
    * Required. Human-readable display name for this property.
    *
@@ -157,33 +220,41 @@ public interface PropertyOrBuilder extends
    * 
* * 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,
@@ -197,10 +268,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,
@@ -214,12 +288,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.
    *
@@ -229,10 +305,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.
    *
@@ -242,116 +321,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.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 6922a433234c..c71ce760867c 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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,28 +46,32 @@ private PropertySummary() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new PropertySummary(); } - 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}
@@ -57,6 +79,7 @@ protected java.lang.Object newInstance(
    * 
* * string property = 1 [(.google.api.resource_reference) = { ... } + * * @return The property. */ @java.lang.Override @@ -65,14 +88,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}
@@ -80,16 +104,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 { @@ -98,14 +121,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 @@ -114,29 +141,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 { @@ -147,33 +174,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.
    *
@@ -183,6 +222,7 @@ public java.lang.String getDisplayName() {
    * 
* * string parent = 4; + * * @return The parent. */ @java.lang.Override @@ -191,14 +231,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.
    *
@@ -208,16 +249,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 { @@ -226,6 +266,7 @@ public java.lang.String getParent() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -237,15 +278,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_)) { @@ -266,9 +307,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_); @@ -281,20 +322,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; } @@ -320,131 +359,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(); @@ -457,9 +500,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 @@ -478,8 +521,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; } @@ -504,38 +550,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; @@ -543,7 +590,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; @@ -588,32 +636,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) { @@ -623,10 +676,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}
@@ -634,13 +690,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; @@ -649,6 +705,8 @@ public java.lang.String getProperty() { } } /** + * + * *
      * Resource name of property referred to by this property summary
      * Format: properties/{property_id}
@@ -656,15 +714,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 { @@ -672,6 +729,8 @@ public java.lang.String getProperty() { } } /** + * + * *
      * Resource name of property referred to by this property summary
      * Format: properties/{property_id}
@@ -679,18 +738,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}
@@ -698,6 +761,7 @@ public Builder setProperty(
      * 
* * string property = 1 [(.google.api.resource_reference) = { ... } + * * @return This builder for chaining. */ public Builder clearProperty() { @@ -707,6 +771,8 @@ public Builder clearProperty() { return this; } /** + * + * *
      * Resource name of property referred to by this property summary
      * Format: properties/{property_id}
@@ -714,12 +780,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; @@ -729,18 +797,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; @@ -749,20 +819,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 { @@ -770,28 +841,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() { @@ -801,17 +879,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; @@ -821,22 +903,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. */ @@ -847,24 +936,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. */ @@ -878,11 +974,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() { @@ -894,6 +993,8 @@ public Builder clearPropertyType() { private java.lang.Object parent_ = ""; /** + * + * *
      * Resource name of this property's logical parent.
      *
@@ -903,13 +1004,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 +1019,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Resource name of this property's logical parent.
      *
@@ -927,15 +1030,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 { @@ -943,6 +1045,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Resource name of this property's logical parent.
      *
@@ -952,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.
      *
@@ -973,6 +1081,7 @@ public Builder setParent(
      * 
* * string parent = 4; + * * @return This builder for chaining. */ public Builder clearParent() { @@ -982,6 +1091,8 @@ public Builder clearParent() { return this; } /** + * + * *
      * Resource name of this property's logical parent.
      *
@@ -991,21 +1102,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); } @@ -1015,12 +1128,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(); } @@ -1029,27 +1142,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; @@ -1064,6 +1177,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 f132a93bb090..e4ef6d8cf4e6 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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.
    *
@@ -80,10 +114,13 @@ public interface PropertySummaryOrBuilder extends
    * 
* * string parent = 4; + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Resource name of this property's logical parent.
    *
@@ -93,8 +130,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..baf8f72733d0 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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 bc473b665991..acc6abf75e69 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,56 +1,78 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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(); } - 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 @@ -58,18 +80,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.
    * 
@@ -78,19 +107,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 Cloud Console as a Redirect URI.
    * 
* * string redirect_uri = 2; + * * @return The redirectUri. */ @java.lang.Override @@ -99,30 +134,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 Cloud 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 { @@ -131,6 +166,7 @@ public java.lang.String getRedirectUri() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -142,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 (account_ != null) { output.writeMessage(1, getAccount()); } @@ -160,8 +195,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_); @@ -174,20 +208,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; } @@ -211,131 +244,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(); @@ -350,13 +388,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(); } @@ -371,18 +410,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_; @@ -393,46 +434,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()); } @@ -467,24 +512,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) { @@ -494,38 +540,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.
      * 
@@ -546,14 +606,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 { @@ -564,6 +625,8 @@ public Builder setAccount( return this; } /** + * + * *
      * The account to create.
      * 
@@ -572,9 +635,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; @@ -587,6 +650,8 @@ public Builder mergeAccount(com.google.analytics.admin.v1beta.Account value) { return this; } /** + * + * *
      * The account to create.
      * 
@@ -604,6 +669,8 @@ public Builder clearAccount() { return this; } /** + * + * *
      * The account to create.
      * 
@@ -616,6 +683,8 @@ public com.google.analytics.admin.v1beta.Account.Builder getAccountBuilder() { return getAccountFieldBuilder().getBuilder(); } /** + * + * *
      * The account to create.
      * 
@@ -626,11 +695,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.
      * 
@@ -638,14 +710,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_; @@ -653,19 +728,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 Cloud 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; @@ -674,21 +751,22 @@ public java.lang.String getRedirectUri() { } } /** + * + * *
      * Redirect URI where the user will be sent after accepting Terms of Service.
      * Must be configured in Cloud 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 { @@ -696,30 +774,37 @@ public java.lang.String getRedirectUri() { } } /** + * + * *
      * Redirect URI where the user will be sent after accepting Terms of Service.
      * Must be configured in Cloud 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 Cloud Console as a Redirect URI.
      * 
* * string redirect_uri = 2; + * * @return This builder for chaining. */ public Builder clearRedirectUri() { @@ -729,27 +814,31 @@ public Builder clearRedirectUri() { return this; } /** + * + * *
      * Redirect URI where the user will be sent after accepting Terms of Service.
      * Must be configured in Cloud 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); } @@ -759,41 +848,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; @@ -805,9 +896,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 65% 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 a7046d2362ca..b11de20a8614 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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 Cloud 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 Cloud 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 6f4a3078daad..f4e763d51e7a 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,57 +1,81 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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(); } - 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 @@ -60,29 +84,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 { @@ -91,6 +115,7 @@ public java.lang.String getAccountTicketId() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -102,8 +127,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -127,15 +151,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; } @@ -155,131 +179,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(); @@ -289,13 +318,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(); } @@ -310,13 +340,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_; @@ -327,46 +361,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; @@ -398,17 +436,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) { @@ -418,22 +458,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; @@ -442,20 +485,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 { @@ -463,28 +507,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() { @@ -494,26 +545,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); } @@ -523,41 +578,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; @@ -569,9 +626,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..3ff01f4b1161 --- /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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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..d41add61489a --- /dev/null +++ b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/ResourcesProto.java @@ -0,0 +1,565 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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\"\223\002\n\007Account\022\022\n\004name\030\001 \001(\tB\004\342A\001\003\0225\n\013c" + + "reate_time\030\002 \001(\0132\032.google.protobuf.Times" + + "tampB\004\342A\001\003\0225\n\013update_time\030\003 \001(\0132\032.google" + + ".protobuf.TimestampB\004\342A\001\003\022\032\n\014display_nam" + + "e\030\004 \001(\tB\004\342A\001\002\022\023\n\013region_code\030\005 \001(\t\022\025\n\007de" + + "leted\030\006 \001(\010B\004\342A\001\003:>\352A;\n%analyticsadmin.g" + + "oogleapis.com/Account\022\022accounts/{account" + + "}\"\301\005\n\010Property\022\022\n\004name\030\001 \001(\tB\004\342A\001\003\022H\n\rpr" + + "operty_type\030\016 \001(\0162+.google.analytics.adm" + + "in.v1beta.PropertyTypeB\004\342A\001\005\0225\n\013create_t" + + "ime\030\003 \001(\0132\032.google.protobuf.TimestampB\004\342" + + "A\001\003\0225\n\013update_time\030\004 \001(\0132\032.google.protob" + + "uf.TimestampB\004\342A\001\003\022\024\n\006parent\030\002 \001(\tB\004\342A\001\005" + + "\022\032\n\014display_name\030\005 \001(\tB\004\342A\001\002\022J\n\021industry" + + "_category\030\006 \001(\0162/.google.analytics.admin" + + ".v1beta.IndustryCategory\022\027\n\ttime_zone\030\007 " + + "\001(\tB\004\342A\001\002\022\025\n\rcurrency_code\030\010 \001(\t\022H\n\rserv" + + "ice_level\030\n \001(\0162+.google.analytics.admin" + + ".v1beta.ServiceLevelB\004\342A\001\003\0225\n\013delete_tim" + + "e\030\013 \001(\0132\032.google.protobuf.TimestampB\004\342A\001" + + "\003\0225\n\013expire_time\030\014 \001(\0132\032.google.protobuf" + + ".TimestampB\004\342A\001\003\022?\n\007account\030\r \001(\tB.\342A\001\005\372" + + "A\'\n%analyticsadmin.googleapis.com/Accoun" + + "t:B\352A?\n&analyticsadmin.googleapis.com/Pr" + + "operty\022\025properties/{property}\"\366\007\n\nDataSt" + + "ream\022R\n\017web_stream_data\030\006 \001(\01327.google.a" + + "nalytics.admin.v1beta.DataStream.WebStre" + + "amDataH\000\022a\n\027android_app_stream_data\030\007 \001(" + + "\0132>.google.analytics.admin.v1beta.DataSt" + + "ream.AndroidAppStreamDataH\000\022Y\n\023ios_app_s" + + "tream_data\030\010 \001(\0132:.google.analytics.admi" + + "n.v1beta.DataStream.IosAppStreamDataH\000\022\022" + + "\n\004name\030\001 \001(\tB\004\342A\001\003\022M\n\004type\030\002 \001(\01628.googl" + + "e.analytics.admin.v1beta.DataStream.Data" + + "StreamTypeB\005\342A\002\005\002\022\024\n\014display_name\030\003 \001(\t\022" + + "5\n\013create_time\030\004 \001(\0132\032.google.protobuf.T" + + "imestampB\004\342A\001\003\0225\n\013update_time\030\005 \001(\0132\032.go" + + "ogle.protobuf.TimestampB\004\342A\001\003\032a\n\rWebStre" + + "amData\022\034\n\016measurement_id\030\001 \001(\tB\004\342A\001\003\022\035\n\017" + + "firebase_app_id\030\002 \001(\tB\004\342A\001\003\022\023\n\013default_u" + + "ri\030\003 \001(\t\032Q\n\024AndroidAppStreamData\022\035\n\017fire" + + "base_app_id\030\001 \001(\tB\004\342A\001\003\022\032\n\014package_name\030" + + "\002 \001(\tB\004\342A\001\005\032K\n\020IosAppStreamData\022\035\n\017fireb" + + "ase_app_id\030\001 \001(\tB\004\342A\001\003\022\030\n\tbundle_id\030\002 \001(" + + "\tB\005\342A\002\005\002\"}\n\016DataStreamType\022 \n\034DATA_STREA" + + "M_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_AP" + + "P_DATA_STREAM\020\003:^\352A[\n(analyticsadmin.goo" + + "gleapis.com/DataStream\022/properties/{prop" + + "erty}/dataStreams/{data_stream}B\r\n\013strea" + + "m_data\"\326\001\n\014FirebaseLink\022\022\n\004name\030\001 \001(\tB\004\342" + + "A\001\003\022\025\n\007project\030\002 \001(\tB\004\342A\001\005\0225\n\013create_tim" + + "e\030\003 \001(\0132\032.google.protobuf.TimestampB\004\342A\001" + + "\003:d\352Aa\n*analyticsadmin.googleapis.com/Fi" + + "rebaseLink\0223properties/{property}/fireba" + + "seLinks/{firebase_link}\"\236\003\n\rGoogleAdsLin" + + "k\022\022\n\004name\030\001 \001(\tB\004\342A\001\003\022\031\n\013customer_id\030\003 \001" + + "(\tB\004\342A\001\005\022 \n\022can_manage_clients\030\004 \001(\010B\004\342A" + + "\001\003\022?\n\033ads_personalization_enabled\030\005 \001(\0132" + + "\032.google.protobuf.BoolValue\0225\n\013create_ti" + + "me\030\007 \001(\0132\032.google.protobuf.TimestampB\004\342A" + + "\001\003\0225\n\013update_time\030\010 \001(\0132\032.google.protobu" + + "f.TimestampB\004\342A\001\003\022#\n\025creator_email_addre" + + "ss\030\t \001(\tB\004\342A\001\003:h\352Ae\n+analyticsadmin.goog" + + "leapis.com/GoogleAdsLink\0226properties/{pr" + + "operty}/googleAdsLinks/{google_ads_link}" + + "\"\354\002\n\023DataSharingSettings\022\022\n\004name\030\001 \001(\tB\004" + + "\342A\001\003\022+\n#sharing_with_google_support_enab" + + "led\030\002 \001(\010\0222\n*sharing_with_google_assigne" + + "d_sales_enabled\030\003 \001(\010\022-\n%sharing_with_go" + + "ogle_any_sales_enabled\030\004 \001(\010\022,\n$sharing_" + + "with_google_products_enabled\030\005 \001(\010\022#\n\033sh" + + "aring_with_others_enabled\030\006 \001(\010:^\352A[\n1an" + + "alyticsadmin.googleapis.com/DataSharingS" + + "ettings\022&accounts/{account}/dataSharingS" + + "ettings\"\224\002\n\016AccountSummary\022\014\n\004name\030\001 \001(\t" + + "\022;\n\007account\030\002 \001(\tB*\372A\'\n%analyticsadmin.g" + + "oogleapis.com/Account\022\024\n\014display_name\030\003 " + + "\001(\t\022J\n\022property_summaries\030\004 \003(\0132..google" + + ".analytics.admin.v1beta.PropertySummary:" + + "U\352AR\n,analyticsadmin.googleapis.com/Acco" + + "untSummary\022\"accountSummaries/{account_su" + + "mmary}\"\272\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\022B\n\rprope" + + "rty_type\030\003 \001(\0162+.google.analytics.admin." + + "v1beta.PropertyType\022\016\n\006parent\030\004 \001(\t\"\221\002\n\031" + + "MeasurementProtocolSecret\022\022\n\004name\030\001 \001(\tB" + + "\004\342A\001\003\022\032\n\014display_name\030\002 \001(\tB\004\342A\001\002\022\032\n\014sec" + + "ret_value\030\003 \001(\tB\004\342A\001\003:\247\001\352A\243\001\n7analyticsa" + + "dmin.googleapis.com/MeasurementProtocolS" + + "ecret\022hproperties/{property}/dataStreams" + + "/{data_stream}/measurementProtocolSecret" + + "s/{measurement_protocol_secret}\"\210\002\n\022Chan" + + "geHistoryEvent\022\n\n\002id\030\001 \001(\t\022/\n\013change_tim" + + "e\030\002 \001(\0132\032.google.protobuf.Timestamp\022<\n\na" + + "ctor_type\030\003 \001(\0162(.google.analytics.admin" + + ".v1beta.ActorType\022\030\n\020user_actor_email\030\004 " + + "\001(\t\022\030\n\020changes_filtered\030\005 \001(\010\022C\n\007changes" + + "\030\006 \003(\01322.google.analytics.admin.v1beta.C" + + "hangeHistoryChange\"\252\007\n\023ChangeHistoryChan" + + "ge\022\020\n\010resource\030\001 \001(\t\0229\n\006action\030\002 \001(\0162).g" + + "oogle.analytics.admin.v1beta.ActionType\022" + + "h\n\026resource_before_change\030\003 \001(\0132H.google" + + ".analytics.admin.v1beta.ChangeHistoryCha" + + "nge.ChangeHistoryResource\022g\n\025resource_af" + + "ter_change\030\004 \001(\0132H.google.analytics.admi" + + "n.v1beta.ChangeHistoryChange.ChangeHisto" + + "ryResource\032\362\004\n\025ChangeHistoryResource\0229\n\007" + + "account\030\001 \001(\0132&.google.analytics.admin.v" + + "1beta.AccountH\000\022;\n\010property\030\002 \001(\0132\'.goog" + + "le.analytics.admin.v1beta.PropertyH\000\022D\n\r" + + "firebase_link\030\006 \001(\0132+.google.analytics.a" + + "dmin.v1beta.FirebaseLinkH\000\022G\n\017google_ads" + + "_link\030\007 \001(\0132,.google.analytics.admin.v1b" + + "eta.GoogleAdsLinkH\000\022J\n\020conversion_event\030" + + "\013 \001(\0132..google.analytics.admin.v1beta.Co" + + "nversionEventH\000\022_\n\033measurement_protocol_" + + "secret\030\014 \001(\01328.google.analytics.admin.v1" + + "beta.MeasurementProtocolSecretH\000\022W\n\027data" + + "_retention_settings\030\017 \001(\01324.google.analy" + + "tics.admin.v1beta.DataRetentionSettingsH" + + "\000\022@\n\013data_stream\030\022 \001(\0132).google.analytic" + + "s.admin.v1beta.DataStreamH\000B\n\n\010resource\"" + + "\356\003\n\017ConversionEvent\022\022\n\004name\030\001 \001(\tB\004\342A\001\003\022" + + "\030\n\nevent_name\030\002 \001(\tB\004\342A\001\005\0225\n\013create_time" + + "\030\003 \001(\0132\032.google.protobuf.TimestampB\004\342A\001\003" + + "\022\027\n\tdeletable\030\004 \001(\010B\004\342A\001\003\022\024\n\006custom\030\005 \001(" + + "\010B\004\342A\001\003\022f\n\017counting_method\030\006 \001(\0162G.googl" + + "e.analytics.admin.v1beta.ConversionEvent" + + ".ConversionCountingMethodB\004\342A\001\001\"p\n\030Conve" + + "rsionCountingMethod\022*\n&CONVERSION_COUNTI" + + "NG_METHOD_UNSPECIFIED\020\000\022\022\n\016ONCE_PER_EVEN" + + "T\020\001\022\024\n\020ONCE_PER_SESSION\020\002:m\352Aj\n-analytic" + + "sadmin.googleapis.com/ConversionEvent\0229p" + + "roperties/{property}/conversionEvents/{c" + + "onversion_event}\"\275\003\n\017CustomDimension\022\022\n\004" + + "name\030\001 \001(\tB\004\342A\001\003\022\035\n\016parameter_name\030\002 \001(\t" + + "B\005\342A\002\002\005\022\032\n\014display_name\030\003 \001(\tB\004\342A\001\002\022\031\n\013d" + + "escription\030\004 \001(\tB\004\342A\001\001\022S\n\005scope\030\005 \001(\0162=." + + "google.analytics.admin.v1beta.CustomDime" + + "nsion.DimensionScopeB\005\342A\002\002\005\022*\n\034disallow_" + + "ads_personalization\030\006 \001(\010B\004\342A\001\001\"P\n\016Dimen" + + "sionScope\022\037\n\033DIMENSION_SCOPE_UNSPECIFIED" + + "\020\000\022\t\n\005EVENT\020\001\022\010\n\004USER\020\002\022\010\n\004ITEM\020\003:m\352Aj\n-" + + "analyticsadmin.googleapis.com/CustomDime" + + "nsion\0229properties/{property}/customDimen" + + "sions/{custom_dimension}\"\305\006\n\014CustomMetri" + + "c\022\022\n\004name\030\001 \001(\tB\004\342A\001\003\022\035\n\016parameter_name\030" + + "\002 \001(\tB\005\342A\002\002\005\022\032\n\014display_name\030\003 \001(\tB\004\342A\001\002" + + "\022\031\n\013description\030\004 \001(\tB\004\342A\001\001\022[\n\020measureme" + + "nt_unit\030\005 \001(\0162;.google.analytics.admin.v" + + "1beta.CustomMetric.MeasurementUnitB\004\342A\001\002" + + "\022M\n\005scope\030\006 \001(\01627.google.analytics.admin" + + ".v1beta.CustomMetric.MetricScopeB\005\342A\002\002\005\022" + + "f\n\026restricted_metric_type\030\010 \003(\0162@.google" + + ".analytics.admin.v1beta.CustomMetric.Res" + + "trictedMetricTypeB\004\342A\001\001\"\267\001\n\017MeasurementU" + + "nit\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\006M" + + "ETERS\020\004\022\016\n\nKILOMETERS\020\005\022\t\n\005MILES\020\006\022\020\n\014MI" + + "LLISECONDS\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\030METRIC_SCOPE" + + "_UNSPECIFIED\020\000\022\t\n\005EVENT\020\001\"_\n\024RestrictedM" + + "etricType\022&\n\"RESTRICTED_METRIC_TYPE_UNSP" + + "ECIFIED\020\000\022\r\n\tCOST_DATA\020\001\022\020\n\014REVENUE_DATA" + + "\020\002:d\352Aa\n*analyticsadmin.googleapis.com/C" + + "ustomMetric\0223properties/{property}/custo" + + "mMetrics/{custom_metric}\"\302\003\n\025DataRetenti" + + "onSettings\022\022\n\004name\030\001 \001(\tB\004\342A\001\003\022d\n\024event_" + + "data_retention\030\002 \001(\0162F.google.analytics." + + "admin.v1beta.DataRetentionSettings.Reten" + + "tionDuration\022\'\n\037reset_user_data_on_new_a" + + "ctivity\030\003 \001(\010\"\236\001\n\021RetentionDuration\022\"\n\036R" + + "ETENTION_DURATION_UNSPECIFIED\020\000\022\016\n\nTWO_M" + + "ONTHS\020\001\022\023\n\017FOURTEEN_MONTHS\020\003\022\025\n\021TWENTY_S" + + "IX_MONTHS\020\004\022\027\n\023THIRTY_EIGHT_MONTHS\020\005\022\020\n\014" + + "FIFTY_MONTHS\020\006:e\352Ab\n3analyticsadmin.goog" + + "leapis.com/DataRetentionSettings\022+proper" + + "ties/{property}/dataRetentionSettings*\252\004" + + "\n\020IndustryCategory\022!\n\035INDUSTRY_CATEGORY_" + + "UNSPECIFIED\020\000\022\016\n\nAUTOMOTIVE\020\001\022#\n\037BUSINES" + + "S_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\006TRAVE" + + "L\020\006\022\t\n\005OTHER\020\007\022\032\n\026ARTS_AND_ENTERTAINMENT" + + "\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\005GAME" + + "S\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\022L" + + "AW_AND_GOVERNMENT\020\020\022\010\n\004NEWS\020\021\022\026\n\022ONLINE_" + + "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\t" + + "REFERENCE\020\026\022\013\n\007SCIENCE\020\027\022\n\n\006SPORTS\020\030\022\026\n\022" + + "JOBS_AND_EDUCATION\020\031\022\014\n\010SHOPPING\020\032*f\n\014Se" + + "rviceLevel\022\035\n\031SERVICE_LEVEL_UNSPECIFIED\020" + + "\000\022\035\n\031GOOGLE_ANALYTICS_STANDARD\020\001\022\030\n\024GOOG" + + "LE_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\nActionType\022\033\n\027ACTION_T" + + "YPE_UNSPECIFIED\020\000\022\013\n\007CREATED\020\001\022\013\n\007UPDATE" + + "D\020\002\022\013\n\007DELETED\020\003*\377\002\n\031ChangeHistoryResour" + + "ceType\022,\n(CHANGE_HISTORY_RESOURCE_TYPE_U" + + "NSPECIFIED\020\000\022\013\n\007ACCOUNT\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_SETTINGS\020\010\022\024\n\020CONVERSI" + + "ON_EVENT\020\t\022\037\n\033MEASUREMENT_PROTOCOL_SECRE" + + "T\020\n\022\033\n\027DATA_RETENTION_SETTINGS\020\r\022%\n!DISP" + + "LAY_VIDEO_360_ADVERTISER_LINK\020\016\022.\n*DISPL" + + "AY_VIDEO_360_ADVERTISER_LINK_PROPOSAL\020\017\022" + + "\017\n\013DATA_STREAM\020\022\022\030\n\024ATTRIBUTION_SETTINGS" + + "\020\024*\202\001\n\014PropertyType\022\035\n\031PROPERTY_TYPE_UNS" + + "PECIFIED\020\000\022\032\n\026PROPERTY_TYPE_ORDINARY\020\001\022\035" + + "\n\031PROPERTY_TYPE_SUBPROPERTY\020\002\022\030\n\024PROPERT" + + "Y_TYPE_ROLLUP\020\003By\n!com.google.analytics." + + "admin.v1betaB\016ResourcesProtoP\001ZBgoogle.g" + + "olang.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", "CountingMethod", + }); + 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/RunAccessReportRequest.java b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/RunAccessReportRequest.java similarity index 80% rename from owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/RunAccessReportRequest.java rename to java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/RunAccessReportRequest.java index 953cb8297480..79720fa253b0 100644 --- a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/RunAccessReportRequest.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/RunAccessReportRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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; /** + * + * *
  * The request for a Data Access Record Report.
  * 
* * Protobuf type {@code google.analytics.admin.v1beta.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.v1beta.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,28 +48,32 @@ private RunAccessReportRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new RunAccessReportRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_RunAccessReportRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_RunAccessReportRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_RunAccessReportRequest_fieldAccessorTable + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_RunAccessReportRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.RunAccessReportRequest.class, com.google.analytics.admin.v1beta.RunAccessReportRequest.Builder.class); + com.google.analytics.admin.v1beta.RunAccessReportRequest.class, + com.google.analytics.admin.v1beta.RunAccessReportRequest.Builder.class); } public static final int ENTITY_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object entity_ = ""; /** + * + * *
    * The Data Access Report supports requesting at the property level or account
    * level. If requested at the account level, Data Access Reports include all
@@ -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 supports requesting at the property level or account
    * level. If requested at the account level, Data Access Reports include all
@@ -92,16 +116,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 { @@ -110,9 +133,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.
@@ -125,6 +151,8 @@ public java.util.List getDime
     return dimensions_;
   }
   /**
+   *
+   *
    * 
    * The dimensions requested and displayed in the response. Requests are
    * allowed up to 9 dimensions.
@@ -133,11 +161,13 @@ public java.util.List getDime
    * repeated .google.analytics.admin.v1beta.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.
@@ -150,6 +180,8 @@ public int getDimensionsCount() {
     return dimensions_.size();
   }
   /**
+   *
+   *
    * 
    * The dimensions requested and displayed in the response. Requests are
    * allowed up to 9 dimensions.
@@ -162,6 +194,8 @@ public com.google.analytics.admin.v1beta.AccessDimension getDimensions(int index
     return dimensions_.get(index);
   }
   /**
+   *
+   *
    * 
    * The dimensions requested and displayed in the response. Requests are
    * allowed up to 9 dimensions.
@@ -176,9 +210,12 @@ public com.google.analytics.admin.v1beta.AccessDimensionOrBuilder getDimensionsO
   }
 
   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.
@@ -191,6 +228,8 @@ public java.util.List getMetrics
     return metrics_;
   }
   /**
+   *
+   *
    * 
    * The metrics requested and displayed in the response. Requests are allowed
    * up to 10 metrics.
@@ -199,11 +238,13 @@ public java.util.List getMetrics
    * repeated .google.analytics.admin.v1beta.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.
@@ -216,6 +257,8 @@ public int getMetricsCount() {
     return metrics_.size();
   }
   /**
+   *
+   *
    * 
    * The metrics requested and displayed in the response. Requests are allowed
    * up to 10 metrics.
@@ -228,6 +271,8 @@ public com.google.analytics.admin.v1beta.AccessMetric getMetrics(int index) {
     return metrics_.get(index);
   }
   /**
+   *
+   *
    * 
    * The metrics requested and displayed in the response. Requests are allowed
    * up to 10 metrics.
@@ -236,15 +281,17 @@ public com.google.analytics.admin.v1beta.AccessMetric getMetrics(int index) {
    * repeated .google.analytics.admin.v1beta.AccessMetric metrics = 3;
    */
   @java.lang.Override
-  public com.google.analytics.admin.v1beta.AccessMetricOrBuilder getMetricsOrBuilder(
-      int index) {
+  public com.google.analytics.admin.v1beta.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
@@ -260,6 +307,8 @@ public java.util.List getDate
     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
@@ -271,11 +320,13 @@ public java.util.List getDate
    * repeated .google.analytics.admin.v1beta.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
@@ -291,6 +342,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
@@ -306,6 +359,8 @@ public com.google.analytics.admin.v1beta.AccessDateRange getDateRanges(int index
     return dateRanges_.get(index);
   }
   /**
+   *
+   *
    * 
    * Date ranges of access records to read. If multiple date ranges are
    * requested, each response row will contain a zero based date range index. If
@@ -325,6 +380,8 @@ public com.google.analytics.admin.v1beta.AccessDateRangeOrBuilder getDateRangesO
   public static final int DIMENSION_FILTER_FIELD_NUMBER = 5;
   private com.google.analytics.admin.v1beta.AccessFilterExpression dimensionFilter_;
   /**
+   *
+   *
    * 
    * Dimension filters let you restrict report response to specific
    * dimension values which match the filter. For example, filtering on access
@@ -334,6 +391,7 @@ public com.google.analytics.admin.v1beta.AccessDateRangeOrBuilder getDateRangesO
    * 
* * .google.analytics.admin.v1beta.AccessFilterExpression dimension_filter = 5; + * * @return Whether the dimensionFilter field is set. */ @java.lang.Override @@ -341,6 +399,8 @@ public boolean hasDimensionFilter() { return dimensionFilter_ != null; } /** + * + * *
    * Dimension filters let you restrict report response to specific
    * dimension values which match the filter. For example, filtering on access
@@ -350,13 +410,18 @@ public boolean hasDimensionFilter() {
    * 
* * .google.analytics.admin.v1beta.AccessFilterExpression dimension_filter = 5; + * * @return The dimensionFilter. */ @java.lang.Override public com.google.analytics.admin.v1beta.AccessFilterExpression getDimensionFilter() { - return dimensionFilter_ == null ? com.google.analytics.admin.v1beta.AccessFilterExpression.getDefaultInstance() : dimensionFilter_; + return dimensionFilter_ == null + ? com.google.analytics.admin.v1beta.AccessFilterExpression.getDefaultInstance() + : dimensionFilter_; } /** + * + * *
    * Dimension filters let you restrict report response to specific
    * dimension values which match the filter. For example, filtering on access
@@ -368,13 +433,18 @@ public com.google.analytics.admin.v1beta.AccessFilterExpression getDimensionFilt
    * .google.analytics.admin.v1beta.AccessFilterExpression dimension_filter = 5;
    */
   @java.lang.Override
-  public com.google.analytics.admin.v1beta.AccessFilterExpressionOrBuilder getDimensionFilterOrBuilder() {
-    return dimensionFilter_ == null ? com.google.analytics.admin.v1beta.AccessFilterExpression.getDefaultInstance() : dimensionFilter_;
+  public com.google.analytics.admin.v1beta.AccessFilterExpressionOrBuilder
+      getDimensionFilterOrBuilder() {
+    return dimensionFilter_ == null
+        ? com.google.analytics.admin.v1beta.AccessFilterExpression.getDefaultInstance()
+        : dimensionFilter_;
   }
 
   public static final int METRIC_FILTER_FIELD_NUMBER = 6;
   private com.google.analytics.admin.v1beta.AccessFilterExpression metricFilter_;
   /**
+   *
+   *
    * 
    * Metric filters allow you to restrict report response to specific metric
    * values which match the filter. Metric filters are applied after aggregating
@@ -383,6 +453,7 @@ public com.google.analytics.admin.v1beta.AccessFilterExpressionOrBuilder getDime
    * 
* * .google.analytics.admin.v1beta.AccessFilterExpression metric_filter = 6; + * * @return Whether the metricFilter field is set. */ @java.lang.Override @@ -390,6 +461,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
@@ -398,13 +471,18 @@ public boolean hasMetricFilter() {
    * 
* * .google.analytics.admin.v1beta.AccessFilterExpression metric_filter = 6; + * * @return The metricFilter. */ @java.lang.Override public com.google.analytics.admin.v1beta.AccessFilterExpression getMetricFilter() { - return metricFilter_ == null ? com.google.analytics.admin.v1beta.AccessFilterExpression.getDefaultInstance() : metricFilter_; + return metricFilter_ == null + ? com.google.analytics.admin.v1beta.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
@@ -415,13 +493,18 @@ public com.google.analytics.admin.v1beta.AccessFilterExpression getMetricFilter(
    * .google.analytics.admin.v1beta.AccessFilterExpression metric_filter = 6;
    */
   @java.lang.Override
-  public com.google.analytics.admin.v1beta.AccessFilterExpressionOrBuilder getMetricFilterOrBuilder() {
-    return metricFilter_ == null ? com.google.analytics.admin.v1beta.AccessFilterExpression.getDefaultInstance() : metricFilter_;
+  public com.google.analytics.admin.v1beta.AccessFilterExpressionOrBuilder
+      getMetricFilterOrBuilder() {
+    return metricFilter_ == null
+        ? com.google.analytics.admin.v1beta.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
@@ -432,6 +515,7 @@ public com.google.analytics.admin.v1beta.AccessFilterExpressionOrBuilder getMetr
    * 
* * int64 offset = 7; + * * @return The offset. */ @java.lang.Override @@ -442,6 +526,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
@@ -458,6 +544,7 @@ public long getOffset() {
    * 
* * int64 limit = 8; + * * @return The limit. */ @java.lang.Override @@ -466,9 +553,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
@@ -480,6 +570,7 @@ public long getLimit() {
    * 
* * string time_zone = 9; + * * @return The timeZone. */ @java.lang.Override @@ -488,14 +579,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
@@ -507,16 +599,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 { @@ -525,9 +616,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.
    * 
@@ -539,6 +633,8 @@ public java.util.List getOrderB return orderBys_; } /** + * + * *
    * Specifies how rows are ordered in the response.
    * 
@@ -546,11 +642,13 @@ public java.util.List getOrderB * repeated .google.analytics.admin.v1beta.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.
    * 
@@ -562,6 +660,8 @@ public int getOrderBysCount() { return orderBys_.size(); } /** + * + * *
    * Specifies how rows are ordered in the response.
    * 
@@ -573,6 +673,8 @@ public com.google.analytics.admin.v1beta.AccessOrderBy getOrderBys(int index) { return orderBys_.get(index); } /** + * + * *
    * Specifies how rows are ordered in the response.
    * 
@@ -580,14 +682,15 @@ public com.google.analytics.admin.v1beta.AccessOrderBy getOrderBys(int index) { * repeated .google.analytics.admin.v1beta.AccessOrderBy order_bys = 10; */ @java.lang.Override - public com.google.analytics.admin.v1beta.AccessOrderByOrBuilder getOrderBysOrBuilder( - int index) { + public com.google.analytics.admin.v1beta.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). For account-level
@@ -595,6 +698,7 @@ public com.google.analytics.admin.v1beta.AccessOrderByOrBuilder getOrderBysOrBui
    * 
* * bool return_entity_quota = 11; + * * @return The returnEntityQuota. */ @java.lang.Override @@ -603,6 +707,7 @@ public boolean getReturnEntityQuota() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -614,8 +719,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -662,43 +766,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; @@ -708,41 +803,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.RunAccessReportRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1beta.RunAccessReportRequest other = (com.google.analytics.admin.v1beta.RunAccessReportRequest) obj; + com.google.analytics.admin.v1beta.RunAccessReportRequest other = + (com.google.analytics.admin.v1beta.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; } @@ -777,11 +862,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) { @@ -789,139 +872,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.v1beta.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.v1beta.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.v1beta.RunAccessReportRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1beta.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.v1beta.RunAccessReportRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1beta.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.v1beta.RunAccessReportRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1beta.RunAccessReportRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1beta.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.v1beta.RunAccessReportRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1beta.RunAccessReportRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.analytics.admin.v1beta.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.v1beta.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.v1beta.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.v1beta.RunAccessReportRequest prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1beta.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.v1beta.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.v1beta.RunAccessReportRequest) com.google.analytics.admin.v1beta.RunAccessReportRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_RunAccessReportRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_RunAccessReportRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_RunAccessReportRequest_fieldAccessorTable + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_RunAccessReportRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.RunAccessReportRequest.class, com.google.analytics.admin.v1beta.RunAccessReportRequest.Builder.class); + com.google.analytics.admin.v1beta.RunAccessReportRequest.class, + com.google.analytics.admin.v1beta.RunAccessReportRequest.Builder.class); } // Construct using com.google.analytics.admin.v1beta.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(); @@ -973,9 +1060,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_RunAccessReportRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_RunAccessReportRequest_descriptor; } @java.lang.Override @@ -994,14 +1081,18 @@ public com.google.analytics.admin.v1beta.RunAccessReportRequest build() { @java.lang.Override public com.google.analytics.admin.v1beta.RunAccessReportRequest buildPartial() { - com.google.analytics.admin.v1beta.RunAccessReportRequest result = new com.google.analytics.admin.v1beta.RunAccessReportRequest(this); + com.google.analytics.admin.v1beta.RunAccessReportRequest result = + new com.google.analytics.admin.v1beta.RunAccessReportRequest(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartialRepeatedFields(com.google.analytics.admin.v1beta.RunAccessReportRequest result) { + private void buildPartialRepeatedFields( + com.google.analytics.admin.v1beta.RunAccessReportRequest result) { if (dimensionsBuilder_ == null) { if (((bitField0_ & 0x00000002) != 0)) { dimensions_ = java.util.Collections.unmodifiableList(dimensions_); @@ -1046,14 +1137,12 @@ private void buildPartial0(com.google.analytics.admin.v1beta.RunAccessReportRequ 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_; @@ -1073,38 +1162,39 @@ private void buildPartial0(com.google.analytics.admin.v1beta.RunAccessReportRequ public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object 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.RunAccessReportRequest) { - return mergeFrom((com.google.analytics.admin.v1beta.RunAccessReportRequest)other); + return mergeFrom((com.google.analytics.admin.v1beta.RunAccessReportRequest) other); } else { super.mergeFrom(other); return this; @@ -1112,7 +1202,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1beta.RunAccessReportRequest other) { - if (other == com.google.analytics.admin.v1beta.RunAccessReportRequest.getDefaultInstance()) return this; + if (other == com.google.analytics.admin.v1beta.RunAccessReportRequest.getDefaultInstance()) + return this; if (!other.getEntity().isEmpty()) { entity_ = other.entity_; bitField0_ |= 0x00000001; @@ -1136,9 +1227,10 @@ public Builder mergeFrom(com.google.analytics.admin.v1beta.RunAccessReportReques 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_); } @@ -1162,9 +1254,10 @@ public Builder mergeFrom(com.google.analytics.admin.v1beta.RunAccessReportReques 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_); } @@ -1188,9 +1281,10 @@ public Builder mergeFrom(com.google.analytics.admin.v1beta.RunAccessReportReques 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_); } @@ -1231,9 +1325,10 @@ public Builder mergeFrom(com.google.analytics.admin.v1beta.RunAccessReportReques 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_); } @@ -1268,103 +1363,110 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - entity_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - com.google.analytics.admin.v1beta.AccessDimension m = - input.readMessage( - com.google.analytics.admin.v1beta.AccessDimension.parser(), - extensionRegistry); - if (dimensionsBuilder_ == null) { - ensureDimensionsIsMutable(); - dimensions_.add(m); - } else { - dimensionsBuilder_.addMessage(m); - } - break; - } // case 18 - case 26: { - com.google.analytics.admin.v1beta.AccessMetric m = - input.readMessage( - com.google.analytics.admin.v1beta.AccessMetric.parser(), - extensionRegistry); - if (metricsBuilder_ == null) { - ensureMetricsIsMutable(); - metrics_.add(m); - } else { - metricsBuilder_.addMessage(m); - } - break; - } // case 26 - case 34: { - com.google.analytics.admin.v1beta.AccessDateRange m = - input.readMessage( - com.google.analytics.admin.v1beta.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.v1beta.AccessOrderBy m = - input.readMessage( - com.google.analytics.admin.v1beta.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.v1beta.AccessDimension m = + input.readMessage( + com.google.analytics.admin.v1beta.AccessDimension.parser(), + extensionRegistry); + if (dimensionsBuilder_ == null) { + ensureDimensionsIsMutable(); + dimensions_.add(m); + } else { + dimensionsBuilder_.addMessage(m); + } + break; + } // case 18 + case 26: + { + com.google.analytics.admin.v1beta.AccessMetric m = + input.readMessage( + com.google.analytics.admin.v1beta.AccessMetric.parser(), extensionRegistry); + if (metricsBuilder_ == null) { + ensureMetricsIsMutable(); + metrics_.add(m); + } else { + metricsBuilder_.addMessage(m); + } + break; + } // case 26 + case 34: + { + com.google.analytics.admin.v1beta.AccessDateRange m = + input.readMessage( + com.google.analytics.admin.v1beta.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.v1beta.AccessOrderBy m = + input.readMessage( + com.google.analytics.admin.v1beta.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) { @@ -1374,10 +1476,13 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object entity_ = ""; /** + * + * *
      * The Data Access Report supports requesting at the property level or account
      * level. If requested at the account level, Data Access Reports include all
@@ -1390,13 +1495,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; @@ -1405,6 +1510,8 @@ public java.lang.String getEntity() { } } /** + * + * *
      * The Data Access Report supports requesting at the property level or account
      * level. If requested at the account level, Data Access Reports include all
@@ -1417,15 +1524,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 { @@ -1433,6 +1539,8 @@ public java.lang.String getEntity() { } } /** + * + * *
      * The Data Access Report supports requesting at the property level or account
      * level. If requested at the account level, Data Access Reports include all
@@ -1445,18 +1553,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 supports requesting at the property level or account
      * level. If requested at the account level, Data Access Reports include all
@@ -1469,6 +1581,7 @@ public Builder setEntity(
      * 
* * string entity = 1; + * * @return This builder for chaining. */ public Builder clearEntity() { @@ -1478,6 +1591,8 @@ public Builder clearEntity() { return this; } /** + * + * *
      * The Data Access Report supports requesting at the property level or account
      * level. If requested at the account level, Data Access Reports include all
@@ -1490,12 +1605,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; @@ -1504,18 +1621,25 @@ 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.v1beta.AccessDimension, com.google.analytics.admin.v1beta.AccessDimension.Builder, com.google.analytics.admin.v1beta.AccessDimensionOrBuilder> dimensionsBuilder_; + com.google.analytics.admin.v1beta.AccessDimension, + com.google.analytics.admin.v1beta.AccessDimension.Builder, + com.google.analytics.admin.v1beta.AccessDimensionOrBuilder> + dimensionsBuilder_; /** + * + * *
      * The dimensions requested and displayed in the response. Requests are
      * allowed up to 9 dimensions.
@@ -1531,6 +1655,8 @@ public java.util.List getDime
       }
     }
     /**
+     *
+     *
      * 
      * The dimensions requested and displayed in the response. Requests are
      * allowed up to 9 dimensions.
@@ -1546,6 +1672,8 @@ public int getDimensionsCount() {
       }
     }
     /**
+     *
+     *
      * 
      * The dimensions requested and displayed in the response. Requests are
      * allowed up to 9 dimensions.
@@ -1561,6 +1689,8 @@ public com.google.analytics.admin.v1beta.AccessDimension getDimensions(int index
       }
     }
     /**
+     *
+     *
      * 
      * The dimensions requested and displayed in the response. Requests are
      * allowed up to 9 dimensions.
@@ -1583,6 +1713,8 @@ public Builder setDimensions(
       return this;
     }
     /**
+     *
+     *
      * 
      * The dimensions requested and displayed in the response. Requests are
      * allowed up to 9 dimensions.
@@ -1602,6 +1734,8 @@ public Builder setDimensions(
       return this;
     }
     /**
+     *
+     *
      * 
      * The dimensions requested and displayed in the response. Requests are
      * allowed up to 9 dimensions.
@@ -1623,6 +1757,8 @@ public Builder addDimensions(com.google.analytics.admin.v1beta.AccessDimension v
       return this;
     }
     /**
+     *
+     *
      * 
      * The dimensions requested and displayed in the response. Requests are
      * allowed up to 9 dimensions.
@@ -1645,6 +1781,8 @@ public Builder addDimensions(
       return this;
     }
     /**
+     *
+     *
      * 
      * The dimensions requested and displayed in the response. Requests are
      * allowed up to 9 dimensions.
@@ -1664,6 +1802,8 @@ public Builder addDimensions(
       return this;
     }
     /**
+     *
+     *
      * 
      * The dimensions requested and displayed in the response. Requests are
      * allowed up to 9 dimensions.
@@ -1683,6 +1823,8 @@ public Builder addDimensions(
       return this;
     }
     /**
+     *
+     *
      * 
      * The dimensions requested and displayed in the response. Requests are
      * allowed up to 9 dimensions.
@@ -1694,8 +1836,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);
@@ -1703,6 +1844,8 @@ public Builder addAllDimensions(
       return this;
     }
     /**
+     *
+     *
      * 
      * The dimensions requested and displayed in the response. Requests are
      * allowed up to 9 dimensions.
@@ -1721,6 +1864,8 @@ public Builder clearDimensions() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The dimensions requested and displayed in the response. Requests are
      * allowed up to 9 dimensions.
@@ -1739,6 +1884,8 @@ public Builder removeDimensions(int index) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The dimensions requested and displayed in the response. Requests are
      * allowed up to 9 dimensions.
@@ -1751,6 +1898,8 @@ public com.google.analytics.admin.v1beta.AccessDimension.Builder getDimensionsBu
       return getDimensionsFieldBuilder().getBuilder(index);
     }
     /**
+     *
+     *
      * 
      * The dimensions requested and displayed in the response. Requests are
      * allowed up to 9 dimensions.
@@ -1761,11 +1910,14 @@ public com.google.analytics.admin.v1beta.AccessDimension.Builder getDimensionsBu
     public com.google.analytics.admin.v1beta.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.
@@ -1773,8 +1925,8 @@ public com.google.analytics.admin.v1beta.AccessDimensionOrBuilder getDimensionsO
      *
      * repeated .google.analytics.admin.v1beta.AccessDimension dimensions = 2;
      */
-    public java.util.List 
-         getDimensionsOrBuilderList() {
+    public java.util.List
+        getDimensionsOrBuilderList() {
       if (dimensionsBuilder_ != null) {
         return dimensionsBuilder_.getMessageOrBuilderList();
       } else {
@@ -1782,6 +1934,8 @@ public com.google.analytics.admin.v1beta.AccessDimensionOrBuilder getDimensionsO
       }
     }
     /**
+     *
+     *
      * 
      * The dimensions requested and displayed in the response. Requests are
      * allowed up to 9 dimensions.
@@ -1790,10 +1944,12 @@ public com.google.analytics.admin.v1beta.AccessDimensionOrBuilder getDimensionsO
      * repeated .google.analytics.admin.v1beta.AccessDimension dimensions = 2;
      */
     public com.google.analytics.admin.v1beta.AccessDimension.Builder addDimensionsBuilder() {
-      return getDimensionsFieldBuilder().addBuilder(
-          com.google.analytics.admin.v1beta.AccessDimension.getDefaultInstance());
+      return getDimensionsFieldBuilder()
+          .addBuilder(com.google.analytics.admin.v1beta.AccessDimension.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * The dimensions requested and displayed in the response. Requests are
      * allowed up to 9 dimensions.
@@ -1803,10 +1959,13 @@ public com.google.analytics.admin.v1beta.AccessDimension.Builder addDimensionsBu
      */
     public com.google.analytics.admin.v1beta.AccessDimension.Builder addDimensionsBuilder(
         int index) {
-      return getDimensionsFieldBuilder().addBuilder(
-          index, com.google.analytics.admin.v1beta.AccessDimension.getDefaultInstance());
+      return getDimensionsFieldBuilder()
+          .addBuilder(
+              index, com.google.analytics.admin.v1beta.AccessDimension.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * The dimensions requested and displayed in the response. Requests are
      * allowed up to 9 dimensions.
@@ -1814,38 +1973,48 @@ public com.google.analytics.admin.v1beta.AccessDimension.Builder addDimensionsBu
      *
      * repeated .google.analytics.admin.v1beta.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.v1beta.AccessDimension, com.google.analytics.admin.v1beta.AccessDimension.Builder, com.google.analytics.admin.v1beta.AccessDimensionOrBuilder> 
+            com.google.analytics.admin.v1beta.AccessDimension,
+            com.google.analytics.admin.v1beta.AccessDimension.Builder,
+            com.google.analytics.admin.v1beta.AccessDimensionOrBuilder>
         getDimensionsFieldBuilder() {
       if (dimensionsBuilder_ == null) {
-        dimensionsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.analytics.admin.v1beta.AccessDimension, com.google.analytics.admin.v1beta.AccessDimension.Builder, com.google.analytics.admin.v1beta.AccessDimensionOrBuilder>(
-                dimensions_,
-                ((bitField0_ & 0x00000002) != 0),
-                getParentForChildren(),
-                isClean());
+        dimensionsBuilder_ =
+            new com.google.protobuf.RepeatedFieldBuilderV3<
+                com.google.analytics.admin.v1beta.AccessDimension,
+                com.google.analytics.admin.v1beta.AccessDimension.Builder,
+                com.google.analytics.admin.v1beta.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.v1beta.AccessMetric, com.google.analytics.admin.v1beta.AccessMetric.Builder, com.google.analytics.admin.v1beta.AccessMetricOrBuilder> metricsBuilder_;
+            com.google.analytics.admin.v1beta.AccessMetric,
+            com.google.analytics.admin.v1beta.AccessMetric.Builder,
+            com.google.analytics.admin.v1beta.AccessMetricOrBuilder>
+        metricsBuilder_;
 
     /**
+     *
+     *
      * 
      * The metrics requested and displayed in the response. Requests are allowed
      * up to 10 metrics.
@@ -1861,6 +2030,8 @@ public java.util.List getMetrics
       }
     }
     /**
+     *
+     *
      * 
      * The metrics requested and displayed in the response. Requests are allowed
      * up to 10 metrics.
@@ -1876,6 +2047,8 @@ public int getMetricsCount() {
       }
     }
     /**
+     *
+     *
      * 
      * The metrics requested and displayed in the response. Requests are allowed
      * up to 10 metrics.
@@ -1891,6 +2064,8 @@ public com.google.analytics.admin.v1beta.AccessMetric getMetrics(int index) {
       }
     }
     /**
+     *
+     *
      * 
      * The metrics requested and displayed in the response. Requests are allowed
      * up to 10 metrics.
@@ -1898,8 +2073,7 @@ public com.google.analytics.admin.v1beta.AccessMetric getMetrics(int index) {
      *
      * repeated .google.analytics.admin.v1beta.AccessMetric metrics = 3;
      */
-    public Builder setMetrics(
-        int index, com.google.analytics.admin.v1beta.AccessMetric value) {
+    public Builder setMetrics(int index, com.google.analytics.admin.v1beta.AccessMetric value) {
       if (metricsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -1913,6 +2087,8 @@ public Builder setMetrics(
       return this;
     }
     /**
+     *
+     *
      * 
      * The metrics requested and displayed in the response. Requests are allowed
      * up to 10 metrics.
@@ -1932,6 +2108,8 @@ public Builder setMetrics(
       return this;
     }
     /**
+     *
+     *
      * 
      * The metrics requested and displayed in the response. Requests are allowed
      * up to 10 metrics.
@@ -1953,6 +2131,8 @@ public Builder addMetrics(com.google.analytics.admin.v1beta.AccessMetric value)
       return this;
     }
     /**
+     *
+     *
      * 
      * The metrics requested and displayed in the response. Requests are allowed
      * up to 10 metrics.
@@ -1960,8 +2140,7 @@ public Builder addMetrics(com.google.analytics.admin.v1beta.AccessMetric value)
      *
      * repeated .google.analytics.admin.v1beta.AccessMetric metrics = 3;
      */
-    public Builder addMetrics(
-        int index, com.google.analytics.admin.v1beta.AccessMetric value) {
+    public Builder addMetrics(int index, com.google.analytics.admin.v1beta.AccessMetric value) {
       if (metricsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -1975,6 +2154,8 @@ public Builder addMetrics(
       return this;
     }
     /**
+     *
+     *
      * 
      * The metrics requested and displayed in the response. Requests are allowed
      * up to 10 metrics.
@@ -1994,6 +2175,8 @@ public Builder addMetrics(
       return this;
     }
     /**
+     *
+     *
      * 
      * The metrics requested and displayed in the response. Requests are allowed
      * up to 10 metrics.
@@ -2013,6 +2196,8 @@ public Builder addMetrics(
       return this;
     }
     /**
+     *
+     *
      * 
      * The metrics requested and displayed in the response. Requests are allowed
      * up to 10 metrics.
@@ -2024,8 +2209,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);
@@ -2033,6 +2217,8 @@ public Builder addAllMetrics(
       return this;
     }
     /**
+     *
+     *
      * 
      * The metrics requested and displayed in the response. Requests are allowed
      * up to 10 metrics.
@@ -2051,6 +2237,8 @@ public Builder clearMetrics() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The metrics requested and displayed in the response. Requests are allowed
      * up to 10 metrics.
@@ -2069,6 +2257,8 @@ public Builder removeMetrics(int index) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The metrics requested and displayed in the response. Requests are allowed
      * up to 10 metrics.
@@ -2076,11 +2266,12 @@ public Builder removeMetrics(int index) {
      *
      * repeated .google.analytics.admin.v1beta.AccessMetric metrics = 3;
      */
-    public com.google.analytics.admin.v1beta.AccessMetric.Builder getMetricsBuilder(
-        int index) {
+    public com.google.analytics.admin.v1beta.AccessMetric.Builder getMetricsBuilder(int index) {
       return getMetricsFieldBuilder().getBuilder(index);
     }
     /**
+     *
+     *
      * 
      * The metrics requested and displayed in the response. Requests are allowed
      * up to 10 metrics.
@@ -2088,14 +2279,16 @@ public com.google.analytics.admin.v1beta.AccessMetric.Builder getMetricsBuilder(
      *
      * repeated .google.analytics.admin.v1beta.AccessMetric metrics = 3;
      */
-    public com.google.analytics.admin.v1beta.AccessMetricOrBuilder getMetricsOrBuilder(
-        int index) {
+    public com.google.analytics.admin.v1beta.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.
@@ -2103,8 +2296,8 @@ public com.google.analytics.admin.v1beta.AccessMetricOrBuilder getMetricsOrBuild
      *
      * repeated .google.analytics.admin.v1beta.AccessMetric metrics = 3;
      */
-    public java.util.List 
-         getMetricsOrBuilderList() {
+    public java.util.List
+        getMetricsOrBuilderList() {
       if (metricsBuilder_ != null) {
         return metricsBuilder_.getMessageOrBuilderList();
       } else {
@@ -2112,6 +2305,8 @@ public com.google.analytics.admin.v1beta.AccessMetricOrBuilder getMetricsOrBuild
       }
     }
     /**
+     *
+     *
      * 
      * The metrics requested and displayed in the response. Requests are allowed
      * up to 10 metrics.
@@ -2120,10 +2315,12 @@ public com.google.analytics.admin.v1beta.AccessMetricOrBuilder getMetricsOrBuild
      * repeated .google.analytics.admin.v1beta.AccessMetric metrics = 3;
      */
     public com.google.analytics.admin.v1beta.AccessMetric.Builder addMetricsBuilder() {
-      return getMetricsFieldBuilder().addBuilder(
-          com.google.analytics.admin.v1beta.AccessMetric.getDefaultInstance());
+      return getMetricsFieldBuilder()
+          .addBuilder(com.google.analytics.admin.v1beta.AccessMetric.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * The metrics requested and displayed in the response. Requests are allowed
      * up to 10 metrics.
@@ -2131,12 +2328,13 @@ public com.google.analytics.admin.v1beta.AccessMetric.Builder addMetricsBuilder(
      *
      * repeated .google.analytics.admin.v1beta.AccessMetric metrics = 3;
      */
-    public com.google.analytics.admin.v1beta.AccessMetric.Builder addMetricsBuilder(
-        int index) {
-      return getMetricsFieldBuilder().addBuilder(
-          index, com.google.analytics.admin.v1beta.AccessMetric.getDefaultInstance());
+    public com.google.analytics.admin.v1beta.AccessMetric.Builder addMetricsBuilder(int index) {
+      return getMetricsFieldBuilder()
+          .addBuilder(index, com.google.analytics.admin.v1beta.AccessMetric.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * The metrics requested and displayed in the response. Requests are allowed
      * up to 10 metrics.
@@ -2144,38 +2342,48 @@ public com.google.analytics.admin.v1beta.AccessMetric.Builder addMetricsBuilder(
      *
      * repeated .google.analytics.admin.v1beta.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.v1beta.AccessMetric, com.google.analytics.admin.v1beta.AccessMetric.Builder, com.google.analytics.admin.v1beta.AccessMetricOrBuilder> 
+            com.google.analytics.admin.v1beta.AccessMetric,
+            com.google.analytics.admin.v1beta.AccessMetric.Builder,
+            com.google.analytics.admin.v1beta.AccessMetricOrBuilder>
         getMetricsFieldBuilder() {
       if (metricsBuilder_ == null) {
-        metricsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.analytics.admin.v1beta.AccessMetric, com.google.analytics.admin.v1beta.AccessMetric.Builder, com.google.analytics.admin.v1beta.AccessMetricOrBuilder>(
-                metrics_,
-                ((bitField0_ & 0x00000004) != 0),
-                getParentForChildren(),
-                isClean());
+        metricsBuilder_ =
+            new com.google.protobuf.RepeatedFieldBuilderV3<
+                com.google.analytics.admin.v1beta.AccessMetric,
+                com.google.analytics.admin.v1beta.AccessMetric.Builder,
+                com.google.analytics.admin.v1beta.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.v1beta.AccessDateRange, com.google.analytics.admin.v1beta.AccessDateRange.Builder, com.google.analytics.admin.v1beta.AccessDateRangeOrBuilder> dateRangesBuilder_;
+            com.google.analytics.admin.v1beta.AccessDateRange,
+            com.google.analytics.admin.v1beta.AccessDateRange.Builder,
+            com.google.analytics.admin.v1beta.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
@@ -2194,6 +2402,8 @@ public java.util.List getDate
       }
     }
     /**
+     *
+     *
      * 
      * 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
@@ -2212,6 +2422,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
@@ -2230,6 +2442,8 @@ public com.google.analytics.admin.v1beta.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
@@ -2255,6 +2469,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
@@ -2277,6 +2493,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
@@ -2301,6 +2519,8 @@ public Builder addDateRanges(com.google.analytics.admin.v1beta.AccessDateRange v
       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
@@ -2326,6 +2546,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
@@ -2348,6 +2570,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
@@ -2370,6 +2594,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
@@ -2384,8 +2610,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);
@@ -2393,6 +2618,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
@@ -2414,6 +2641,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
@@ -2435,6 +2664,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
@@ -2450,6 +2681,8 @@ public com.google.analytics.admin.v1beta.AccessDateRange.Builder getDateRangesBu
       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
@@ -2463,11 +2696,14 @@ public com.google.analytics.admin.v1beta.AccessDateRange.Builder getDateRangesBu
     public com.google.analytics.admin.v1beta.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
@@ -2478,8 +2714,8 @@ public com.google.analytics.admin.v1beta.AccessDateRangeOrBuilder getDateRangesO
      *
      * repeated .google.analytics.admin.v1beta.AccessDateRange date_ranges = 4;
      */
-    public java.util.List 
-         getDateRangesOrBuilderList() {
+    public java.util.List
+        getDateRangesOrBuilderList() {
       if (dateRangesBuilder_ != null) {
         return dateRangesBuilder_.getMessageOrBuilderList();
       } else {
@@ -2487,6 +2723,8 @@ public com.google.analytics.admin.v1beta.AccessDateRangeOrBuilder getDateRangesO
       }
     }
     /**
+     *
+     *
      * 
      * 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
@@ -2498,10 +2736,12 @@ public com.google.analytics.admin.v1beta.AccessDateRangeOrBuilder getDateRangesO
      * repeated .google.analytics.admin.v1beta.AccessDateRange date_ranges = 4;
      */
     public com.google.analytics.admin.v1beta.AccessDateRange.Builder addDateRangesBuilder() {
-      return getDateRangesFieldBuilder().addBuilder(
-          com.google.analytics.admin.v1beta.AccessDateRange.getDefaultInstance());
+      return getDateRangesFieldBuilder()
+          .addBuilder(com.google.analytics.admin.v1beta.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
@@ -2514,10 +2754,13 @@ public com.google.analytics.admin.v1beta.AccessDateRange.Builder addDateRangesBu
      */
     public com.google.analytics.admin.v1beta.AccessDateRange.Builder addDateRangesBuilder(
         int index) {
-      return getDateRangesFieldBuilder().addBuilder(
-          index, com.google.analytics.admin.v1beta.AccessDateRange.getDefaultInstance());
+      return getDateRangesFieldBuilder()
+          .addBuilder(
+              index, com.google.analytics.admin.v1beta.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
@@ -2528,20 +2771,23 @@ public com.google.analytics.admin.v1beta.AccessDateRange.Builder addDateRangesBu
      *
      * repeated .google.analytics.admin.v1beta.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.v1beta.AccessDateRange, com.google.analytics.admin.v1beta.AccessDateRange.Builder, com.google.analytics.admin.v1beta.AccessDateRangeOrBuilder> 
+            com.google.analytics.admin.v1beta.AccessDateRange,
+            com.google.analytics.admin.v1beta.AccessDateRange.Builder,
+            com.google.analytics.admin.v1beta.AccessDateRangeOrBuilder>
         getDateRangesFieldBuilder() {
       if (dateRangesBuilder_ == null) {
-        dateRangesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.analytics.admin.v1beta.AccessDateRange, com.google.analytics.admin.v1beta.AccessDateRange.Builder, com.google.analytics.admin.v1beta.AccessDateRangeOrBuilder>(
-                dateRanges_,
-                ((bitField0_ & 0x00000008) != 0),
-                getParentForChildren(),
-                isClean());
+        dateRangesBuilder_ =
+            new com.google.protobuf.RepeatedFieldBuilderV3<
+                com.google.analytics.admin.v1beta.AccessDateRange,
+                com.google.analytics.admin.v1beta.AccessDateRange.Builder,
+                com.google.analytics.admin.v1beta.AccessDateRangeOrBuilder>(
+                dateRanges_, ((bitField0_ & 0x00000008) != 0), getParentForChildren(), isClean());
         dateRanges_ = null;
       }
       return dateRangesBuilder_;
@@ -2549,8 +2795,13 @@ public com.google.analytics.admin.v1beta.AccessDateRange.Builder addDateRangesBu
 
     private com.google.analytics.admin.v1beta.AccessFilterExpression dimensionFilter_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.analytics.admin.v1beta.AccessFilterExpression, com.google.analytics.admin.v1beta.AccessFilterExpression.Builder, com.google.analytics.admin.v1beta.AccessFilterExpressionOrBuilder> dimensionFilterBuilder_;
+            com.google.analytics.admin.v1beta.AccessFilterExpression,
+            com.google.analytics.admin.v1beta.AccessFilterExpression.Builder,
+            com.google.analytics.admin.v1beta.AccessFilterExpressionOrBuilder>
+        dimensionFilterBuilder_;
     /**
+     *
+     *
      * 
      * Dimension filters let you restrict report response to specific
      * dimension values which match the filter. For example, filtering on access
@@ -2560,12 +2811,15 @@ public com.google.analytics.admin.v1beta.AccessDateRange.Builder addDateRangesBu
      * 
* * .google.analytics.admin.v1beta.AccessFilterExpression dimension_filter = 5; + * * @return Whether the dimensionFilter field is set. */ public boolean hasDimensionFilter() { return ((bitField0_ & 0x00000010) != 0); } /** + * + * *
      * Dimension filters let you restrict report response to specific
      * dimension values which match the filter. For example, filtering on access
@@ -2575,16 +2829,21 @@ public boolean hasDimensionFilter() {
      * 
* * .google.analytics.admin.v1beta.AccessFilterExpression dimension_filter = 5; + * * @return The dimensionFilter. */ public com.google.analytics.admin.v1beta.AccessFilterExpression getDimensionFilter() { if (dimensionFilterBuilder_ == null) { - return dimensionFilter_ == null ? com.google.analytics.admin.v1beta.AccessFilterExpression.getDefaultInstance() : dimensionFilter_; + return dimensionFilter_ == null + ? com.google.analytics.admin.v1beta.AccessFilterExpression.getDefaultInstance() + : dimensionFilter_; } else { return dimensionFilterBuilder_.getMessage(); } } /** + * + * *
      * Dimension filters let you restrict report response to specific
      * dimension values which match the filter. For example, filtering on access
@@ -2595,7 +2854,8 @@ public com.google.analytics.admin.v1beta.AccessFilterExpression getDimensionFilt
      *
      * .google.analytics.admin.v1beta.AccessFilterExpression dimension_filter = 5;
      */
-    public Builder setDimensionFilter(com.google.analytics.admin.v1beta.AccessFilterExpression value) {
+    public Builder setDimensionFilter(
+        com.google.analytics.admin.v1beta.AccessFilterExpression value) {
       if (dimensionFilterBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -2609,6 +2869,8 @@ public Builder setDimensionFilter(com.google.analytics.admin.v1beta.AccessFilter
       return this;
     }
     /**
+     *
+     *
      * 
      * Dimension filters let you restrict report response to specific
      * dimension values which match the filter. For example, filtering on access
@@ -2631,6 +2893,8 @@ public Builder setDimensionFilter(
       return this;
     }
     /**
+     *
+     *
      * 
      * Dimension filters let you restrict report response to specific
      * dimension values which match the filter. For example, filtering on access
@@ -2641,11 +2905,13 @@ public Builder setDimensionFilter(
      *
      * .google.analytics.admin.v1beta.AccessFilterExpression dimension_filter = 5;
      */
-    public Builder mergeDimensionFilter(com.google.analytics.admin.v1beta.AccessFilterExpression value) {
+    public Builder mergeDimensionFilter(
+        com.google.analytics.admin.v1beta.AccessFilterExpression value) {
       if (dimensionFilterBuilder_ == null) {
-        if (((bitField0_ & 0x00000010) != 0) &&
-          dimensionFilter_ != null &&
-          dimensionFilter_ != com.google.analytics.admin.v1beta.AccessFilterExpression.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000010) != 0)
+            && dimensionFilter_ != null
+            && dimensionFilter_
+                != com.google.analytics.admin.v1beta.AccessFilterExpression.getDefaultInstance()) {
           getDimensionFilterBuilder().mergeFrom(value);
         } else {
           dimensionFilter_ = value;
@@ -2658,6 +2924,8 @@ public Builder mergeDimensionFilter(com.google.analytics.admin.v1beta.AccessFilt
       return this;
     }
     /**
+     *
+     *
      * 
      * Dimension filters let you restrict report response to specific
      * dimension values which match the filter. For example, filtering on access
@@ -2679,6 +2947,8 @@ public Builder clearDimensionFilter() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Dimension filters let you restrict report response to specific
      * dimension values which match the filter. For example, filtering on access
@@ -2689,12 +2959,15 @@ public Builder clearDimensionFilter() {
      *
      * .google.analytics.admin.v1beta.AccessFilterExpression dimension_filter = 5;
      */
-    public com.google.analytics.admin.v1beta.AccessFilterExpression.Builder getDimensionFilterBuilder() {
+    public com.google.analytics.admin.v1beta.AccessFilterExpression.Builder
+        getDimensionFilterBuilder() {
       bitField0_ |= 0x00000010;
       onChanged();
       return getDimensionFilterFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Dimension filters let you restrict report response to specific
      * dimension values which match the filter. For example, filtering on access
@@ -2705,15 +2978,19 @@ public com.google.analytics.admin.v1beta.AccessFilterExpression.Builder getDimen
      *
      * .google.analytics.admin.v1beta.AccessFilterExpression dimension_filter = 5;
      */
-    public com.google.analytics.admin.v1beta.AccessFilterExpressionOrBuilder getDimensionFilterOrBuilder() {
+    public com.google.analytics.admin.v1beta.AccessFilterExpressionOrBuilder
+        getDimensionFilterOrBuilder() {
       if (dimensionFilterBuilder_ != null) {
         return dimensionFilterBuilder_.getMessageOrBuilder();
       } else {
-        return dimensionFilter_ == null ?
-            com.google.analytics.admin.v1beta.AccessFilterExpression.getDefaultInstance() : dimensionFilter_;
+        return dimensionFilter_ == null
+            ? com.google.analytics.admin.v1beta.AccessFilterExpression.getDefaultInstance()
+            : dimensionFilter_;
       }
     }
     /**
+     *
+     *
      * 
      * Dimension filters let you restrict report response to specific
      * dimension values which match the filter. For example, filtering on access
@@ -2725,14 +3002,17 @@ public com.google.analytics.admin.v1beta.AccessFilterExpressionOrBuilder getDime
      * .google.analytics.admin.v1beta.AccessFilterExpression dimension_filter = 5;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.analytics.admin.v1beta.AccessFilterExpression, com.google.analytics.admin.v1beta.AccessFilterExpression.Builder, com.google.analytics.admin.v1beta.AccessFilterExpressionOrBuilder> 
+            com.google.analytics.admin.v1beta.AccessFilterExpression,
+            com.google.analytics.admin.v1beta.AccessFilterExpression.Builder,
+            com.google.analytics.admin.v1beta.AccessFilterExpressionOrBuilder>
         getDimensionFilterFieldBuilder() {
       if (dimensionFilterBuilder_ == null) {
-        dimensionFilterBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.analytics.admin.v1beta.AccessFilterExpression, com.google.analytics.admin.v1beta.AccessFilterExpression.Builder, com.google.analytics.admin.v1beta.AccessFilterExpressionOrBuilder>(
-                getDimensionFilter(),
-                getParentForChildren(),
-                isClean());
+        dimensionFilterBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.analytics.admin.v1beta.AccessFilterExpression,
+                com.google.analytics.admin.v1beta.AccessFilterExpression.Builder,
+                com.google.analytics.admin.v1beta.AccessFilterExpressionOrBuilder>(
+                getDimensionFilter(), getParentForChildren(), isClean());
         dimensionFilter_ = null;
       }
       return dimensionFilterBuilder_;
@@ -2740,8 +3020,13 @@ public com.google.analytics.admin.v1beta.AccessFilterExpressionOrBuilder getDime
 
     private com.google.analytics.admin.v1beta.AccessFilterExpression metricFilter_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.analytics.admin.v1beta.AccessFilterExpression, com.google.analytics.admin.v1beta.AccessFilterExpression.Builder, com.google.analytics.admin.v1beta.AccessFilterExpressionOrBuilder> metricFilterBuilder_;
+            com.google.analytics.admin.v1beta.AccessFilterExpression,
+            com.google.analytics.admin.v1beta.AccessFilterExpression.Builder,
+            com.google.analytics.admin.v1beta.AccessFilterExpressionOrBuilder>
+        metricFilterBuilder_;
     /**
+     *
+     *
      * 
      * Metric filters allow you to restrict report response to specific metric
      * values which match the filter. Metric filters are applied after aggregating
@@ -2750,12 +3035,15 @@ public com.google.analytics.admin.v1beta.AccessFilterExpressionOrBuilder getDime
      * 
* * .google.analytics.admin.v1beta.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
@@ -2764,16 +3052,21 @@ public boolean hasMetricFilter() {
      * 
* * .google.analytics.admin.v1beta.AccessFilterExpression metric_filter = 6; + * * @return The metricFilter. */ public com.google.analytics.admin.v1beta.AccessFilterExpression getMetricFilter() { if (metricFilterBuilder_ == null) { - return metricFilter_ == null ? com.google.analytics.admin.v1beta.AccessFilterExpression.getDefaultInstance() : metricFilter_; + return metricFilter_ == null + ? com.google.analytics.admin.v1beta.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
@@ -2797,6 +3090,8 @@ public Builder setMetricFilter(com.google.analytics.admin.v1beta.AccessFilterExp
       return this;
     }
     /**
+     *
+     *
      * 
      * Metric filters allow you to restrict report response to specific metric
      * values which match the filter. Metric filters are applied after aggregating
@@ -2818,6 +3113,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
@@ -2827,11 +3124,13 @@ public Builder setMetricFilter(
      *
      * .google.analytics.admin.v1beta.AccessFilterExpression metric_filter = 6;
      */
-    public Builder mergeMetricFilter(com.google.analytics.admin.v1beta.AccessFilterExpression value) {
+    public Builder mergeMetricFilter(
+        com.google.analytics.admin.v1beta.AccessFilterExpression value) {
       if (metricFilterBuilder_ == null) {
-        if (((bitField0_ & 0x00000020) != 0) &&
-          metricFilter_ != null &&
-          metricFilter_ != com.google.analytics.admin.v1beta.AccessFilterExpression.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000020) != 0)
+            && metricFilter_ != null
+            && metricFilter_
+                != com.google.analytics.admin.v1beta.AccessFilterExpression.getDefaultInstance()) {
           getMetricFilterBuilder().mergeFrom(value);
         } else {
           metricFilter_ = value;
@@ -2844,6 +3143,8 @@ public Builder mergeMetricFilter(com.google.analytics.admin.v1beta.AccessFilterE
       return this;
     }
     /**
+     *
+     *
      * 
      * Metric filters allow you to restrict report response to specific metric
      * values which match the filter. Metric filters are applied after aggregating
@@ -2864,6 +3165,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
@@ -2873,12 +3176,15 @@ public Builder clearMetricFilter() {
      *
      * .google.analytics.admin.v1beta.AccessFilterExpression metric_filter = 6;
      */
-    public com.google.analytics.admin.v1beta.AccessFilterExpression.Builder getMetricFilterBuilder() {
+    public com.google.analytics.admin.v1beta.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
@@ -2888,15 +3194,19 @@ public com.google.analytics.admin.v1beta.AccessFilterExpression.Builder getMetri
      *
      * .google.analytics.admin.v1beta.AccessFilterExpression metric_filter = 6;
      */
-    public com.google.analytics.admin.v1beta.AccessFilterExpressionOrBuilder getMetricFilterOrBuilder() {
+    public com.google.analytics.admin.v1beta.AccessFilterExpressionOrBuilder
+        getMetricFilterOrBuilder() {
       if (metricFilterBuilder_ != null) {
         return metricFilterBuilder_.getMessageOrBuilder();
       } else {
-        return metricFilter_ == null ?
-            com.google.analytics.admin.v1beta.AccessFilterExpression.getDefaultInstance() : metricFilter_;
+        return metricFilter_ == null
+            ? com.google.analytics.admin.v1beta.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
@@ -2907,21 +3217,26 @@ public com.google.analytics.admin.v1beta.AccessFilterExpressionOrBuilder getMetr
      * .google.analytics.admin.v1beta.AccessFilterExpression metric_filter = 6;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.analytics.admin.v1beta.AccessFilterExpression, com.google.analytics.admin.v1beta.AccessFilterExpression.Builder, com.google.analytics.admin.v1beta.AccessFilterExpressionOrBuilder> 
+            com.google.analytics.admin.v1beta.AccessFilterExpression,
+            com.google.analytics.admin.v1beta.AccessFilterExpression.Builder,
+            com.google.analytics.admin.v1beta.AccessFilterExpressionOrBuilder>
         getMetricFilterFieldBuilder() {
       if (metricFilterBuilder_ == null) {
-        metricFilterBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.analytics.admin.v1beta.AccessFilterExpression, com.google.analytics.admin.v1beta.AccessFilterExpression.Builder, com.google.analytics.admin.v1beta.AccessFilterExpressionOrBuilder>(
-                getMetricFilter(),
-                getParentForChildren(),
-                isClean());
+        metricFilterBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.analytics.admin.v1beta.AccessFilterExpression,
+                com.google.analytics.admin.v1beta.AccessFilterExpression.Builder,
+                com.google.analytics.admin.v1beta.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
@@ -2932,6 +3247,7 @@ public com.google.analytics.admin.v1beta.AccessFilterExpressionOrBuilder getMetr
      * 
* * int64 offset = 7; + * * @return The offset. */ @java.lang.Override @@ -2939,6 +3255,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
@@ -2949,6 +3267,7 @@ public long getOffset() {
      * 
* * int64 offset = 7; + * * @param value The offset to set. * @return This builder for chaining. */ @@ -2960,6 +3279,8 @@ public Builder setOffset(long value) { 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
@@ -2970,6 +3291,7 @@ public Builder setOffset(long value) {
      * 
* * int64 offset = 7; + * * @return This builder for chaining. */ public Builder clearOffset() { @@ -2979,8 +3301,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
@@ -2997,6 +3321,7 @@ public Builder clearOffset() {
      * 
* * int64 limit = 8; + * * @return The limit. */ @java.lang.Override @@ -3004,6 +3329,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
@@ -3020,6 +3347,7 @@ public long getLimit() {
      * 
* * int64 limit = 8; + * * @param value The limit to set. * @return This builder for chaining. */ @@ -3031,6 +3359,8 @@ public Builder setLimit(long value) { 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
@@ -3047,6 +3377,7 @@ public Builder setLimit(long value) {
      * 
* * int64 limit = 8; + * * @return This builder for chaining. */ public Builder clearLimit() { @@ -3058,6 +3389,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
@@ -3069,13 +3402,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; @@ -3084,6 +3417,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
@@ -3095,15 +3430,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 { @@ -3111,6 +3445,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
@@ -3122,18 +3458,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
@@ -3145,6 +3485,7 @@ public Builder setTimeZone(
      * 
* * string time_zone = 9; + * * @return This builder for chaining. */ public Builder clearTimeZone() { @@ -3154,6 +3495,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
@@ -3165,12 +3508,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; @@ -3179,18 +3524,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.v1beta.AccessOrderBy, com.google.analytics.admin.v1beta.AccessOrderBy.Builder, com.google.analytics.admin.v1beta.AccessOrderByOrBuilder> orderBysBuilder_; + com.google.analytics.admin.v1beta.AccessOrderBy, + com.google.analytics.admin.v1beta.AccessOrderBy.Builder, + com.google.analytics.admin.v1beta.AccessOrderByOrBuilder> + orderBysBuilder_; /** + * + * *
      * Specifies how rows are ordered in the response.
      * 
@@ -3205,6 +3557,8 @@ public java.util.List getOrderB } } /** + * + * *
      * Specifies how rows are ordered in the response.
      * 
@@ -3219,6 +3573,8 @@ public int getOrderBysCount() { } } /** + * + * *
      * Specifies how rows are ordered in the response.
      * 
@@ -3233,14 +3589,15 @@ public com.google.analytics.admin.v1beta.AccessOrderBy getOrderBys(int index) { } } /** + * + * *
      * Specifies how rows are ordered in the response.
      * 
* * repeated .google.analytics.admin.v1beta.AccessOrderBy order_bys = 10; */ - public Builder setOrderBys( - int index, com.google.analytics.admin.v1beta.AccessOrderBy value) { + public Builder setOrderBys(int index, com.google.analytics.admin.v1beta.AccessOrderBy value) { if (orderBysBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3254,6 +3611,8 @@ public Builder setOrderBys( return this; } /** + * + * *
      * Specifies how rows are ordered in the response.
      * 
@@ -3272,6 +3631,8 @@ public Builder setOrderBys( return this; } /** + * + * *
      * Specifies how rows are ordered in the response.
      * 
@@ -3292,14 +3653,15 @@ public Builder addOrderBys(com.google.analytics.admin.v1beta.AccessOrderBy value return this; } /** + * + * *
      * Specifies how rows are ordered in the response.
      * 
* * repeated .google.analytics.admin.v1beta.AccessOrderBy order_bys = 10; */ - public Builder addOrderBys( - int index, com.google.analytics.admin.v1beta.AccessOrderBy value) { + public Builder addOrderBys(int index, com.google.analytics.admin.v1beta.AccessOrderBy value) { if (orderBysBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3313,6 +3675,8 @@ public Builder addOrderBys( return this; } /** + * + * *
      * Specifies how rows are ordered in the response.
      * 
@@ -3331,6 +3695,8 @@ public Builder addOrderBys( return this; } /** + * + * *
      * Specifies how rows are ordered in the response.
      * 
@@ -3349,6 +3715,8 @@ public Builder addOrderBys( return this; } /** + * + * *
      * Specifies how rows are ordered in the response.
      * 
@@ -3359,8 +3727,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); @@ -3368,6 +3735,8 @@ public Builder addAllOrderBys( return this; } /** + * + * *
      * Specifies how rows are ordered in the response.
      * 
@@ -3385,6 +3754,8 @@ public Builder clearOrderBys() { return this; } /** + * + * *
      * Specifies how rows are ordered in the response.
      * 
@@ -3402,17 +3773,20 @@ public Builder removeOrderBys(int index) { return this; } /** + * + * *
      * Specifies how rows are ordered in the response.
      * 
* * repeated .google.analytics.admin.v1beta.AccessOrderBy order_bys = 10; */ - public com.google.analytics.admin.v1beta.AccessOrderBy.Builder getOrderBysBuilder( - int index) { + public com.google.analytics.admin.v1beta.AccessOrderBy.Builder getOrderBysBuilder(int index) { return getOrderBysFieldBuilder().getBuilder(index); } /** + * + * *
      * Specifies how rows are ordered in the response.
      * 
@@ -3422,19 +3796,22 @@ public com.google.analytics.admin.v1beta.AccessOrderBy.Builder getOrderBysBuilde public com.google.analytics.admin.v1beta.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.v1beta.AccessOrderBy order_bys = 10; */ - public java.util.List - getOrderBysOrBuilderList() { + public java.util.List + getOrderBysOrBuilderList() { if (orderBysBuilder_ != null) { return orderBysBuilder_.getMessageOrBuilderList(); } else { @@ -3442,6 +3819,8 @@ public com.google.analytics.admin.v1beta.AccessOrderByOrBuilder getOrderBysOrBui } } /** + * + * *
      * Specifies how rows are ordered in the response.
      * 
@@ -3449,49 +3828,57 @@ public com.google.analytics.admin.v1beta.AccessOrderByOrBuilder getOrderBysOrBui * repeated .google.analytics.admin.v1beta.AccessOrderBy order_bys = 10; */ public com.google.analytics.admin.v1beta.AccessOrderBy.Builder addOrderBysBuilder() { - return getOrderBysFieldBuilder().addBuilder( - com.google.analytics.admin.v1beta.AccessOrderBy.getDefaultInstance()); + return getOrderBysFieldBuilder() + .addBuilder(com.google.analytics.admin.v1beta.AccessOrderBy.getDefaultInstance()); } /** + * + * *
      * Specifies how rows are ordered in the response.
      * 
* * repeated .google.analytics.admin.v1beta.AccessOrderBy order_bys = 10; */ - public com.google.analytics.admin.v1beta.AccessOrderBy.Builder addOrderBysBuilder( - int index) { - return getOrderBysFieldBuilder().addBuilder( - index, com.google.analytics.admin.v1beta.AccessOrderBy.getDefaultInstance()); + public com.google.analytics.admin.v1beta.AccessOrderBy.Builder addOrderBysBuilder(int index) { + return getOrderBysFieldBuilder() + .addBuilder(index, com.google.analytics.admin.v1beta.AccessOrderBy.getDefaultInstance()); } /** + * + * *
      * Specifies how rows are ordered in the response.
      * 
* * repeated .google.analytics.admin.v1beta.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.v1beta.AccessOrderBy, com.google.analytics.admin.v1beta.AccessOrderBy.Builder, com.google.analytics.admin.v1beta.AccessOrderByOrBuilder> + com.google.analytics.admin.v1beta.AccessOrderBy, + com.google.analytics.admin.v1beta.AccessOrderBy.Builder, + com.google.analytics.admin.v1beta.AccessOrderByOrBuilder> getOrderBysFieldBuilder() { if (orderBysBuilder_ == null) { - orderBysBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1beta.AccessOrderBy, com.google.analytics.admin.v1beta.AccessOrderBy.Builder, com.google.analytics.admin.v1beta.AccessOrderByOrBuilder>( - orderBys_, - ((bitField0_ & 0x00000200) != 0), - getParentForChildren(), - isClean()); + orderBysBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.analytics.admin.v1beta.AccessOrderBy, + com.google.analytics.admin.v1beta.AccessOrderBy.Builder, + com.google.analytics.admin.v1beta.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). For account-level
@@ -3499,6 +3886,7 @@ public com.google.analytics.admin.v1beta.AccessOrderBy.Builder addOrderBysBuilde
      * 
* * bool return_entity_quota = 11; + * * @return The returnEntityQuota. */ @java.lang.Override @@ -3506,6 +3894,8 @@ public boolean getReturnEntityQuota() { return returnEntityQuota_; } /** + * + * *
      * Toggles whether to return the current state of this Analytics Property's
      * quota. Quota is returned in [AccessQuota](#AccessQuota). For account-level
@@ -3513,6 +3903,7 @@ public boolean getReturnEntityQuota() {
      * 
* * bool return_entity_quota = 11; + * * @param value The returnEntityQuota to set. * @return This builder for chaining. */ @@ -3524,6 +3915,8 @@ public Builder setReturnEntityQuota(boolean value) { return this; } /** + * + * *
      * Toggles whether to return the current state of this Analytics Property's
      * quota. Quota is returned in [AccessQuota](#AccessQuota). For account-level
@@ -3531,6 +3924,7 @@ public Builder setReturnEntityQuota(boolean value) {
      * 
* * bool return_entity_quota = 11; + * * @return This builder for chaining. */ public Builder clearReturnEntityQuota() { @@ -3539,9 +3933,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); } @@ -3551,12 +3945,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1beta.RunAccessReportRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1beta.RunAccessReportRequest) private static final com.google.analytics.admin.v1beta.RunAccessReportRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1beta.RunAccessReportRequest(); } @@ -3565,27 +3959,27 @@ public static com.google.analytics.admin.v1beta.RunAccessReportRequest getDefaul 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; @@ -3600,6 +3994,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.analytics.admin.v1beta.RunAccessReportRequest 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/RunAccessReportRequestOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/RunAccessReportRequestOrBuilder.java similarity index 90% rename from owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/RunAccessReportRequestOrBuilder.java rename to java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/RunAccessReportRequestOrBuilder.java index 5174e87eda72..ad4234a83c7a 100644 --- a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/RunAccessReportRequestOrBuilder.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/RunAccessReportRequestOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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 RunAccessReportRequestOrBuilder extends +public interface RunAccessReportRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1beta.RunAccessReportRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The Data Access Report supports requesting at the property level or account
    * level. If requested at the account level, Data Access Reports include all
@@ -20,10 +38,13 @@ public interface RunAccessReportRequestOrBuilder extends
    * 
* * string entity = 1; + * * @return The entity. */ java.lang.String getEntity(); /** + * + * *
    * The Data Access Report supports requesting at the property level or account
    * level. If requested at the account level, Data Access Reports include all
@@ -36,12 +57,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.
@@ -49,9 +72,10 @@ public interface RunAccessReportRequestOrBuilder extends
    *
    * repeated .google.analytics.admin.v1beta.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.
@@ -61,6 +85,8 @@ public interface RunAccessReportRequestOrBuilder extends
    */
   com.google.analytics.admin.v1beta.AccessDimension getDimensions(int index);
   /**
+   *
+   *
    * 
    * The dimensions requested and displayed in the response. Requests are
    * allowed up to 9 dimensions.
@@ -70,6 +96,8 @@ public interface RunAccessReportRequestOrBuilder extends
    */
   int getDimensionsCount();
   /**
+   *
+   *
    * 
    * The dimensions requested and displayed in the response. Requests are
    * allowed up to 9 dimensions.
@@ -77,9 +105,11 @@ public interface RunAccessReportRequestOrBuilder extends
    *
    * repeated .google.analytics.admin.v1beta.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.
@@ -87,10 +117,11 @@ public interface RunAccessReportRequestOrBuilder extends
    *
    * repeated .google.analytics.admin.v1beta.AccessDimension dimensions = 2;
    */
-  com.google.analytics.admin.v1beta.AccessDimensionOrBuilder getDimensionsOrBuilder(
-      int index);
+  com.google.analytics.admin.v1beta.AccessDimensionOrBuilder getDimensionsOrBuilder(int index);
 
   /**
+   *
+   *
    * 
    * The metrics requested and displayed in the response. Requests are allowed
    * up to 10 metrics.
@@ -98,9 +129,10 @@ com.google.analytics.admin.v1beta.AccessDimensionOrBuilder getDimensionsOrBuilde
    *
    * repeated .google.analytics.admin.v1beta.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.
@@ -110,6 +142,8 @@ com.google.analytics.admin.v1beta.AccessDimensionOrBuilder getDimensionsOrBuilde
    */
   com.google.analytics.admin.v1beta.AccessMetric getMetrics(int index);
   /**
+   *
+   *
    * 
    * The metrics requested and displayed in the response. Requests are allowed
    * up to 10 metrics.
@@ -119,6 +153,8 @@ com.google.analytics.admin.v1beta.AccessDimensionOrBuilder getDimensionsOrBuilde
    */
   int getMetricsCount();
   /**
+   *
+   *
    * 
    * The metrics requested and displayed in the response. Requests are allowed
    * up to 10 metrics.
@@ -126,9 +162,11 @@ com.google.analytics.admin.v1beta.AccessDimensionOrBuilder getDimensionsOrBuilde
    *
    * repeated .google.analytics.admin.v1beta.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.
@@ -136,10 +174,11 @@ com.google.analytics.admin.v1beta.AccessDimensionOrBuilder getDimensionsOrBuilde
    *
    * repeated .google.analytics.admin.v1beta.AccessMetric metrics = 3;
    */
-  com.google.analytics.admin.v1beta.AccessMetricOrBuilder getMetricsOrBuilder(
-      int index);
+  com.google.analytics.admin.v1beta.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
@@ -150,9 +189,10 @@ com.google.analytics.admin.v1beta.AccessMetricOrBuilder getMetricsOrBuilder(
    *
    * repeated .google.analytics.admin.v1beta.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
@@ -165,6 +205,8 @@ com.google.analytics.admin.v1beta.AccessMetricOrBuilder getMetricsOrBuilder(
    */
   com.google.analytics.admin.v1beta.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
@@ -177,6 +219,8 @@ com.google.analytics.admin.v1beta.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
@@ -187,9 +231,11 @@ com.google.analytics.admin.v1beta.AccessMetricOrBuilder getMetricsOrBuilder(
    *
    * repeated .google.analytics.admin.v1beta.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
@@ -200,10 +246,11 @@ com.google.analytics.admin.v1beta.AccessMetricOrBuilder getMetricsOrBuilder(
    *
    * repeated .google.analytics.admin.v1beta.AccessDateRange date_ranges = 4;
    */
-  com.google.analytics.admin.v1beta.AccessDateRangeOrBuilder getDateRangesOrBuilder(
-      int index);
+  com.google.analytics.admin.v1beta.AccessDateRangeOrBuilder getDateRangesOrBuilder(int index);
 
   /**
+   *
+   *
    * 
    * Dimension filters let you restrict report response to specific
    * dimension values which match the filter. For example, filtering on access
@@ -213,10 +260,13 @@ com.google.analytics.admin.v1beta.AccessDateRangeOrBuilder getDateRangesOrBuilde
    * 
* * .google.analytics.admin.v1beta.AccessFilterExpression dimension_filter = 5; + * * @return Whether the dimensionFilter field is set. */ boolean hasDimensionFilter(); /** + * + * *
    * Dimension filters let you restrict report response to specific
    * dimension values which match the filter. For example, filtering on access
@@ -226,10 +276,13 @@ com.google.analytics.admin.v1beta.AccessDateRangeOrBuilder getDateRangesOrBuilde
    * 
* * .google.analytics.admin.v1beta.AccessFilterExpression dimension_filter = 5; + * * @return The dimensionFilter. */ com.google.analytics.admin.v1beta.AccessFilterExpression getDimensionFilter(); /** + * + * *
    * Dimension filters let you restrict report response to specific
    * dimension values which match the filter. For example, filtering on access
@@ -243,6 +296,8 @@ com.google.analytics.admin.v1beta.AccessDateRangeOrBuilder getDateRangesOrBuilde
   com.google.analytics.admin.v1beta.AccessFilterExpressionOrBuilder getDimensionFilterOrBuilder();
 
   /**
+   *
+   *
    * 
    * Metric filters allow you to restrict report response to specific metric
    * values which match the filter. Metric filters are applied after aggregating
@@ -251,10 +306,13 @@ com.google.analytics.admin.v1beta.AccessDateRangeOrBuilder getDateRangesOrBuilde
    * 
* * .google.analytics.admin.v1beta.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
@@ -263,10 +321,13 @@ com.google.analytics.admin.v1beta.AccessDateRangeOrBuilder getDateRangesOrBuilde
    * 
* * .google.analytics.admin.v1beta.AccessFilterExpression metric_filter = 6; + * * @return The metricFilter. */ com.google.analytics.admin.v1beta.AccessFilterExpression getMetricFilter(); /** + * + * *
    * Metric filters allow you to restrict report response to specific metric
    * values which match the filter. Metric filters are applied after aggregating
@@ -279,6 +340,8 @@ com.google.analytics.admin.v1beta.AccessDateRangeOrBuilder getDateRangesOrBuilde
   com.google.analytics.admin.v1beta.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
@@ -289,11 +352,14 @@ com.google.analytics.admin.v1beta.AccessDateRangeOrBuilder getDateRangesOrBuilde
    * 
* * 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
@@ -310,11 +376,14 @@ com.google.analytics.admin.v1beta.AccessDateRangeOrBuilder getDateRangesOrBuilde
    * 
* * 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
@@ -326,10 +395,13 @@ com.google.analytics.admin.v1beta.AccessDateRangeOrBuilder getDateRangesOrBuilde
    * 
* * 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
@@ -341,21 +413,24 @@ com.google.analytics.admin.v1beta.AccessDateRangeOrBuilder getDateRangesOrBuilde
    * 
* * 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.v1beta.AccessOrderBy order_bys = 10; */ - java.util.List - getOrderBysList(); + java.util.List getOrderBysList(); /** + * + * *
    * Specifies how rows are ordered in the response.
    * 
@@ -364,6 +439,8 @@ com.google.analytics.admin.v1beta.AccessDateRangeOrBuilder getDateRangesOrBuilde */ com.google.analytics.admin.v1beta.AccessOrderBy getOrderBys(int index); /** + * + * *
    * Specifies how rows are ordered in the response.
    * 
@@ -372,25 +449,30 @@ com.google.analytics.admin.v1beta.AccessDateRangeOrBuilder getDateRangesOrBuilde */ int getOrderBysCount(); /** + * + * *
    * Specifies how rows are ordered in the response.
    * 
* * repeated .google.analytics.admin.v1beta.AccessOrderBy order_bys = 10; */ - java.util.List + java.util.List getOrderBysOrBuilderList(); /** + * + * *
    * Specifies how rows are ordered in the response.
    * 
* * repeated .google.analytics.admin.v1beta.AccessOrderBy order_bys = 10; */ - com.google.analytics.admin.v1beta.AccessOrderByOrBuilder getOrderBysOrBuilder( - int index); + com.google.analytics.admin.v1beta.AccessOrderByOrBuilder getOrderBysOrBuilder(int index); /** + * + * *
    * Toggles whether to return the current state of this Analytics Property's
    * quota. Quota is returned in [AccessQuota](#AccessQuota). For account-level
@@ -398,6 +480,7 @@ com.google.analytics.admin.v1beta.AccessOrderByOrBuilder getOrderBysOrBuilder(
    * 
* * bool return_entity_quota = 11; + * * @return The returnEntityQuota. */ boolean getReturnEntityQuota(); diff --git a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/RunAccessReportResponse.java b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/RunAccessReportResponse.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/RunAccessReportResponse.java rename to java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/RunAccessReportResponse.java index d1bf4cc9faa3..a36f3fa33f1f 100644 --- a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/RunAccessReportResponse.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/RunAccessReportResponse.java @@ -1,24 +1,42 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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; /** + * + * *
  * The customized Data Access Record Report response.
  * 
* * Protobuf type {@code google.analytics.admin.v1beta.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.v1beta.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,99 +45,120 @@ private RunAccessReportResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new RunAccessReportResponse(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_RunAccessReportResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_RunAccessReportResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_RunAccessReportResponse_fieldAccessorTable + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_RunAccessReportResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.RunAccessReportResponse.class, com.google.analytics.admin.v1beta.RunAccessReportResponse.Builder.class); + com.google.analytics.admin.v1beta.RunAccessReportResponse.class, + com.google.analytics.admin.v1beta.RunAccessReportResponse.Builder.class); } public static final int DIMENSION_HEADERS_FIELD_NUMBER = 1; + @SuppressWarnings("serial") 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.v1beta.AccessDimensionHeader dimension_headers = 1; + * repeated .google.analytics.admin.v1beta.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.v1beta.AccessDimensionHeader dimension_headers = 1; + * repeated .google.analytics.admin.v1beta.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.v1beta.AccessDimensionHeader dimension_headers = 1; + * repeated .google.analytics.admin.v1beta.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.v1beta.AccessDimensionHeader dimension_headers = 1; + * repeated .google.analytics.admin.v1beta.AccessDimensionHeader dimension_headers = 1; + * */ @java.lang.Override public com.google.analytics.admin.v1beta.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.v1beta.AccessDimensionHeader dimension_headers = 1; + * repeated .google.analytics.admin.v1beta.AccessDimensionHeader dimension_headers = 1; + * */ @java.lang.Override - public com.google.analytics.admin.v1beta.AccessDimensionHeaderOrBuilder getDimensionHeadersOrBuilder( - int index) { + public com.google.analytics.admin.v1beta.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
@@ -129,10 +168,13 @@ public com.google.analytics.admin.v1beta.AccessDimensionHeaderOrBuilder getDimen
    * repeated .google.analytics.admin.v1beta.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
@@ -142,11 +184,13 @@ public java.util.List getM
    * repeated .google.analytics.admin.v1beta.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
@@ -160,6 +204,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
@@ -173,6 +219,8 @@ public com.google.analytics.admin.v1beta.AccessMetricHeader getMetricHeaders(int
     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
@@ -188,9 +236,12 @@ public com.google.analytics.admin.v1beta.AccessMetricHeaderOrBuilder getMetricHe
   }
 
   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.
    * 
@@ -202,6 +253,8 @@ public java.util.List getRowsList() return rows_; } /** + * + * *
    * Rows of dimension value combinations and metric values in the report.
    * 
@@ -209,11 +262,13 @@ public java.util.List getRowsList() * repeated .google.analytics.admin.v1beta.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.
    * 
@@ -225,6 +280,8 @@ public int getRowsCount() { return rows_.size(); } /** + * + * *
    * Rows of dimension value combinations and metric values in the report.
    * 
@@ -236,6 +293,8 @@ public com.google.analytics.admin.v1beta.AccessRow getRows(int index) { return rows_.get(index); } /** + * + * *
    * Rows of dimension value combinations and metric values in the report.
    * 
@@ -243,14 +302,15 @@ public com.google.analytics.admin.v1beta.AccessRow getRows(int index) { * repeated .google.analytics.admin.v1beta.AccessRow rows = 3; */ @java.lang.Override - public com.google.analytics.admin.v1beta.AccessRowOrBuilder getRowsOrBuilder( - int index) { + public com.google.analytics.admin.v1beta.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
@@ -263,6 +323,7 @@ public com.google.analytics.admin.v1beta.AccessRowOrBuilder getRowsOrBuilder(
    * 
* * int32 row_count = 4; + * * @return The rowCount. */ @java.lang.Override @@ -273,12 +334,15 @@ public int getRowCount() { public static final int QUOTA_FIELD_NUMBER = 5; private com.google.analytics.admin.v1beta.AccessQuota quota_; /** + * + * *
    * The quota state for this Analytics property including this request. This
    * field doesn't work with account-level requests.
    * 
* * .google.analytics.admin.v1beta.AccessQuota quota = 5; + * * @return Whether the quota field is set. */ @java.lang.Override @@ -286,19 +350,26 @@ public boolean hasQuota() { return quota_ != null; } /** + * + * *
    * The quota state for this Analytics property including this request. This
    * field doesn't work with account-level requests.
    * 
* * .google.analytics.admin.v1beta.AccessQuota quota = 5; + * * @return The quota. */ @java.lang.Override public com.google.analytics.admin.v1beta.AccessQuota getQuota() { - return quota_ == null ? com.google.analytics.admin.v1beta.AccessQuota.getDefaultInstance() : quota_; + return quota_ == null + ? com.google.analytics.admin.v1beta.AccessQuota.getDefaultInstance() + : quota_; } /** + * + * *
    * The quota state for this Analytics property including this request. This
    * field doesn't work with account-level requests.
@@ -308,10 +379,13 @@ public com.google.analytics.admin.v1beta.AccessQuota getQuota() {
    */
   @java.lang.Override
   public com.google.analytics.admin.v1beta.AccessQuotaOrBuilder getQuotaOrBuilder() {
-    return quota_ == null ? com.google.analytics.admin.v1beta.AccessQuota.getDefaultInstance() : quota_;
+    return quota_ == null
+        ? com.google.analytics.admin.v1beta.AccessQuota.getDefaultInstance()
+        : quota_;
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -323,8 +397,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  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));
     }
@@ -350,24 +423,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;
@@ -377,25 +445,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.RunAccessReportResponse)) {
       return super.equals(obj);
     }
-    com.google.analytics.admin.v1beta.RunAccessReportResponse other = (com.google.analytics.admin.v1beta.RunAccessReportResponse) obj;
+    com.google.analytics.admin.v1beta.RunAccessReportResponse other =
+        (com.google.analytics.admin.v1beta.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;
@@ -432,131 +496,136 @@ public int hashCode() {
   }
 
   public static com.google.analytics.admin.v1beta.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.v1beta.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.v1beta.RunAccessReportResponse parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.analytics.admin.v1beta.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.v1beta.RunAccessReportResponse parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.analytics.admin.v1beta.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.v1beta.RunAccessReportResponse parseFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+
+  public static com.google.analytics.admin.v1beta.RunAccessReportResponse parseFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.analytics.admin.v1beta.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.v1beta.RunAccessReportResponse parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+  public static com.google.analytics.admin.v1beta.RunAccessReportResponse parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
 
   public static com.google.analytics.admin.v1beta.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.v1beta.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.v1beta.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.v1beta.RunAccessReportResponse prototype) {
+
+  public static Builder newBuilder(
+      com.google.analytics.admin.v1beta.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.v1beta.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.v1beta.RunAccessReportResponse) com.google.analytics.admin.v1beta.RunAccessReportResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_RunAccessReportResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_RunAccessReportResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_RunAccessReportResponse_fieldAccessorTable + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_RunAccessReportResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.RunAccessReportResponse.class, com.google.analytics.admin.v1beta.RunAccessReportResponse.Builder.class); + com.google.analytics.admin.v1beta.RunAccessReportResponse.class, + com.google.analytics.admin.v1beta.RunAccessReportResponse.Builder.class); } // Construct using com.google.analytics.admin.v1beta.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(); @@ -592,9 +661,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_RunAccessReportResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_RunAccessReportResponse_descriptor; } @java.lang.Override @@ -613,14 +682,18 @@ public com.google.analytics.admin.v1beta.RunAccessReportResponse build() { @java.lang.Override public com.google.analytics.admin.v1beta.RunAccessReportResponse buildPartial() { - com.google.analytics.admin.v1beta.RunAccessReportResponse result = new com.google.analytics.admin.v1beta.RunAccessReportResponse(this); + com.google.analytics.admin.v1beta.RunAccessReportResponse result = + new com.google.analytics.admin.v1beta.RunAccessReportResponse(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartialRepeatedFields(com.google.analytics.admin.v1beta.RunAccessReportResponse result) { + private void buildPartialRepeatedFields( + com.google.analytics.admin.v1beta.RunAccessReportResponse result) { if (dimensionHeadersBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { dimensionHeaders_ = java.util.Collections.unmodifiableList(dimensionHeaders_); @@ -656,9 +729,7 @@ private void buildPartial0(com.google.analytics.admin.v1beta.RunAccessReportResp result.rowCount_ = rowCount_; } if (((from_bitField0_ & 0x00000010) != 0)) { - result.quota_ = quotaBuilder_ == null - ? quota_ - : quotaBuilder_.build(); + result.quota_ = quotaBuilder_ == null ? quota_ : quotaBuilder_.build(); } } @@ -666,38 +737,39 @@ private void buildPartial0(com.google.analytics.admin.v1beta.RunAccessReportResp public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object 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.RunAccessReportResponse) { - return mergeFrom((com.google.analytics.admin.v1beta.RunAccessReportResponse)other); + return mergeFrom((com.google.analytics.admin.v1beta.RunAccessReportResponse) other); } else { super.mergeFrom(other); return this; @@ -705,7 +777,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1beta.RunAccessReportResponse other) { - if (other == com.google.analytics.admin.v1beta.RunAccessReportResponse.getDefaultInstance()) return this; + if (other == com.google.analytics.admin.v1beta.RunAccessReportResponse.getDefaultInstance()) + return this; if (dimensionHeadersBuilder_ == null) { if (!other.dimensionHeaders_.isEmpty()) { if (dimensionHeaders_.isEmpty()) { @@ -724,9 +797,10 @@ public Builder mergeFrom(com.google.analytics.admin.v1beta.RunAccessReportRespon 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_); } @@ -750,9 +824,10 @@ public Builder mergeFrom(com.google.analytics.admin.v1beta.RunAccessReportRespon 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_); } @@ -776,9 +851,10 @@ public Builder mergeFrom(com.google.analytics.admin.v1beta.RunAccessReportRespon 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_); } @@ -816,63 +892,66 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - com.google.analytics.admin.v1beta.AccessDimensionHeader m = - input.readMessage( - com.google.analytics.admin.v1beta.AccessDimensionHeader.parser(), - extensionRegistry); - if (dimensionHeadersBuilder_ == null) { - ensureDimensionHeadersIsMutable(); - dimensionHeaders_.add(m); - } else { - dimensionHeadersBuilder_.addMessage(m); - } - break; - } // case 10 - case 18: { - com.google.analytics.admin.v1beta.AccessMetricHeader m = - input.readMessage( - com.google.analytics.admin.v1beta.AccessMetricHeader.parser(), - extensionRegistry); - if (metricHeadersBuilder_ == null) { - ensureMetricHeadersIsMutable(); - metricHeaders_.add(m); - } else { - metricHeadersBuilder_.addMessage(m); - } - break; - } // case 18 - case 26: { - com.google.analytics.admin.v1beta.AccessRow m = - input.readMessage( - com.google.analytics.admin.v1beta.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.v1beta.AccessDimensionHeader m = + input.readMessage( + com.google.analytics.admin.v1beta.AccessDimensionHeader.parser(), + extensionRegistry); + if (dimensionHeadersBuilder_ == null) { + ensureDimensionHeadersIsMutable(); + dimensionHeaders_.add(m); + } else { + dimensionHeadersBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: + { + com.google.analytics.admin.v1beta.AccessMetricHeader m = + input.readMessage( + com.google.analytics.admin.v1beta.AccessMetricHeader.parser(), + extensionRegistry); + if (metricHeadersBuilder_ == null) { + ensureMetricHeadersIsMutable(); + metricHeaders_.add(m); + } else { + metricHeadersBuilder_.addMessage(m); + } + break; + } // case 18 + case 26: + { + com.google.analytics.admin.v1beta.AccessRow m = + input.readMessage( + com.google.analytics.admin.v1beta.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) { @@ -882,30 +961,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.v1beta.AccessDimensionHeader, com.google.analytics.admin.v1beta.AccessDimensionHeader.Builder, com.google.analytics.admin.v1beta.AccessDimensionHeaderOrBuilder> dimensionHeadersBuilder_; + com.google.analytics.admin.v1beta.AccessDimensionHeader, + com.google.analytics.admin.v1beta.AccessDimensionHeader.Builder, + com.google.analytics.admin.v1beta.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.v1beta.AccessDimensionHeader dimension_headers = 1; + * repeated .google.analytics.admin.v1beta.AccessDimensionHeader dimension_headers = 1; + * */ - public java.util.List getDimensionHeadersList() { + public java.util.List + getDimensionHeadersList() { if (dimensionHeadersBuilder_ == null) { return java.util.Collections.unmodifiableList(dimensionHeaders_); } else { @@ -913,13 +1003,16 @@ public java.util.List g } } /** + * + * *
      * 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.v1beta.AccessDimensionHeader dimension_headers = 1; + * repeated .google.analytics.admin.v1beta.AccessDimensionHeader dimension_headers = 1; + * */ public int getDimensionHeadersCount() { if (dimensionHeadersBuilder_ == null) { @@ -929,13 +1022,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.v1beta.AccessDimensionHeader dimension_headers = 1; + * repeated .google.analytics.admin.v1beta.AccessDimensionHeader dimension_headers = 1; + * */ public com.google.analytics.admin.v1beta.AccessDimensionHeader getDimensionHeaders(int index) { if (dimensionHeadersBuilder_ == null) { @@ -945,13 +1041,16 @@ public com.google.analytics.admin.v1beta.AccessDimensionHeader getDimensionHeade } } /** + * + * *
      * 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.v1beta.AccessDimensionHeader dimension_headers = 1; + * repeated .google.analytics.admin.v1beta.AccessDimensionHeader dimension_headers = 1; + * */ public Builder setDimensionHeaders( int index, com.google.analytics.admin.v1beta.AccessDimensionHeader value) { @@ -968,16 +1067,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.v1beta.AccessDimensionHeader dimension_headers = 1; + * repeated .google.analytics.admin.v1beta.AccessDimensionHeader dimension_headers = 1; + * */ public Builder setDimensionHeaders( - int index, com.google.analytics.admin.v1beta.AccessDimensionHeader.Builder builderForValue) { + int index, + com.google.analytics.admin.v1beta.AccessDimensionHeader.Builder builderForValue) { if (dimensionHeadersBuilder_ == null) { ensureDimensionHeadersIsMutable(); dimensionHeaders_.set(index, builderForValue.build()); @@ -988,15 +1091,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.v1beta.AccessDimensionHeader dimension_headers = 1; + * repeated .google.analytics.admin.v1beta.AccessDimensionHeader dimension_headers = 1; + * */ - public Builder addDimensionHeaders(com.google.analytics.admin.v1beta.AccessDimensionHeader value) { + public Builder addDimensionHeaders( + com.google.analytics.admin.v1beta.AccessDimensionHeader value) { if (dimensionHeadersBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1010,13 +1117,16 @@ public Builder addDimensionHeaders(com.google.analytics.admin.v1beta.AccessDimen 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.v1beta.AccessDimensionHeader dimension_headers = 1; + * repeated .google.analytics.admin.v1beta.AccessDimensionHeader dimension_headers = 1; + * */ public Builder addDimensionHeaders( int index, com.google.analytics.admin.v1beta.AccessDimensionHeader value) { @@ -1033,13 +1143,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.v1beta.AccessDimensionHeader dimension_headers = 1; + * repeated .google.analytics.admin.v1beta.AccessDimensionHeader dimension_headers = 1; + * */ public Builder addDimensionHeaders( com.google.analytics.admin.v1beta.AccessDimensionHeader.Builder builderForValue) { @@ -1053,16 +1166,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.v1beta.AccessDimensionHeader dimension_headers = 1; + * repeated .google.analytics.admin.v1beta.AccessDimensionHeader dimension_headers = 1; + * */ public Builder addDimensionHeaders( - int index, com.google.analytics.admin.v1beta.AccessDimensionHeader.Builder builderForValue) { + int index, + com.google.analytics.admin.v1beta.AccessDimensionHeader.Builder builderForValue) { if (dimensionHeadersBuilder_ == null) { ensureDimensionHeadersIsMutable(); dimensionHeaders_.add(index, builderForValue.build()); @@ -1073,20 +1190,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.v1beta.AccessDimensionHeader dimension_headers = 1; + * repeated .google.analytics.admin.v1beta.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); @@ -1094,13 +1214,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.v1beta.AccessDimensionHeader dimension_headers = 1; + * repeated .google.analytics.admin.v1beta.AccessDimensionHeader dimension_headers = 1; + * */ public Builder clearDimensionHeaders() { if (dimensionHeadersBuilder_ == null) { @@ -1113,13 +1236,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.v1beta.AccessDimensionHeader dimension_headers = 1; + * repeated .google.analytics.admin.v1beta.AccessDimensionHeader dimension_headers = 1; + * */ public Builder removeDimensionHeaders(int index) { if (dimensionHeadersBuilder_ == null) { @@ -1132,45 +1258,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.v1beta.AccessDimensionHeader dimension_headers = 1; + * repeated .google.analytics.admin.v1beta.AccessDimensionHeader dimension_headers = 1; + * */ - public com.google.analytics.admin.v1beta.AccessDimensionHeader.Builder getDimensionHeadersBuilder( - int index) { + public com.google.analytics.admin.v1beta.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.v1beta.AccessDimensionHeader dimension_headers = 1; + * repeated .google.analytics.admin.v1beta.AccessDimensionHeader dimension_headers = 1; + * */ - public com.google.analytics.admin.v1beta.AccessDimensionHeaderOrBuilder getDimensionHeadersOrBuilder( - int index) { + public com.google.analytics.admin.v1beta.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.v1beta.AccessDimensionHeader dimension_headers = 1; + * repeated .google.analytics.admin.v1beta.AccessDimensionHeader dimension_headers = 1; + * */ - public java.util.List - getDimensionHeadersOrBuilderList() { + public java.util.List< + ? extends com.google.analytics.admin.v1beta.AccessDimensionHeaderOrBuilder> + getDimensionHeadersOrBuilderList() { if (dimensionHeadersBuilder_ != null) { return dimensionHeadersBuilder_.getMessageOrBuilderList(); } else { @@ -1178,51 +1315,68 @@ public com.google.analytics.admin.v1beta.AccessDimensionHeaderOrBuilder getDimen } } /** + * + * *
      * 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.v1beta.AccessDimensionHeader dimension_headers = 1; + * repeated .google.analytics.admin.v1beta.AccessDimensionHeader dimension_headers = 1; + * */ - public com.google.analytics.admin.v1beta.AccessDimensionHeader.Builder addDimensionHeadersBuilder() { - return getDimensionHeadersFieldBuilder().addBuilder( - com.google.analytics.admin.v1beta.AccessDimensionHeader.getDefaultInstance()); + public com.google.analytics.admin.v1beta.AccessDimensionHeader.Builder + addDimensionHeadersBuilder() { + return getDimensionHeadersFieldBuilder() + .addBuilder(com.google.analytics.admin.v1beta.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.v1beta.AccessDimensionHeader dimension_headers = 1; + * repeated .google.analytics.admin.v1beta.AccessDimensionHeader dimension_headers = 1; + * */ - public com.google.analytics.admin.v1beta.AccessDimensionHeader.Builder addDimensionHeadersBuilder( - int index) { - return getDimensionHeadersFieldBuilder().addBuilder( - index, com.google.analytics.admin.v1beta.AccessDimensionHeader.getDefaultInstance()); + public com.google.analytics.admin.v1beta.AccessDimensionHeader.Builder + addDimensionHeadersBuilder(int index) { + return getDimensionHeadersFieldBuilder() + .addBuilder( + index, com.google.analytics.admin.v1beta.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.v1beta.AccessDimensionHeader dimension_headers = 1; + * repeated .google.analytics.admin.v1beta.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.v1beta.AccessDimensionHeader, com.google.analytics.admin.v1beta.AccessDimensionHeader.Builder, com.google.analytics.admin.v1beta.AccessDimensionHeaderOrBuilder> + com.google.analytics.admin.v1beta.AccessDimensionHeader, + com.google.analytics.admin.v1beta.AccessDimensionHeader.Builder, + com.google.analytics.admin.v1beta.AccessDimensionHeaderOrBuilder> getDimensionHeadersFieldBuilder() { if (dimensionHeadersBuilder_ == null) { - dimensionHeadersBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1beta.AccessDimensionHeader, com.google.analytics.admin.v1beta.AccessDimensionHeader.Builder, com.google.analytics.admin.v1beta.AccessDimensionHeaderOrBuilder>( + dimensionHeadersBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.analytics.admin.v1beta.AccessDimensionHeader, + com.google.analytics.admin.v1beta.AccessDimensionHeader.Builder, + com.google.analytics.admin.v1beta.AccessDimensionHeaderOrBuilder>( dimensionHeaders_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -1233,18 +1387,26 @@ public com.google.analytics.admin.v1beta.AccessDimensionHeader.Builder addDimens } 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.v1beta.AccessMetricHeader, com.google.analytics.admin.v1beta.AccessMetricHeader.Builder, com.google.analytics.admin.v1beta.AccessMetricHeaderOrBuilder> metricHeadersBuilder_; + com.google.analytics.admin.v1beta.AccessMetricHeader, + com.google.analytics.admin.v1beta.AccessMetricHeader.Builder, + com.google.analytics.admin.v1beta.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
@@ -1253,7 +1415,8 @@ private void ensureMetricHeadersIsMutable() {
      *
      * repeated .google.analytics.admin.v1beta.AccessMetricHeader metric_headers = 2;
      */
-    public java.util.List getMetricHeadersList() {
+    public java.util.List
+        getMetricHeadersList() {
       if (metricHeadersBuilder_ == null) {
         return java.util.Collections.unmodifiableList(metricHeaders_);
       } else {
@@ -1261,6 +1424,8 @@ public java.util.List getM
       }
     }
     /**
+     *
+     *
      * 
      * The header for a column in the report that corresponds to a specific
      * metric. The number of MetricHeaders and ordering of MetricHeaders matches
@@ -1277,6 +1442,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
@@ -1293,6 +1460,8 @@ public com.google.analytics.admin.v1beta.AccessMetricHeader getMetricHeaders(int
       }
     }
     /**
+     *
+     *
      * 
      * The header for a column in the report that corresponds to a specific
      * metric. The number of MetricHeaders and ordering of MetricHeaders matches
@@ -1316,6 +1485,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
@@ -1336,6 +1507,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
@@ -1358,6 +1531,8 @@ public Builder addMetricHeaders(com.google.analytics.admin.v1beta.AccessMetricHe
       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
@@ -1381,6 +1556,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
@@ -1401,6 +1578,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
@@ -1421,6 +1600,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
@@ -1433,8 +1614,7 @@ public Builder addAllMetricHeaders(
         java.lang.Iterable values) {
       if (metricHeadersBuilder_ == null) {
         ensureMetricHeadersIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(
-            values, metricHeaders_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, metricHeaders_);
         onChanged();
       } else {
         metricHeadersBuilder_.addAllMessages(values);
@@ -1442,6 +1622,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
@@ -1461,6 +1643,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
@@ -1480,6 +1664,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
@@ -1493,6 +1679,8 @@ public com.google.analytics.admin.v1beta.AccessMetricHeader.Builder getMetricHea
       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
@@ -1504,11 +1692,14 @@ public com.google.analytics.admin.v1beta.AccessMetricHeader.Builder getMetricHea
     public com.google.analytics.admin.v1beta.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
@@ -1517,8 +1708,8 @@ public com.google.analytics.admin.v1beta.AccessMetricHeaderOrBuilder getMetricHe
      *
      * repeated .google.analytics.admin.v1beta.AccessMetricHeader metric_headers = 2;
      */
-    public java.util.List 
-         getMetricHeadersOrBuilderList() {
+    public java.util.List
+        getMetricHeadersOrBuilderList() {
       if (metricHeadersBuilder_ != null) {
         return metricHeadersBuilder_.getMessageOrBuilderList();
       } else {
@@ -1526,6 +1717,8 @@ public com.google.analytics.admin.v1beta.AccessMetricHeaderOrBuilder getMetricHe
       }
     }
     /**
+     *
+     *
      * 
      * The header for a column in the report that corresponds to a specific
      * metric. The number of MetricHeaders and ordering of MetricHeaders matches
@@ -1535,10 +1728,12 @@ public com.google.analytics.admin.v1beta.AccessMetricHeaderOrBuilder getMetricHe
      * repeated .google.analytics.admin.v1beta.AccessMetricHeader metric_headers = 2;
      */
     public com.google.analytics.admin.v1beta.AccessMetricHeader.Builder addMetricHeadersBuilder() {
-      return getMetricHeadersFieldBuilder().addBuilder(
-          com.google.analytics.admin.v1beta.AccessMetricHeader.getDefaultInstance());
+      return getMetricHeadersFieldBuilder()
+          .addBuilder(com.google.analytics.admin.v1beta.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
@@ -1549,10 +1744,13 @@ public com.google.analytics.admin.v1beta.AccessMetricHeader.Builder addMetricHea
      */
     public com.google.analytics.admin.v1beta.AccessMetricHeader.Builder addMetricHeadersBuilder(
         int index) {
-      return getMetricHeadersFieldBuilder().addBuilder(
-          index, com.google.analytics.admin.v1beta.AccessMetricHeader.getDefaultInstance());
+      return getMetricHeadersFieldBuilder()
+          .addBuilder(
+              index, com.google.analytics.admin.v1beta.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
@@ -1561,16 +1759,22 @@ public com.google.analytics.admin.v1beta.AccessMetricHeader.Builder addMetricHea
      *
      * repeated .google.analytics.admin.v1beta.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.v1beta.AccessMetricHeader, com.google.analytics.admin.v1beta.AccessMetricHeader.Builder, com.google.analytics.admin.v1beta.AccessMetricHeaderOrBuilder> 
+            com.google.analytics.admin.v1beta.AccessMetricHeader,
+            com.google.analytics.admin.v1beta.AccessMetricHeader.Builder,
+            com.google.analytics.admin.v1beta.AccessMetricHeaderOrBuilder>
         getMetricHeadersFieldBuilder() {
       if (metricHeadersBuilder_ == null) {
-        metricHeadersBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.analytics.admin.v1beta.AccessMetricHeader, com.google.analytics.admin.v1beta.AccessMetricHeader.Builder, com.google.analytics.admin.v1beta.AccessMetricHeaderOrBuilder>(
+        metricHeadersBuilder_ =
+            new com.google.protobuf.RepeatedFieldBuilderV3<
+                com.google.analytics.admin.v1beta.AccessMetricHeader,
+                com.google.analytics.admin.v1beta.AccessMetricHeader.Builder,
+                com.google.analytics.admin.v1beta.AccessMetricHeaderOrBuilder>(
                 metricHeaders_,
                 ((bitField0_ & 0x00000002) != 0),
                 getParentForChildren(),
@@ -1581,18 +1785,24 @@ public com.google.analytics.admin.v1beta.AccessMetricHeader.Builder addMetricHea
     }
 
     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.v1beta.AccessRow, com.google.analytics.admin.v1beta.AccessRow.Builder, com.google.analytics.admin.v1beta.AccessRowOrBuilder> rowsBuilder_;
+            com.google.analytics.admin.v1beta.AccessRow,
+            com.google.analytics.admin.v1beta.AccessRow.Builder,
+            com.google.analytics.admin.v1beta.AccessRowOrBuilder>
+        rowsBuilder_;
 
     /**
+     *
+     *
      * 
      * Rows of dimension value combinations and metric values in the report.
      * 
@@ -1607,6 +1817,8 @@ public java.util.List getRowsList() } } /** + * + * *
      * Rows of dimension value combinations and metric values in the report.
      * 
@@ -1621,6 +1833,8 @@ public int getRowsCount() { } } /** + * + * *
      * Rows of dimension value combinations and metric values in the report.
      * 
@@ -1635,14 +1849,15 @@ public com.google.analytics.admin.v1beta.AccessRow getRows(int index) { } } /** + * + * *
      * Rows of dimension value combinations and metric values in the report.
      * 
* * repeated .google.analytics.admin.v1beta.AccessRow rows = 3; */ - public Builder setRows( - int index, com.google.analytics.admin.v1beta.AccessRow value) { + public Builder setRows(int index, com.google.analytics.admin.v1beta.AccessRow value) { if (rowsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1656,6 +1871,8 @@ public Builder setRows( return this; } /** + * + * *
      * Rows of dimension value combinations and metric values in the report.
      * 
@@ -1674,6 +1891,8 @@ public Builder setRows( return this; } /** + * + * *
      * Rows of dimension value combinations and metric values in the report.
      * 
@@ -1694,14 +1913,15 @@ public Builder addRows(com.google.analytics.admin.v1beta.AccessRow value) { return this; } /** + * + * *
      * Rows of dimension value combinations and metric values in the report.
      * 
* * repeated .google.analytics.admin.v1beta.AccessRow rows = 3; */ - public Builder addRows( - int index, com.google.analytics.admin.v1beta.AccessRow value) { + public Builder addRows(int index, com.google.analytics.admin.v1beta.AccessRow value) { if (rowsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1715,14 +1935,15 @@ public Builder addRows( return this; } /** + * + * *
      * Rows of dimension value combinations and metric values in the report.
      * 
* * repeated .google.analytics.admin.v1beta.AccessRow rows = 3; */ - public Builder addRows( - com.google.analytics.admin.v1beta.AccessRow.Builder builderForValue) { + public Builder addRows(com.google.analytics.admin.v1beta.AccessRow.Builder builderForValue) { if (rowsBuilder_ == null) { ensureRowsIsMutable(); rows_.add(builderForValue.build()); @@ -1733,6 +1954,8 @@ public Builder addRows( return this; } /** + * + * *
      * Rows of dimension value combinations and metric values in the report.
      * 
@@ -1751,6 +1974,8 @@ public Builder addRows( return this; } /** + * + * *
      * Rows of dimension value combinations and metric values in the report.
      * 
@@ -1761,8 +1986,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); @@ -1770,6 +1994,8 @@ public Builder addAllRows( return this; } /** + * + * *
      * Rows of dimension value combinations and metric values in the report.
      * 
@@ -1787,6 +2013,8 @@ public Builder clearRows() { return this; } /** + * + * *
      * Rows of dimension value combinations and metric values in the report.
      * 
@@ -1804,39 +2032,44 @@ public Builder removeRows(int index) { return this; } /** + * + * *
      * Rows of dimension value combinations and metric values in the report.
      * 
* * repeated .google.analytics.admin.v1beta.AccessRow rows = 3; */ - public com.google.analytics.admin.v1beta.AccessRow.Builder getRowsBuilder( - int index) { + public com.google.analytics.admin.v1beta.AccessRow.Builder getRowsBuilder(int index) { return getRowsFieldBuilder().getBuilder(index); } /** + * + * *
      * Rows of dimension value combinations and metric values in the report.
      * 
* * repeated .google.analytics.admin.v1beta.AccessRow rows = 3; */ - public com.google.analytics.admin.v1beta.AccessRowOrBuilder getRowsOrBuilder( - int index) { + public com.google.analytics.admin.v1beta.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.v1beta.AccessRow rows = 3; */ - public java.util.List - getRowsOrBuilderList() { + public java.util.List + getRowsOrBuilderList() { if (rowsBuilder_ != null) { return rowsBuilder_.getMessageOrBuilderList(); } else { @@ -1844,6 +2077,8 @@ public com.google.analytics.admin.v1beta.AccessRowOrBuilder getRowsOrBuilder( } } /** + * + * *
      * Rows of dimension value combinations and metric values in the report.
      * 
@@ -1851,49 +2086,57 @@ public com.google.analytics.admin.v1beta.AccessRowOrBuilder getRowsOrBuilder( * repeated .google.analytics.admin.v1beta.AccessRow rows = 3; */ public com.google.analytics.admin.v1beta.AccessRow.Builder addRowsBuilder() { - return getRowsFieldBuilder().addBuilder( - com.google.analytics.admin.v1beta.AccessRow.getDefaultInstance()); + return getRowsFieldBuilder() + .addBuilder(com.google.analytics.admin.v1beta.AccessRow.getDefaultInstance()); } /** + * + * *
      * Rows of dimension value combinations and metric values in the report.
      * 
* * repeated .google.analytics.admin.v1beta.AccessRow rows = 3; */ - public com.google.analytics.admin.v1beta.AccessRow.Builder addRowsBuilder( - int index) { - return getRowsFieldBuilder().addBuilder( - index, com.google.analytics.admin.v1beta.AccessRow.getDefaultInstance()); + public com.google.analytics.admin.v1beta.AccessRow.Builder addRowsBuilder(int index) { + return getRowsFieldBuilder() + .addBuilder(index, com.google.analytics.admin.v1beta.AccessRow.getDefaultInstance()); } /** + * + * *
      * Rows of dimension value combinations and metric values in the report.
      * 
* * repeated .google.analytics.admin.v1beta.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.v1beta.AccessRow, com.google.analytics.admin.v1beta.AccessRow.Builder, com.google.analytics.admin.v1beta.AccessRowOrBuilder> + com.google.analytics.admin.v1beta.AccessRow, + com.google.analytics.admin.v1beta.AccessRow.Builder, + com.google.analytics.admin.v1beta.AccessRowOrBuilder> getRowsFieldBuilder() { if (rowsBuilder_ == null) { - rowsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.analytics.admin.v1beta.AccessRow, com.google.analytics.admin.v1beta.AccessRow.Builder, com.google.analytics.admin.v1beta.AccessRowOrBuilder>( - rows_, - ((bitField0_ & 0x00000004) != 0), - getParentForChildren(), - isClean()); + rowsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.analytics.admin.v1beta.AccessRow, + com.google.analytics.admin.v1beta.AccessRow.Builder, + com.google.analytics.admin.v1beta.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
@@ -1906,6 +2149,7 @@ public com.google.analytics.admin.v1beta.AccessRow.Builder addRowsBuilder(
      * 
* * int32 row_count = 4; + * * @return The rowCount. */ @java.lang.Override @@ -1913,6 +2157,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
@@ -1925,6 +2171,7 @@ public int getRowCount() {
      * 
* * int32 row_count = 4; + * * @param value The rowCount to set. * @return This builder for chaining. */ @@ -1936,6 +2183,8 @@ public Builder setRowCount(int value) { 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
@@ -1948,6 +2197,7 @@ public Builder setRowCount(int value) {
      * 
* * int32 row_count = 4; + * * @return This builder for chaining. */ public Builder clearRowCount() { @@ -1959,36 +2209,49 @@ public Builder clearRowCount() { private com.google.analytics.admin.v1beta.AccessQuota quota_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.analytics.admin.v1beta.AccessQuota, com.google.analytics.admin.v1beta.AccessQuota.Builder, com.google.analytics.admin.v1beta.AccessQuotaOrBuilder> quotaBuilder_; + com.google.analytics.admin.v1beta.AccessQuota, + com.google.analytics.admin.v1beta.AccessQuota.Builder, + com.google.analytics.admin.v1beta.AccessQuotaOrBuilder> + quotaBuilder_; /** + * + * *
      * The quota state for this Analytics property including this request. This
      * field doesn't work with account-level requests.
      * 
* * .google.analytics.admin.v1beta.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. This
      * field doesn't work with account-level requests.
      * 
* * .google.analytics.admin.v1beta.AccessQuota quota = 5; + * * @return The quota. */ public com.google.analytics.admin.v1beta.AccessQuota getQuota() { if (quotaBuilder_ == null) { - return quota_ == null ? com.google.analytics.admin.v1beta.AccessQuota.getDefaultInstance() : quota_; + return quota_ == null + ? com.google.analytics.admin.v1beta.AccessQuota.getDefaultInstance() + : quota_; } else { return quotaBuilder_.getMessage(); } } /** + * + * *
      * The quota state for this Analytics property including this request. This
      * field doesn't work with account-level requests.
@@ -2010,6 +2273,8 @@ public Builder setQuota(com.google.analytics.admin.v1beta.AccessQuota value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The quota state for this Analytics property including this request. This
      * field doesn't work with account-level requests.
@@ -2017,8 +2282,7 @@ public Builder setQuota(com.google.analytics.admin.v1beta.AccessQuota value) {
      *
      * .google.analytics.admin.v1beta.AccessQuota quota = 5;
      */
-    public Builder setQuota(
-        com.google.analytics.admin.v1beta.AccessQuota.Builder builderForValue) {
+    public Builder setQuota(com.google.analytics.admin.v1beta.AccessQuota.Builder builderForValue) {
       if (quotaBuilder_ == null) {
         quota_ = builderForValue.build();
       } else {
@@ -2029,6 +2293,8 @@ public Builder setQuota(
       return this;
     }
     /**
+     *
+     *
      * 
      * The quota state for this Analytics property including this request. This
      * field doesn't work with account-level requests.
@@ -2038,9 +2304,9 @@ public Builder setQuota(
      */
     public Builder mergeQuota(com.google.analytics.admin.v1beta.AccessQuota value) {
       if (quotaBuilder_ == null) {
-        if (((bitField0_ & 0x00000010) != 0) &&
-          quota_ != null &&
-          quota_ != com.google.analytics.admin.v1beta.AccessQuota.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000010) != 0)
+            && quota_ != null
+            && quota_ != com.google.analytics.admin.v1beta.AccessQuota.getDefaultInstance()) {
           getQuotaBuilder().mergeFrom(value);
         } else {
           quota_ = value;
@@ -2053,6 +2319,8 @@ public Builder mergeQuota(com.google.analytics.admin.v1beta.AccessQuota value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The quota state for this Analytics property including this request. This
      * field doesn't work with account-level requests.
@@ -2071,6 +2339,8 @@ public Builder clearQuota() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The quota state for this Analytics property including this request. This
      * field doesn't work with account-level requests.
@@ -2084,6 +2354,8 @@ public com.google.analytics.admin.v1beta.AccessQuota.Builder getQuotaBuilder() {
       return getQuotaFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The quota state for this Analytics property including this request. This
      * field doesn't work with account-level requests.
@@ -2095,11 +2367,14 @@ public com.google.analytics.admin.v1beta.AccessQuotaOrBuilder getQuotaOrBuilder(
       if (quotaBuilder_ != null) {
         return quotaBuilder_.getMessageOrBuilder();
       } else {
-        return quota_ == null ?
-            com.google.analytics.admin.v1beta.AccessQuota.getDefaultInstance() : quota_;
+        return quota_ == null
+            ? com.google.analytics.admin.v1beta.AccessQuota.getDefaultInstance()
+            : quota_;
       }
     }
     /**
+     *
+     *
      * 
      * The quota state for this Analytics property including this request. This
      * field doesn't work with account-level requests.
@@ -2108,21 +2383,24 @@ public com.google.analytics.admin.v1beta.AccessQuotaOrBuilder getQuotaOrBuilder(
      * .google.analytics.admin.v1beta.AccessQuota quota = 5;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.analytics.admin.v1beta.AccessQuota, com.google.analytics.admin.v1beta.AccessQuota.Builder, com.google.analytics.admin.v1beta.AccessQuotaOrBuilder> 
+            com.google.analytics.admin.v1beta.AccessQuota,
+            com.google.analytics.admin.v1beta.AccessQuota.Builder,
+            com.google.analytics.admin.v1beta.AccessQuotaOrBuilder>
         getQuotaFieldBuilder() {
       if (quotaBuilder_ == null) {
-        quotaBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.analytics.admin.v1beta.AccessQuota, com.google.analytics.admin.v1beta.AccessQuota.Builder, com.google.analytics.admin.v1beta.AccessQuotaOrBuilder>(
-                getQuota(),
-                getParentForChildren(),
-                isClean());
+        quotaBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.analytics.admin.v1beta.AccessQuota,
+                com.google.analytics.admin.v1beta.AccessQuota.Builder,
+                com.google.analytics.admin.v1beta.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);
     }
 
@@ -2132,12 +2410,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1beta.RunAccessReportResponse)
   }
 
   // @@protoc_insertion_point(class_scope:google.analytics.admin.v1beta.RunAccessReportResponse)
   private static final com.google.analytics.admin.v1beta.RunAccessReportResponse DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.analytics.admin.v1beta.RunAccessReportResponse();
   }
@@ -2146,27 +2424,27 @@ public static com.google.analytics.admin.v1beta.RunAccessReportResponse getDefau
     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;
@@ -2181,6 +2459,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.analytics.admin.v1beta.RunAccessReportResponse 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/RunAccessReportResponseOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/RunAccessReportResponseOrBuilder.java
similarity index 84%
rename from owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/RunAccessReportResponseOrBuilder.java
rename to java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/RunAccessReportResponseOrBuilder.java
index adcf4866e4dd..53902962941d 100644
--- a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/RunAccessReportResponseOrBuilder.java
+++ b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/RunAccessReportResponseOrBuilder.java
@@ -1,67 +1,99 @@
+/*
+ * Copyright 2023 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for 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 RunAccessReportResponseOrBuilder extends
+public interface RunAccessReportResponseOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1beta.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.v1beta.AccessDimensionHeader dimension_headers = 1; + * repeated .google.analytics.admin.v1beta.AccessDimensionHeader dimension_headers = 1; + * */ - java.util.List - getDimensionHeadersList(); + 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.v1beta.AccessDimensionHeader dimension_headers = 1; + * repeated .google.analytics.admin.v1beta.AccessDimensionHeader dimension_headers = 1; + * */ com.google.analytics.admin.v1beta.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.v1beta.AccessDimensionHeader dimension_headers = 1; + * repeated .google.analytics.admin.v1beta.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.v1beta.AccessDimensionHeader dimension_headers = 1; + * repeated .google.analytics.admin.v1beta.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.v1beta.AccessDimensionHeader dimension_headers = 1; + * repeated .google.analytics.admin.v1beta.AccessDimensionHeader dimension_headers = 1; + * */ com.google.analytics.admin.v1beta.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 +102,10 @@ com.google.analytics.admin.v1beta.AccessDimensionHeaderOrBuilder getDimensionHea
    *
    * repeated .google.analytics.admin.v1beta.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 +116,8 @@ com.google.analytics.admin.v1beta.AccessDimensionHeaderOrBuilder getDimensionHea
    */
   com.google.analytics.admin.v1beta.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 +128,8 @@ com.google.analytics.admin.v1beta.AccessDimensionHeaderOrBuilder getDimensionHea
    */
   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 +138,11 @@ com.google.analytics.admin.v1beta.AccessDimensionHeaderOrBuilder getDimensionHea
    *
    * repeated .google.analytics.admin.v1beta.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 +155,18 @@ com.google.analytics.admin.v1beta.AccessMetricHeaderOrBuilder getMetricHeadersOr
       int index);
 
   /**
+   *
+   *
    * 
    * Rows of dimension value combinations and metric values in the report.
    * 
* * repeated .google.analytics.admin.v1beta.AccessRow rows = 3; */ - java.util.List - getRowsList(); + java.util.List getRowsList(); /** + * + * *
    * Rows of dimension value combinations and metric values in the report.
    * 
@@ -133,6 +175,8 @@ com.google.analytics.admin.v1beta.AccessMetricHeaderOrBuilder getMetricHeadersOr */ com.google.analytics.admin.v1beta.AccessRow getRows(int index); /** + * + * *
    * Rows of dimension value combinations and metric values in the report.
    * 
@@ -141,25 +185,30 @@ com.google.analytics.admin.v1beta.AccessMetricHeaderOrBuilder getMetricHeadersOr */ int getRowsCount(); /** + * + * *
    * Rows of dimension value combinations and metric values in the report.
    * 
* * repeated .google.analytics.admin.v1beta.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.v1beta.AccessRow rows = 3; */ - com.google.analytics.admin.v1beta.AccessRowOrBuilder getRowsOrBuilder( - int index); + com.google.analytics.admin.v1beta.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
@@ -172,31 +221,40 @@ com.google.analytics.admin.v1beta.AccessRowOrBuilder getRowsOrBuilder(
    * 
* * int32 row_count = 4; + * * @return The rowCount. */ int getRowCount(); /** + * + * *
    * The quota state for this Analytics property including this request. This
    * field doesn't work with account-level requests.
    * 
* * .google.analytics.admin.v1beta.AccessQuota quota = 5; + * * @return Whether the quota field is set. */ boolean hasQuota(); /** + * + * *
    * The quota state for this Analytics property including this request. This
    * field doesn't work with account-level requests.
    * 
* * .google.analytics.admin.v1beta.AccessQuota quota = 5; + * * @return The quota. */ com.google.analytics.admin.v1beta.AccessQuota getQuota(); /** + * + * *
    * The quota state for this Analytics property including this request. This
    * field doesn't work with account-level requests.
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 a26c850beeff..44bfe1aec57b 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,64 +1,89 @@
+/*
+ * Copyright 2023 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for 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_ = ""; resourceType_ = java.util.Collections.emptyList(); action_ = java.util.Collections.emptyList(); - actorEmail_ = - com.google.protobuf.LazyStringArrayList.emptyList(); + actorEmail_ = com.google.protobuf.LazyStringArrayList.emptyList(); pageToken_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new SearchChangeHistoryEventsRequest(); } - 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 @@ -67,30 +92,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 { @@ -99,15 +126,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 @@ -116,30 +149,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 { @@ -148,38 +183,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 @@ -187,12 +241,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. */ @@ -201,26 +260,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. */ @@ -228,41 +296,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 @@ -270,12 +356,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. */ @@ -284,26 +375,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. */ @@ -311,44 +411,54 @@ 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.LazyStringArrayList actorEmail_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** + * + * *
    * 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. */ @@ -356,28 +466,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 @@ -385,37 +502,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 @@ -423,32 +558,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
@@ -457,6 +607,7 @@ public com.google.protobuf.TimestampOrBuilder getLatestChangeTimeOrBuilder() {
    * 
* * int32 page_size = 8 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ @java.lang.Override @@ -465,9 +616,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
@@ -477,6 +631,7 @@ public int getPageSize() {
    * 
* * string page_token = 9 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageToken. */ @java.lang.Override @@ -485,14 +640,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
@@ -502,16 +658,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 { @@ -520,6 +675,7 @@ public java.lang.String getPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -531,8 +687,7 @@ public final boolean isInitialized() { } @java.lang.Override - 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_); @@ -587,26 +742,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; @@ -617,16 +773,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_); @@ -639,35 +792,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; } @@ -713,131 +860,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(); @@ -848,8 +1002,7 @@ public Builder clear() { bitField0_ = (bitField0_ & ~0x00000004); action_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000008); - actorEmail_ = - com.google.protobuf.LazyStringArrayList.emptyList(); + actorEmail_ = com.google.protobuf.LazyStringArrayList.emptyList(); earliestChangeTime_ = null; if (earliestChangeTimeBuilder_ != null) { earliestChangeTimeBuilder_.dispose(); @@ -866,14 +1019,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 @@ -887,14 +1042,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); @@ -907,7 +1066,8 @@ private void buildPartialRepeatedFields(com.google.analytics.admin.v1beta.Search result.action_ = action_; } - 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_; @@ -920,14 +1080,14 @@ private void buildPartial0(com.google.analytics.admin.v1beta.SearchChangeHistory result.actorEmail_ = actorEmail_; } 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_; @@ -941,46 +1101,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; @@ -1061,86 +1226,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) { @@ -1150,23 +1325,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; @@ -1175,21 +1355,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 { @@ -1197,30 +1380,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() { @@ -1230,18 +1424,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; @@ -1251,19 +1451,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; @@ -1272,21 +1476,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 { @@ -1294,30 +1501,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() { @@ -1327,18 +1545,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; @@ -1346,8 +1570,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_); @@ -1355,37 +1579,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. */ @@ -1393,12 +1634,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. @@ -1414,16 +1660,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(); } @@ -1433,17 +1685,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()); @@ -1452,12 +1710,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() { @@ -1467,25 +1730,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. */ @@ -1493,30 +1765,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. */ @@ -1527,17 +1808,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); @@ -1546,8 +1831,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_); @@ -1555,37 +1840,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. */ @@ -1593,18 +1894,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(); } @@ -1614,12 +1919,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. */ @@ -1633,12 +1943,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. */ @@ -1652,12 +1967,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() { @@ -1667,25 +1987,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. */ @@ -1693,30 +2022,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. */ @@ -1727,17 +2065,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); @@ -1748,6 +2090,7 @@ public Builder addAllActionValue( private com.google.protobuf.LazyStringArrayList actorEmail_ = com.google.protobuf.LazyStringArrayList.emptyList(); + private void ensureActorEmailIsMutable() { if (!actorEmail_.isModifiable()) { actorEmail_ = new com.google.protobuf.LazyStringArrayList(actorEmail_); @@ -1755,38 +2098,46 @@ private void ensureActorEmailIsMutable() { 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() { actorEmail_.makeImmutable(); 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. */ @@ -1794,33 +2145,39 @@ 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); bitField0_ |= 0x00000010; @@ -1828,18 +2185,22 @@ public Builder setActorEmail( 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); bitField0_ |= 0x00000010; @@ -1847,53 +2208,61 @@ public Builder addActorEmail( 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_); bitField0_ |= 0x00000010; 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() { - actorEmail_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000010);; + actorEmail_ = com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000010); + ; 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 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); @@ -1904,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) { @@ -1952,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 { @@ -1970,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; @@ -1993,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); @@ -2010,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; @@ -2022,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_; @@ -2059,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) { @@ -2107,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 { @@ -2125,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; @@ -2148,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); @@ -2165,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; @@ -2177,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
@@ -2222,6 +2685,7 @@ public com.google.protobuf.TimestampOrBuilder getLatestChangeTimeOrBuilder() {
      * 
* * int32 page_size = 8 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ @java.lang.Override @@ -2229,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
@@ -2237,6 +2703,7 @@ public int getPageSize() {
      * 
* * int32 page_size = 8 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The pageSize to set. * @return This builder for chaining. */ @@ -2248,6 +2715,8 @@ public Builder setPageSize(int value) { return this; } /** + * + * *
      * Optional. The maximum number of ChangeHistoryEvent items to return.
      * The service may return fewer than this value, even if there are additional
@@ -2256,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() { @@ -2267,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
@@ -2276,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; @@ -2291,6 +2763,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * Optional. A page token, received from a previous
      * `SearchChangeHistoryEvents` call. Provide this to retrieve the subsequent
@@ -2300,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 { @@ -2316,6 +2789,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * Optional. A page token, received from a previous
      * `SearchChangeHistoryEvents` call. Provide this to retrieve the subsequent
@@ -2325,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
@@ -2346,6 +2825,7 @@ public Builder setPageToken(
      * 
* * string page_token = 9 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -2355,6 +2835,8 @@ public Builder clearPageToken() { return this; } /** + * + * *
      * Optional. A page token, received from a previous
      * `SearchChangeHistoryEvents` call. Provide this to retrieve the subsequent
@@ -2364,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); } @@ -2388,41 +2872,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; @@ -2434,9 +2920,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 4f3438091ed3..6e8eb2c636d6 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,264 +1,386 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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
@@ -267,11 +389,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 +406,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 +422,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 c46c83f42070..755e7d4bd8eb 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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,95 +45,117 @@ private SearchChangeHistoryEventsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new SearchChangeHistoryEventsResponse(); } - 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 @@ -123,30 +164,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 { @@ -155,6 +196,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -166,8 +208,7 @@ public final boolean isInitialized() { } @java.lang.Override - 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)); } @@ -184,8 +225,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_); @@ -198,17 +239,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; } @@ -232,131 +272,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(); @@ -373,14 +420,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 @@ -394,14 +443,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_); @@ -413,7 +466,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_; @@ -424,46 +478,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()) { @@ -482,9 +541,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_); } @@ -521,30 +581,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) { @@ -554,28 +617,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 { @@ -583,11 +657,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) { @@ -597,11 +674,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) { @@ -611,11 +691,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) { @@ -632,11 +715,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) { @@ -650,13 +736,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(); @@ -670,11 +760,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) { @@ -691,11 +784,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) { @@ -709,11 +805,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) { @@ -727,18 +826,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); @@ -746,11 +847,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) { @@ -763,11 +867,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) { @@ -780,39 +887,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 { @@ -820,45 +937,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(), @@ -870,19 +1004,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; @@ -891,21 +1027,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 { @@ -913,30 +1050,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() { @@ -946,27 +1090,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); } @@ -976,41 +1124,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; @@ -1022,9 +1172,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..f3f301745050 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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..c0ffc970106f 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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 33dc24bbf99f..da7b1ee155b7 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,56 +1,79 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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(); } - 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 @@ -58,34 +81,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.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 (for example, "field_to_update"). Omitted fields will not be updated.
@@ -93,7 +131,9 @@ public com.google.analytics.admin.v1beta.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 @@ -101,6 +141,8 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** + * + * *
    * Required. The list of fields to be updated. Field names must be in snake
    * case (for example, "field_to_update"). Omitted fields will not be updated.
@@ -108,7 +150,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 @@ -116,6 +160,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 (for example, "field_to_update"). Omitted fields will not be updated.
@@ -123,7 +169,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() { @@ -131,6 +178,7 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -142,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 (account_ != null) { output.writeMessage(1, getAccount()); } @@ -160,12 +207,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; @@ -175,22 +220,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; @@ -217,131 +261,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 +409,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 +430,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 +442,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 +453,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 +493,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 +527,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 +555,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 +630,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 +652,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 +680,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 +702,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 +719,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,8 +770,13 @@ 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 (for example, "field_to_update"). Omitted fields will not be updated.
@@ -683,13 +784,17 @@ public com.google.analytics.admin.v1beta.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 (for example, "field_to_update"). Omitted fields will not be updated.
@@ -697,17 +802,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 (for example, "field_to_update"). Omitted fields will not be updated.
@@ -715,7 +826,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) { @@ -731,6 +843,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 (for example, "field_to_update"). Omitted fields will not be updated.
@@ -738,10 +852,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 { @@ -752,6 +866,8 @@ public Builder setUpdateMask( return this; } /** + * + * *
      * Required. The list of fields to be updated. Field names must be in snake
      * case (for example, "field_to_update"). Omitted fields will not be updated.
@@ -759,13 +875,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; @@ -778,6 +895,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 (for example, "field_to_update"). Omitted fields will not be updated.
@@ -785,7 +904,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); @@ -798,6 +918,8 @@ public Builder clearUpdateMask() { return this; } /** + * + * *
      * Required. The list of fields to be updated. Field names must be in snake
      * case (for example, "field_to_update"). Omitted fields will not be updated.
@@ -805,7 +927,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; @@ -813,6 +936,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 (for example, "field_to_update"). Omitted fields will not be updated.
@@ -820,17 +945,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 (for example, "field_to_update"). Omitted fields will not be updated.
@@ -838,24 +967,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); } @@ -865,12 +998,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(); } @@ -879,27 +1012,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; @@ -914,6 +1047,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 fd4c443e5a8e..eeeb90b8a5a5 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,43 +1,75 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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 (for example, "field_to_update"). Omitted fields will not be updated.
@@ -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 (for example, "field_to_update"). Omitted fields will not be updated.
@@ -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 (for example, "field_to_update"). Omitted fields will not be updated.
@@ -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/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/UpdateConversionEventRequest.java b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/UpdateConversionEventRequest.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/UpdateConversionEventRequest.java rename to java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/UpdateConversionEventRequest.java index 20557e23d942..db0ef16f5a7d 100644 --- a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/UpdateConversionEventRequest.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/UpdateConversionEventRequest.java @@ -1,56 +1,79 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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 UpdateConversionEvent RPC
  * 
* * Protobuf type {@code google.analytics.admin.v1beta.UpdateConversionEventRequest} */ -public final class UpdateConversionEventRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class UpdateConversionEventRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.analytics.admin.v1beta.UpdateConversionEventRequest) UpdateConversionEventRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use UpdateConversionEventRequest.newBuilder() to construct. private UpdateConversionEventRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private UpdateConversionEventRequest() { - } + + private UpdateConversionEventRequest() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new UpdateConversionEventRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_UpdateConversionEventRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_UpdateConversionEventRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_UpdateConversionEventRequest_fieldAccessorTable + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_UpdateConversionEventRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.UpdateConversionEventRequest.class, com.google.analytics.admin.v1beta.UpdateConversionEventRequest.Builder.class); + com.google.analytics.admin.v1beta.UpdateConversionEventRequest.class, + com.google.analytics.admin.v1beta.UpdateConversionEventRequest.Builder.class); } public static final int CONVERSION_EVENT_FIELD_NUMBER = 1; private com.google.analytics.admin.v1beta.ConversionEvent conversionEvent_; /** + * + * *
    * Required. The conversion event to update.
    * The `name` field is used to identify the settings to be updated.
    * 
* - * .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 @@ -58,34 +81,49 @@ public boolean hasConversionEvent() { return conversionEvent_ != null; } /** + * + * *
    * Required. The conversion event to update.
    * The `name` field is used to identify the settings to be updated.
    * 
* - * .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 update.
    * The `name` field is used to identify the settings to be updated.
    * 
* - * .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 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
@@ -93,7 +131,9 @@ public com.google.analytics.admin.v1beta.ConversionEventOrBuilder getConversionE
    * 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 @@ -101,6 +141,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
@@ -108,7 +150,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 @@ -116,6 +160,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
@@ -123,7 +169,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() { @@ -131,6 +178,7 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -142,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 (conversionEvent_ != null) { output.writeMessage(1, getConversionEvent()); } @@ -160,12 +207,10 @@ 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 (updateMask_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getUpdateMask()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getUpdateMask()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -175,22 +220,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.UpdateConversionEventRequest)) { return super.equals(obj); } - com.google.analytics.admin.v1beta.UpdateConversionEventRequest other = (com.google.analytics.admin.v1beta.UpdateConversionEventRequest) obj; + com.google.analytics.admin.v1beta.UpdateConversionEventRequest other = + (com.google.analytics.admin.v1beta.UpdateConversionEventRequest) obj; if (hasConversionEvent() != other.hasConversionEvent()) return false; if (hasConversionEvent()) { - if (!getConversionEvent() - .equals(other.getConversionEvent())) return false; + if (!getConversionEvent().equals(other.getConversionEvent())) 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; @@ -217,131 +261,136 @@ public int hashCode() { } public static com.google.analytics.admin.v1beta.UpdateConversionEventRequest parseFrom( - java.nio.ByteBuffer data) - 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.UpdateConversionEventRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.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.UpdateConversionEventRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1beta.UpdateConversionEventRequest parseFrom( com.google.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.UpdateConversionEventRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.analytics.admin.v1beta.UpdateConversionEventRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.analytics.admin.v1beta.UpdateConversionEventRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite 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.UpdateConversionEventRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.analytics.admin.v1beta.UpdateConversionEventRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.analytics.admin.v1beta.UpdateConversionEventRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - 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.UpdateConversionEventRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.analytics.admin.v1beta.UpdateConversionEventRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.analytics.admin.v1beta.UpdateConversionEventRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - 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.UpdateConversionEventRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, 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.UpdateConversionEventRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder 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.UpdateConversionEventRequest prototype) { + + public static Builder newBuilder( + com.google.analytics.admin.v1beta.UpdateConversionEventRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder 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 UpdateConversionEvent RPC
    * 
* * Protobuf type {@code google.analytics.admin.v1beta.UpdateConversionEventRequest} */ - public static final class Builder extends - com.google.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.UpdateConversionEventRequest) com.google.analytics.admin.v1beta.UpdateConversionEventRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_UpdateConversionEventRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_UpdateConversionEventRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.analytics.admin.v1beta.AnalyticsAdminProto.internal_static_google_analytics_admin_v1beta_UpdateConversionEventRequest_fieldAccessorTable + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_UpdateConversionEventRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.analytics.admin.v1beta.UpdateConversionEventRequest.class, com.google.analytics.admin.v1beta.UpdateConversionEventRequest.Builder.class); + com.google.analytics.admin.v1beta.UpdateConversionEventRequest.class, + com.google.analytics.admin.v1beta.UpdateConversionEventRequest.Builder.class); } // Construct using com.google.analytics.admin.v1beta.UpdateConversionEventRequest.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 +409,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_UpdateConversionEventRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.analytics.admin.v1beta.AnalyticsAdminProto + .internal_static_google_analytics_admin_v1beta_UpdateConversionEventRequest_descriptor; } @java.lang.Override - public com.google.analytics.admin.v1beta.UpdateConversionEventRequest getDefaultInstanceForType() { + public com.google.analytics.admin.v1beta.UpdateConversionEventRequest + getDefaultInstanceForType() { return com.google.analytics.admin.v1beta.UpdateConversionEventRequest.getDefaultInstance(); } @@ -381,23 +431,24 @@ public com.google.analytics.admin.v1beta.UpdateConversionEventRequest build() { @java.lang.Override public com.google.analytics.admin.v1beta.UpdateConversionEventRequest buildPartial() { - com.google.analytics.admin.v1beta.UpdateConversionEventRequest result = new com.google.analytics.admin.v1beta.UpdateConversionEventRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.analytics.admin.v1beta.UpdateConversionEventRequest result = + new com.google.analytics.admin.v1beta.UpdateConversionEventRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.analytics.admin.v1beta.UpdateConversionEventRequest result) { + private void buildPartial0( + com.google.analytics.admin.v1beta.UpdateConversionEventRequest 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.updateMask_ = updateMaskBuilder_ == null - ? updateMask_ - : updateMaskBuilder_.build(); + result.updateMask_ = updateMaskBuilder_ == null ? updateMask_ : updateMaskBuilder_.build(); } } @@ -405,38 +456,39 @@ private void buildPartial0(com.google.analytics.admin.v1beta.UpdateConversionEve public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object 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.UpdateConversionEventRequest) { - return mergeFrom((com.google.analytics.admin.v1beta.UpdateConversionEventRequest)other); + return mergeFrom((com.google.analytics.admin.v1beta.UpdateConversionEventRequest) other); } else { super.mergeFrom(other); return this; @@ -444,7 +496,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.analytics.admin.v1beta.UpdateConversionEventRequest other) { - if (other == com.google.analytics.admin.v1beta.UpdateConversionEventRequest.getDefaultInstance()) return this; + if (other + == com.google.analytics.admin.v1beta.UpdateConversionEventRequest.getDefaultInstance()) + return this; if (other.hasConversionEvent()) { mergeConversionEvent(other.getConversionEvent()); } @@ -477,26 +531,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getConversionEventFieldBuilder().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(getConversionEventFieldBuilder().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 +559,66 @@ 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 update.
      * The `name` field is used to identify the settings to be updated.
      * 
* - * .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 update.
      * The `name` field is used to identify the settings to be updated.
      * 
* - * .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 update.
      * The `name` field is used to identify the settings to be updated.
      * 
* - * .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) { @@ -561,12 +634,16 @@ public Builder setConversionEvent(com.google.analytics.admin.v1beta.ConversionEv return this; } /** + * + * *
      * Required. The conversion event to update.
      * The `name` field is used to identify the settings to be updated.
      * 
* - * .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) { @@ -580,18 +657,23 @@ public Builder setConversionEvent( return this; } /** + * + * *
      * Required. The conversion event to update.
      * The `name` field is used to identify the settings to be updated.
      * 
* - * .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; @@ -604,12 +686,16 @@ public Builder mergeConversionEvent(com.google.analytics.admin.v1beta.Conversion return this; } /** + * + * *
      * Required. The conversion event to update.
      * The `name` field is used to identify the settings to be updated.
      * 
* - * .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); @@ -622,12 +708,16 @@ public Builder clearConversionEvent() { return this; } /** + * + * *
      * Required. The conversion event to update.
      * The `name` field is used to identify the settings to be updated.
      * 
* - * .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; @@ -635,38 +725,51 @@ public com.google.analytics.admin.v1beta.ConversionEvent.Builder getConversionEv return getConversionEventFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The conversion event to update.
      * The `name` field is used to identify the settings to be updated.
      * 
* - * .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 update.
      * The `name` field is used to identify the settings to be updated.
      * 
* - * .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_; @@ -674,8 +777,13 @@ public com.google.analytics.admin.v1beta.ConversionEventOrBuilder getConversionE 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
@@ -683,13 +791,17 @@ public com.google.analytics.admin.v1beta.ConversionEventOrBuilder getConversionE
      * 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
@@ -697,17 +809,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
@@ -715,7 +833,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) { @@ -731,6 +850,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
@@ -738,10 +859,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 { @@ -752,6 +873,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
@@ -759,13 +882,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; @@ -778,6 +902,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
@@ -785,7 +911,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); @@ -798,6 +925,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
@@ -805,7 +934,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; @@ -813,6 +943,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
@@ -820,17 +952,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
@@ -838,24 +974,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); } @@ -865,41 +1005,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.analytics.admin.v1beta.UpdateConversionEventRequest) } // @@protoc_insertion_point(class_scope:google.analytics.admin.v1beta.UpdateConversionEventRequest) - private static final com.google.analytics.admin.v1beta.UpdateConversionEventRequest DEFAULT_INSTANCE; + private static final com.google.analytics.admin.v1beta.UpdateConversionEventRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.analytics.admin.v1beta.UpdateConversionEventRequest(); } - public static com.google.analytics.admin.v1beta.UpdateConversionEventRequest getDefaultInstance() { + public static com.google.analytics.admin.v1beta.UpdateConversionEventRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdateConversionEventRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdateConversionEventRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -911,9 +1053,8 @@ public com.google.protobuf.Parser getParserForType } @java.lang.Override - public com.google.analytics.admin.v1beta.UpdateConversionEventRequest getDefaultInstanceForType() { + public com.google.analytics.admin.v1beta.UpdateConversionEventRequest + 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/UpdateConversionEventRequestOrBuilder.java b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/UpdateConversionEventRequestOrBuilder.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/UpdateConversionEventRequestOrBuilder.java rename to java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/UpdateConversionEventRequestOrBuilder.java index 5151ebef2258..fb207bc8b46f 100644 --- a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/UpdateConversionEventRequestOrBuilder.java +++ b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/UpdateConversionEventRequestOrBuilder.java @@ -1,43 +1,75 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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 UpdateConversionEventRequestOrBuilder extends +public interface UpdateConversionEventRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1beta.UpdateConversionEventRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The conversion event to update.
    * The `name` field is used to identify the settings to be updated.
    * 
* - * .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. */ boolean hasConversionEvent(); /** + * + * *
    * Required. The conversion event to update.
    * The `name` field is used to identify the settings to be updated.
    * 
* - * .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. */ com.google.analytics.admin.v1beta.ConversionEvent getConversionEvent(); /** + * + * *
    * Required. The conversion event to update.
    * The `name` field is used to identify the settings to be updated.
    * 
* - * .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]; + * */ com.google.analytics.admin.v1beta.ConversionEventOrBuilder getConversionEventOrBuilder(); /** + * + * *
    * Required. The list 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 UpdateConversionEventRequestOrBuilder 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 UpdateConversionEventRequestOrBuilder 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 UpdateConversionEventRequestOrBuilder 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/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 3dda8668b905..08b7d24e3420 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,55 +1,76 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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(); } - 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 @@ -57,18 +78,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
    * 
@@ -77,19 +105,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 @@ -97,13 +131,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 @@ -111,13 +149,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() { @@ -125,6 +166,7 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -136,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 (customDimension_ != null) { output.writeMessage(1, getCustomDimension()); } @@ -154,12 +195,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; @@ -169,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.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; @@ -211,131 +249,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(); @@ -354,13 +397,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(); } @@ -375,23 +419,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(); } } @@ -399,38 +444,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; @@ -438,7 +484,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()); } @@ -471,26 +519,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) { @@ -500,38 +547,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
      * 
@@ -552,6 +613,8 @@ public Builder setCustomDimension(com.google.analytics.admin.v1beta.CustomDimens return this; } /** + * + * *
      * The CustomDimension to update
      * 
@@ -570,6 +633,8 @@ public Builder setCustomDimension( return this; } /** + * + * *
      * The CustomDimension to update
      * 
@@ -578,9 +643,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; @@ -593,6 +659,8 @@ public Builder mergeCustomDimension(com.google.analytics.admin.v1beta.CustomDime return this; } /** + * + * *
      * The CustomDimension to update
      * 
@@ -610,6 +678,8 @@ public Builder clearCustomDimension() { return this; } /** + * + * *
      * The CustomDimension to update
      * 
@@ -622,21 +692,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
      * 
@@ -644,14 +720,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_; @@ -659,45 +738,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) { @@ -713,16 +808,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 { @@ -733,19 +830,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; @@ -758,13 +858,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); @@ -777,13 +880,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; @@ -791,47 +897,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); } @@ -841,41 +957,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; @@ -887,9 +1005,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 935722bf0167..5430b88789fb 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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 70d0337211b7..2e6dde991686 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,55 +1,76 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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(); } - 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 @@ -57,18 +78,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
    * 
@@ -77,19 +105,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 @@ -97,13 +131,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 @@ -111,13 +149,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() { @@ -125,6 +166,7 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -136,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 (customMetric_ != null) { output.writeMessage(1, getCustomMetric()); } @@ -154,12 +195,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; @@ -169,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.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; @@ -211,131 +249,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(); @@ -354,9 +397,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 @@ -375,8 +418,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; } @@ -384,14 +430,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(); } } @@ -399,38 +442,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; @@ -438,7 +482,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()); } @@ -471,26 +516,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) { @@ -500,38 +544,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
      * 
@@ -552,6 +610,8 @@ public Builder setCustomMetric(com.google.analytics.admin.v1beta.CustomMetric va return this; } /** + * + * *
      * The CustomMetric to update
      * 
@@ -570,6 +630,8 @@ public Builder setCustomMetric( return this; } /** + * + * *
      * The CustomMetric to update
      * 
@@ -578,9 +640,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; @@ -593,6 +656,8 @@ public Builder mergeCustomMetric(com.google.analytics.admin.v1beta.CustomMetric return this; } /** + * + * *
      * The CustomMetric to update
      * 
@@ -610,6 +675,8 @@ public Builder clearCustomMetric() { return this; } /** + * + * *
      * The CustomMetric to update
      * 
@@ -622,6 +689,8 @@ public com.google.analytics.admin.v1beta.CustomMetric.Builder getCustomMetricBui return getCustomMetricFieldBuilder().getBuilder(); } /** + * + * *
      * The CustomMetric to update
      * 
@@ -632,11 +701,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
      * 
@@ -644,14 +716,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_; @@ -659,45 +734,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) { @@ -713,16 +804,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 { @@ -733,19 +826,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; @@ -758,13 +854,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); @@ -777,13 +876,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; @@ -791,47 +893,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); } @@ -841,12 +953,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(); } @@ -855,27 +967,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; @@ -890,6 +1002,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 9836ba3e85c9..8afe00aaac80 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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 513c5d7228de..8bbdfed64926 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,56 +1,80 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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(); } - 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 @@ -58,34 +82,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.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
@@ -93,7 +133,9 @@ public com.google.analytics.admin.v1beta.DataRetentionSettingsOrBuilder getDataR
    * 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 @@ -101,6 +143,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
@@ -108,7 +152,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 @@ -116,6 +162,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
@@ -123,7 +171,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() { @@ -131,6 +180,7 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -142,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 (dataRetentionSettings_ != null) { output.writeMessage(1, getDataRetentionSettings()); } @@ -160,12 +209,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; @@ -175,22 +223,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; @@ -217,131 +264,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 +414,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 +437,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 +464,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 +541,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 +570,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 +646,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 +669,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 +699,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 +721,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,8 +791,13 @@ 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
@@ -683,13 +805,17 @@ public com.google.analytics.admin.v1beta.DataRetentionSettingsOrBuilder getDataR
      * 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
@@ -697,17 +823,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
@@ -715,7 +847,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) { @@ -731,6 +864,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
@@ -738,10 +873,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 { @@ -752,6 +887,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
@@ -759,13 +896,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; @@ -778,6 +916,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
@@ -785,7 +925,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); @@ -798,6 +939,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
@@ -805,7 +948,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; @@ -813,6 +957,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
@@ -820,17 +966,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
@@ -838,24 +988,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); } @@ -865,41 +1019,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; @@ -911,9 +1067,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 c0dc82d09f03..c3e61a52febe 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,43 +1,76 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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
@@ -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/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 9c8b46dc1d9c..c5af4148ef9f 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,55 +1,76 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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(); } - 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 @@ -57,18 +78,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
    * 
@@ -77,19 +105,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 @@ -97,13 +131,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 @@ -111,13 +149,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() { @@ -125,6 +166,7 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -136,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 (dataStream_ != null) { output.writeMessage(1, getDataStream()); } @@ -154,12 +195,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; @@ -169,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.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; @@ -211,131 +249,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(); @@ -354,9 +397,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 @@ -375,8 +418,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; } @@ -384,14 +430,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(); } } @@ -399,38 +441,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; @@ -438,7 +481,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()); } @@ -471,26 +515,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) { @@ -500,38 +543,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
      * 
@@ -552,6 +609,8 @@ public Builder setDataStream(com.google.analytics.admin.v1beta.DataStream value) return this; } /** + * + * *
      * The DataStream to update
      * 
@@ -570,6 +629,8 @@ public Builder setDataStream( return this; } /** + * + * *
      * The DataStream to update
      * 
@@ -578,9 +639,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; @@ -593,6 +654,8 @@ public Builder mergeDataStream(com.google.analytics.admin.v1beta.DataStream valu return this; } /** + * + * *
      * The DataStream to update
      * 
@@ -610,6 +673,8 @@ public Builder clearDataStream() { return this; } /** + * + * *
      * The DataStream to update
      * 
@@ -622,6 +687,8 @@ public com.google.analytics.admin.v1beta.DataStream.Builder getDataStreamBuilder return getDataStreamFieldBuilder().getBuilder(); } /** + * + * *
      * The DataStream to update
      * 
@@ -632,11 +699,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
      * 
@@ -644,14 +714,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_; @@ -659,45 +732,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) { @@ -713,16 +802,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 { @@ -733,19 +824,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; @@ -758,13 +852,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); @@ -777,13 +874,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; @@ -791,47 +891,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); } @@ -841,12 +951,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(); } @@ -855,27 +965,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; @@ -890,6 +1000,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 1244d3988f12..510efe7986fe 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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 88ed36604d95..b6d86a0ab674 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,55 +1,76 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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(); } - 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 @@ -57,18 +78,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
    * 
@@ -77,12 +105,16 @@ 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
@@ -90,7 +122,9 @@ public com.google.analytics.admin.v1beta.GoogleAdsLinkOrBuilder getGoogleAdsLink
    * 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 @@ -98,6 +132,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
@@ -105,7 +141,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 @@ -113,6 +151,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
@@ -120,7 +160,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() { @@ -128,6 +169,7 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -139,8 +181,7 @@ public final boolean isInitialized() { } @java.lang.Override - public 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()); } @@ -157,12 +198,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; @@ -172,22 +211,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; @@ -214,131 +252,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 +400,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 +422,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 +447,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 +487,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 +522,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 +550,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 +616,8 @@ public Builder setGoogleAdsLink(com.google.analytics.admin.v1beta.GoogleAdsLink return this; } /** + * + * *
      * The GoogleAdsLink to update
      * 
@@ -573,6 +636,8 @@ public Builder setGoogleAdsLink( return this; } /** + * + * *
      * The GoogleAdsLink to update
      * 
@@ -581,9 +646,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 +662,8 @@ public Builder mergeGoogleAdsLink(com.google.analytics.admin.v1beta.GoogleAdsLin return this; } /** + * + * *
      * The GoogleAdsLink to update
      * 
@@ -613,6 +681,8 @@ public Builder clearGoogleAdsLink() { return this; } /** + * + * *
      * The GoogleAdsLink to update
      * 
@@ -625,6 +695,8 @@ public com.google.analytics.admin.v1beta.GoogleAdsLink.Builder getGoogleAdsLinkB return getGoogleAdsLinkFieldBuilder().getBuilder(); } /** + * + * *
      * The GoogleAdsLink to update
      * 
@@ -635,11 +707,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 +722,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,8 +740,13 @@ 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
@@ -671,13 +754,17 @@ public com.google.analytics.admin.v1beta.GoogleAdsLinkOrBuilder getGoogleAdsLink
      * 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
@@ -685,17 +772,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
@@ -703,7 +796,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) { @@ -719,6 +813,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
@@ -726,10 +822,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 { @@ -740,6 +836,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
@@ -747,13 +845,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; @@ -766,6 +865,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
@@ -773,7 +874,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); @@ -786,6 +888,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
@@ -793,7 +897,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; @@ -801,6 +906,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
@@ -808,17 +915,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
@@ -826,24 +937,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); } @@ -853,12 +968,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(); } @@ -867,27 +983,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; @@ -902,6 +1018,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 92525a4fe9fe..e52d288ab3a5 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 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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,6 +59,8 @@ 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
@@ -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/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 58% 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 a66e29887bb3..969a95437bdf 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,55 +1,80 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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(); } - 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 @@ -57,38 +82,57 @@ 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_; /** + * + * *
    * Required. The list of fields to be updated. Omitted fields will not be
    * updated.
    * 
* - * .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 @@ -96,12 +140,16 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** + * + * *
    * Required. The list of fields to be updated. Omitted fields will not be
    * updated.
    * 
* - * .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 @@ -109,12 +157,15 @@ 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.
    * 
* - * .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() { @@ -122,6 +173,7 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -133,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()); } @@ -151,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; @@ -166,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.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; @@ -208,131 +260,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 +411,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 +435,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 +462,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 +540,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 +569,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 +643,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 +665,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 +695,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 +716,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,42 +783,58 @@ 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_; /** + * + * *
      * Required. The list of fields to be updated. Omitted fields will not be
      * updated.
      * 
* - * .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.
      * 
* - * .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.
      * 
* - * .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) { @@ -707,15 +850,17 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** + * + * *
      * Required. The list of fields to be updated. Omitted fields will not be
      * updated.
      * 
* - * .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 { @@ -726,18 +871,21 @@ public Builder setUpdateMask( return this; } /** + * + * *
      * Required. The list of fields to be updated. Omitted fields will not be
      * updated.
      * 
* - * .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; @@ -750,12 +898,15 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** + * + * *
      * Required. The list of fields to be updated. Omitted fields will not be
      * updated.
      * 
* - * .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); @@ -768,12 +919,15 @@ public Builder clearUpdateMask() { return this; } /** + * + * *
      * Required. The list of fields to be updated. Omitted fields will not be
      * updated.
      * 
* - * .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; @@ -781,45 +935,55 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { return getUpdateMaskFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The list of fields to be updated. Omitted fields will not be
      * updated.
      * 
* - * .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.
      * 
* - * .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); } @@ -829,41 +993,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; @@ -875,9 +1042,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 56% 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 f659ffe432c0..622f1df497bc 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,66 +1,108 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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(); /** + * + * *
    * Required. The list of fields to be updated. Omitted fields will not be
    * updated.
    * 
* - * .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.
    * 
* - * .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.
    * 
* - * .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/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 d8ef44f07b8f..9ac784589e50 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,57 +1,80 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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(); } - 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 @@ -59,36 +82,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.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
@@ -96,7 +134,9 @@ public com.google.analytics.admin.v1beta.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 @@ -104,6 +144,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
@@ -111,7 +153,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 @@ -119,6 +163,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
@@ -126,7 +172,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() { @@ -134,6 +181,7 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -145,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 (property_ != null) { output.writeMessage(1, getProperty()); } @@ -163,12 +210,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; @@ -178,22 +223,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; @@ -220,131 +264,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 +412,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 +433,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 +445,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 +456,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 +496,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 +530,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 +558,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 +636,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 +659,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 +688,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 +711,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 +729,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,8 +782,13 @@ 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
@@ -695,13 +796,17 @@ public com.google.analytics.admin.v1beta.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
@@ -709,17 +814,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
@@ -727,7 +838,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) { @@ -743,6 +855,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
@@ -750,10 +864,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 { @@ -764,6 +878,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
@@ -771,13 +887,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; @@ -790,6 +907,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
@@ -797,7 +916,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); @@ -810,6 +930,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
@@ -817,7 +939,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; @@ -825,6 +948,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
@@ -832,17 +957,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
@@ -850,24 +979,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); } @@ -877,12 +1010,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(); } @@ -891,27 +1024,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; @@ -926,6 +1059,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 9c39ea58a58b..c625acca93b7 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,46 +1,78 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for 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
@@ -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/v1beta/proto-google-analytics-admin-v1beta/src/main/proto/google/analytics/admin/v1beta/access_report.proto b/java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/proto/google/analytics/admin/v1beta/access_report.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/access_report.proto rename to java-analytics-admin/proto-google-analytics-admin-v1beta/src/main/proto/google/analytics/admin/v1beta/access_report.proto 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/batchcreateaccessbindings/AsyncBatchCreateAccessBindings.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/batchcreateaccessbindings/AsyncBatchCreateAccessBindings.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/batchcreateaccessbindings/AsyncBatchCreateAccessBindings.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/batchcreateaccessbindings/AsyncBatchCreateAccessBindings.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/batchcreateaccessbindings/SyncBatchCreateAccessBindings.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/batchcreateaccessbindings/SyncBatchCreateAccessBindings.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/batchcreateaccessbindings/SyncBatchCreateAccessBindings.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/batchcreateaccessbindings/SyncBatchCreateAccessBindings.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/batchdeleteaccessbindings/AsyncBatchDeleteAccessBindings.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/batchdeleteaccessbindings/AsyncBatchDeleteAccessBindings.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/batchdeleteaccessbindings/AsyncBatchDeleteAccessBindings.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/batchdeleteaccessbindings/AsyncBatchDeleteAccessBindings.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/batchdeleteaccessbindings/SyncBatchDeleteAccessBindings.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/batchdeleteaccessbindings/SyncBatchDeleteAccessBindings.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/batchdeleteaccessbindings/SyncBatchDeleteAccessBindings.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/batchdeleteaccessbindings/SyncBatchDeleteAccessBindings.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/batchgetaccessbindings/AsyncBatchGetAccessBindings.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/batchgetaccessbindings/AsyncBatchGetAccessBindings.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/batchgetaccessbindings/AsyncBatchGetAccessBindings.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/batchgetaccessbindings/AsyncBatchGetAccessBindings.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/batchgetaccessbindings/SyncBatchGetAccessBindings.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/batchgetaccessbindings/SyncBatchGetAccessBindings.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/batchgetaccessbindings/SyncBatchGetAccessBindings.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/batchgetaccessbindings/SyncBatchGetAccessBindings.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/batchupdateaccessbindings/AsyncBatchUpdateAccessBindings.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/batchupdateaccessbindings/AsyncBatchUpdateAccessBindings.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/batchupdateaccessbindings/AsyncBatchUpdateAccessBindings.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/batchupdateaccessbindings/AsyncBatchUpdateAccessBindings.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/batchupdateaccessbindings/SyncBatchUpdateAccessBindings.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/batchupdateaccessbindings/SyncBatchUpdateAccessBindings.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/batchupdateaccessbindings/SyncBatchUpdateAccessBindings.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/batchupdateaccessbindings/SyncBatchUpdateAccessBindings.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/createaccessbinding/AsyncCreateAccessBinding.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createaccessbinding/AsyncCreateAccessBinding.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createaccessbinding/AsyncCreateAccessBinding.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createaccessbinding/AsyncCreateAccessBinding.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createaccessbinding/SyncCreateAccessBinding.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createaccessbinding/SyncCreateAccessBinding.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createaccessbinding/SyncCreateAccessBinding.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createaccessbinding/SyncCreateAccessBinding.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createaccessbinding/SyncCreateAccessBindingAccountnameAccessbinding.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createaccessbinding/SyncCreateAccessBindingAccountnameAccessbinding.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createaccessbinding/SyncCreateAccessBindingAccountnameAccessbinding.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createaccessbinding/SyncCreateAccessBindingAccountnameAccessbinding.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createaccessbinding/SyncCreateAccessBindingPropertynameAccessbinding.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createaccessbinding/SyncCreateAccessBindingPropertynameAccessbinding.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createaccessbinding/SyncCreateAccessBindingPropertynameAccessbinding.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createaccessbinding/SyncCreateAccessBindingPropertynameAccessbinding.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createaccessbinding/SyncCreateAccessBindingStringAccessbinding.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createaccessbinding/SyncCreateAccessBindingStringAccessbinding.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createaccessbinding/SyncCreateAccessBindingStringAccessbinding.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createaccessbinding/SyncCreateAccessBindingStringAccessbinding.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createadsenselink/AsyncCreateAdSenseLink.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createadsenselink/AsyncCreateAdSenseLink.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createadsenselink/AsyncCreateAdSenseLink.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createadsenselink/AsyncCreateAdSenseLink.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createadsenselink/SyncCreateAdSenseLink.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createadsenselink/SyncCreateAdSenseLink.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createadsenselink/SyncCreateAdSenseLink.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createadsenselink/SyncCreateAdSenseLink.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createadsenselink/SyncCreateAdSenseLinkPropertynameAdsenselink.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createadsenselink/SyncCreateAdSenseLinkPropertynameAdsenselink.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createadsenselink/SyncCreateAdSenseLinkPropertynameAdsenselink.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createadsenselink/SyncCreateAdSenseLinkPropertynameAdsenselink.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createadsenselink/SyncCreateAdSenseLinkStringAdsenselink.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createadsenselink/SyncCreateAdSenseLinkStringAdsenselink.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createadsenselink/SyncCreateAdSenseLinkStringAdsenselink.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createadsenselink/SyncCreateAdSenseLinkStringAdsenselink.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/createchannelgroup/AsyncCreateChannelGroup.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createchannelgroup/AsyncCreateChannelGroup.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createchannelgroup/AsyncCreateChannelGroup.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createchannelgroup/AsyncCreateChannelGroup.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createchannelgroup/SyncCreateChannelGroup.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createchannelgroup/SyncCreateChannelGroup.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createchannelgroup/SyncCreateChannelGroup.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createchannelgroup/SyncCreateChannelGroup.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createchannelgroup/SyncCreateChannelGroupPropertynameChannelgroup.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createchannelgroup/SyncCreateChannelGroupPropertynameChannelgroup.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createchannelgroup/SyncCreateChannelGroupPropertynameChannelgroup.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createchannelgroup/SyncCreateChannelGroupPropertynameChannelgroup.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createchannelgroup/SyncCreateChannelGroupStringChannelgroup.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createchannelgroup/SyncCreateChannelGroupStringChannelgroup.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createchannelgroup/SyncCreateChannelGroupStringChannelgroup.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createchannelgroup/SyncCreateChannelGroupStringChannelgroup.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createconnectedsitetag/AsyncCreateConnectedSiteTag.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createconnectedsitetag/AsyncCreateConnectedSiteTag.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createconnectedsitetag/AsyncCreateConnectedSiteTag.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createconnectedsitetag/AsyncCreateConnectedSiteTag.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createconnectedsitetag/SyncCreateConnectedSiteTag.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createconnectedsitetag/SyncCreateConnectedSiteTag.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createconnectedsitetag/SyncCreateConnectedSiteTag.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createconnectedsitetag/SyncCreateConnectedSiteTag.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/createeventcreaterule/AsyncCreateEventCreateRule.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createeventcreaterule/AsyncCreateEventCreateRule.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createeventcreaterule/AsyncCreateEventCreateRule.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createeventcreaterule/AsyncCreateEventCreateRule.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createeventcreaterule/SyncCreateEventCreateRule.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createeventcreaterule/SyncCreateEventCreateRule.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createeventcreaterule/SyncCreateEventCreateRule.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createeventcreaterule/SyncCreateEventCreateRule.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createeventcreaterule/SyncCreateEventCreateRuleDatastreamnameEventcreaterule.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createeventcreaterule/SyncCreateEventCreateRuleDatastreamnameEventcreaterule.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createeventcreaterule/SyncCreateEventCreateRuleDatastreamnameEventcreaterule.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createeventcreaterule/SyncCreateEventCreateRuleDatastreamnameEventcreaterule.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createeventcreaterule/SyncCreateEventCreateRuleStringEventcreaterule.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createeventcreaterule/SyncCreateEventCreateRuleStringEventcreaterule.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createeventcreaterule/SyncCreateEventCreateRuleStringEventcreaterule.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createeventcreaterule/SyncCreateEventCreateRuleStringEventcreaterule.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createexpandeddataset/AsyncCreateExpandedDataSet.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createexpandeddataset/AsyncCreateExpandedDataSet.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createexpandeddataset/AsyncCreateExpandedDataSet.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createexpandeddataset/AsyncCreateExpandedDataSet.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createexpandeddataset/SyncCreateExpandedDataSet.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createexpandeddataset/SyncCreateExpandedDataSet.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createexpandeddataset/SyncCreateExpandedDataSet.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createexpandeddataset/SyncCreateExpandedDataSet.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createexpandeddataset/SyncCreateExpandedDataSetPropertynameExpandeddataset.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createexpandeddataset/SyncCreateExpandedDataSetPropertynameExpandeddataset.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createexpandeddataset/SyncCreateExpandedDataSetPropertynameExpandeddataset.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createexpandeddataset/SyncCreateExpandedDataSetPropertynameExpandeddataset.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createexpandeddataset/SyncCreateExpandedDataSetStringExpandeddataset.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createexpandeddataset/SyncCreateExpandedDataSetStringExpandeddataset.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createexpandeddataset/SyncCreateExpandedDataSetStringExpandeddataset.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createexpandeddataset/SyncCreateExpandedDataSetStringExpandeddataset.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/createrollupproperty/AsyncCreateRollupProperty.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createrollupproperty/AsyncCreateRollupProperty.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createrollupproperty/AsyncCreateRollupProperty.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createrollupproperty/AsyncCreateRollupProperty.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createrollupproperty/SyncCreateRollupProperty.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createrollupproperty/SyncCreateRollupProperty.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createrollupproperty/SyncCreateRollupProperty.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createrollupproperty/SyncCreateRollupProperty.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createrolluppropertysourcelink/AsyncCreateRollupPropertySourceLink.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createrolluppropertysourcelink/AsyncCreateRollupPropertySourceLink.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createrolluppropertysourcelink/AsyncCreateRollupPropertySourceLink.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createrolluppropertysourcelink/AsyncCreateRollupPropertySourceLink.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createrolluppropertysourcelink/SyncCreateRollupPropertySourceLink.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createrolluppropertysourcelink/SyncCreateRollupPropertySourceLink.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createrolluppropertysourcelink/SyncCreateRollupPropertySourceLink.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createrolluppropertysourcelink/SyncCreateRollupPropertySourceLink.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createrolluppropertysourcelink/SyncCreateRollupPropertySourceLinkPropertynameRolluppropertysourcelink.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createrolluppropertysourcelink/SyncCreateRollupPropertySourceLinkPropertynameRolluppropertysourcelink.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createrolluppropertysourcelink/SyncCreateRollupPropertySourceLinkPropertynameRolluppropertysourcelink.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createrolluppropertysourcelink/SyncCreateRollupPropertySourceLinkPropertynameRolluppropertysourcelink.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createrolluppropertysourcelink/SyncCreateRollupPropertySourceLinkStringRolluppropertysourcelink.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createrolluppropertysourcelink/SyncCreateRollupPropertySourceLinkStringRolluppropertysourcelink.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createrolluppropertysourcelink/SyncCreateRollupPropertySourceLinkStringRolluppropertysourcelink.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createrolluppropertysourcelink/SyncCreateRollupPropertySourceLinkStringRolluppropertysourcelink.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/createskadnetworkconversionvalueschema/AsyncCreateSKAdNetworkConversionValueSchema.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createskadnetworkconversionvalueschema/AsyncCreateSKAdNetworkConversionValueSchema.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createskadnetworkconversionvalueschema/AsyncCreateSKAdNetworkConversionValueSchema.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createskadnetworkconversionvalueschema/AsyncCreateSKAdNetworkConversionValueSchema.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createskadnetworkconversionvalueschema/SyncCreateSKAdNetworkConversionValueSchema.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createskadnetworkconversionvalueschema/SyncCreateSKAdNetworkConversionValueSchema.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createskadnetworkconversionvalueschema/SyncCreateSKAdNetworkConversionValueSchema.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createskadnetworkconversionvalueschema/SyncCreateSKAdNetworkConversionValueSchema.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createskadnetworkconversionvalueschema/SyncCreateSKAdNetworkConversionValueSchemaDatastreamnameSkadnetworkconversionvalueschema.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createskadnetworkconversionvalueschema/SyncCreateSKAdNetworkConversionValueSchemaDatastreamnameSkadnetworkconversionvalueschema.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createskadnetworkconversionvalueschema/SyncCreateSKAdNetworkConversionValueSchemaDatastreamnameSkadnetworkconversionvalueschema.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createskadnetworkconversionvalueschema/SyncCreateSKAdNetworkConversionValueSchemaDatastreamnameSkadnetworkconversionvalueschema.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createskadnetworkconversionvalueschema/SyncCreateSKAdNetworkConversionValueSchemaStringSkadnetworkconversionvalueschema.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createskadnetworkconversionvalueschema/SyncCreateSKAdNetworkConversionValueSchemaStringSkadnetworkconversionvalueschema.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createskadnetworkconversionvalueschema/SyncCreateSKAdNetworkConversionValueSchemaStringSkadnetworkconversionvalueschema.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createskadnetworkconversionvalueschema/SyncCreateSKAdNetworkConversionValueSchemaStringSkadnetworkconversionvalueschema.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createsubproperty/AsyncCreateSubproperty.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createsubproperty/AsyncCreateSubproperty.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createsubproperty/AsyncCreateSubproperty.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createsubproperty/AsyncCreateSubproperty.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createsubproperty/SyncCreateSubproperty.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createsubproperty/SyncCreateSubproperty.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createsubproperty/SyncCreateSubproperty.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createsubproperty/SyncCreateSubproperty.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createsubpropertyeventfilter/AsyncCreateSubpropertyEventFilter.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createsubpropertyeventfilter/AsyncCreateSubpropertyEventFilter.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createsubpropertyeventfilter/AsyncCreateSubpropertyEventFilter.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createsubpropertyeventfilter/AsyncCreateSubpropertyEventFilter.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createsubpropertyeventfilter/SyncCreateSubpropertyEventFilter.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createsubpropertyeventfilter/SyncCreateSubpropertyEventFilter.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createsubpropertyeventfilter/SyncCreateSubpropertyEventFilter.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createsubpropertyeventfilter/SyncCreateSubpropertyEventFilter.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createsubpropertyeventfilter/SyncCreateSubpropertyEventFilterPropertynameSubpropertyeventfilter.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createsubpropertyeventfilter/SyncCreateSubpropertyEventFilterPropertynameSubpropertyeventfilter.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createsubpropertyeventfilter/SyncCreateSubpropertyEventFilterPropertynameSubpropertyeventfilter.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createsubpropertyeventfilter/SyncCreateSubpropertyEventFilterPropertynameSubpropertyeventfilter.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createsubpropertyeventfilter/SyncCreateSubpropertyEventFilterStringSubpropertyeventfilter.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createsubpropertyeventfilter/SyncCreateSubpropertyEventFilterStringSubpropertyeventfilter.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createsubpropertyeventfilter/SyncCreateSubpropertyEventFilterStringSubpropertyeventfilter.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/createsubpropertyeventfilter/SyncCreateSubpropertyEventFilterStringSubpropertyeventfilter.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deleteaccessbinding/AsyncDeleteAccessBinding.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deleteaccessbinding/AsyncDeleteAccessBinding.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deleteaccessbinding/AsyncDeleteAccessBinding.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deleteaccessbinding/AsyncDeleteAccessBinding.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deleteaccessbinding/SyncDeleteAccessBinding.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deleteaccessbinding/SyncDeleteAccessBinding.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deleteaccessbinding/SyncDeleteAccessBinding.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deleteaccessbinding/SyncDeleteAccessBinding.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deleteaccessbinding/SyncDeleteAccessBindingAccessbindingname.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deleteaccessbinding/SyncDeleteAccessBindingAccessbindingname.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deleteaccessbinding/SyncDeleteAccessBindingAccessbindingname.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deleteaccessbinding/SyncDeleteAccessBindingAccessbindingname.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deleteaccessbinding/SyncDeleteAccessBindingString.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deleteaccessbinding/SyncDeleteAccessBindingString.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deleteaccessbinding/SyncDeleteAccessBindingString.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deleteaccessbinding/SyncDeleteAccessBindingString.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/deleteadsenselink/AsyncDeleteAdSenseLink.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deleteadsenselink/AsyncDeleteAdSenseLink.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deleteadsenselink/AsyncDeleteAdSenseLink.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deleteadsenselink/AsyncDeleteAdSenseLink.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deleteadsenselink/SyncDeleteAdSenseLink.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deleteadsenselink/SyncDeleteAdSenseLink.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deleteadsenselink/SyncDeleteAdSenseLink.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deleteadsenselink/SyncDeleteAdSenseLink.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deleteadsenselink/SyncDeleteAdSenseLinkAdsenselinkname.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deleteadsenselink/SyncDeleteAdSenseLinkAdsenselinkname.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deleteadsenselink/SyncDeleteAdSenseLinkAdsenselinkname.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deleteadsenselink/SyncDeleteAdSenseLinkAdsenselinkname.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deleteadsenselink/SyncDeleteAdSenseLinkString.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deleteadsenselink/SyncDeleteAdSenseLinkString.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deleteadsenselink/SyncDeleteAdSenseLinkString.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deleteadsenselink/SyncDeleteAdSenseLinkString.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletechannelgroup/AsyncDeleteChannelGroup.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletechannelgroup/AsyncDeleteChannelGroup.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletechannelgroup/AsyncDeleteChannelGroup.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletechannelgroup/AsyncDeleteChannelGroup.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletechannelgroup/SyncDeleteChannelGroup.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletechannelgroup/SyncDeleteChannelGroup.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletechannelgroup/SyncDeleteChannelGroup.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletechannelgroup/SyncDeleteChannelGroup.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletechannelgroup/SyncDeleteChannelGroupChannelgroupname.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletechannelgroup/SyncDeleteChannelGroupChannelgroupname.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletechannelgroup/SyncDeleteChannelGroupChannelgroupname.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletechannelgroup/SyncDeleteChannelGroupChannelgroupname.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletechannelgroup/SyncDeleteChannelGroupString.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletechannelgroup/SyncDeleteChannelGroupString.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletechannelgroup/SyncDeleteChannelGroupString.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletechannelgroup/SyncDeleteChannelGroupString.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deleteconnectedsitetag/AsyncDeleteConnectedSiteTag.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deleteconnectedsitetag/AsyncDeleteConnectedSiteTag.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deleteconnectedsitetag/AsyncDeleteConnectedSiteTag.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deleteconnectedsitetag/AsyncDeleteConnectedSiteTag.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deleteconnectedsitetag/SyncDeleteConnectedSiteTag.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deleteconnectedsitetag/SyncDeleteConnectedSiteTag.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deleteconnectedsitetag/SyncDeleteConnectedSiteTag.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deleteconnectedsitetag/SyncDeleteConnectedSiteTag.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/deleteeventcreaterule/AsyncDeleteEventCreateRule.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deleteeventcreaterule/AsyncDeleteEventCreateRule.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deleteeventcreaterule/AsyncDeleteEventCreateRule.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deleteeventcreaterule/AsyncDeleteEventCreateRule.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deleteeventcreaterule/SyncDeleteEventCreateRule.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deleteeventcreaterule/SyncDeleteEventCreateRule.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deleteeventcreaterule/SyncDeleteEventCreateRule.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deleteeventcreaterule/SyncDeleteEventCreateRule.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deleteeventcreaterule/SyncDeleteEventCreateRuleEventcreaterulename.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deleteeventcreaterule/SyncDeleteEventCreateRuleEventcreaterulename.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deleteeventcreaterule/SyncDeleteEventCreateRuleEventcreaterulename.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deleteeventcreaterule/SyncDeleteEventCreateRuleEventcreaterulename.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deleteeventcreaterule/SyncDeleteEventCreateRuleString.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deleteeventcreaterule/SyncDeleteEventCreateRuleString.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deleteeventcreaterule/SyncDeleteEventCreateRuleString.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deleteeventcreaterule/SyncDeleteEventCreateRuleString.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deleteexpandeddataset/AsyncDeleteExpandedDataSet.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deleteexpandeddataset/AsyncDeleteExpandedDataSet.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deleteexpandeddataset/AsyncDeleteExpandedDataSet.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deleteexpandeddataset/AsyncDeleteExpandedDataSet.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deleteexpandeddataset/SyncDeleteExpandedDataSet.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deleteexpandeddataset/SyncDeleteExpandedDataSet.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deleteexpandeddataset/SyncDeleteExpandedDataSet.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deleteexpandeddataset/SyncDeleteExpandedDataSet.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deleteexpandeddataset/SyncDeleteExpandedDataSetExpandeddatasetname.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deleteexpandeddataset/SyncDeleteExpandedDataSetExpandeddatasetname.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deleteexpandeddataset/SyncDeleteExpandedDataSetExpandeddatasetname.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deleteexpandeddataset/SyncDeleteExpandedDataSetExpandeddatasetname.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deleteexpandeddataset/SyncDeleteExpandedDataSetString.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deleteexpandeddataset/SyncDeleteExpandedDataSetString.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deleteexpandeddataset/SyncDeleteExpandedDataSetString.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deleteexpandeddataset/SyncDeleteExpandedDataSetString.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/deleterolluppropertysourcelink/AsyncDeleteRollupPropertySourceLink.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deleterolluppropertysourcelink/AsyncDeleteRollupPropertySourceLink.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deleterolluppropertysourcelink/AsyncDeleteRollupPropertySourceLink.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deleterolluppropertysourcelink/AsyncDeleteRollupPropertySourceLink.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deleterolluppropertysourcelink/SyncDeleteRollupPropertySourceLink.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deleterolluppropertysourcelink/SyncDeleteRollupPropertySourceLink.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deleterolluppropertysourcelink/SyncDeleteRollupPropertySourceLink.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deleterolluppropertysourcelink/SyncDeleteRollupPropertySourceLink.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deleterolluppropertysourcelink/SyncDeleteRollupPropertySourceLinkRolluppropertysourcelinkname.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deleterolluppropertysourcelink/SyncDeleteRollupPropertySourceLinkRolluppropertysourcelinkname.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deleterolluppropertysourcelink/SyncDeleteRollupPropertySourceLinkRolluppropertysourcelinkname.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deleterolluppropertysourcelink/SyncDeleteRollupPropertySourceLinkRolluppropertysourcelinkname.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deleterolluppropertysourcelink/SyncDeleteRollupPropertySourceLinkString.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deleterolluppropertysourcelink/SyncDeleteRollupPropertySourceLinkString.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deleterolluppropertysourcelink/SyncDeleteRollupPropertySourceLinkString.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deleterolluppropertysourcelink/SyncDeleteRollupPropertySourceLinkString.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/deleteskadnetworkconversionvalueschema/AsyncDeleteSKAdNetworkConversionValueSchema.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deleteskadnetworkconversionvalueschema/AsyncDeleteSKAdNetworkConversionValueSchema.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deleteskadnetworkconversionvalueschema/AsyncDeleteSKAdNetworkConversionValueSchema.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deleteskadnetworkconversionvalueschema/AsyncDeleteSKAdNetworkConversionValueSchema.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deleteskadnetworkconversionvalueschema/SyncDeleteSKAdNetworkConversionValueSchema.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deleteskadnetworkconversionvalueschema/SyncDeleteSKAdNetworkConversionValueSchema.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deleteskadnetworkconversionvalueschema/SyncDeleteSKAdNetworkConversionValueSchema.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deleteskadnetworkconversionvalueschema/SyncDeleteSKAdNetworkConversionValueSchema.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deleteskadnetworkconversionvalueschema/SyncDeleteSKAdNetworkConversionValueSchemaSkadnetworkconversionvalueschemaname.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deleteskadnetworkconversionvalueschema/SyncDeleteSKAdNetworkConversionValueSchemaSkadnetworkconversionvalueschemaname.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deleteskadnetworkconversionvalueschema/SyncDeleteSKAdNetworkConversionValueSchemaSkadnetworkconversionvalueschemaname.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deleteskadnetworkconversionvalueschema/SyncDeleteSKAdNetworkConversionValueSchemaSkadnetworkconversionvalueschemaname.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deleteskadnetworkconversionvalueschema/SyncDeleteSKAdNetworkConversionValueSchemaString.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deleteskadnetworkconversionvalueschema/SyncDeleteSKAdNetworkConversionValueSchemaString.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deleteskadnetworkconversionvalueschema/SyncDeleteSKAdNetworkConversionValueSchemaString.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deleteskadnetworkconversionvalueschema/SyncDeleteSKAdNetworkConversionValueSchemaString.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletesubpropertyeventfilter/AsyncDeleteSubpropertyEventFilter.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletesubpropertyeventfilter/AsyncDeleteSubpropertyEventFilter.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletesubpropertyeventfilter/AsyncDeleteSubpropertyEventFilter.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletesubpropertyeventfilter/AsyncDeleteSubpropertyEventFilter.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletesubpropertyeventfilter/SyncDeleteSubpropertyEventFilter.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletesubpropertyeventfilter/SyncDeleteSubpropertyEventFilter.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletesubpropertyeventfilter/SyncDeleteSubpropertyEventFilter.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletesubpropertyeventfilter/SyncDeleteSubpropertyEventFilter.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletesubpropertyeventfilter/SyncDeleteSubpropertyEventFilterString.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletesubpropertyeventfilter/SyncDeleteSubpropertyEventFilterString.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletesubpropertyeventfilter/SyncDeleteSubpropertyEventFilterString.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletesubpropertyeventfilter/SyncDeleteSubpropertyEventFilterString.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletesubpropertyeventfilter/SyncDeleteSubpropertyEventFilterSubpropertyeventfiltername.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletesubpropertyeventfilter/SyncDeleteSubpropertyEventFilterSubpropertyeventfiltername.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletesubpropertyeventfilter/SyncDeleteSubpropertyEventFilterSubpropertyeventfiltername.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/deletesubpropertyeventfilter/SyncDeleteSubpropertyEventFilterSubpropertyeventfiltername.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/fetchconnectedga4property/AsyncFetchConnectedGa4Property.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/fetchconnectedga4property/AsyncFetchConnectedGa4Property.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/fetchconnectedga4property/AsyncFetchConnectedGa4Property.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/fetchconnectedga4property/AsyncFetchConnectedGa4Property.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/fetchconnectedga4property/SyncFetchConnectedGa4Property.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/fetchconnectedga4property/SyncFetchConnectedGa4Property.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/fetchconnectedga4property/SyncFetchConnectedGa4Property.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/fetchconnectedga4property/SyncFetchConnectedGa4Property.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getaccessbinding/AsyncGetAccessBinding.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getaccessbinding/AsyncGetAccessBinding.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getaccessbinding/AsyncGetAccessBinding.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getaccessbinding/AsyncGetAccessBinding.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getaccessbinding/SyncGetAccessBinding.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getaccessbinding/SyncGetAccessBinding.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getaccessbinding/SyncGetAccessBinding.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getaccessbinding/SyncGetAccessBinding.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getaccessbinding/SyncGetAccessBindingAccessbindingname.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getaccessbinding/SyncGetAccessBindingAccessbindingname.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getaccessbinding/SyncGetAccessBindingAccessbindingname.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getaccessbinding/SyncGetAccessBindingAccessbindingname.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getaccessbinding/SyncGetAccessBindingString.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getaccessbinding/SyncGetAccessBindingString.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getaccessbinding/SyncGetAccessBindingString.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getaccessbinding/SyncGetAccessBindingString.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/getadsenselink/AsyncGetAdSenseLink.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getadsenselink/AsyncGetAdSenseLink.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getadsenselink/AsyncGetAdSenseLink.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getadsenselink/AsyncGetAdSenseLink.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getadsenselink/SyncGetAdSenseLink.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getadsenselink/SyncGetAdSenseLink.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getadsenselink/SyncGetAdSenseLink.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getadsenselink/SyncGetAdSenseLink.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getadsenselink/SyncGetAdSenseLinkAdsenselinkname.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getadsenselink/SyncGetAdSenseLinkAdsenselinkname.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getadsenselink/SyncGetAdSenseLinkAdsenselinkname.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getadsenselink/SyncGetAdSenseLinkAdsenselinkname.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getadsenselink/SyncGetAdSenseLinkString.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getadsenselink/SyncGetAdSenseLinkString.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getadsenselink/SyncGetAdSenseLinkString.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getadsenselink/SyncGetAdSenseLinkString.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/getchannelgroup/AsyncGetChannelGroup.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getchannelgroup/AsyncGetChannelGroup.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getchannelgroup/AsyncGetChannelGroup.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getchannelgroup/AsyncGetChannelGroup.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getchannelgroup/SyncGetChannelGroup.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getchannelgroup/SyncGetChannelGroup.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getchannelgroup/SyncGetChannelGroup.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getchannelgroup/SyncGetChannelGroup.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getchannelgroup/SyncGetChannelGroupChannelgroupname.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getchannelgroup/SyncGetChannelGroupChannelgroupname.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getchannelgroup/SyncGetChannelGroupChannelgroupname.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getchannelgroup/SyncGetChannelGroupChannelgroupname.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getchannelgroup/SyncGetChannelGroupString.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getchannelgroup/SyncGetChannelGroupString.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getchannelgroup/SyncGetChannelGroupString.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getchannelgroup/SyncGetChannelGroupString.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/getdataredactionsettings/AsyncGetDataRedactionSettings.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getdataredactionsettings/AsyncGetDataRedactionSettings.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getdataredactionsettings/AsyncGetDataRedactionSettings.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getdataredactionsettings/AsyncGetDataRedactionSettings.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getdataredactionsettings/SyncGetDataRedactionSettings.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getdataredactionsettings/SyncGetDataRedactionSettings.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getdataredactionsettings/SyncGetDataRedactionSettings.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getdataredactionsettings/SyncGetDataRedactionSettings.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getdataredactionsettings/SyncGetDataRedactionSettingsDataredactionsettingsname.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getdataredactionsettings/SyncGetDataRedactionSettingsDataredactionsettingsname.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getdataredactionsettings/SyncGetDataRedactionSettingsDataredactionsettingsname.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getdataredactionsettings/SyncGetDataRedactionSettingsDataredactionsettingsname.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getdataredactionsettings/SyncGetDataRedactionSettingsString.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getdataredactionsettings/SyncGetDataRedactionSettingsString.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getdataredactionsettings/SyncGetDataRedactionSettingsString.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getdataredactionsettings/SyncGetDataRedactionSettingsString.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/getenhancedmeasurementsettings/AsyncGetEnhancedMeasurementSettings.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getenhancedmeasurementsettings/AsyncGetEnhancedMeasurementSettings.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getenhancedmeasurementsettings/AsyncGetEnhancedMeasurementSettings.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getenhancedmeasurementsettings/AsyncGetEnhancedMeasurementSettings.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getenhancedmeasurementsettings/SyncGetEnhancedMeasurementSettings.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getenhancedmeasurementsettings/SyncGetEnhancedMeasurementSettings.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getenhancedmeasurementsettings/SyncGetEnhancedMeasurementSettings.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getenhancedmeasurementsettings/SyncGetEnhancedMeasurementSettings.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getenhancedmeasurementsettings/SyncGetEnhancedMeasurementSettingsEnhancedmeasurementsettingsname.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getenhancedmeasurementsettings/SyncGetEnhancedMeasurementSettingsEnhancedmeasurementsettingsname.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getenhancedmeasurementsettings/SyncGetEnhancedMeasurementSettingsEnhancedmeasurementsettingsname.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getenhancedmeasurementsettings/SyncGetEnhancedMeasurementSettingsEnhancedmeasurementsettingsname.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getenhancedmeasurementsettings/SyncGetEnhancedMeasurementSettingsString.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getenhancedmeasurementsettings/SyncGetEnhancedMeasurementSettingsString.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getenhancedmeasurementsettings/SyncGetEnhancedMeasurementSettingsString.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getenhancedmeasurementsettings/SyncGetEnhancedMeasurementSettingsString.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/geteventcreaterule/AsyncGetEventCreateRule.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/geteventcreaterule/AsyncGetEventCreateRule.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/geteventcreaterule/AsyncGetEventCreateRule.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/geteventcreaterule/AsyncGetEventCreateRule.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/geteventcreaterule/SyncGetEventCreateRule.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/geteventcreaterule/SyncGetEventCreateRule.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/geteventcreaterule/SyncGetEventCreateRule.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/geteventcreaterule/SyncGetEventCreateRule.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/geteventcreaterule/SyncGetEventCreateRuleEventcreaterulename.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/geteventcreaterule/SyncGetEventCreateRuleEventcreaterulename.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/geteventcreaterule/SyncGetEventCreateRuleEventcreaterulename.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/geteventcreaterule/SyncGetEventCreateRuleEventcreaterulename.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/geteventcreaterule/SyncGetEventCreateRuleString.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/geteventcreaterule/SyncGetEventCreateRuleString.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/geteventcreaterule/SyncGetEventCreateRuleString.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/geteventcreaterule/SyncGetEventCreateRuleString.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getexpandeddataset/AsyncGetExpandedDataSet.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getexpandeddataset/AsyncGetExpandedDataSet.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getexpandeddataset/AsyncGetExpandedDataSet.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getexpandeddataset/AsyncGetExpandedDataSet.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getexpandeddataset/SyncGetExpandedDataSet.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getexpandeddataset/SyncGetExpandedDataSet.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getexpandeddataset/SyncGetExpandedDataSet.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getexpandeddataset/SyncGetExpandedDataSet.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getexpandeddataset/SyncGetExpandedDataSetExpandeddatasetname.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getexpandeddataset/SyncGetExpandedDataSetExpandeddatasetname.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getexpandeddataset/SyncGetExpandedDataSetExpandeddatasetname.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getexpandeddataset/SyncGetExpandedDataSetExpandeddatasetname.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getexpandeddataset/SyncGetExpandedDataSetString.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getexpandeddataset/SyncGetExpandedDataSetString.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getexpandeddataset/SyncGetExpandedDataSetString.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getexpandeddataset/SyncGetExpandedDataSetString.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/getrolluppropertysourcelink/AsyncGetRollupPropertySourceLink.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getrolluppropertysourcelink/AsyncGetRollupPropertySourceLink.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getrolluppropertysourcelink/AsyncGetRollupPropertySourceLink.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getrolluppropertysourcelink/AsyncGetRollupPropertySourceLink.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getrolluppropertysourcelink/SyncGetRollupPropertySourceLink.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getrolluppropertysourcelink/SyncGetRollupPropertySourceLink.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getrolluppropertysourcelink/SyncGetRollupPropertySourceLink.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getrolluppropertysourcelink/SyncGetRollupPropertySourceLink.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getrolluppropertysourcelink/SyncGetRollupPropertySourceLinkRolluppropertysourcelinkname.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getrolluppropertysourcelink/SyncGetRollupPropertySourceLinkRolluppropertysourcelinkname.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getrolluppropertysourcelink/SyncGetRollupPropertySourceLinkRolluppropertysourcelinkname.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getrolluppropertysourcelink/SyncGetRollupPropertySourceLinkRolluppropertysourcelinkname.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getrolluppropertysourcelink/SyncGetRollupPropertySourceLinkString.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getrolluppropertysourcelink/SyncGetRollupPropertySourceLinkString.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getrolluppropertysourcelink/SyncGetRollupPropertySourceLinkString.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getrolluppropertysourcelink/SyncGetRollupPropertySourceLinkString.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/getskadnetworkconversionvalueschema/AsyncGetSKAdNetworkConversionValueSchema.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getskadnetworkconversionvalueschema/AsyncGetSKAdNetworkConversionValueSchema.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getskadnetworkconversionvalueschema/AsyncGetSKAdNetworkConversionValueSchema.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getskadnetworkconversionvalueschema/AsyncGetSKAdNetworkConversionValueSchema.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getskadnetworkconversionvalueschema/SyncGetSKAdNetworkConversionValueSchema.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getskadnetworkconversionvalueschema/SyncGetSKAdNetworkConversionValueSchema.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getskadnetworkconversionvalueschema/SyncGetSKAdNetworkConversionValueSchema.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getskadnetworkconversionvalueschema/SyncGetSKAdNetworkConversionValueSchema.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getskadnetworkconversionvalueschema/SyncGetSKAdNetworkConversionValueSchemaSkadnetworkconversionvalueschemaname.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getskadnetworkconversionvalueschema/SyncGetSKAdNetworkConversionValueSchemaSkadnetworkconversionvalueschemaname.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getskadnetworkconversionvalueschema/SyncGetSKAdNetworkConversionValueSchemaSkadnetworkconversionvalueschemaname.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getskadnetworkconversionvalueschema/SyncGetSKAdNetworkConversionValueSchemaSkadnetworkconversionvalueschemaname.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getskadnetworkconversionvalueschema/SyncGetSKAdNetworkConversionValueSchemaString.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getskadnetworkconversionvalueschema/SyncGetSKAdNetworkConversionValueSchemaString.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getskadnetworkconversionvalueschema/SyncGetSKAdNetworkConversionValueSchemaString.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/getskadnetworkconversionvalueschema/SyncGetSKAdNetworkConversionValueSchemaString.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listaccessbindings/AsyncListAccessBindings.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listaccessbindings/AsyncListAccessBindings.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listaccessbindings/AsyncListAccessBindings.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listaccessbindings/AsyncListAccessBindings.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listaccessbindings/AsyncListAccessBindingsPaged.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listaccessbindings/AsyncListAccessBindingsPaged.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listaccessbindings/AsyncListAccessBindingsPaged.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listaccessbindings/AsyncListAccessBindingsPaged.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listaccessbindings/SyncListAccessBindings.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listaccessbindings/SyncListAccessBindings.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listaccessbindings/SyncListAccessBindings.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listaccessbindings/SyncListAccessBindings.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listaccessbindings/SyncListAccessBindingsAccountname.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listaccessbindings/SyncListAccessBindingsAccountname.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listaccessbindings/SyncListAccessBindingsAccountname.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listaccessbindings/SyncListAccessBindingsAccountname.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listaccessbindings/SyncListAccessBindingsPropertyname.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listaccessbindings/SyncListAccessBindingsPropertyname.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listaccessbindings/SyncListAccessBindingsPropertyname.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listaccessbindings/SyncListAccessBindingsPropertyname.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listaccessbindings/SyncListAccessBindingsString.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listaccessbindings/SyncListAccessBindingsString.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listaccessbindings/SyncListAccessBindingsString.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listaccessbindings/SyncListAccessBindingsString.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/listadsenselinks/AsyncListAdSenseLinks.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listadsenselinks/AsyncListAdSenseLinks.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listadsenselinks/AsyncListAdSenseLinks.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listadsenselinks/AsyncListAdSenseLinks.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listadsenselinks/AsyncListAdSenseLinksPaged.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listadsenselinks/AsyncListAdSenseLinksPaged.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listadsenselinks/AsyncListAdSenseLinksPaged.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listadsenselinks/AsyncListAdSenseLinksPaged.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listadsenselinks/SyncListAdSenseLinks.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listadsenselinks/SyncListAdSenseLinks.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listadsenselinks/SyncListAdSenseLinks.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listadsenselinks/SyncListAdSenseLinks.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listadsenselinks/SyncListAdSenseLinksPropertyname.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listadsenselinks/SyncListAdSenseLinksPropertyname.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listadsenselinks/SyncListAdSenseLinksPropertyname.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listadsenselinks/SyncListAdSenseLinksPropertyname.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listadsenselinks/SyncListAdSenseLinksString.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listadsenselinks/SyncListAdSenseLinksString.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listadsenselinks/SyncListAdSenseLinksString.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listadsenselinks/SyncListAdSenseLinksString.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/listchannelgroups/AsyncListChannelGroups.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listchannelgroups/AsyncListChannelGroups.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listchannelgroups/AsyncListChannelGroups.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listchannelgroups/AsyncListChannelGroups.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listchannelgroups/AsyncListChannelGroupsPaged.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listchannelgroups/AsyncListChannelGroupsPaged.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listchannelgroups/AsyncListChannelGroupsPaged.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listchannelgroups/AsyncListChannelGroupsPaged.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listchannelgroups/SyncListChannelGroups.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listchannelgroups/SyncListChannelGroups.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listchannelgroups/SyncListChannelGroups.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listchannelgroups/SyncListChannelGroups.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listchannelgroups/SyncListChannelGroupsPropertyname.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listchannelgroups/SyncListChannelGroupsPropertyname.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listchannelgroups/SyncListChannelGroupsPropertyname.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listchannelgroups/SyncListChannelGroupsPropertyname.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listchannelgroups/SyncListChannelGroupsString.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listchannelgroups/SyncListChannelGroupsString.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listchannelgroups/SyncListChannelGroupsString.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listchannelgroups/SyncListChannelGroupsString.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listconnectedsitetags/AsyncListConnectedSiteTags.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listconnectedsitetags/AsyncListConnectedSiteTags.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listconnectedsitetags/AsyncListConnectedSiteTags.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listconnectedsitetags/AsyncListConnectedSiteTags.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listconnectedsitetags/SyncListConnectedSiteTags.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listconnectedsitetags/SyncListConnectedSiteTags.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listconnectedsitetags/SyncListConnectedSiteTags.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listconnectedsitetags/SyncListConnectedSiteTags.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/listeventcreaterules/AsyncListEventCreateRules.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listeventcreaterules/AsyncListEventCreateRules.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listeventcreaterules/AsyncListEventCreateRules.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listeventcreaterules/AsyncListEventCreateRules.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listeventcreaterules/AsyncListEventCreateRulesPaged.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listeventcreaterules/AsyncListEventCreateRulesPaged.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listeventcreaterules/AsyncListEventCreateRulesPaged.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listeventcreaterules/AsyncListEventCreateRulesPaged.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listeventcreaterules/SyncListEventCreateRules.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listeventcreaterules/SyncListEventCreateRules.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listeventcreaterules/SyncListEventCreateRules.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listeventcreaterules/SyncListEventCreateRules.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listeventcreaterules/SyncListEventCreateRulesDatastreamname.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listeventcreaterules/SyncListEventCreateRulesDatastreamname.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listeventcreaterules/SyncListEventCreateRulesDatastreamname.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listeventcreaterules/SyncListEventCreateRulesDatastreamname.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listeventcreaterules/SyncListEventCreateRulesString.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listeventcreaterules/SyncListEventCreateRulesString.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listeventcreaterules/SyncListEventCreateRulesString.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listeventcreaterules/SyncListEventCreateRulesString.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listexpandeddatasets/AsyncListExpandedDataSets.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listexpandeddatasets/AsyncListExpandedDataSets.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listexpandeddatasets/AsyncListExpandedDataSets.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listexpandeddatasets/AsyncListExpandedDataSets.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listexpandeddatasets/AsyncListExpandedDataSetsPaged.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listexpandeddatasets/AsyncListExpandedDataSetsPaged.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listexpandeddatasets/AsyncListExpandedDataSetsPaged.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listexpandeddatasets/AsyncListExpandedDataSetsPaged.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listexpandeddatasets/SyncListExpandedDataSets.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listexpandeddatasets/SyncListExpandedDataSets.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listexpandeddatasets/SyncListExpandedDataSets.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listexpandeddatasets/SyncListExpandedDataSets.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listexpandeddatasets/SyncListExpandedDataSetsPropertyname.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listexpandeddatasets/SyncListExpandedDataSetsPropertyname.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listexpandeddatasets/SyncListExpandedDataSetsPropertyname.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listexpandeddatasets/SyncListExpandedDataSetsPropertyname.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listexpandeddatasets/SyncListExpandedDataSetsString.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listexpandeddatasets/SyncListExpandedDataSetsString.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listexpandeddatasets/SyncListExpandedDataSetsString.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listexpandeddatasets/SyncListExpandedDataSetsString.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/listrolluppropertysourcelinks/AsyncListRollupPropertySourceLinks.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listrolluppropertysourcelinks/AsyncListRollupPropertySourceLinks.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listrolluppropertysourcelinks/AsyncListRollupPropertySourceLinks.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listrolluppropertysourcelinks/AsyncListRollupPropertySourceLinks.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listrolluppropertysourcelinks/AsyncListRollupPropertySourceLinksPaged.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listrolluppropertysourcelinks/AsyncListRollupPropertySourceLinksPaged.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listrolluppropertysourcelinks/AsyncListRollupPropertySourceLinksPaged.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listrolluppropertysourcelinks/AsyncListRollupPropertySourceLinksPaged.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listrolluppropertysourcelinks/SyncListRollupPropertySourceLinks.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listrolluppropertysourcelinks/SyncListRollupPropertySourceLinks.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listrolluppropertysourcelinks/SyncListRollupPropertySourceLinks.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listrolluppropertysourcelinks/SyncListRollupPropertySourceLinks.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listrolluppropertysourcelinks/SyncListRollupPropertySourceLinksPropertyname.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listrolluppropertysourcelinks/SyncListRollupPropertySourceLinksPropertyname.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listrolluppropertysourcelinks/SyncListRollupPropertySourceLinksPropertyname.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listrolluppropertysourcelinks/SyncListRollupPropertySourceLinksPropertyname.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listrolluppropertysourcelinks/SyncListRollupPropertySourceLinksString.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listrolluppropertysourcelinks/SyncListRollupPropertySourceLinksString.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listrolluppropertysourcelinks/SyncListRollupPropertySourceLinksString.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listrolluppropertysourcelinks/SyncListRollupPropertySourceLinksString.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/listskadnetworkconversionvalueschemas/AsyncListSKAdNetworkConversionValueSchemas.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listskadnetworkconversionvalueschemas/AsyncListSKAdNetworkConversionValueSchemas.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listskadnetworkconversionvalueschemas/AsyncListSKAdNetworkConversionValueSchemas.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listskadnetworkconversionvalueschemas/AsyncListSKAdNetworkConversionValueSchemas.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listskadnetworkconversionvalueschemas/AsyncListSKAdNetworkConversionValueSchemasPaged.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listskadnetworkconversionvalueschemas/AsyncListSKAdNetworkConversionValueSchemasPaged.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listskadnetworkconversionvalueschemas/AsyncListSKAdNetworkConversionValueSchemasPaged.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listskadnetworkconversionvalueschemas/AsyncListSKAdNetworkConversionValueSchemasPaged.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listskadnetworkconversionvalueschemas/SyncListSKAdNetworkConversionValueSchemas.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listskadnetworkconversionvalueschemas/SyncListSKAdNetworkConversionValueSchemas.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listskadnetworkconversionvalueschemas/SyncListSKAdNetworkConversionValueSchemas.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listskadnetworkconversionvalueschemas/SyncListSKAdNetworkConversionValueSchemas.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listskadnetworkconversionvalueschemas/SyncListSKAdNetworkConversionValueSchemasDatastreamname.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listskadnetworkconversionvalueschemas/SyncListSKAdNetworkConversionValueSchemasDatastreamname.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listskadnetworkconversionvalueschemas/SyncListSKAdNetworkConversionValueSchemasDatastreamname.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listskadnetworkconversionvalueschemas/SyncListSKAdNetworkConversionValueSchemasDatastreamname.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listskadnetworkconversionvalueschemas/SyncListSKAdNetworkConversionValueSchemasString.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listskadnetworkconversionvalueschemas/SyncListSKAdNetworkConversionValueSchemasString.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listskadnetworkconversionvalueschemas/SyncListSKAdNetworkConversionValueSchemasString.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/listskadnetworkconversionvalueschemas/SyncListSKAdNetworkConversionValueSchemasString.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/updateaccessbinding/AsyncUpdateAccessBinding.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updateaccessbinding/AsyncUpdateAccessBinding.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updateaccessbinding/AsyncUpdateAccessBinding.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updateaccessbinding/AsyncUpdateAccessBinding.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updateaccessbinding/SyncUpdateAccessBinding.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updateaccessbinding/SyncUpdateAccessBinding.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updateaccessbinding/SyncUpdateAccessBinding.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updateaccessbinding/SyncUpdateAccessBinding.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updateaccessbinding/SyncUpdateAccessBindingAccessbinding.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updateaccessbinding/SyncUpdateAccessBindingAccessbinding.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updateaccessbinding/SyncUpdateAccessBindingAccessbinding.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updateaccessbinding/SyncUpdateAccessBindingAccessbinding.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/updatechannelgroup/AsyncUpdateChannelGroup.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updatechannelgroup/AsyncUpdateChannelGroup.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updatechannelgroup/AsyncUpdateChannelGroup.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updatechannelgroup/AsyncUpdateChannelGroup.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updatechannelgroup/SyncUpdateChannelGroup.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updatechannelgroup/SyncUpdateChannelGroup.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updatechannelgroup/SyncUpdateChannelGroup.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updatechannelgroup/SyncUpdateChannelGroup.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updatechannelgroup/SyncUpdateChannelGroupChannelgroupFieldmask.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updatechannelgroup/SyncUpdateChannelGroupChannelgroupFieldmask.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updatechannelgroup/SyncUpdateChannelGroupChannelgroupFieldmask.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updatechannelgroup/SyncUpdateChannelGroupChannelgroupFieldmask.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updateconversionevent/AsyncUpdateConversionEvent.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updateconversionevent/AsyncUpdateConversionEvent.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updateconversionevent/AsyncUpdateConversionEvent.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updateconversionevent/AsyncUpdateConversionEvent.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updateconversionevent/SyncUpdateConversionEvent.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updateconversionevent/SyncUpdateConversionEvent.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updateconversionevent/SyncUpdateConversionEvent.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updateconversionevent/SyncUpdateConversionEvent.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updateconversionevent/SyncUpdateConversionEventConversioneventFieldmask.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updateconversionevent/SyncUpdateConversionEventConversioneventFieldmask.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updateconversionevent/SyncUpdateConversionEventConversioneventFieldmask.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updateconversionevent/SyncUpdateConversionEventConversioneventFieldmask.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/updatedataredactionsettings/AsyncUpdateDataRedactionSettings.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updatedataredactionsettings/AsyncUpdateDataRedactionSettings.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updatedataredactionsettings/AsyncUpdateDataRedactionSettings.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updatedataredactionsettings/AsyncUpdateDataRedactionSettings.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updatedataredactionsettings/SyncUpdateDataRedactionSettings.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updatedataredactionsettings/SyncUpdateDataRedactionSettings.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updatedataredactionsettings/SyncUpdateDataRedactionSettings.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updatedataredactionsettings/SyncUpdateDataRedactionSettings.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updatedataredactionsettings/SyncUpdateDataRedactionSettingsDataredactionsettingsFieldmask.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updatedataredactionsettings/SyncUpdateDataRedactionSettingsDataredactionsettingsFieldmask.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updatedataredactionsettings/SyncUpdateDataRedactionSettingsDataredactionsettingsFieldmask.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updatedataredactionsettings/SyncUpdateDataRedactionSettingsDataredactionsettingsFieldmask.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/updateenhancedmeasurementsettings/AsyncUpdateEnhancedMeasurementSettings.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updateenhancedmeasurementsettings/AsyncUpdateEnhancedMeasurementSettings.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updateenhancedmeasurementsettings/AsyncUpdateEnhancedMeasurementSettings.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updateenhancedmeasurementsettings/AsyncUpdateEnhancedMeasurementSettings.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updateenhancedmeasurementsettings/SyncUpdateEnhancedMeasurementSettings.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updateenhancedmeasurementsettings/SyncUpdateEnhancedMeasurementSettings.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updateenhancedmeasurementsettings/SyncUpdateEnhancedMeasurementSettings.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updateenhancedmeasurementsettings/SyncUpdateEnhancedMeasurementSettings.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updateenhancedmeasurementsettings/SyncUpdateEnhancedMeasurementSettingsEnhancedmeasurementsettingsFieldmask.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updateenhancedmeasurementsettings/SyncUpdateEnhancedMeasurementSettingsEnhancedmeasurementsettingsFieldmask.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updateenhancedmeasurementsettings/SyncUpdateEnhancedMeasurementSettingsEnhancedmeasurementsettingsFieldmask.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updateenhancedmeasurementsettings/SyncUpdateEnhancedMeasurementSettingsEnhancedmeasurementsettingsFieldmask.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updateeventcreaterule/AsyncUpdateEventCreateRule.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updateeventcreaterule/AsyncUpdateEventCreateRule.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updateeventcreaterule/AsyncUpdateEventCreateRule.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updateeventcreaterule/AsyncUpdateEventCreateRule.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updateeventcreaterule/SyncUpdateEventCreateRule.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updateeventcreaterule/SyncUpdateEventCreateRule.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updateeventcreaterule/SyncUpdateEventCreateRule.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updateeventcreaterule/SyncUpdateEventCreateRule.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updateeventcreaterule/SyncUpdateEventCreateRuleEventcreateruleFieldmask.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updateeventcreaterule/SyncUpdateEventCreateRuleEventcreateruleFieldmask.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updateeventcreaterule/SyncUpdateEventCreateRuleEventcreateruleFieldmask.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updateeventcreaterule/SyncUpdateEventCreateRuleEventcreateruleFieldmask.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updateexpandeddataset/AsyncUpdateExpandedDataSet.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updateexpandeddataset/AsyncUpdateExpandedDataSet.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updateexpandeddataset/AsyncUpdateExpandedDataSet.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updateexpandeddataset/AsyncUpdateExpandedDataSet.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updateexpandeddataset/SyncUpdateExpandedDataSet.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updateexpandeddataset/SyncUpdateExpandedDataSet.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updateexpandeddataset/SyncUpdateExpandedDataSet.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updateexpandeddataset/SyncUpdateExpandedDataSet.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updateexpandeddataset/SyncUpdateExpandedDataSetExpandeddatasetFieldmask.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updateexpandeddataset/SyncUpdateExpandedDataSetExpandeddatasetFieldmask.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updateexpandeddataset/SyncUpdateExpandedDataSetExpandeddatasetFieldmask.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updateexpandeddataset/SyncUpdateExpandedDataSetExpandeddatasetFieldmask.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/updateskadnetworkconversionvalueschema/AsyncUpdateSKAdNetworkConversionValueSchema.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updateskadnetworkconversionvalueschema/AsyncUpdateSKAdNetworkConversionValueSchema.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updateskadnetworkconversionvalueschema/AsyncUpdateSKAdNetworkConversionValueSchema.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updateskadnetworkconversionvalueschema/AsyncUpdateSKAdNetworkConversionValueSchema.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updateskadnetworkconversionvalueschema/SyncUpdateSKAdNetworkConversionValueSchema.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updateskadnetworkconversionvalueschema/SyncUpdateSKAdNetworkConversionValueSchema.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updateskadnetworkconversionvalueschema/SyncUpdateSKAdNetworkConversionValueSchema.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updateskadnetworkconversionvalueschema/SyncUpdateSKAdNetworkConversionValueSchema.java diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updateskadnetworkconversionvalueschema/SyncUpdateSKAdNetworkConversionValueSchemaSkadnetworkconversionvalueschemaFieldmask.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updateskadnetworkconversionvalueschema/SyncUpdateSKAdNetworkConversionValueSchemaSkadnetworkconversionvalueschemaFieldmask.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1alpha/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updateskadnetworkconversionvalueschema/SyncUpdateSKAdNetworkConversionValueSchemaSkadnetworkconversionvalueschemaFieldmask.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1alpha/analyticsadminservice/updateskadnetworkconversionvalueschema/SyncUpdateSKAdNetworkConversionValueSchemaSkadnetworkconversionvalueschemaFieldmask.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/runaccessreport/AsyncRunAccessReport.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/runaccessreport/AsyncRunAccessReport.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/runaccessreport/AsyncRunAccessReport.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/runaccessreport/AsyncRunAccessReport.java diff --git a/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/runaccessreport/SyncRunAccessReport.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/runaccessreport/SyncRunAccessReport.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/runaccessreport/SyncRunAccessReport.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/runaccessreport/SyncRunAccessReport.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/updateconversionevent/AsyncUpdateConversionEvent.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/updateconversionevent/AsyncUpdateConversionEvent.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/updateconversionevent/AsyncUpdateConversionEvent.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/updateconversionevent/AsyncUpdateConversionEvent.java diff --git a/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/updateconversionevent/SyncUpdateConversionEvent.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/updateconversionevent/SyncUpdateConversionEvent.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/updateconversionevent/SyncUpdateConversionEvent.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/updateconversionevent/SyncUpdateConversionEvent.java diff --git a/owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/updateconversionevent/SyncUpdateConversionEventConversioneventFieldmask.java b/java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/updateconversionevent/SyncUpdateConversionEventConversioneventFieldmask.java similarity index 100% rename from owl-bot-staging/java-analytics-admin/v1beta/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/updateconversionevent/SyncUpdateConversionEventConversioneventFieldmask.java rename to java-analytics-admin/samples/snippets/generated/com/google/analytics/admin/v1beta/analyticsadminservice/updateconversionevent/SyncUpdateConversionEventConversioneventFieldmask.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 3b08b2bb5eac..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,11581 +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 java.lang.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 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 getGetSKAdNetworkConversionValueSchemaMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetSKAdNetworkConversionValueSchema", - requestType = com.google.analytics.admin.v1alpha.GetSKAdNetworkConversionValueSchemaRequest.class, - responseType = com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGetSKAdNetworkConversionValueSchemaMethod() { - io.grpc.MethodDescriptor getGetSKAdNetworkConversionValueSchemaMethod; - if ((getGetSKAdNetworkConversionValueSchemaMethod = AnalyticsAdminServiceGrpc.getGetSKAdNetworkConversionValueSchemaMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getGetSKAdNetworkConversionValueSchemaMethod = AnalyticsAdminServiceGrpc.getGetSKAdNetworkConversionValueSchemaMethod) == null) { - AnalyticsAdminServiceGrpc.getGetSKAdNetworkConversionValueSchemaMethod = getGetSKAdNetworkConversionValueSchemaMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetSKAdNetworkConversionValueSchema")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.GetSKAdNetworkConversionValueSchemaRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema.getDefaultInstance())) - .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("GetSKAdNetworkConversionValueSchema")) - .build(); - } - } - } - return getGetSKAdNetworkConversionValueSchemaMethod; - } - - private static volatile io.grpc.MethodDescriptor getCreateSKAdNetworkConversionValueSchemaMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateSKAdNetworkConversionValueSchema", - requestType = com.google.analytics.admin.v1alpha.CreateSKAdNetworkConversionValueSchemaRequest.class, - responseType = com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getCreateSKAdNetworkConversionValueSchemaMethod() { - io.grpc.MethodDescriptor getCreateSKAdNetworkConversionValueSchemaMethod; - if ((getCreateSKAdNetworkConversionValueSchemaMethod = AnalyticsAdminServiceGrpc.getCreateSKAdNetworkConversionValueSchemaMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getCreateSKAdNetworkConversionValueSchemaMethod = AnalyticsAdminServiceGrpc.getCreateSKAdNetworkConversionValueSchemaMethod) == null) { - AnalyticsAdminServiceGrpc.getCreateSKAdNetworkConversionValueSchemaMethod = getCreateSKAdNetworkConversionValueSchemaMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateSKAdNetworkConversionValueSchema")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.CreateSKAdNetworkConversionValueSchemaRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema.getDefaultInstance())) - .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("CreateSKAdNetworkConversionValueSchema")) - .build(); - } - } - } - return getCreateSKAdNetworkConversionValueSchemaMethod; - } - - private static volatile io.grpc.MethodDescriptor getDeleteSKAdNetworkConversionValueSchemaMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteSKAdNetworkConversionValueSchema", - requestType = com.google.analytics.admin.v1alpha.DeleteSKAdNetworkConversionValueSchemaRequest.class, - responseType = com.google.protobuf.Empty.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getDeleteSKAdNetworkConversionValueSchemaMethod() { - io.grpc.MethodDescriptor getDeleteSKAdNetworkConversionValueSchemaMethod; - if ((getDeleteSKAdNetworkConversionValueSchemaMethod = AnalyticsAdminServiceGrpc.getDeleteSKAdNetworkConversionValueSchemaMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getDeleteSKAdNetworkConversionValueSchemaMethod = AnalyticsAdminServiceGrpc.getDeleteSKAdNetworkConversionValueSchemaMethod) == null) { - AnalyticsAdminServiceGrpc.getDeleteSKAdNetworkConversionValueSchemaMethod = getDeleteSKAdNetworkConversionValueSchemaMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteSKAdNetworkConversionValueSchema")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.DeleteSKAdNetworkConversionValueSchemaRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("DeleteSKAdNetworkConversionValueSchema")) - .build(); - } - } - } - return getDeleteSKAdNetworkConversionValueSchemaMethod; - } - - private static volatile io.grpc.MethodDescriptor getUpdateSKAdNetworkConversionValueSchemaMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateSKAdNetworkConversionValueSchema", - requestType = com.google.analytics.admin.v1alpha.UpdateSKAdNetworkConversionValueSchemaRequest.class, - responseType = com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getUpdateSKAdNetworkConversionValueSchemaMethod() { - io.grpc.MethodDescriptor getUpdateSKAdNetworkConversionValueSchemaMethod; - if ((getUpdateSKAdNetworkConversionValueSchemaMethod = AnalyticsAdminServiceGrpc.getUpdateSKAdNetworkConversionValueSchemaMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getUpdateSKAdNetworkConversionValueSchemaMethod = AnalyticsAdminServiceGrpc.getUpdateSKAdNetworkConversionValueSchemaMethod) == null) { - AnalyticsAdminServiceGrpc.getUpdateSKAdNetworkConversionValueSchemaMethod = getUpdateSKAdNetworkConversionValueSchemaMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateSKAdNetworkConversionValueSchema")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.UpdateSKAdNetworkConversionValueSchemaRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema.getDefaultInstance())) - .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("UpdateSKAdNetworkConversionValueSchema")) - .build(); - } - } - } - return getUpdateSKAdNetworkConversionValueSchemaMethod; - } - - private static volatile io.grpc.MethodDescriptor getListSKAdNetworkConversionValueSchemasMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListSKAdNetworkConversionValueSchemas", - requestType = com.google.analytics.admin.v1alpha.ListSKAdNetworkConversionValueSchemasRequest.class, - responseType = com.google.analytics.admin.v1alpha.ListSKAdNetworkConversionValueSchemasResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getListSKAdNetworkConversionValueSchemasMethod() { - io.grpc.MethodDescriptor getListSKAdNetworkConversionValueSchemasMethod; - if ((getListSKAdNetworkConversionValueSchemasMethod = AnalyticsAdminServiceGrpc.getListSKAdNetworkConversionValueSchemasMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getListSKAdNetworkConversionValueSchemasMethod = AnalyticsAdminServiceGrpc.getListSKAdNetworkConversionValueSchemasMethod) == null) { - AnalyticsAdminServiceGrpc.getListSKAdNetworkConversionValueSchemasMethod = getListSKAdNetworkConversionValueSchemasMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListSKAdNetworkConversionValueSchemas")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.ListSKAdNetworkConversionValueSchemasRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.ListSKAdNetworkConversionValueSchemasResponse.getDefaultInstance())) - .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("ListSKAdNetworkConversionValueSchemas")) - .build(); - } - } - } - return getListSKAdNetworkConversionValueSchemasMethod; - } - - 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 getUpdateConversionEventMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateConversionEvent", - requestType = com.google.analytics.admin.v1alpha.UpdateConversionEventRequest.class, - responseType = com.google.analytics.admin.v1alpha.ConversionEvent.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getUpdateConversionEventMethod() { - io.grpc.MethodDescriptor getUpdateConversionEventMethod; - if ((getUpdateConversionEventMethod = AnalyticsAdminServiceGrpc.getUpdateConversionEventMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getUpdateConversionEventMethod = AnalyticsAdminServiceGrpc.getUpdateConversionEventMethod) == null) { - AnalyticsAdminServiceGrpc.getUpdateConversionEventMethod = getUpdateConversionEventMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateConversionEvent")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.UpdateConversionEventRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.ConversionEvent.getDefaultInstance())) - .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("UpdateConversionEvent")) - .build(); - } - } - } - return getUpdateConversionEventMethod; - } - - 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 getCreateAccessBindingMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateAccessBinding", - requestType = com.google.analytics.admin.v1alpha.CreateAccessBindingRequest.class, - responseType = com.google.analytics.admin.v1alpha.AccessBinding.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getCreateAccessBindingMethod() { - io.grpc.MethodDescriptor getCreateAccessBindingMethod; - if ((getCreateAccessBindingMethod = AnalyticsAdminServiceGrpc.getCreateAccessBindingMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getCreateAccessBindingMethod = AnalyticsAdminServiceGrpc.getCreateAccessBindingMethod) == null) { - AnalyticsAdminServiceGrpc.getCreateAccessBindingMethod = getCreateAccessBindingMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateAccessBinding")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.CreateAccessBindingRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.AccessBinding.getDefaultInstance())) - .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("CreateAccessBinding")) - .build(); - } - } - } - return getCreateAccessBindingMethod; - } - - private static volatile io.grpc.MethodDescriptor getGetAccessBindingMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetAccessBinding", - requestType = com.google.analytics.admin.v1alpha.GetAccessBindingRequest.class, - responseType = com.google.analytics.admin.v1alpha.AccessBinding.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGetAccessBindingMethod() { - io.grpc.MethodDescriptor getGetAccessBindingMethod; - if ((getGetAccessBindingMethod = AnalyticsAdminServiceGrpc.getGetAccessBindingMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getGetAccessBindingMethod = AnalyticsAdminServiceGrpc.getGetAccessBindingMethod) == null) { - AnalyticsAdminServiceGrpc.getGetAccessBindingMethod = getGetAccessBindingMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetAccessBinding")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.GetAccessBindingRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.AccessBinding.getDefaultInstance())) - .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("GetAccessBinding")) - .build(); - } - } - } - return getGetAccessBindingMethod; - } - - private static volatile io.grpc.MethodDescriptor getUpdateAccessBindingMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateAccessBinding", - requestType = com.google.analytics.admin.v1alpha.UpdateAccessBindingRequest.class, - responseType = com.google.analytics.admin.v1alpha.AccessBinding.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getUpdateAccessBindingMethod() { - io.grpc.MethodDescriptor getUpdateAccessBindingMethod; - if ((getUpdateAccessBindingMethod = AnalyticsAdminServiceGrpc.getUpdateAccessBindingMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getUpdateAccessBindingMethod = AnalyticsAdminServiceGrpc.getUpdateAccessBindingMethod) == null) { - AnalyticsAdminServiceGrpc.getUpdateAccessBindingMethod = getUpdateAccessBindingMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateAccessBinding")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.UpdateAccessBindingRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.AccessBinding.getDefaultInstance())) - .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("UpdateAccessBinding")) - .build(); - } - } - } - return getUpdateAccessBindingMethod; - } - - private static volatile io.grpc.MethodDescriptor getDeleteAccessBindingMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteAccessBinding", - requestType = com.google.analytics.admin.v1alpha.DeleteAccessBindingRequest.class, - responseType = com.google.protobuf.Empty.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getDeleteAccessBindingMethod() { - io.grpc.MethodDescriptor getDeleteAccessBindingMethod; - if ((getDeleteAccessBindingMethod = AnalyticsAdminServiceGrpc.getDeleteAccessBindingMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getDeleteAccessBindingMethod = AnalyticsAdminServiceGrpc.getDeleteAccessBindingMethod) == null) { - AnalyticsAdminServiceGrpc.getDeleteAccessBindingMethod = getDeleteAccessBindingMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteAccessBinding")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.DeleteAccessBindingRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("DeleteAccessBinding")) - .build(); - } - } - } - return getDeleteAccessBindingMethod; - } - - private static volatile io.grpc.MethodDescriptor getListAccessBindingsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListAccessBindings", - requestType = com.google.analytics.admin.v1alpha.ListAccessBindingsRequest.class, - responseType = com.google.analytics.admin.v1alpha.ListAccessBindingsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getListAccessBindingsMethod() { - io.grpc.MethodDescriptor getListAccessBindingsMethod; - if ((getListAccessBindingsMethod = AnalyticsAdminServiceGrpc.getListAccessBindingsMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getListAccessBindingsMethod = AnalyticsAdminServiceGrpc.getListAccessBindingsMethod) == null) { - AnalyticsAdminServiceGrpc.getListAccessBindingsMethod = getListAccessBindingsMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListAccessBindings")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.ListAccessBindingsRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.ListAccessBindingsResponse.getDefaultInstance())) - .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("ListAccessBindings")) - .build(); - } - } - } - return getListAccessBindingsMethod; - } - - private static volatile io.grpc.MethodDescriptor getBatchCreateAccessBindingsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "BatchCreateAccessBindings", - requestType = com.google.analytics.admin.v1alpha.BatchCreateAccessBindingsRequest.class, - responseType = com.google.analytics.admin.v1alpha.BatchCreateAccessBindingsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getBatchCreateAccessBindingsMethod() { - io.grpc.MethodDescriptor getBatchCreateAccessBindingsMethod; - if ((getBatchCreateAccessBindingsMethod = AnalyticsAdminServiceGrpc.getBatchCreateAccessBindingsMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getBatchCreateAccessBindingsMethod = AnalyticsAdminServiceGrpc.getBatchCreateAccessBindingsMethod) == null) { - AnalyticsAdminServiceGrpc.getBatchCreateAccessBindingsMethod = getBatchCreateAccessBindingsMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "BatchCreateAccessBindings")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.BatchCreateAccessBindingsRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.BatchCreateAccessBindingsResponse.getDefaultInstance())) - .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("BatchCreateAccessBindings")) - .build(); - } - } - } - return getBatchCreateAccessBindingsMethod; - } - - private static volatile io.grpc.MethodDescriptor getBatchGetAccessBindingsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "BatchGetAccessBindings", - requestType = com.google.analytics.admin.v1alpha.BatchGetAccessBindingsRequest.class, - responseType = com.google.analytics.admin.v1alpha.BatchGetAccessBindingsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getBatchGetAccessBindingsMethod() { - io.grpc.MethodDescriptor getBatchGetAccessBindingsMethod; - if ((getBatchGetAccessBindingsMethod = AnalyticsAdminServiceGrpc.getBatchGetAccessBindingsMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getBatchGetAccessBindingsMethod = AnalyticsAdminServiceGrpc.getBatchGetAccessBindingsMethod) == null) { - AnalyticsAdminServiceGrpc.getBatchGetAccessBindingsMethod = getBatchGetAccessBindingsMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "BatchGetAccessBindings")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.BatchGetAccessBindingsRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.BatchGetAccessBindingsResponse.getDefaultInstance())) - .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("BatchGetAccessBindings")) - .build(); - } - } - } - return getBatchGetAccessBindingsMethod; - } - - private static volatile io.grpc.MethodDescriptor getBatchUpdateAccessBindingsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "BatchUpdateAccessBindings", - requestType = com.google.analytics.admin.v1alpha.BatchUpdateAccessBindingsRequest.class, - responseType = com.google.analytics.admin.v1alpha.BatchUpdateAccessBindingsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getBatchUpdateAccessBindingsMethod() { - io.grpc.MethodDescriptor getBatchUpdateAccessBindingsMethod; - if ((getBatchUpdateAccessBindingsMethod = AnalyticsAdminServiceGrpc.getBatchUpdateAccessBindingsMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getBatchUpdateAccessBindingsMethod = AnalyticsAdminServiceGrpc.getBatchUpdateAccessBindingsMethod) == null) { - AnalyticsAdminServiceGrpc.getBatchUpdateAccessBindingsMethod = getBatchUpdateAccessBindingsMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "BatchUpdateAccessBindings")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.BatchUpdateAccessBindingsRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.BatchUpdateAccessBindingsResponse.getDefaultInstance())) - .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("BatchUpdateAccessBindings")) - .build(); - } - } - } - return getBatchUpdateAccessBindingsMethod; - } - - private static volatile io.grpc.MethodDescriptor getBatchDeleteAccessBindingsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "BatchDeleteAccessBindings", - requestType = com.google.analytics.admin.v1alpha.BatchDeleteAccessBindingsRequest.class, - responseType = com.google.protobuf.Empty.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getBatchDeleteAccessBindingsMethod() { - io.grpc.MethodDescriptor getBatchDeleteAccessBindingsMethod; - if ((getBatchDeleteAccessBindingsMethod = AnalyticsAdminServiceGrpc.getBatchDeleteAccessBindingsMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getBatchDeleteAccessBindingsMethod = AnalyticsAdminServiceGrpc.getBatchDeleteAccessBindingsMethod) == null) { - AnalyticsAdminServiceGrpc.getBatchDeleteAccessBindingsMethod = getBatchDeleteAccessBindingsMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "BatchDeleteAccessBindings")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.BatchDeleteAccessBindingsRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("BatchDeleteAccessBindings")) - .build(); - } - } - } - return getBatchDeleteAccessBindingsMethod; - } - - private static volatile io.grpc.MethodDescriptor getGetExpandedDataSetMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetExpandedDataSet", - requestType = com.google.analytics.admin.v1alpha.GetExpandedDataSetRequest.class, - responseType = com.google.analytics.admin.v1alpha.ExpandedDataSet.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGetExpandedDataSetMethod() { - io.grpc.MethodDescriptor getGetExpandedDataSetMethod; - if ((getGetExpandedDataSetMethod = AnalyticsAdminServiceGrpc.getGetExpandedDataSetMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getGetExpandedDataSetMethod = AnalyticsAdminServiceGrpc.getGetExpandedDataSetMethod) == null) { - AnalyticsAdminServiceGrpc.getGetExpandedDataSetMethod = getGetExpandedDataSetMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetExpandedDataSet")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.GetExpandedDataSetRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.ExpandedDataSet.getDefaultInstance())) - .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("GetExpandedDataSet")) - .build(); - } - } - } - return getGetExpandedDataSetMethod; - } - - private static volatile io.grpc.MethodDescriptor getListExpandedDataSetsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListExpandedDataSets", - requestType = com.google.analytics.admin.v1alpha.ListExpandedDataSetsRequest.class, - responseType = com.google.analytics.admin.v1alpha.ListExpandedDataSetsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getListExpandedDataSetsMethod() { - io.grpc.MethodDescriptor getListExpandedDataSetsMethod; - if ((getListExpandedDataSetsMethod = AnalyticsAdminServiceGrpc.getListExpandedDataSetsMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getListExpandedDataSetsMethod = AnalyticsAdminServiceGrpc.getListExpandedDataSetsMethod) == null) { - AnalyticsAdminServiceGrpc.getListExpandedDataSetsMethod = getListExpandedDataSetsMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListExpandedDataSets")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.ListExpandedDataSetsRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.ListExpandedDataSetsResponse.getDefaultInstance())) - .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("ListExpandedDataSets")) - .build(); - } - } - } - return getListExpandedDataSetsMethod; - } - - private static volatile io.grpc.MethodDescriptor getCreateExpandedDataSetMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateExpandedDataSet", - requestType = com.google.analytics.admin.v1alpha.CreateExpandedDataSetRequest.class, - responseType = com.google.analytics.admin.v1alpha.ExpandedDataSet.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getCreateExpandedDataSetMethod() { - io.grpc.MethodDescriptor getCreateExpandedDataSetMethod; - if ((getCreateExpandedDataSetMethod = AnalyticsAdminServiceGrpc.getCreateExpandedDataSetMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getCreateExpandedDataSetMethod = AnalyticsAdminServiceGrpc.getCreateExpandedDataSetMethod) == null) { - AnalyticsAdminServiceGrpc.getCreateExpandedDataSetMethod = getCreateExpandedDataSetMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateExpandedDataSet")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.CreateExpandedDataSetRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.ExpandedDataSet.getDefaultInstance())) - .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("CreateExpandedDataSet")) - .build(); - } - } - } - return getCreateExpandedDataSetMethod; - } - - private static volatile io.grpc.MethodDescriptor getUpdateExpandedDataSetMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateExpandedDataSet", - requestType = com.google.analytics.admin.v1alpha.UpdateExpandedDataSetRequest.class, - responseType = com.google.analytics.admin.v1alpha.ExpandedDataSet.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getUpdateExpandedDataSetMethod() { - io.grpc.MethodDescriptor getUpdateExpandedDataSetMethod; - if ((getUpdateExpandedDataSetMethod = AnalyticsAdminServiceGrpc.getUpdateExpandedDataSetMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getUpdateExpandedDataSetMethod = AnalyticsAdminServiceGrpc.getUpdateExpandedDataSetMethod) == null) { - AnalyticsAdminServiceGrpc.getUpdateExpandedDataSetMethod = getUpdateExpandedDataSetMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateExpandedDataSet")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.UpdateExpandedDataSetRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.ExpandedDataSet.getDefaultInstance())) - .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("UpdateExpandedDataSet")) - .build(); - } - } - } - return getUpdateExpandedDataSetMethod; - } - - private static volatile io.grpc.MethodDescriptor getDeleteExpandedDataSetMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteExpandedDataSet", - requestType = com.google.analytics.admin.v1alpha.DeleteExpandedDataSetRequest.class, - responseType = com.google.protobuf.Empty.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getDeleteExpandedDataSetMethod() { - io.grpc.MethodDescriptor getDeleteExpandedDataSetMethod; - if ((getDeleteExpandedDataSetMethod = AnalyticsAdminServiceGrpc.getDeleteExpandedDataSetMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getDeleteExpandedDataSetMethod = AnalyticsAdminServiceGrpc.getDeleteExpandedDataSetMethod) == null) { - AnalyticsAdminServiceGrpc.getDeleteExpandedDataSetMethod = getDeleteExpandedDataSetMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteExpandedDataSet")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.DeleteExpandedDataSetRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("DeleteExpandedDataSet")) - .build(); - } - } - } - return getDeleteExpandedDataSetMethod; - } - - private static volatile io.grpc.MethodDescriptor getGetChannelGroupMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetChannelGroup", - requestType = com.google.analytics.admin.v1alpha.GetChannelGroupRequest.class, - responseType = com.google.analytics.admin.v1alpha.ChannelGroup.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGetChannelGroupMethod() { - io.grpc.MethodDescriptor getGetChannelGroupMethod; - if ((getGetChannelGroupMethod = AnalyticsAdminServiceGrpc.getGetChannelGroupMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getGetChannelGroupMethod = AnalyticsAdminServiceGrpc.getGetChannelGroupMethod) == null) { - AnalyticsAdminServiceGrpc.getGetChannelGroupMethod = getGetChannelGroupMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetChannelGroup")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.GetChannelGroupRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.ChannelGroup.getDefaultInstance())) - .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("GetChannelGroup")) - .build(); - } - } - } - return getGetChannelGroupMethod; - } - - private static volatile io.grpc.MethodDescriptor getListChannelGroupsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListChannelGroups", - requestType = com.google.analytics.admin.v1alpha.ListChannelGroupsRequest.class, - responseType = com.google.analytics.admin.v1alpha.ListChannelGroupsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getListChannelGroupsMethod() { - io.grpc.MethodDescriptor getListChannelGroupsMethod; - if ((getListChannelGroupsMethod = AnalyticsAdminServiceGrpc.getListChannelGroupsMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getListChannelGroupsMethod = AnalyticsAdminServiceGrpc.getListChannelGroupsMethod) == null) { - AnalyticsAdminServiceGrpc.getListChannelGroupsMethod = getListChannelGroupsMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListChannelGroups")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.ListChannelGroupsRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.ListChannelGroupsResponse.getDefaultInstance())) - .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("ListChannelGroups")) - .build(); - } - } - } - return getListChannelGroupsMethod; - } - - private static volatile io.grpc.MethodDescriptor getCreateChannelGroupMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateChannelGroup", - requestType = com.google.analytics.admin.v1alpha.CreateChannelGroupRequest.class, - responseType = com.google.analytics.admin.v1alpha.ChannelGroup.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getCreateChannelGroupMethod() { - io.grpc.MethodDescriptor getCreateChannelGroupMethod; - if ((getCreateChannelGroupMethod = AnalyticsAdminServiceGrpc.getCreateChannelGroupMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getCreateChannelGroupMethod = AnalyticsAdminServiceGrpc.getCreateChannelGroupMethod) == null) { - AnalyticsAdminServiceGrpc.getCreateChannelGroupMethod = getCreateChannelGroupMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateChannelGroup")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.CreateChannelGroupRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.ChannelGroup.getDefaultInstance())) - .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("CreateChannelGroup")) - .build(); - } - } - } - return getCreateChannelGroupMethod; - } - - private static volatile io.grpc.MethodDescriptor getUpdateChannelGroupMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateChannelGroup", - requestType = com.google.analytics.admin.v1alpha.UpdateChannelGroupRequest.class, - responseType = com.google.analytics.admin.v1alpha.ChannelGroup.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getUpdateChannelGroupMethod() { - io.grpc.MethodDescriptor getUpdateChannelGroupMethod; - if ((getUpdateChannelGroupMethod = AnalyticsAdminServiceGrpc.getUpdateChannelGroupMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getUpdateChannelGroupMethod = AnalyticsAdminServiceGrpc.getUpdateChannelGroupMethod) == null) { - AnalyticsAdminServiceGrpc.getUpdateChannelGroupMethod = getUpdateChannelGroupMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateChannelGroup")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.UpdateChannelGroupRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.ChannelGroup.getDefaultInstance())) - .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("UpdateChannelGroup")) - .build(); - } - } - } - return getUpdateChannelGroupMethod; - } - - private static volatile io.grpc.MethodDescriptor getDeleteChannelGroupMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteChannelGroup", - requestType = com.google.analytics.admin.v1alpha.DeleteChannelGroupRequest.class, - responseType = com.google.protobuf.Empty.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getDeleteChannelGroupMethod() { - io.grpc.MethodDescriptor getDeleteChannelGroupMethod; - if ((getDeleteChannelGroupMethod = AnalyticsAdminServiceGrpc.getDeleteChannelGroupMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getDeleteChannelGroupMethod = AnalyticsAdminServiceGrpc.getDeleteChannelGroupMethod) == null) { - AnalyticsAdminServiceGrpc.getDeleteChannelGroupMethod = getDeleteChannelGroupMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteChannelGroup")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.DeleteChannelGroupRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("DeleteChannelGroup")) - .build(); - } - } - } - return getDeleteChannelGroupMethod; - } - - 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; - } - - private static volatile io.grpc.MethodDescriptor getGetEnhancedMeasurementSettingsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetEnhancedMeasurementSettings", - requestType = com.google.analytics.admin.v1alpha.GetEnhancedMeasurementSettingsRequest.class, - responseType = com.google.analytics.admin.v1alpha.EnhancedMeasurementSettings.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGetEnhancedMeasurementSettingsMethod() { - io.grpc.MethodDescriptor getGetEnhancedMeasurementSettingsMethod; - if ((getGetEnhancedMeasurementSettingsMethod = AnalyticsAdminServiceGrpc.getGetEnhancedMeasurementSettingsMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getGetEnhancedMeasurementSettingsMethod = AnalyticsAdminServiceGrpc.getGetEnhancedMeasurementSettingsMethod) == null) { - AnalyticsAdminServiceGrpc.getGetEnhancedMeasurementSettingsMethod = getGetEnhancedMeasurementSettingsMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetEnhancedMeasurementSettings")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.GetEnhancedMeasurementSettingsRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.EnhancedMeasurementSettings.getDefaultInstance())) - .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("GetEnhancedMeasurementSettings")) - .build(); - } - } - } - return getGetEnhancedMeasurementSettingsMethod; - } - - private static volatile io.grpc.MethodDescriptor getUpdateEnhancedMeasurementSettingsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateEnhancedMeasurementSettings", - requestType = com.google.analytics.admin.v1alpha.UpdateEnhancedMeasurementSettingsRequest.class, - responseType = com.google.analytics.admin.v1alpha.EnhancedMeasurementSettings.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getUpdateEnhancedMeasurementSettingsMethod() { - io.grpc.MethodDescriptor getUpdateEnhancedMeasurementSettingsMethod; - if ((getUpdateEnhancedMeasurementSettingsMethod = AnalyticsAdminServiceGrpc.getUpdateEnhancedMeasurementSettingsMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getUpdateEnhancedMeasurementSettingsMethod = AnalyticsAdminServiceGrpc.getUpdateEnhancedMeasurementSettingsMethod) == null) { - AnalyticsAdminServiceGrpc.getUpdateEnhancedMeasurementSettingsMethod = getUpdateEnhancedMeasurementSettingsMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateEnhancedMeasurementSettings")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.UpdateEnhancedMeasurementSettingsRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.EnhancedMeasurementSettings.getDefaultInstance())) - .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("UpdateEnhancedMeasurementSettings")) - .build(); - } - } - } - return getUpdateEnhancedMeasurementSettingsMethod; - } - - private static volatile io.grpc.MethodDescriptor getCreateConnectedSiteTagMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateConnectedSiteTag", - requestType = com.google.analytics.admin.v1alpha.CreateConnectedSiteTagRequest.class, - responseType = com.google.analytics.admin.v1alpha.CreateConnectedSiteTagResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getCreateConnectedSiteTagMethod() { - io.grpc.MethodDescriptor getCreateConnectedSiteTagMethod; - if ((getCreateConnectedSiteTagMethod = AnalyticsAdminServiceGrpc.getCreateConnectedSiteTagMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getCreateConnectedSiteTagMethod = AnalyticsAdminServiceGrpc.getCreateConnectedSiteTagMethod) == null) { - AnalyticsAdminServiceGrpc.getCreateConnectedSiteTagMethod = getCreateConnectedSiteTagMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateConnectedSiteTag")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.CreateConnectedSiteTagRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.CreateConnectedSiteTagResponse.getDefaultInstance())) - .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("CreateConnectedSiteTag")) - .build(); - } - } - } - return getCreateConnectedSiteTagMethod; - } - - private static volatile io.grpc.MethodDescriptor getDeleteConnectedSiteTagMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteConnectedSiteTag", - requestType = com.google.analytics.admin.v1alpha.DeleteConnectedSiteTagRequest.class, - responseType = com.google.protobuf.Empty.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getDeleteConnectedSiteTagMethod() { - io.grpc.MethodDescriptor getDeleteConnectedSiteTagMethod; - if ((getDeleteConnectedSiteTagMethod = AnalyticsAdminServiceGrpc.getDeleteConnectedSiteTagMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getDeleteConnectedSiteTagMethod = AnalyticsAdminServiceGrpc.getDeleteConnectedSiteTagMethod) == null) { - AnalyticsAdminServiceGrpc.getDeleteConnectedSiteTagMethod = getDeleteConnectedSiteTagMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteConnectedSiteTag")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.DeleteConnectedSiteTagRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("DeleteConnectedSiteTag")) - .build(); - } - } - } - return getDeleteConnectedSiteTagMethod; - } - - private static volatile io.grpc.MethodDescriptor getListConnectedSiteTagsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListConnectedSiteTags", - requestType = com.google.analytics.admin.v1alpha.ListConnectedSiteTagsRequest.class, - responseType = com.google.analytics.admin.v1alpha.ListConnectedSiteTagsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getListConnectedSiteTagsMethod() { - io.grpc.MethodDescriptor getListConnectedSiteTagsMethod; - if ((getListConnectedSiteTagsMethod = AnalyticsAdminServiceGrpc.getListConnectedSiteTagsMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getListConnectedSiteTagsMethod = AnalyticsAdminServiceGrpc.getListConnectedSiteTagsMethod) == null) { - AnalyticsAdminServiceGrpc.getListConnectedSiteTagsMethod = getListConnectedSiteTagsMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListConnectedSiteTags")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.ListConnectedSiteTagsRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.ListConnectedSiteTagsResponse.getDefaultInstance())) - .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("ListConnectedSiteTags")) - .build(); - } - } - } - return getListConnectedSiteTagsMethod; - } - - private static volatile io.grpc.MethodDescriptor getFetchConnectedGa4PropertyMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "FetchConnectedGa4Property", - requestType = com.google.analytics.admin.v1alpha.FetchConnectedGa4PropertyRequest.class, - responseType = com.google.analytics.admin.v1alpha.FetchConnectedGa4PropertyResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getFetchConnectedGa4PropertyMethod() { - io.grpc.MethodDescriptor getFetchConnectedGa4PropertyMethod; - if ((getFetchConnectedGa4PropertyMethod = AnalyticsAdminServiceGrpc.getFetchConnectedGa4PropertyMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getFetchConnectedGa4PropertyMethod = AnalyticsAdminServiceGrpc.getFetchConnectedGa4PropertyMethod) == null) { - AnalyticsAdminServiceGrpc.getFetchConnectedGa4PropertyMethod = getFetchConnectedGa4PropertyMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "FetchConnectedGa4Property")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.FetchConnectedGa4PropertyRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.FetchConnectedGa4PropertyResponse.getDefaultInstance())) - .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("FetchConnectedGa4Property")) - .build(); - } - } - } - return getFetchConnectedGa4PropertyMethod; - } - - private static volatile io.grpc.MethodDescriptor getGetAdSenseLinkMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetAdSenseLink", - requestType = com.google.analytics.admin.v1alpha.GetAdSenseLinkRequest.class, - responseType = com.google.analytics.admin.v1alpha.AdSenseLink.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGetAdSenseLinkMethod() { - io.grpc.MethodDescriptor getGetAdSenseLinkMethod; - if ((getGetAdSenseLinkMethod = AnalyticsAdminServiceGrpc.getGetAdSenseLinkMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getGetAdSenseLinkMethod = AnalyticsAdminServiceGrpc.getGetAdSenseLinkMethod) == null) { - AnalyticsAdminServiceGrpc.getGetAdSenseLinkMethod = getGetAdSenseLinkMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetAdSenseLink")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.GetAdSenseLinkRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.AdSenseLink.getDefaultInstance())) - .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("GetAdSenseLink")) - .build(); - } - } - } - return getGetAdSenseLinkMethod; - } - - private static volatile io.grpc.MethodDescriptor getCreateAdSenseLinkMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateAdSenseLink", - requestType = com.google.analytics.admin.v1alpha.CreateAdSenseLinkRequest.class, - responseType = com.google.analytics.admin.v1alpha.AdSenseLink.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getCreateAdSenseLinkMethod() { - io.grpc.MethodDescriptor getCreateAdSenseLinkMethod; - if ((getCreateAdSenseLinkMethod = AnalyticsAdminServiceGrpc.getCreateAdSenseLinkMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getCreateAdSenseLinkMethod = AnalyticsAdminServiceGrpc.getCreateAdSenseLinkMethod) == null) { - AnalyticsAdminServiceGrpc.getCreateAdSenseLinkMethod = getCreateAdSenseLinkMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateAdSenseLink")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.CreateAdSenseLinkRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.AdSenseLink.getDefaultInstance())) - .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("CreateAdSenseLink")) - .build(); - } - } - } - return getCreateAdSenseLinkMethod; - } - - private static volatile io.grpc.MethodDescriptor getDeleteAdSenseLinkMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteAdSenseLink", - requestType = com.google.analytics.admin.v1alpha.DeleteAdSenseLinkRequest.class, - responseType = com.google.protobuf.Empty.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getDeleteAdSenseLinkMethod() { - io.grpc.MethodDescriptor getDeleteAdSenseLinkMethod; - if ((getDeleteAdSenseLinkMethod = AnalyticsAdminServiceGrpc.getDeleteAdSenseLinkMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getDeleteAdSenseLinkMethod = AnalyticsAdminServiceGrpc.getDeleteAdSenseLinkMethod) == null) { - AnalyticsAdminServiceGrpc.getDeleteAdSenseLinkMethod = getDeleteAdSenseLinkMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteAdSenseLink")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.DeleteAdSenseLinkRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("DeleteAdSenseLink")) - .build(); - } - } - } - return getDeleteAdSenseLinkMethod; - } - - private static volatile io.grpc.MethodDescriptor getListAdSenseLinksMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListAdSenseLinks", - requestType = com.google.analytics.admin.v1alpha.ListAdSenseLinksRequest.class, - responseType = com.google.analytics.admin.v1alpha.ListAdSenseLinksResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getListAdSenseLinksMethod() { - io.grpc.MethodDescriptor getListAdSenseLinksMethod; - if ((getListAdSenseLinksMethod = AnalyticsAdminServiceGrpc.getListAdSenseLinksMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getListAdSenseLinksMethod = AnalyticsAdminServiceGrpc.getListAdSenseLinksMethod) == null) { - AnalyticsAdminServiceGrpc.getListAdSenseLinksMethod = getListAdSenseLinksMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListAdSenseLinks")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.ListAdSenseLinksRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.ListAdSenseLinksResponse.getDefaultInstance())) - .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("ListAdSenseLinks")) - .build(); - } - } - } - return getListAdSenseLinksMethod; - } - - private static volatile io.grpc.MethodDescriptor getGetEventCreateRuleMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetEventCreateRule", - requestType = com.google.analytics.admin.v1alpha.GetEventCreateRuleRequest.class, - responseType = com.google.analytics.admin.v1alpha.EventCreateRule.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGetEventCreateRuleMethod() { - io.grpc.MethodDescriptor getGetEventCreateRuleMethod; - if ((getGetEventCreateRuleMethod = AnalyticsAdminServiceGrpc.getGetEventCreateRuleMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getGetEventCreateRuleMethod = AnalyticsAdminServiceGrpc.getGetEventCreateRuleMethod) == null) { - AnalyticsAdminServiceGrpc.getGetEventCreateRuleMethod = getGetEventCreateRuleMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetEventCreateRule")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.GetEventCreateRuleRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.EventCreateRule.getDefaultInstance())) - .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("GetEventCreateRule")) - .build(); - } - } - } - return getGetEventCreateRuleMethod; - } - - private static volatile io.grpc.MethodDescriptor getListEventCreateRulesMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListEventCreateRules", - requestType = com.google.analytics.admin.v1alpha.ListEventCreateRulesRequest.class, - responseType = com.google.analytics.admin.v1alpha.ListEventCreateRulesResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getListEventCreateRulesMethod() { - io.grpc.MethodDescriptor getListEventCreateRulesMethod; - if ((getListEventCreateRulesMethod = AnalyticsAdminServiceGrpc.getListEventCreateRulesMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getListEventCreateRulesMethod = AnalyticsAdminServiceGrpc.getListEventCreateRulesMethod) == null) { - AnalyticsAdminServiceGrpc.getListEventCreateRulesMethod = getListEventCreateRulesMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListEventCreateRules")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.ListEventCreateRulesRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.ListEventCreateRulesResponse.getDefaultInstance())) - .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("ListEventCreateRules")) - .build(); - } - } - } - return getListEventCreateRulesMethod; - } - - private static volatile io.grpc.MethodDescriptor getCreateEventCreateRuleMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateEventCreateRule", - requestType = com.google.analytics.admin.v1alpha.CreateEventCreateRuleRequest.class, - responseType = com.google.analytics.admin.v1alpha.EventCreateRule.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getCreateEventCreateRuleMethod() { - io.grpc.MethodDescriptor getCreateEventCreateRuleMethod; - if ((getCreateEventCreateRuleMethod = AnalyticsAdminServiceGrpc.getCreateEventCreateRuleMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getCreateEventCreateRuleMethod = AnalyticsAdminServiceGrpc.getCreateEventCreateRuleMethod) == null) { - AnalyticsAdminServiceGrpc.getCreateEventCreateRuleMethod = getCreateEventCreateRuleMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateEventCreateRule")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.CreateEventCreateRuleRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.EventCreateRule.getDefaultInstance())) - .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("CreateEventCreateRule")) - .build(); - } - } - } - return getCreateEventCreateRuleMethod; - } - - private static volatile io.grpc.MethodDescriptor getUpdateEventCreateRuleMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateEventCreateRule", - requestType = com.google.analytics.admin.v1alpha.UpdateEventCreateRuleRequest.class, - responseType = com.google.analytics.admin.v1alpha.EventCreateRule.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getUpdateEventCreateRuleMethod() { - io.grpc.MethodDescriptor getUpdateEventCreateRuleMethod; - if ((getUpdateEventCreateRuleMethod = AnalyticsAdminServiceGrpc.getUpdateEventCreateRuleMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getUpdateEventCreateRuleMethod = AnalyticsAdminServiceGrpc.getUpdateEventCreateRuleMethod) == null) { - AnalyticsAdminServiceGrpc.getUpdateEventCreateRuleMethod = getUpdateEventCreateRuleMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateEventCreateRule")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.UpdateEventCreateRuleRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.EventCreateRule.getDefaultInstance())) - .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("UpdateEventCreateRule")) - .build(); - } - } - } - return getUpdateEventCreateRuleMethod; - } - - private static volatile io.grpc.MethodDescriptor getDeleteEventCreateRuleMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteEventCreateRule", - requestType = com.google.analytics.admin.v1alpha.DeleteEventCreateRuleRequest.class, - responseType = com.google.protobuf.Empty.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getDeleteEventCreateRuleMethod() { - io.grpc.MethodDescriptor getDeleteEventCreateRuleMethod; - if ((getDeleteEventCreateRuleMethod = AnalyticsAdminServiceGrpc.getDeleteEventCreateRuleMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getDeleteEventCreateRuleMethod = AnalyticsAdminServiceGrpc.getDeleteEventCreateRuleMethod) == null) { - AnalyticsAdminServiceGrpc.getDeleteEventCreateRuleMethod = getDeleteEventCreateRuleMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteEventCreateRule")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.DeleteEventCreateRuleRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("DeleteEventCreateRule")) - .build(); - } - } - } - return getDeleteEventCreateRuleMethod; - } - - private static volatile io.grpc.MethodDescriptor getUpdateDataRedactionSettingsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateDataRedactionSettings", - requestType = com.google.analytics.admin.v1alpha.UpdateDataRedactionSettingsRequest.class, - responseType = com.google.analytics.admin.v1alpha.DataRedactionSettings.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getUpdateDataRedactionSettingsMethod() { - io.grpc.MethodDescriptor getUpdateDataRedactionSettingsMethod; - if ((getUpdateDataRedactionSettingsMethod = AnalyticsAdminServiceGrpc.getUpdateDataRedactionSettingsMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getUpdateDataRedactionSettingsMethod = AnalyticsAdminServiceGrpc.getUpdateDataRedactionSettingsMethod) == null) { - AnalyticsAdminServiceGrpc.getUpdateDataRedactionSettingsMethod = getUpdateDataRedactionSettingsMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateDataRedactionSettings")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.UpdateDataRedactionSettingsRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.DataRedactionSettings.getDefaultInstance())) - .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("UpdateDataRedactionSettings")) - .build(); - } - } - } - return getUpdateDataRedactionSettingsMethod; - } - - private static volatile io.grpc.MethodDescriptor getGetDataRedactionSettingsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetDataRedactionSettings", - requestType = com.google.analytics.admin.v1alpha.GetDataRedactionSettingsRequest.class, - responseType = com.google.analytics.admin.v1alpha.DataRedactionSettings.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGetDataRedactionSettingsMethod() { - io.grpc.MethodDescriptor getGetDataRedactionSettingsMethod; - if ((getGetDataRedactionSettingsMethod = AnalyticsAdminServiceGrpc.getGetDataRedactionSettingsMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getGetDataRedactionSettingsMethod = AnalyticsAdminServiceGrpc.getGetDataRedactionSettingsMethod) == null) { - AnalyticsAdminServiceGrpc.getGetDataRedactionSettingsMethod = getGetDataRedactionSettingsMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetDataRedactionSettings")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.GetDataRedactionSettingsRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.DataRedactionSettings.getDefaultInstance())) - .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("GetDataRedactionSettings")) - .build(); - } - } - } - return getGetDataRedactionSettingsMethod; - } - - private static volatile io.grpc.MethodDescriptor getCreateRollupPropertyMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateRollupProperty", - requestType = com.google.analytics.admin.v1alpha.CreateRollupPropertyRequest.class, - responseType = com.google.analytics.admin.v1alpha.CreateRollupPropertyResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getCreateRollupPropertyMethod() { - io.grpc.MethodDescriptor getCreateRollupPropertyMethod; - if ((getCreateRollupPropertyMethod = AnalyticsAdminServiceGrpc.getCreateRollupPropertyMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getCreateRollupPropertyMethod = AnalyticsAdminServiceGrpc.getCreateRollupPropertyMethod) == null) { - AnalyticsAdminServiceGrpc.getCreateRollupPropertyMethod = getCreateRollupPropertyMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateRollupProperty")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.CreateRollupPropertyRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.CreateRollupPropertyResponse.getDefaultInstance())) - .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("CreateRollupProperty")) - .build(); - } - } - } - return getCreateRollupPropertyMethod; - } - - private static volatile io.grpc.MethodDescriptor getGetRollupPropertySourceLinkMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetRollupPropertySourceLink", - requestType = com.google.analytics.admin.v1alpha.GetRollupPropertySourceLinkRequest.class, - responseType = com.google.analytics.admin.v1alpha.RollupPropertySourceLink.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGetRollupPropertySourceLinkMethod() { - io.grpc.MethodDescriptor getGetRollupPropertySourceLinkMethod; - if ((getGetRollupPropertySourceLinkMethod = AnalyticsAdminServiceGrpc.getGetRollupPropertySourceLinkMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getGetRollupPropertySourceLinkMethod = AnalyticsAdminServiceGrpc.getGetRollupPropertySourceLinkMethod) == null) { - AnalyticsAdminServiceGrpc.getGetRollupPropertySourceLinkMethod = getGetRollupPropertySourceLinkMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetRollupPropertySourceLink")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.GetRollupPropertySourceLinkRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.RollupPropertySourceLink.getDefaultInstance())) - .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("GetRollupPropertySourceLink")) - .build(); - } - } - } - return getGetRollupPropertySourceLinkMethod; - } - - private static volatile io.grpc.MethodDescriptor getListRollupPropertySourceLinksMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListRollupPropertySourceLinks", - requestType = com.google.analytics.admin.v1alpha.ListRollupPropertySourceLinksRequest.class, - responseType = com.google.analytics.admin.v1alpha.ListRollupPropertySourceLinksResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getListRollupPropertySourceLinksMethod() { - io.grpc.MethodDescriptor getListRollupPropertySourceLinksMethod; - if ((getListRollupPropertySourceLinksMethod = AnalyticsAdminServiceGrpc.getListRollupPropertySourceLinksMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getListRollupPropertySourceLinksMethod = AnalyticsAdminServiceGrpc.getListRollupPropertySourceLinksMethod) == null) { - AnalyticsAdminServiceGrpc.getListRollupPropertySourceLinksMethod = getListRollupPropertySourceLinksMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListRollupPropertySourceLinks")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.ListRollupPropertySourceLinksRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.ListRollupPropertySourceLinksResponse.getDefaultInstance())) - .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("ListRollupPropertySourceLinks")) - .build(); - } - } - } - return getListRollupPropertySourceLinksMethod; - } - - private static volatile io.grpc.MethodDescriptor getCreateRollupPropertySourceLinkMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateRollupPropertySourceLink", - requestType = com.google.analytics.admin.v1alpha.CreateRollupPropertySourceLinkRequest.class, - responseType = com.google.analytics.admin.v1alpha.RollupPropertySourceLink.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getCreateRollupPropertySourceLinkMethod() { - io.grpc.MethodDescriptor getCreateRollupPropertySourceLinkMethod; - if ((getCreateRollupPropertySourceLinkMethod = AnalyticsAdminServiceGrpc.getCreateRollupPropertySourceLinkMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getCreateRollupPropertySourceLinkMethod = AnalyticsAdminServiceGrpc.getCreateRollupPropertySourceLinkMethod) == null) { - AnalyticsAdminServiceGrpc.getCreateRollupPropertySourceLinkMethod = getCreateRollupPropertySourceLinkMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateRollupPropertySourceLink")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.CreateRollupPropertySourceLinkRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.RollupPropertySourceLink.getDefaultInstance())) - .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("CreateRollupPropertySourceLink")) - .build(); - } - } - } - return getCreateRollupPropertySourceLinkMethod; - } - - private static volatile io.grpc.MethodDescriptor getDeleteRollupPropertySourceLinkMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteRollupPropertySourceLink", - requestType = com.google.analytics.admin.v1alpha.DeleteRollupPropertySourceLinkRequest.class, - responseType = com.google.protobuf.Empty.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getDeleteRollupPropertySourceLinkMethod() { - io.grpc.MethodDescriptor getDeleteRollupPropertySourceLinkMethod; - if ((getDeleteRollupPropertySourceLinkMethod = AnalyticsAdminServiceGrpc.getDeleteRollupPropertySourceLinkMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getDeleteRollupPropertySourceLinkMethod = AnalyticsAdminServiceGrpc.getDeleteRollupPropertySourceLinkMethod) == null) { - AnalyticsAdminServiceGrpc.getDeleteRollupPropertySourceLinkMethod = getDeleteRollupPropertySourceLinkMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteRollupPropertySourceLink")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.DeleteRollupPropertySourceLinkRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("DeleteRollupPropertySourceLink")) - .build(); - } - } - } - return getDeleteRollupPropertySourceLinkMethod; - } - - private static volatile io.grpc.MethodDescriptor getCreateSubpropertyMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateSubproperty", - requestType = com.google.analytics.admin.v1alpha.CreateSubpropertyRequest.class, - responseType = com.google.analytics.admin.v1alpha.CreateSubpropertyResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getCreateSubpropertyMethod() { - io.grpc.MethodDescriptor getCreateSubpropertyMethod; - if ((getCreateSubpropertyMethod = AnalyticsAdminServiceGrpc.getCreateSubpropertyMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getCreateSubpropertyMethod = AnalyticsAdminServiceGrpc.getCreateSubpropertyMethod) == null) { - AnalyticsAdminServiceGrpc.getCreateSubpropertyMethod = getCreateSubpropertyMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateSubproperty")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.CreateSubpropertyRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.CreateSubpropertyResponse.getDefaultInstance())) - .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("CreateSubproperty")) - .build(); - } - } - } - return getCreateSubpropertyMethod; - } - - private static volatile io.grpc.MethodDescriptor getDeleteSubpropertyEventFilterMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteSubpropertyEventFilter", - requestType = com.google.analytics.admin.v1alpha.DeleteSubpropertyEventFilterRequest.class, - responseType = com.google.protobuf.Empty.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getDeleteSubpropertyEventFilterMethod() { - io.grpc.MethodDescriptor getDeleteSubpropertyEventFilterMethod; - if ((getDeleteSubpropertyEventFilterMethod = AnalyticsAdminServiceGrpc.getDeleteSubpropertyEventFilterMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getDeleteSubpropertyEventFilterMethod = AnalyticsAdminServiceGrpc.getDeleteSubpropertyEventFilterMethod) == null) { - AnalyticsAdminServiceGrpc.getDeleteSubpropertyEventFilterMethod = getDeleteSubpropertyEventFilterMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteSubpropertyEventFilter")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.DeleteSubpropertyEventFilterRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("DeleteSubpropertyEventFilter")) - .build(); - } - } - } - return getDeleteSubpropertyEventFilterMethod; - } - - private static volatile io.grpc.MethodDescriptor getCreateSubpropertyEventFilterMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateSubpropertyEventFilter", - requestType = com.google.analytics.admin.v1alpha.CreateSubpropertyEventFilterRequest.class, - responseType = com.google.analytics.admin.v1alpha.SubpropertyEventFilter.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getCreateSubpropertyEventFilterMethod() { - io.grpc.MethodDescriptor getCreateSubpropertyEventFilterMethod; - if ((getCreateSubpropertyEventFilterMethod = AnalyticsAdminServiceGrpc.getCreateSubpropertyEventFilterMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getCreateSubpropertyEventFilterMethod = AnalyticsAdminServiceGrpc.getCreateSubpropertyEventFilterMethod) == null) { - AnalyticsAdminServiceGrpc.getCreateSubpropertyEventFilterMethod = getCreateSubpropertyEventFilterMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateSubpropertyEventFilter")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.CreateSubpropertyEventFilterRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1alpha.SubpropertyEventFilter.getDefaultInstance())) - .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("CreateSubpropertyEventFilter")) - .build(); - } - } - } - return getCreateSubpropertyEventFilterMethod; - } - - /** - * 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 interface AsyncService { - - /** - *
-     * Lookup for a single Account.
-     * 
- */ - default 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.
-     * 
- */ - default 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,
-     * AccessBindings) will be permanently purged.
-     * https://support.google.com/analytics/answer/6154772
-     * Returns an error if the target is not found.
-     * 
- */ - default void deleteAccount(com.google.analytics.admin.v1alpha.DeleteAccountRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteAccountMethod(), responseObserver); - } - - /** - *
-     * Updates an account.
-     * 
- */ - default 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.
-     * 
- */ - default 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.
-     * 
- */ - default 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.
-     * 
- */ - default 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.
-     * 
- */ - default 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.
-     * 
- */ - default 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, AccessBindings)
-     * 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.
-     * 
- */ - default void deleteProperty(com.google.analytics.admin.v1alpha.DeletePropertyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeletePropertyMethod(), responseObserver); - } - - /** - *
-     * Updates a property.
-     * 
- */ - default void updateProperty(com.google.analytics.admin.v1alpha.UpdatePropertyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdatePropertyMethod(), responseObserver); - } - - /** - *
-     * Creates a FirebaseLink.
-     * Properties can have at most one FirebaseLink.
-     * 
- */ - default 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
-     * 
- */ - default 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.
-     * 
- */ - default 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.
-     * 
- */ - default void getGlobalSiteTag(com.google.analytics.admin.v1alpha.GetGlobalSiteTagRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetGlobalSiteTagMethod(), responseObserver); - } - - /** - *
-     * Creates a GoogleAdsLink.
-     * 
- */ - default 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
-     * 
- */ - default 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
-     * 
- */ - default 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.
-     * 
- */ - default 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.
-     * 
- */ - default 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.
-     * 
- */ - default 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.
-     * 
- */ - default 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.
-     * 
- */ - default void createMeasurementProtocolSecret(com.google.analytics.admin.v1alpha.CreateMeasurementProtocolSecretRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateMeasurementProtocolSecretMethod(), responseObserver); - } - - /** - *
-     * Deletes target MeasurementProtocolSecret.
-     * 
- */ - default 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.
-     * 
- */ - default 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 through this API) before MeasurementProtocolSecret resources may be
-     * created.
-     * 
- */ - default void acknowledgeUserDataCollection(com.google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getAcknowledgeUserDataCollectionMethod(), responseObserver); - } - - /** - *
-     * Looks up a single SKAdNetworkConversionValueSchema.
-     * 
- */ - default void getSKAdNetworkConversionValueSchema(com.google.analytics.admin.v1alpha.GetSKAdNetworkConversionValueSchemaRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetSKAdNetworkConversionValueSchemaMethod(), responseObserver); - } - - /** - *
-     * Creates a SKAdNetworkConversionValueSchema.
-     * 
- */ - default void createSKAdNetworkConversionValueSchema(com.google.analytics.admin.v1alpha.CreateSKAdNetworkConversionValueSchemaRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateSKAdNetworkConversionValueSchemaMethod(), responseObserver); - } - - /** - *
-     * Deletes target SKAdNetworkConversionValueSchema.
-     * 
- */ - default void deleteSKAdNetworkConversionValueSchema(com.google.analytics.admin.v1alpha.DeleteSKAdNetworkConversionValueSchemaRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteSKAdNetworkConversionValueSchemaMethod(), responseObserver); - } - - /** - *
-     * Updates a SKAdNetworkConversionValueSchema.
-     * 
- */ - default void updateSKAdNetworkConversionValueSchema(com.google.analytics.admin.v1alpha.UpdateSKAdNetworkConversionValueSchemaRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateSKAdNetworkConversionValueSchemaMethod(), responseObserver); - } - - /** - *
-     * Lists SKAdNetworkConversionValueSchema on a stream.
-     * Properties can have at most one SKAdNetworkConversionValueSchema.
-     * 
- */ - default void listSKAdNetworkConversionValueSchemas(com.google.analytics.admin.v1alpha.ListSKAdNetworkConversionValueSchemasRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListSKAdNetworkConversionValueSchemasMethod(), responseObserver); - } - - /** - *
-     * Searches through all changes to an account or its children given the
-     * specified set of filters.
-     * 
- */ - default 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.
-     * 
- */ - default 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.
-     * 
- */ - default 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.
-     * 
- */ - default void createConversionEvent(com.google.analytics.admin.v1alpha.CreateConversionEventRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateConversionEventMethod(), responseObserver); - } - - /** - *
-     * Updates a conversion event with the specified attributes.
-     * 
- */ - default void updateConversionEvent(com.google.analytics.admin.v1alpha.UpdateConversionEventRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateConversionEventMethod(), responseObserver); - } - - /** - *
-     * Retrieve a single conversion event.
-     * 
- */ - default 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.
-     * 
- */ - default 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.
-     * 
- */ - default 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
-     * 
- */ - default 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.
-     * 
- */ - default 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.
-     * 
- */ - default 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.
-     * 
- */ - default 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.
-     * 
- */ - default 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.
-     * 
- */ - default 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.
-     * 
- */ - default void listDisplayVideo360AdvertiserLinkProposals(com.google.analytics.admin.v1alpha.ListDisplayVideo360AdvertiserLinkProposalsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListDisplayVideo360AdvertiserLinkProposalsMethod(), responseObserver); - } - - /** - *
-     * Creates a DisplayVideo360AdvertiserLinkProposal.
-     * 
- */ - default 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.
-     * 
- */ - default 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.
-     * 
- */ - default 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.
-     * 
- */ - default void cancelDisplayVideo360AdvertiserLinkProposal(com.google.analytics.admin.v1alpha.CancelDisplayVideo360AdvertiserLinkProposalRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCancelDisplayVideo360AdvertiserLinkProposalMethod(), responseObserver); - } - - /** - *
-     * Creates a CustomDimension.
-     * 
- */ - default 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.
-     * 
- */ - default 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.
-     * 
- */ - default 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.
-     * 
- */ - default 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.
-     * 
- */ - default void getCustomDimension(com.google.analytics.admin.v1alpha.GetCustomDimensionRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetCustomDimensionMethod(), responseObserver); - } - - /** - *
-     * Creates a CustomMetric.
-     * 
- */ - default 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.
-     * 
- */ - default 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.
-     * 
- */ - default 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.
-     * 
- */ - default 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.
-     * 
- */ - default 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.
-     * 
- */ - default 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.
-     * 
- */ - default void updateDataRetentionSettings(com.google.analytics.admin.v1alpha.UpdateDataRetentionSettingsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateDataRetentionSettingsMethod(), responseObserver); - } - - /** - *
-     * Creates a DataStream.
-     * 
- */ - default 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.
-     * 
- */ - default 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.
-     * 
- */ - default 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.
-     * 
- */ - default 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.
-     * 
- */ - default 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.
-     * 
- */ - default 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.
-     * 
- */ - default void listAudiences(com.google.analytics.admin.v1alpha.ListAudiencesRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListAudiencesMethod(), responseObserver); - } - - /** - *
-     * Creates an Audience.
-     * 
- */ - default 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.
-     * 
- */ - default 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.
-     * 
- */ - default 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
-     * 
- */ - default 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.
-     * 
- */ - default void listSearchAds360Links(com.google.analytics.admin.v1alpha.ListSearchAds360LinksRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListSearchAds360LinksMethod(), responseObserver); - } - - /** - *
-     * Creates a SearchAds360Link.
-     * 
- */ - default 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.
-     * 
- */ - default 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.
-     * 
- */ - default 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.
-     * 
- */ - default 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.
-     * 
- */ - default 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).
-     * 
- */ - default void runAccessReport(com.google.analytics.admin.v1alpha.RunAccessReportRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getRunAccessReportMethod(), responseObserver); - } - - /** - *
-     * Creates an access binding on an account or property.
-     * 
- */ - default void createAccessBinding(com.google.analytics.admin.v1alpha.CreateAccessBindingRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateAccessBindingMethod(), responseObserver); - } - - /** - *
-     * Gets information about an access binding.
-     * 
- */ - default void getAccessBinding(com.google.analytics.admin.v1alpha.GetAccessBindingRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetAccessBindingMethod(), responseObserver); - } - - /** - *
-     * Updates an access binding on an account or property.
-     * 
- */ - default void updateAccessBinding(com.google.analytics.admin.v1alpha.UpdateAccessBindingRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateAccessBindingMethod(), responseObserver); - } - - /** - *
-     * Deletes an access binding on an account or property.
-     * 
- */ - default void deleteAccessBinding(com.google.analytics.admin.v1alpha.DeleteAccessBindingRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteAccessBindingMethod(), responseObserver); - } - - /** - *
-     * Lists all access bindings on an account or property.
-     * 
- */ - default void listAccessBindings(com.google.analytics.admin.v1alpha.ListAccessBindingsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListAccessBindingsMethod(), responseObserver); - } - - /** - *
-     * Creates information about multiple access bindings to an account or
-     * property.
-     * This method is transactional. If any AccessBinding cannot be created, none
-     * of the AccessBindings will be created.
-     * 
- */ - default void batchCreateAccessBindings(com.google.analytics.admin.v1alpha.BatchCreateAccessBindingsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getBatchCreateAccessBindingsMethod(), responseObserver); - } - - /** - *
-     * Gets information about multiple access bindings to an account or property.
-     * 
- */ - default void batchGetAccessBindings(com.google.analytics.admin.v1alpha.BatchGetAccessBindingsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getBatchGetAccessBindingsMethod(), responseObserver); - } - - /** - *
-     * Updates information about multiple access bindings to an account or
-     * property.
-     * 
- */ - default void batchUpdateAccessBindings(com.google.analytics.admin.v1alpha.BatchUpdateAccessBindingsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getBatchUpdateAccessBindingsMethod(), responseObserver); - } - - /** - *
-     * Deletes information about multiple users' links to an account or property.
-     * 
- */ - default void batchDeleteAccessBindings(com.google.analytics.admin.v1alpha.BatchDeleteAccessBindingsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getBatchDeleteAccessBindingsMethod(), responseObserver); - } - - /** - *
-     * Lookup for a single ExpandedDataSet.
-     * 
- */ - default void getExpandedDataSet(com.google.analytics.admin.v1alpha.GetExpandedDataSetRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetExpandedDataSetMethod(), responseObserver); - } - - /** - *
-     * Lists ExpandedDataSets on a property.
-     * 
- */ - default void listExpandedDataSets(com.google.analytics.admin.v1alpha.ListExpandedDataSetsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListExpandedDataSetsMethod(), responseObserver); - } - - /** - *
-     * Creates a ExpandedDataSet.
-     * 
- */ - default void createExpandedDataSet(com.google.analytics.admin.v1alpha.CreateExpandedDataSetRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateExpandedDataSetMethod(), responseObserver); - } - - /** - *
-     * Updates a ExpandedDataSet on a property.
-     * 
- */ - default void updateExpandedDataSet(com.google.analytics.admin.v1alpha.UpdateExpandedDataSetRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateExpandedDataSetMethod(), responseObserver); - } - - /** - *
-     * Deletes a ExpandedDataSet on a property.
-     * 
- */ - default void deleteExpandedDataSet(com.google.analytics.admin.v1alpha.DeleteExpandedDataSetRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteExpandedDataSetMethod(), responseObserver); - } - - /** - *
-     * Lookup for a single ChannelGroup.
-     * 
- */ - default void getChannelGroup(com.google.analytics.admin.v1alpha.GetChannelGroupRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetChannelGroupMethod(), responseObserver); - } - - /** - *
-     * Lists ChannelGroups on a property.
-     * 
- */ - default void listChannelGroups(com.google.analytics.admin.v1alpha.ListChannelGroupsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListChannelGroupsMethod(), responseObserver); - } - - /** - *
-     * Creates a ChannelGroup.
-     * 
- */ - default void createChannelGroup(com.google.analytics.admin.v1alpha.CreateChannelGroupRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateChannelGroupMethod(), responseObserver); - } - - /** - *
-     * Updates a ChannelGroup.
-     * 
- */ - default void updateChannelGroup(com.google.analytics.admin.v1alpha.UpdateChannelGroupRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateChannelGroupMethod(), responseObserver); - } - - /** - *
-     * Deletes a ChannelGroup on a property.
-     * 
- */ - default void deleteChannelGroup(com.google.analytics.admin.v1alpha.DeleteChannelGroupRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteChannelGroupMethod(), responseObserver); - } - - /** - *
-     * Sets the opt out status for the automated GA4 setup process for a UA
-     * property.
-     * Note: this has no effect on GA4 property.
-     * 
- */ - default 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.
-     * 
- */ - default 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.
-     * 
- */ - default 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.
-     * 
- */ - default void listBigQueryLinks(com.google.analytics.admin.v1alpha.ListBigQueryLinksRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListBigQueryLinksMethod(), responseObserver); - } - - /** - *
-     * Returns the enhanced measurement settings for this data stream.
-     * Note that the stream must enable enhanced measurement for these settings to
-     * take effect.
-     * 
- */ - default void getEnhancedMeasurementSettings(com.google.analytics.admin.v1alpha.GetEnhancedMeasurementSettingsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetEnhancedMeasurementSettingsMethod(), responseObserver); - } - - /** - *
-     * Updates the enhanced measurement settings for this data stream.
-     * Note that the stream must enable enhanced measurement for these settings to
-     * take effect.
-     * 
- */ - default void updateEnhancedMeasurementSettings(com.google.analytics.admin.v1alpha.UpdateEnhancedMeasurementSettingsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateEnhancedMeasurementSettingsMethod(), responseObserver); - } - - /** - *
-     * Creates a connected site tag for a Universal Analytics property. You can
-     * create a maximum of 20 connected site tags per property.
-     * Note: This API cannot be used on GA4 properties.
-     * 
- */ - default void createConnectedSiteTag(com.google.analytics.admin.v1alpha.CreateConnectedSiteTagRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateConnectedSiteTagMethod(), responseObserver); - } - - /** - *
-     * Deletes a connected site tag for a Universal Analytics property.
-     * Note: this has no effect on GA4 properties.
-     * 
- */ - default void deleteConnectedSiteTag(com.google.analytics.admin.v1alpha.DeleteConnectedSiteTagRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteConnectedSiteTagMethod(), responseObserver); - } - - /** - *
-     * Lists the connected site tags for a Universal Analytics property. A maximum
-     * of 20 connected site tags will be returned. Note: this has no effect on GA4
-     * property.
-     * 
- */ - default void listConnectedSiteTags(com.google.analytics.admin.v1alpha.ListConnectedSiteTagsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListConnectedSiteTagsMethod(), responseObserver); - } - - /** - *
-     * Given a specified UA property, looks up the GA4 property connected to it.
-     * Note: this cannot be used with GA4 properties.
-     * 
- */ - default void fetchConnectedGa4Property(com.google.analytics.admin.v1alpha.FetchConnectedGa4PropertyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getFetchConnectedGa4PropertyMethod(), responseObserver); - } - - /** - *
-     * Looks up a single AdSenseLink.
-     * 
- */ - default void getAdSenseLink(com.google.analytics.admin.v1alpha.GetAdSenseLinkRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetAdSenseLinkMethod(), responseObserver); - } - - /** - *
-     * Creates an AdSenseLink.
-     * 
- */ - default void createAdSenseLink(com.google.analytics.admin.v1alpha.CreateAdSenseLinkRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateAdSenseLinkMethod(), responseObserver); - } - - /** - *
-     * Deletes an AdSenseLink.
-     * 
- */ - default void deleteAdSenseLink(com.google.analytics.admin.v1alpha.DeleteAdSenseLinkRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteAdSenseLinkMethod(), responseObserver); - } - - /** - *
-     * Lists AdSenseLinks on a property.
-     * 
- */ - default void listAdSenseLinks(com.google.analytics.admin.v1alpha.ListAdSenseLinksRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListAdSenseLinksMethod(), responseObserver); - } - - /** - *
-     * Lookup for a single EventCreateRule.
-     * 
- */ - default void getEventCreateRule(com.google.analytics.admin.v1alpha.GetEventCreateRuleRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetEventCreateRuleMethod(), responseObserver); - } - - /** - *
-     * Lists EventCreateRules on a web data stream.
-     * 
- */ - default void listEventCreateRules(com.google.analytics.admin.v1alpha.ListEventCreateRulesRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListEventCreateRulesMethod(), responseObserver); - } - - /** - *
-     * Creates an EventCreateRule.
-     * 
- */ - default void createEventCreateRule(com.google.analytics.admin.v1alpha.CreateEventCreateRuleRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateEventCreateRuleMethod(), responseObserver); - } - - /** - *
-     * Updates an EventCreateRule.
-     * 
- */ - default void updateEventCreateRule(com.google.analytics.admin.v1alpha.UpdateEventCreateRuleRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateEventCreateRuleMethod(), responseObserver); - } - - /** - *
-     * Deletes an EventCreateRule.
-     * 
- */ - default void deleteEventCreateRule(com.google.analytics.admin.v1alpha.DeleteEventCreateRuleRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteEventCreateRuleMethod(), responseObserver); - } - - /** - *
-     * Updates a DataRedactionSettings on a property.
-     * 
- */ - default void updateDataRedactionSettings(com.google.analytics.admin.v1alpha.UpdateDataRedactionSettingsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateDataRedactionSettingsMethod(), responseObserver); - } - - /** - *
-     * Lookup for a single DataRedactionSettings.
-     * 
- */ - default void getDataRedactionSettings(com.google.analytics.admin.v1alpha.GetDataRedactionSettingsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetDataRedactionSettingsMethod(), responseObserver); - } - - /** - *
-     * Create a roll-up property and all roll-up property source links.
-     * 
- */ - default void createRollupProperty(com.google.analytics.admin.v1alpha.CreateRollupPropertyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateRollupPropertyMethod(), responseObserver); - } - - /** - *
-     * Lookup for a single roll-up property source Link.
-     * Only roll-up properties can have source links, so this method will throw an
-     * error if used on other types of properties.
-     * 
- */ - default void getRollupPropertySourceLink(com.google.analytics.admin.v1alpha.GetRollupPropertySourceLinkRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetRollupPropertySourceLinkMethod(), responseObserver); - } - - /** - *
-     * Lists roll-up property source Links on a property.
-     * Only roll-up properties can have source links, so this method will throw an
-     * error if used on other types of properties.
-     * 
- */ - default void listRollupPropertySourceLinks(com.google.analytics.admin.v1alpha.ListRollupPropertySourceLinksRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListRollupPropertySourceLinksMethod(), responseObserver); - } - - /** - *
-     * Creates a roll-up property source link.
-     * Only roll-up properties can have source links, so this method will throw an
-     * error if used on other types of properties.
-     * 
- */ - default void createRollupPropertySourceLink(com.google.analytics.admin.v1alpha.CreateRollupPropertySourceLinkRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateRollupPropertySourceLinkMethod(), responseObserver); - } - - /** - *
-     * Deletes a roll-up property source link.
-     * Only roll-up properties can have source links, so this method will throw an
-     * error if used on other types of properties.
-     * 
- */ - default void deleteRollupPropertySourceLink(com.google.analytics.admin.v1alpha.DeleteRollupPropertySourceLinkRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteRollupPropertySourceLinkMethod(), responseObserver); - } - - /** - *
-     * Create a subproperty and a subproperty event filter that applies to the
-     * created subproperty.
-     * 
- */ - default void createSubproperty(com.google.analytics.admin.v1alpha.CreateSubpropertyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateSubpropertyMethod(), responseObserver); - } - - /** - *
-     * Deletes a subproperty event filter.
-     * 
- */ - default void deleteSubpropertyEventFilter(com.google.analytics.admin.v1alpha.DeleteSubpropertyEventFilterRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteSubpropertyEventFilterMethod(), responseObserver); - } - - /** - *
-     * Creates a subproperty Event Filter.
-     * 
- */ - default void createSubpropertyEventFilter(com.google.analytics.admin.v1alpha.CreateSubpropertyEventFilterRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateSubpropertyEventFilterMethod(), responseObserver); - } - } - - /** - * Base class for the server implementation of the service AnalyticsAdminService. - *
-   * Service Interface for the Analytics Admin API (GA4).
-   * 
- */ - public static abstract class AnalyticsAdminServiceImplBase - implements io.grpc.BindableService, AsyncService { - - @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { - return AnalyticsAdminServiceGrpc.bindService(this); - } - } - - /** - * A stub to allow clients to do asynchronous rpc calls to service AnalyticsAdminService. - *
-   * 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,
-     * AccessBindings) 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, AccessBindings)
-     * 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); - } - - /** - *
-     * 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 through 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); - } - - /** - *
-     * Looks up a single SKAdNetworkConversionValueSchema.
-     * 
- */ - public void getSKAdNetworkConversionValueSchema(com.google.analytics.admin.v1alpha.GetSKAdNetworkConversionValueSchemaRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetSKAdNetworkConversionValueSchemaMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Creates a SKAdNetworkConversionValueSchema.
-     * 
- */ - public void createSKAdNetworkConversionValueSchema(com.google.analytics.admin.v1alpha.CreateSKAdNetworkConversionValueSchemaRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateSKAdNetworkConversionValueSchemaMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Deletes target SKAdNetworkConversionValueSchema.
-     * 
- */ - public void deleteSKAdNetworkConversionValueSchema(com.google.analytics.admin.v1alpha.DeleteSKAdNetworkConversionValueSchemaRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteSKAdNetworkConversionValueSchemaMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Updates a SKAdNetworkConversionValueSchema.
-     * 
- */ - public void updateSKAdNetworkConversionValueSchema(com.google.analytics.admin.v1alpha.UpdateSKAdNetworkConversionValueSchemaRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateSKAdNetworkConversionValueSchemaMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Lists SKAdNetworkConversionValueSchema on a stream.
-     * Properties can have at most one SKAdNetworkConversionValueSchema.
-     * 
- */ - public void listSKAdNetworkConversionValueSchemas(com.google.analytics.admin.v1alpha.ListSKAdNetworkConversionValueSchemasRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListSKAdNetworkConversionValueSchemasMethod(), 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); - } - - /** - *
-     * Updates a conversion event with the specified attributes.
-     * 
- */ - public void updateConversionEvent(com.google.analytics.admin.v1alpha.UpdateConversionEventRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateConversionEventMethod(), 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); - } - - /** - *
-     * Creates an access binding on an account or property.
-     * 
- */ - public void createAccessBinding(com.google.analytics.admin.v1alpha.CreateAccessBindingRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateAccessBindingMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Gets information about an access binding.
-     * 
- */ - public void getAccessBinding(com.google.analytics.admin.v1alpha.GetAccessBindingRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetAccessBindingMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Updates an access binding on an account or property.
-     * 
- */ - public void updateAccessBinding(com.google.analytics.admin.v1alpha.UpdateAccessBindingRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateAccessBindingMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Deletes an access binding on an account or property.
-     * 
- */ - public void deleteAccessBinding(com.google.analytics.admin.v1alpha.DeleteAccessBindingRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteAccessBindingMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Lists all access bindings on an account or property.
-     * 
- */ - public void listAccessBindings(com.google.analytics.admin.v1alpha.ListAccessBindingsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListAccessBindingsMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Creates information about multiple access bindings to an account or
-     * property.
-     * This method is transactional. If any AccessBinding cannot be created, none
-     * of the AccessBindings will be created.
-     * 
- */ - public void batchCreateAccessBindings(com.google.analytics.admin.v1alpha.BatchCreateAccessBindingsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getBatchCreateAccessBindingsMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Gets information about multiple access bindings to an account or property.
-     * 
- */ - public void batchGetAccessBindings(com.google.analytics.admin.v1alpha.BatchGetAccessBindingsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getBatchGetAccessBindingsMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Updates information about multiple access bindings to an account or
-     * property.
-     * 
- */ - public void batchUpdateAccessBindings(com.google.analytics.admin.v1alpha.BatchUpdateAccessBindingsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getBatchUpdateAccessBindingsMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Deletes information about multiple users' links to an account or property.
-     * 
- */ - public void batchDeleteAccessBindings(com.google.analytics.admin.v1alpha.BatchDeleteAccessBindingsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getBatchDeleteAccessBindingsMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Lookup for a single ExpandedDataSet.
-     * 
- */ - public void getExpandedDataSet(com.google.analytics.admin.v1alpha.GetExpandedDataSetRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetExpandedDataSetMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Lists ExpandedDataSets on a property.
-     * 
- */ - public void listExpandedDataSets(com.google.analytics.admin.v1alpha.ListExpandedDataSetsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListExpandedDataSetsMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Creates a ExpandedDataSet.
-     * 
- */ - public void createExpandedDataSet(com.google.analytics.admin.v1alpha.CreateExpandedDataSetRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateExpandedDataSetMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Updates a ExpandedDataSet on a property.
-     * 
- */ - public void updateExpandedDataSet(com.google.analytics.admin.v1alpha.UpdateExpandedDataSetRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateExpandedDataSetMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Deletes a ExpandedDataSet on a property.
-     * 
- */ - public void deleteExpandedDataSet(com.google.analytics.admin.v1alpha.DeleteExpandedDataSetRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteExpandedDataSetMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Lookup for a single ChannelGroup.
-     * 
- */ - public void getChannelGroup(com.google.analytics.admin.v1alpha.GetChannelGroupRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetChannelGroupMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Lists ChannelGroups on a property.
-     * 
- */ - public void listChannelGroups(com.google.analytics.admin.v1alpha.ListChannelGroupsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListChannelGroupsMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Creates a ChannelGroup.
-     * 
- */ - public void createChannelGroup(com.google.analytics.admin.v1alpha.CreateChannelGroupRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateChannelGroupMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Updates a ChannelGroup.
-     * 
- */ - public void updateChannelGroup(com.google.analytics.admin.v1alpha.UpdateChannelGroupRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateChannelGroupMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Deletes a ChannelGroup on a property.
-     * 
- */ - public void deleteChannelGroup(com.google.analytics.admin.v1alpha.DeleteChannelGroupRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteChannelGroupMethod(), 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); - } - - /** - *
-     * Returns the enhanced measurement settings for this data stream.
-     * Note that the stream must enable enhanced measurement for these settings to
-     * take effect.
-     * 
- */ - public void getEnhancedMeasurementSettings(com.google.analytics.admin.v1alpha.GetEnhancedMeasurementSettingsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetEnhancedMeasurementSettingsMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Updates the enhanced measurement settings for this data stream.
-     * Note that the stream must enable enhanced measurement for these settings to
-     * take effect.
-     * 
- */ - public void updateEnhancedMeasurementSettings(com.google.analytics.admin.v1alpha.UpdateEnhancedMeasurementSettingsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateEnhancedMeasurementSettingsMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Creates a connected site tag for a Universal Analytics property. You can
-     * create a maximum of 20 connected site tags per property.
-     * Note: This API cannot be used on GA4 properties.
-     * 
- */ - public void createConnectedSiteTag(com.google.analytics.admin.v1alpha.CreateConnectedSiteTagRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateConnectedSiteTagMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Deletes a connected site tag for a Universal Analytics property.
-     * Note: this has no effect on GA4 properties.
-     * 
- */ - public void deleteConnectedSiteTag(com.google.analytics.admin.v1alpha.DeleteConnectedSiteTagRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteConnectedSiteTagMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Lists the connected site tags for a Universal Analytics property. A maximum
-     * of 20 connected site tags will be returned. Note: this has no effect on GA4
-     * property.
-     * 
- */ - public void listConnectedSiteTags(com.google.analytics.admin.v1alpha.ListConnectedSiteTagsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListConnectedSiteTagsMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Given a specified UA property, looks up the GA4 property connected to it.
-     * Note: this cannot be used with GA4 properties.
-     * 
- */ - public void fetchConnectedGa4Property(com.google.analytics.admin.v1alpha.FetchConnectedGa4PropertyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getFetchConnectedGa4PropertyMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Looks up a single AdSenseLink.
-     * 
- */ - public void getAdSenseLink(com.google.analytics.admin.v1alpha.GetAdSenseLinkRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetAdSenseLinkMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Creates an AdSenseLink.
-     * 
- */ - public void createAdSenseLink(com.google.analytics.admin.v1alpha.CreateAdSenseLinkRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateAdSenseLinkMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Deletes an AdSenseLink.
-     * 
- */ - public void deleteAdSenseLink(com.google.analytics.admin.v1alpha.DeleteAdSenseLinkRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteAdSenseLinkMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Lists AdSenseLinks on a property.
-     * 
- */ - public void listAdSenseLinks(com.google.analytics.admin.v1alpha.ListAdSenseLinksRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListAdSenseLinksMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Lookup for a single EventCreateRule.
-     * 
- */ - public void getEventCreateRule(com.google.analytics.admin.v1alpha.GetEventCreateRuleRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetEventCreateRuleMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Lists EventCreateRules on a web data stream.
-     * 
- */ - public void listEventCreateRules(com.google.analytics.admin.v1alpha.ListEventCreateRulesRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListEventCreateRulesMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Creates an EventCreateRule.
-     * 
- */ - public void createEventCreateRule(com.google.analytics.admin.v1alpha.CreateEventCreateRuleRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateEventCreateRuleMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Updates an EventCreateRule.
-     * 
- */ - public void updateEventCreateRule(com.google.analytics.admin.v1alpha.UpdateEventCreateRuleRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateEventCreateRuleMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Deletes an EventCreateRule.
-     * 
- */ - public void deleteEventCreateRule(com.google.analytics.admin.v1alpha.DeleteEventCreateRuleRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteEventCreateRuleMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Updates a DataRedactionSettings on a property.
-     * 
- */ - public void updateDataRedactionSettings(com.google.analytics.admin.v1alpha.UpdateDataRedactionSettingsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateDataRedactionSettingsMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Lookup for a single DataRedactionSettings.
-     * 
- */ - public void getDataRedactionSettings(com.google.analytics.admin.v1alpha.GetDataRedactionSettingsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetDataRedactionSettingsMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Create a roll-up property and all roll-up property source links.
-     * 
- */ - public void createRollupProperty(com.google.analytics.admin.v1alpha.CreateRollupPropertyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateRollupPropertyMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Lookup for a single roll-up property source Link.
-     * Only roll-up properties can have source links, so this method will throw an
-     * error if used on other types of properties.
-     * 
- */ - public void getRollupPropertySourceLink(com.google.analytics.admin.v1alpha.GetRollupPropertySourceLinkRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetRollupPropertySourceLinkMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Lists roll-up property source Links on a property.
-     * Only roll-up properties can have source links, so this method will throw an
-     * error if used on other types of properties.
-     * 
- */ - public void listRollupPropertySourceLinks(com.google.analytics.admin.v1alpha.ListRollupPropertySourceLinksRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListRollupPropertySourceLinksMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Creates a roll-up property source link.
-     * Only roll-up properties can have source links, so this method will throw an
-     * error if used on other types of properties.
-     * 
- */ - public void createRollupPropertySourceLink(com.google.analytics.admin.v1alpha.CreateRollupPropertySourceLinkRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateRollupPropertySourceLinkMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Deletes a roll-up property source link.
-     * Only roll-up properties can have source links, so this method will throw an
-     * error if used on other types of properties.
-     * 
- */ - public void deleteRollupPropertySourceLink(com.google.analytics.admin.v1alpha.DeleteRollupPropertySourceLinkRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteRollupPropertySourceLinkMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Create a subproperty and a subproperty event filter that applies to the
-     * created subproperty.
-     * 
- */ - public void createSubproperty(com.google.analytics.admin.v1alpha.CreateSubpropertyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateSubpropertyMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Deletes a subproperty event filter.
-     * 
- */ - public void deleteSubpropertyEventFilter(com.google.analytics.admin.v1alpha.DeleteSubpropertyEventFilterRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteSubpropertyEventFilterMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Creates a subproperty Event Filter.
-     * 
- */ - public void createSubpropertyEventFilter(com.google.analytics.admin.v1alpha.CreateSubpropertyEventFilterRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateSubpropertyEventFilterMethod(), getCallOptions()), request, responseObserver); - } - } - - /** - * A stub to allow clients to do synchronous rpc calls to service AnalyticsAdminService. - *
-   * 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,
-     * AccessBindings) 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, AccessBindings)
-     * 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); - } - - /** - *
-     * 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 through 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); - } - - /** - *
-     * Looks up a single SKAdNetworkConversionValueSchema.
-     * 
- */ - public com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema getSKAdNetworkConversionValueSchema(com.google.analytics.admin.v1alpha.GetSKAdNetworkConversionValueSchemaRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetSKAdNetworkConversionValueSchemaMethod(), getCallOptions(), request); - } - - /** - *
-     * Creates a SKAdNetworkConversionValueSchema.
-     * 
- */ - public com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema createSKAdNetworkConversionValueSchema(com.google.analytics.admin.v1alpha.CreateSKAdNetworkConversionValueSchemaRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateSKAdNetworkConversionValueSchemaMethod(), getCallOptions(), request); - } - - /** - *
-     * Deletes target SKAdNetworkConversionValueSchema.
-     * 
- */ - public com.google.protobuf.Empty deleteSKAdNetworkConversionValueSchema(com.google.analytics.admin.v1alpha.DeleteSKAdNetworkConversionValueSchemaRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteSKAdNetworkConversionValueSchemaMethod(), getCallOptions(), request); - } - - /** - *
-     * Updates a SKAdNetworkConversionValueSchema.
-     * 
- */ - public com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema updateSKAdNetworkConversionValueSchema(com.google.analytics.admin.v1alpha.UpdateSKAdNetworkConversionValueSchemaRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateSKAdNetworkConversionValueSchemaMethod(), getCallOptions(), request); - } - - /** - *
-     * Lists SKAdNetworkConversionValueSchema on a stream.
-     * Properties can have at most one SKAdNetworkConversionValueSchema.
-     * 
- */ - public com.google.analytics.admin.v1alpha.ListSKAdNetworkConversionValueSchemasResponse listSKAdNetworkConversionValueSchemas(com.google.analytics.admin.v1alpha.ListSKAdNetworkConversionValueSchemasRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListSKAdNetworkConversionValueSchemasMethod(), 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); - } - - /** - *
-     * Updates a conversion event with the specified attributes.
-     * 
- */ - public com.google.analytics.admin.v1alpha.ConversionEvent updateConversionEvent(com.google.analytics.admin.v1alpha.UpdateConversionEventRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateConversionEventMethod(), 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); - } - - /** - *
-     * Creates an access binding on an account or property.
-     * 
- */ - public com.google.analytics.admin.v1alpha.AccessBinding createAccessBinding(com.google.analytics.admin.v1alpha.CreateAccessBindingRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateAccessBindingMethod(), getCallOptions(), request); - } - - /** - *
-     * Gets information about an access binding.
-     * 
- */ - public com.google.analytics.admin.v1alpha.AccessBinding getAccessBinding(com.google.analytics.admin.v1alpha.GetAccessBindingRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetAccessBindingMethod(), getCallOptions(), request); - } - - /** - *
-     * Updates an access binding on an account or property.
-     * 
- */ - public com.google.analytics.admin.v1alpha.AccessBinding updateAccessBinding(com.google.analytics.admin.v1alpha.UpdateAccessBindingRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateAccessBindingMethod(), getCallOptions(), request); - } - - /** - *
-     * Deletes an access binding on an account or property.
-     * 
- */ - public com.google.protobuf.Empty deleteAccessBinding(com.google.analytics.admin.v1alpha.DeleteAccessBindingRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteAccessBindingMethod(), getCallOptions(), request); - } - - /** - *
-     * Lists all access bindings on an account or property.
-     * 
- */ - public com.google.analytics.admin.v1alpha.ListAccessBindingsResponse listAccessBindings(com.google.analytics.admin.v1alpha.ListAccessBindingsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListAccessBindingsMethod(), getCallOptions(), request); - } - - /** - *
-     * Creates information about multiple access bindings to an account or
-     * property.
-     * This method is transactional. If any AccessBinding cannot be created, none
-     * of the AccessBindings will be created.
-     * 
- */ - public com.google.analytics.admin.v1alpha.BatchCreateAccessBindingsResponse batchCreateAccessBindings(com.google.analytics.admin.v1alpha.BatchCreateAccessBindingsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getBatchCreateAccessBindingsMethod(), getCallOptions(), request); - } - - /** - *
-     * Gets information about multiple access bindings to an account or property.
-     * 
- */ - public com.google.analytics.admin.v1alpha.BatchGetAccessBindingsResponse batchGetAccessBindings(com.google.analytics.admin.v1alpha.BatchGetAccessBindingsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getBatchGetAccessBindingsMethod(), getCallOptions(), request); - } - - /** - *
-     * Updates information about multiple access bindings to an account or
-     * property.
-     * 
- */ - public com.google.analytics.admin.v1alpha.BatchUpdateAccessBindingsResponse batchUpdateAccessBindings(com.google.analytics.admin.v1alpha.BatchUpdateAccessBindingsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getBatchUpdateAccessBindingsMethod(), getCallOptions(), request); - } - - /** - *
-     * Deletes information about multiple users' links to an account or property.
-     * 
- */ - public com.google.protobuf.Empty batchDeleteAccessBindings(com.google.analytics.admin.v1alpha.BatchDeleteAccessBindingsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getBatchDeleteAccessBindingsMethod(), getCallOptions(), request); - } - - /** - *
-     * Lookup for a single ExpandedDataSet.
-     * 
- */ - public com.google.analytics.admin.v1alpha.ExpandedDataSet getExpandedDataSet(com.google.analytics.admin.v1alpha.GetExpandedDataSetRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetExpandedDataSetMethod(), getCallOptions(), request); - } - - /** - *
-     * Lists ExpandedDataSets on a property.
-     * 
- */ - public com.google.analytics.admin.v1alpha.ListExpandedDataSetsResponse listExpandedDataSets(com.google.analytics.admin.v1alpha.ListExpandedDataSetsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListExpandedDataSetsMethod(), getCallOptions(), request); - } - - /** - *
-     * Creates a ExpandedDataSet.
-     * 
- */ - public com.google.analytics.admin.v1alpha.ExpandedDataSet createExpandedDataSet(com.google.analytics.admin.v1alpha.CreateExpandedDataSetRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateExpandedDataSetMethod(), getCallOptions(), request); - } - - /** - *
-     * Updates a ExpandedDataSet on a property.
-     * 
- */ - public com.google.analytics.admin.v1alpha.ExpandedDataSet updateExpandedDataSet(com.google.analytics.admin.v1alpha.UpdateExpandedDataSetRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateExpandedDataSetMethod(), getCallOptions(), request); - } - - /** - *
-     * Deletes a ExpandedDataSet on a property.
-     * 
- */ - public com.google.protobuf.Empty deleteExpandedDataSet(com.google.analytics.admin.v1alpha.DeleteExpandedDataSetRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteExpandedDataSetMethod(), getCallOptions(), request); - } - - /** - *
-     * Lookup for a single ChannelGroup.
-     * 
- */ - public com.google.analytics.admin.v1alpha.ChannelGroup getChannelGroup(com.google.analytics.admin.v1alpha.GetChannelGroupRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetChannelGroupMethod(), getCallOptions(), request); - } - - /** - *
-     * Lists ChannelGroups on a property.
-     * 
- */ - public com.google.analytics.admin.v1alpha.ListChannelGroupsResponse listChannelGroups(com.google.analytics.admin.v1alpha.ListChannelGroupsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListChannelGroupsMethod(), getCallOptions(), request); - } - - /** - *
-     * Creates a ChannelGroup.
-     * 
- */ - public com.google.analytics.admin.v1alpha.ChannelGroup createChannelGroup(com.google.analytics.admin.v1alpha.CreateChannelGroupRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateChannelGroupMethod(), getCallOptions(), request); - } - - /** - *
-     * Updates a ChannelGroup.
-     * 
- */ - public com.google.analytics.admin.v1alpha.ChannelGroup updateChannelGroup(com.google.analytics.admin.v1alpha.UpdateChannelGroupRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateChannelGroupMethod(), getCallOptions(), request); - } - - /** - *
-     * Deletes a ChannelGroup on a property.
-     * 
- */ - public com.google.protobuf.Empty deleteChannelGroup(com.google.analytics.admin.v1alpha.DeleteChannelGroupRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteChannelGroupMethod(), 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); - } - - /** - *
-     * Returns the enhanced measurement settings for this data stream.
-     * Note that the stream must enable enhanced measurement for these settings to
-     * take effect.
-     * 
- */ - public com.google.analytics.admin.v1alpha.EnhancedMeasurementSettings getEnhancedMeasurementSettings(com.google.analytics.admin.v1alpha.GetEnhancedMeasurementSettingsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetEnhancedMeasurementSettingsMethod(), getCallOptions(), request); - } - - /** - *
-     * Updates the enhanced measurement settings for this data stream.
-     * Note that the stream must enable enhanced measurement for these settings to
-     * take effect.
-     * 
- */ - public com.google.analytics.admin.v1alpha.EnhancedMeasurementSettings updateEnhancedMeasurementSettings(com.google.analytics.admin.v1alpha.UpdateEnhancedMeasurementSettingsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateEnhancedMeasurementSettingsMethod(), getCallOptions(), request); - } - - /** - *
-     * Creates a connected site tag for a Universal Analytics property. You can
-     * create a maximum of 20 connected site tags per property.
-     * Note: This API cannot be used on GA4 properties.
-     * 
- */ - public com.google.analytics.admin.v1alpha.CreateConnectedSiteTagResponse createConnectedSiteTag(com.google.analytics.admin.v1alpha.CreateConnectedSiteTagRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateConnectedSiteTagMethod(), getCallOptions(), request); - } - - /** - *
-     * Deletes a connected site tag for a Universal Analytics property.
-     * Note: this has no effect on GA4 properties.
-     * 
- */ - public com.google.protobuf.Empty deleteConnectedSiteTag(com.google.analytics.admin.v1alpha.DeleteConnectedSiteTagRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteConnectedSiteTagMethod(), getCallOptions(), request); - } - - /** - *
-     * Lists the connected site tags for a Universal Analytics property. A maximum
-     * of 20 connected site tags will be returned. Note: this has no effect on GA4
-     * property.
-     * 
- */ - public com.google.analytics.admin.v1alpha.ListConnectedSiteTagsResponse listConnectedSiteTags(com.google.analytics.admin.v1alpha.ListConnectedSiteTagsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListConnectedSiteTagsMethod(), getCallOptions(), request); - } - - /** - *
-     * Given a specified UA property, looks up the GA4 property connected to it.
-     * Note: this cannot be used with GA4 properties.
-     * 
- */ - public com.google.analytics.admin.v1alpha.FetchConnectedGa4PropertyResponse fetchConnectedGa4Property(com.google.analytics.admin.v1alpha.FetchConnectedGa4PropertyRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getFetchConnectedGa4PropertyMethod(), getCallOptions(), request); - } - - /** - *
-     * Looks up a single AdSenseLink.
-     * 
- */ - public com.google.analytics.admin.v1alpha.AdSenseLink getAdSenseLink(com.google.analytics.admin.v1alpha.GetAdSenseLinkRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetAdSenseLinkMethod(), getCallOptions(), request); - } - - /** - *
-     * Creates an AdSenseLink.
-     * 
- */ - public com.google.analytics.admin.v1alpha.AdSenseLink createAdSenseLink(com.google.analytics.admin.v1alpha.CreateAdSenseLinkRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateAdSenseLinkMethod(), getCallOptions(), request); - } - - /** - *
-     * Deletes an AdSenseLink.
-     * 
- */ - public com.google.protobuf.Empty deleteAdSenseLink(com.google.analytics.admin.v1alpha.DeleteAdSenseLinkRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteAdSenseLinkMethod(), getCallOptions(), request); - } - - /** - *
-     * Lists AdSenseLinks on a property.
-     * 
- */ - public com.google.analytics.admin.v1alpha.ListAdSenseLinksResponse listAdSenseLinks(com.google.analytics.admin.v1alpha.ListAdSenseLinksRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListAdSenseLinksMethod(), getCallOptions(), request); - } - - /** - *
-     * Lookup for a single EventCreateRule.
-     * 
- */ - public com.google.analytics.admin.v1alpha.EventCreateRule getEventCreateRule(com.google.analytics.admin.v1alpha.GetEventCreateRuleRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetEventCreateRuleMethod(), getCallOptions(), request); - } - - /** - *
-     * Lists EventCreateRules on a web data stream.
-     * 
- */ - public com.google.analytics.admin.v1alpha.ListEventCreateRulesResponse listEventCreateRules(com.google.analytics.admin.v1alpha.ListEventCreateRulesRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListEventCreateRulesMethod(), getCallOptions(), request); - } - - /** - *
-     * Creates an EventCreateRule.
-     * 
- */ - public com.google.analytics.admin.v1alpha.EventCreateRule createEventCreateRule(com.google.analytics.admin.v1alpha.CreateEventCreateRuleRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateEventCreateRuleMethod(), getCallOptions(), request); - } - - /** - *
-     * Updates an EventCreateRule.
-     * 
- */ - public com.google.analytics.admin.v1alpha.EventCreateRule updateEventCreateRule(com.google.analytics.admin.v1alpha.UpdateEventCreateRuleRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateEventCreateRuleMethod(), getCallOptions(), request); - } - - /** - *
-     * Deletes an EventCreateRule.
-     * 
- */ - public com.google.protobuf.Empty deleteEventCreateRule(com.google.analytics.admin.v1alpha.DeleteEventCreateRuleRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteEventCreateRuleMethod(), getCallOptions(), request); - } - - /** - *
-     * Updates a DataRedactionSettings on a property.
-     * 
- */ - public com.google.analytics.admin.v1alpha.DataRedactionSettings updateDataRedactionSettings(com.google.analytics.admin.v1alpha.UpdateDataRedactionSettingsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateDataRedactionSettingsMethod(), getCallOptions(), request); - } - - /** - *
-     * Lookup for a single DataRedactionSettings.
-     * 
- */ - public com.google.analytics.admin.v1alpha.DataRedactionSettings getDataRedactionSettings(com.google.analytics.admin.v1alpha.GetDataRedactionSettingsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetDataRedactionSettingsMethod(), getCallOptions(), request); - } - - /** - *
-     * Create a roll-up property and all roll-up property source links.
-     * 
- */ - public com.google.analytics.admin.v1alpha.CreateRollupPropertyResponse createRollupProperty(com.google.analytics.admin.v1alpha.CreateRollupPropertyRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateRollupPropertyMethod(), getCallOptions(), request); - } - - /** - *
-     * Lookup for a single roll-up property source Link.
-     * Only roll-up properties can have source links, so this method will throw an
-     * error if used on other types of properties.
-     * 
- */ - public com.google.analytics.admin.v1alpha.RollupPropertySourceLink getRollupPropertySourceLink(com.google.analytics.admin.v1alpha.GetRollupPropertySourceLinkRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetRollupPropertySourceLinkMethod(), getCallOptions(), request); - } - - /** - *
-     * Lists roll-up property source Links on a property.
-     * Only roll-up properties can have source links, so this method will throw an
-     * error if used on other types of properties.
-     * 
- */ - public com.google.analytics.admin.v1alpha.ListRollupPropertySourceLinksResponse listRollupPropertySourceLinks(com.google.analytics.admin.v1alpha.ListRollupPropertySourceLinksRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListRollupPropertySourceLinksMethod(), getCallOptions(), request); - } - - /** - *
-     * Creates a roll-up property source link.
-     * Only roll-up properties can have source links, so this method will throw an
-     * error if used on other types of properties.
-     * 
- */ - public com.google.analytics.admin.v1alpha.RollupPropertySourceLink createRollupPropertySourceLink(com.google.analytics.admin.v1alpha.CreateRollupPropertySourceLinkRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateRollupPropertySourceLinkMethod(), getCallOptions(), request); - } - - /** - *
-     * Deletes a roll-up property source link.
-     * Only roll-up properties can have source links, so this method will throw an
-     * error if used on other types of properties.
-     * 
- */ - public com.google.protobuf.Empty deleteRollupPropertySourceLink(com.google.analytics.admin.v1alpha.DeleteRollupPropertySourceLinkRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteRollupPropertySourceLinkMethod(), getCallOptions(), request); - } - - /** - *
-     * Create a subproperty and a subproperty event filter that applies to the
-     * created subproperty.
-     * 
- */ - public com.google.analytics.admin.v1alpha.CreateSubpropertyResponse createSubproperty(com.google.analytics.admin.v1alpha.CreateSubpropertyRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateSubpropertyMethod(), getCallOptions(), request); - } - - /** - *
-     * Deletes a subproperty event filter.
-     * 
- */ - public com.google.protobuf.Empty deleteSubpropertyEventFilter(com.google.analytics.admin.v1alpha.DeleteSubpropertyEventFilterRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteSubpropertyEventFilterMethod(), getCallOptions(), request); - } - - /** - *
-     * Creates a subproperty Event Filter.
-     * 
- */ - public com.google.analytics.admin.v1alpha.SubpropertyEventFilter createSubpropertyEventFilter(com.google.analytics.admin.v1alpha.CreateSubpropertyEventFilterRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateSubpropertyEventFilterMethod(), getCallOptions(), request); - } - } - - /** - * A stub to allow clients to do ListenableFuture-style rpc calls to service AnalyticsAdminService. - *
-   * 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,
-     * AccessBindings) 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, AccessBindings)
-     * 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); - } - - /** - *
-     * 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 through 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); - } - - /** - *
-     * Looks up a single SKAdNetworkConversionValueSchema.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture getSKAdNetworkConversionValueSchema( - com.google.analytics.admin.v1alpha.GetSKAdNetworkConversionValueSchemaRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetSKAdNetworkConversionValueSchemaMethod(), getCallOptions()), request); - } - - /** - *
-     * Creates a SKAdNetworkConversionValueSchema.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture createSKAdNetworkConversionValueSchema( - com.google.analytics.admin.v1alpha.CreateSKAdNetworkConversionValueSchemaRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateSKAdNetworkConversionValueSchemaMethod(), getCallOptions()), request); - } - - /** - *
-     * Deletes target SKAdNetworkConversionValueSchema.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture deleteSKAdNetworkConversionValueSchema( - com.google.analytics.admin.v1alpha.DeleteSKAdNetworkConversionValueSchemaRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteSKAdNetworkConversionValueSchemaMethod(), getCallOptions()), request); - } - - /** - *
-     * Updates a SKAdNetworkConversionValueSchema.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture updateSKAdNetworkConversionValueSchema( - com.google.analytics.admin.v1alpha.UpdateSKAdNetworkConversionValueSchemaRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateSKAdNetworkConversionValueSchemaMethod(), getCallOptions()), request); - } - - /** - *
-     * Lists SKAdNetworkConversionValueSchema on a stream.
-     * Properties can have at most one SKAdNetworkConversionValueSchema.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture listSKAdNetworkConversionValueSchemas( - com.google.analytics.admin.v1alpha.ListSKAdNetworkConversionValueSchemasRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListSKAdNetworkConversionValueSchemasMethod(), 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); - } - - /** - *
-     * Updates a conversion event with the specified attributes.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture updateConversionEvent( - com.google.analytics.admin.v1alpha.UpdateConversionEventRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateConversionEventMethod(), 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); - } - - /** - *
-     * Creates an access binding on an account or property.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture createAccessBinding( - com.google.analytics.admin.v1alpha.CreateAccessBindingRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateAccessBindingMethod(), getCallOptions()), request); - } - - /** - *
-     * Gets information about an access binding.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture getAccessBinding( - com.google.analytics.admin.v1alpha.GetAccessBindingRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetAccessBindingMethod(), getCallOptions()), request); - } - - /** - *
-     * Updates an access binding on an account or property.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture updateAccessBinding( - com.google.analytics.admin.v1alpha.UpdateAccessBindingRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateAccessBindingMethod(), getCallOptions()), request); - } - - /** - *
-     * Deletes an access binding on an account or property.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture deleteAccessBinding( - com.google.analytics.admin.v1alpha.DeleteAccessBindingRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteAccessBindingMethod(), getCallOptions()), request); - } - - /** - *
-     * Lists all access bindings on an account or property.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture listAccessBindings( - com.google.analytics.admin.v1alpha.ListAccessBindingsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListAccessBindingsMethod(), getCallOptions()), request); - } - - /** - *
-     * Creates information about multiple access bindings to an account or
-     * property.
-     * This method is transactional. If any AccessBinding cannot be created, none
-     * of the AccessBindings will be created.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture batchCreateAccessBindings( - com.google.analytics.admin.v1alpha.BatchCreateAccessBindingsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getBatchCreateAccessBindingsMethod(), getCallOptions()), request); - } - - /** - *
-     * Gets information about multiple access bindings to an account or property.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture batchGetAccessBindings( - com.google.analytics.admin.v1alpha.BatchGetAccessBindingsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getBatchGetAccessBindingsMethod(), getCallOptions()), request); - } - - /** - *
-     * Updates information about multiple access bindings to an account or
-     * property.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture batchUpdateAccessBindings( - com.google.analytics.admin.v1alpha.BatchUpdateAccessBindingsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getBatchUpdateAccessBindingsMethod(), getCallOptions()), request); - } - - /** - *
-     * Deletes information about multiple users' links to an account or property.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture batchDeleteAccessBindings( - com.google.analytics.admin.v1alpha.BatchDeleteAccessBindingsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getBatchDeleteAccessBindingsMethod(), getCallOptions()), request); - } - - /** - *
-     * Lookup for a single ExpandedDataSet.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture getExpandedDataSet( - com.google.analytics.admin.v1alpha.GetExpandedDataSetRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetExpandedDataSetMethod(), getCallOptions()), request); - } - - /** - *
-     * Lists ExpandedDataSets on a property.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture listExpandedDataSets( - com.google.analytics.admin.v1alpha.ListExpandedDataSetsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListExpandedDataSetsMethod(), getCallOptions()), request); - } - - /** - *
-     * Creates a ExpandedDataSet.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture createExpandedDataSet( - com.google.analytics.admin.v1alpha.CreateExpandedDataSetRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateExpandedDataSetMethod(), getCallOptions()), request); - } - - /** - *
-     * Updates a ExpandedDataSet on a property.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture updateExpandedDataSet( - com.google.analytics.admin.v1alpha.UpdateExpandedDataSetRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateExpandedDataSetMethod(), getCallOptions()), request); - } - - /** - *
-     * Deletes a ExpandedDataSet on a property.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture deleteExpandedDataSet( - com.google.analytics.admin.v1alpha.DeleteExpandedDataSetRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteExpandedDataSetMethod(), getCallOptions()), request); - } - - /** - *
-     * Lookup for a single ChannelGroup.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture getChannelGroup( - com.google.analytics.admin.v1alpha.GetChannelGroupRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetChannelGroupMethod(), getCallOptions()), request); - } - - /** - *
-     * Lists ChannelGroups on a property.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture listChannelGroups( - com.google.analytics.admin.v1alpha.ListChannelGroupsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListChannelGroupsMethod(), getCallOptions()), request); - } - - /** - *
-     * Creates a ChannelGroup.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture createChannelGroup( - com.google.analytics.admin.v1alpha.CreateChannelGroupRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateChannelGroupMethod(), getCallOptions()), request); - } - - /** - *
-     * Updates a ChannelGroup.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture updateChannelGroup( - com.google.analytics.admin.v1alpha.UpdateChannelGroupRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateChannelGroupMethod(), getCallOptions()), request); - } - - /** - *
-     * Deletes a ChannelGroup on a property.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture deleteChannelGroup( - com.google.analytics.admin.v1alpha.DeleteChannelGroupRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteChannelGroupMethod(), 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); - } - - /** - *
-     * Returns the enhanced measurement settings for this data stream.
-     * Note that the stream must enable enhanced measurement for these settings to
-     * take effect.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture getEnhancedMeasurementSettings( - com.google.analytics.admin.v1alpha.GetEnhancedMeasurementSettingsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetEnhancedMeasurementSettingsMethod(), getCallOptions()), request); - } - - /** - *
-     * Updates the enhanced measurement settings for this data stream.
-     * Note that the stream must enable enhanced measurement for these settings to
-     * take effect.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture updateEnhancedMeasurementSettings( - com.google.analytics.admin.v1alpha.UpdateEnhancedMeasurementSettingsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateEnhancedMeasurementSettingsMethod(), getCallOptions()), request); - } - - /** - *
-     * Creates a connected site tag for a Universal Analytics property. You can
-     * create a maximum of 20 connected site tags per property.
-     * Note: This API cannot be used on GA4 properties.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture createConnectedSiteTag( - com.google.analytics.admin.v1alpha.CreateConnectedSiteTagRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateConnectedSiteTagMethod(), getCallOptions()), request); - } - - /** - *
-     * Deletes a connected site tag for a Universal Analytics property.
-     * Note: this has no effect on GA4 properties.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture deleteConnectedSiteTag( - com.google.analytics.admin.v1alpha.DeleteConnectedSiteTagRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteConnectedSiteTagMethod(), getCallOptions()), request); - } - - /** - *
-     * Lists the connected site tags for a Universal Analytics property. A maximum
-     * of 20 connected site tags will be returned. Note: this has no effect on GA4
-     * property.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture listConnectedSiteTags( - com.google.analytics.admin.v1alpha.ListConnectedSiteTagsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListConnectedSiteTagsMethod(), getCallOptions()), request); - } - - /** - *
-     * Given a specified UA property, looks up the GA4 property connected to it.
-     * Note: this cannot be used with GA4 properties.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture fetchConnectedGa4Property( - com.google.analytics.admin.v1alpha.FetchConnectedGa4PropertyRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getFetchConnectedGa4PropertyMethod(), getCallOptions()), request); - } - - /** - *
-     * Looks up a single AdSenseLink.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture getAdSenseLink( - com.google.analytics.admin.v1alpha.GetAdSenseLinkRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetAdSenseLinkMethod(), getCallOptions()), request); - } - - /** - *
-     * Creates an AdSenseLink.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture createAdSenseLink( - com.google.analytics.admin.v1alpha.CreateAdSenseLinkRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateAdSenseLinkMethod(), getCallOptions()), request); - } - - /** - *
-     * Deletes an AdSenseLink.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture deleteAdSenseLink( - com.google.analytics.admin.v1alpha.DeleteAdSenseLinkRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteAdSenseLinkMethod(), getCallOptions()), request); - } - - /** - *
-     * Lists AdSenseLinks on a property.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture listAdSenseLinks( - com.google.analytics.admin.v1alpha.ListAdSenseLinksRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListAdSenseLinksMethod(), getCallOptions()), request); - } - - /** - *
-     * Lookup for a single EventCreateRule.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture getEventCreateRule( - com.google.analytics.admin.v1alpha.GetEventCreateRuleRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetEventCreateRuleMethod(), getCallOptions()), request); - } - - /** - *
-     * Lists EventCreateRules on a web data stream.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture listEventCreateRules( - com.google.analytics.admin.v1alpha.ListEventCreateRulesRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListEventCreateRulesMethod(), getCallOptions()), request); - } - - /** - *
-     * Creates an EventCreateRule.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture createEventCreateRule( - com.google.analytics.admin.v1alpha.CreateEventCreateRuleRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateEventCreateRuleMethod(), getCallOptions()), request); - } - - /** - *
-     * Updates an EventCreateRule.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture updateEventCreateRule( - com.google.analytics.admin.v1alpha.UpdateEventCreateRuleRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateEventCreateRuleMethod(), getCallOptions()), request); - } - - /** - *
-     * Deletes an EventCreateRule.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture deleteEventCreateRule( - com.google.analytics.admin.v1alpha.DeleteEventCreateRuleRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteEventCreateRuleMethod(), getCallOptions()), request); - } - - /** - *
-     * Updates a DataRedactionSettings on a property.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture updateDataRedactionSettings( - com.google.analytics.admin.v1alpha.UpdateDataRedactionSettingsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateDataRedactionSettingsMethod(), getCallOptions()), request); - } - - /** - *
-     * Lookup for a single DataRedactionSettings.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture getDataRedactionSettings( - com.google.analytics.admin.v1alpha.GetDataRedactionSettingsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetDataRedactionSettingsMethod(), getCallOptions()), request); - } - - /** - *
-     * Create a roll-up property and all roll-up property source links.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture createRollupProperty( - com.google.analytics.admin.v1alpha.CreateRollupPropertyRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateRollupPropertyMethod(), getCallOptions()), request); - } - - /** - *
-     * Lookup for a single roll-up property source Link.
-     * Only roll-up properties can have source links, so this method will throw an
-     * error if used on other types of properties.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture getRollupPropertySourceLink( - com.google.analytics.admin.v1alpha.GetRollupPropertySourceLinkRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetRollupPropertySourceLinkMethod(), getCallOptions()), request); - } - - /** - *
-     * Lists roll-up property source Links on a property.
-     * Only roll-up properties can have source links, so this method will throw an
-     * error if used on other types of properties.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture listRollupPropertySourceLinks( - com.google.analytics.admin.v1alpha.ListRollupPropertySourceLinksRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListRollupPropertySourceLinksMethod(), getCallOptions()), request); - } - - /** - *
-     * Creates a roll-up property source link.
-     * Only roll-up properties can have source links, so this method will throw an
-     * error if used on other types of properties.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture createRollupPropertySourceLink( - com.google.analytics.admin.v1alpha.CreateRollupPropertySourceLinkRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateRollupPropertySourceLinkMethod(), getCallOptions()), request); - } - - /** - *
-     * Deletes a roll-up property source link.
-     * Only roll-up properties can have source links, so this method will throw an
-     * error if used on other types of properties.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture deleteRollupPropertySourceLink( - com.google.analytics.admin.v1alpha.DeleteRollupPropertySourceLinkRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteRollupPropertySourceLinkMethod(), getCallOptions()), request); - } - - /** - *
-     * Create a subproperty and a subproperty event filter that applies to the
-     * created subproperty.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture createSubproperty( - com.google.analytics.admin.v1alpha.CreateSubpropertyRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateSubpropertyMethod(), getCallOptions()), request); - } - - /** - *
-     * Deletes a subproperty event filter.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture deleteSubpropertyEventFilter( - com.google.analytics.admin.v1alpha.DeleteSubpropertyEventFilterRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteSubpropertyEventFilterMethod(), getCallOptions()), request); - } - - /** - *
-     * Creates a subproperty Event Filter.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture createSubpropertyEventFilter( - com.google.analytics.admin.v1alpha.CreateSubpropertyEventFilterRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateSubpropertyEventFilterMethod(), 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_GET_GLOBAL_SITE_TAG = 14; - private static final int METHODID_CREATE_GOOGLE_ADS_LINK = 15; - private static final int METHODID_UPDATE_GOOGLE_ADS_LINK = 16; - private static final int METHODID_DELETE_GOOGLE_ADS_LINK = 17; - private static final int METHODID_LIST_GOOGLE_ADS_LINKS = 18; - private static final int METHODID_GET_DATA_SHARING_SETTINGS = 19; - private static final int METHODID_GET_MEASUREMENT_PROTOCOL_SECRET = 20; - private static final int METHODID_LIST_MEASUREMENT_PROTOCOL_SECRETS = 21; - private static final int METHODID_CREATE_MEASUREMENT_PROTOCOL_SECRET = 22; - private static final int METHODID_DELETE_MEASUREMENT_PROTOCOL_SECRET = 23; - private static final int METHODID_UPDATE_MEASUREMENT_PROTOCOL_SECRET = 24; - private static final int METHODID_ACKNOWLEDGE_USER_DATA_COLLECTION = 25; - private static final int METHODID_GET_SKAD_NETWORK_CONVERSION_VALUE_SCHEMA = 26; - private static final int METHODID_CREATE_SKAD_NETWORK_CONVERSION_VALUE_SCHEMA = 27; - private static final int METHODID_DELETE_SKAD_NETWORK_CONVERSION_VALUE_SCHEMA = 28; - private static final int METHODID_UPDATE_SKAD_NETWORK_CONVERSION_VALUE_SCHEMA = 29; - private static final int METHODID_LIST_SKAD_NETWORK_CONVERSION_VALUE_SCHEMAS = 30; - private static final int METHODID_SEARCH_CHANGE_HISTORY_EVENTS = 31; - private static final int METHODID_GET_GOOGLE_SIGNALS_SETTINGS = 32; - private static final int METHODID_UPDATE_GOOGLE_SIGNALS_SETTINGS = 33; - private static final int METHODID_CREATE_CONVERSION_EVENT = 34; - private static final int METHODID_UPDATE_CONVERSION_EVENT = 35; - private static final int METHODID_GET_CONVERSION_EVENT = 36; - private static final int METHODID_DELETE_CONVERSION_EVENT = 37; - private static final int METHODID_LIST_CONVERSION_EVENTS = 38; - private static final int METHODID_GET_DISPLAY_VIDEO360ADVERTISER_LINK = 39; - private static final int METHODID_LIST_DISPLAY_VIDEO360ADVERTISER_LINKS = 40; - private static final int METHODID_CREATE_DISPLAY_VIDEO360ADVERTISER_LINK = 41; - private static final int METHODID_DELETE_DISPLAY_VIDEO360ADVERTISER_LINK = 42; - private static final int METHODID_UPDATE_DISPLAY_VIDEO360ADVERTISER_LINK = 43; - private static final int METHODID_GET_DISPLAY_VIDEO360ADVERTISER_LINK_PROPOSAL = 44; - private static final int METHODID_LIST_DISPLAY_VIDEO360ADVERTISER_LINK_PROPOSALS = 45; - private static final int METHODID_CREATE_DISPLAY_VIDEO360ADVERTISER_LINK_PROPOSAL = 46; - private static final int METHODID_DELETE_DISPLAY_VIDEO360ADVERTISER_LINK_PROPOSAL = 47; - private static final int METHODID_APPROVE_DISPLAY_VIDEO360ADVERTISER_LINK_PROPOSAL = 48; - private static final int METHODID_CANCEL_DISPLAY_VIDEO360ADVERTISER_LINK_PROPOSAL = 49; - private static final int METHODID_CREATE_CUSTOM_DIMENSION = 50; - private static final int METHODID_UPDATE_CUSTOM_DIMENSION = 51; - private static final int METHODID_LIST_CUSTOM_DIMENSIONS = 52; - private static final int METHODID_ARCHIVE_CUSTOM_DIMENSION = 53; - private static final int METHODID_GET_CUSTOM_DIMENSION = 54; - private static final int METHODID_CREATE_CUSTOM_METRIC = 55; - private static final int METHODID_UPDATE_CUSTOM_METRIC = 56; - private static final int METHODID_LIST_CUSTOM_METRICS = 57; - private static final int METHODID_ARCHIVE_CUSTOM_METRIC = 58; - private static final int METHODID_GET_CUSTOM_METRIC = 59; - private static final int METHODID_GET_DATA_RETENTION_SETTINGS = 60; - private static final int METHODID_UPDATE_DATA_RETENTION_SETTINGS = 61; - private static final int METHODID_CREATE_DATA_STREAM = 62; - private static final int METHODID_DELETE_DATA_STREAM = 63; - private static final int METHODID_UPDATE_DATA_STREAM = 64; - private static final int METHODID_LIST_DATA_STREAMS = 65; - private static final int METHODID_GET_DATA_STREAM = 66; - private static final int METHODID_GET_AUDIENCE = 67; - private static final int METHODID_LIST_AUDIENCES = 68; - private static final int METHODID_CREATE_AUDIENCE = 69; - private static final int METHODID_UPDATE_AUDIENCE = 70; - private static final int METHODID_ARCHIVE_AUDIENCE = 71; - private static final int METHODID_GET_SEARCH_ADS360LINK = 72; - private static final int METHODID_LIST_SEARCH_ADS360LINKS = 73; - private static final int METHODID_CREATE_SEARCH_ADS360LINK = 74; - private static final int METHODID_DELETE_SEARCH_ADS360LINK = 75; - private static final int METHODID_UPDATE_SEARCH_ADS360LINK = 76; - private static final int METHODID_GET_ATTRIBUTION_SETTINGS = 77; - private static final int METHODID_UPDATE_ATTRIBUTION_SETTINGS = 78; - private static final int METHODID_RUN_ACCESS_REPORT = 79; - private static final int METHODID_CREATE_ACCESS_BINDING = 80; - private static final int METHODID_GET_ACCESS_BINDING = 81; - private static final int METHODID_UPDATE_ACCESS_BINDING = 82; - private static final int METHODID_DELETE_ACCESS_BINDING = 83; - private static final int METHODID_LIST_ACCESS_BINDINGS = 84; - private static final int METHODID_BATCH_CREATE_ACCESS_BINDINGS = 85; - private static final int METHODID_BATCH_GET_ACCESS_BINDINGS = 86; - private static final int METHODID_BATCH_UPDATE_ACCESS_BINDINGS = 87; - private static final int METHODID_BATCH_DELETE_ACCESS_BINDINGS = 88; - private static final int METHODID_GET_EXPANDED_DATA_SET = 89; - private static final int METHODID_LIST_EXPANDED_DATA_SETS = 90; - private static final int METHODID_CREATE_EXPANDED_DATA_SET = 91; - private static final int METHODID_UPDATE_EXPANDED_DATA_SET = 92; - private static final int METHODID_DELETE_EXPANDED_DATA_SET = 93; - private static final int METHODID_GET_CHANNEL_GROUP = 94; - private static final int METHODID_LIST_CHANNEL_GROUPS = 95; - private static final int METHODID_CREATE_CHANNEL_GROUP = 96; - private static final int METHODID_UPDATE_CHANNEL_GROUP = 97; - private static final int METHODID_DELETE_CHANNEL_GROUP = 98; - private static final int METHODID_SET_AUTOMATED_GA4CONFIGURATION_OPT_OUT = 99; - private static final int METHODID_FETCH_AUTOMATED_GA4CONFIGURATION_OPT_OUT = 100; - private static final int METHODID_GET_BIG_QUERY_LINK = 101; - private static final int METHODID_LIST_BIG_QUERY_LINKS = 102; - private static final int METHODID_GET_ENHANCED_MEASUREMENT_SETTINGS = 103; - private static final int METHODID_UPDATE_ENHANCED_MEASUREMENT_SETTINGS = 104; - private static final int METHODID_CREATE_CONNECTED_SITE_TAG = 105; - private static final int METHODID_DELETE_CONNECTED_SITE_TAG = 106; - private static final int METHODID_LIST_CONNECTED_SITE_TAGS = 107; - private static final int METHODID_FETCH_CONNECTED_GA4PROPERTY = 108; - private static final int METHODID_GET_AD_SENSE_LINK = 109; - private static final int METHODID_CREATE_AD_SENSE_LINK = 110; - private static final int METHODID_DELETE_AD_SENSE_LINK = 111; - private static final int METHODID_LIST_AD_SENSE_LINKS = 112; - private static final int METHODID_GET_EVENT_CREATE_RULE = 113; - private static final int METHODID_LIST_EVENT_CREATE_RULES = 114; - private static final int METHODID_CREATE_EVENT_CREATE_RULE = 115; - private static final int METHODID_UPDATE_EVENT_CREATE_RULE = 116; - private static final int METHODID_DELETE_EVENT_CREATE_RULE = 117; - private static final int METHODID_UPDATE_DATA_REDACTION_SETTINGS = 118; - private static final int METHODID_GET_DATA_REDACTION_SETTINGS = 119; - private static final int METHODID_CREATE_ROLLUP_PROPERTY = 120; - private static final int METHODID_GET_ROLLUP_PROPERTY_SOURCE_LINK = 121; - private static final int METHODID_LIST_ROLLUP_PROPERTY_SOURCE_LINKS = 122; - private static final int METHODID_CREATE_ROLLUP_PROPERTY_SOURCE_LINK = 123; - private static final int METHODID_DELETE_ROLLUP_PROPERTY_SOURCE_LINK = 124; - private static final int METHODID_CREATE_SUBPROPERTY = 125; - private static final int METHODID_DELETE_SUBPROPERTY_EVENT_FILTER = 126; - private static final int METHODID_CREATE_SUBPROPERTY_EVENT_FILTER = 127; - - 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 AsyncService serviceImpl; - private final int methodId; - - MethodHandlers(AsyncService 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_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_GET_SKAD_NETWORK_CONVERSION_VALUE_SCHEMA: - serviceImpl.getSKAdNetworkConversionValueSchema((com.google.analytics.admin.v1alpha.GetSKAdNetworkConversionValueSchemaRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_CREATE_SKAD_NETWORK_CONVERSION_VALUE_SCHEMA: - serviceImpl.createSKAdNetworkConversionValueSchema((com.google.analytics.admin.v1alpha.CreateSKAdNetworkConversionValueSchemaRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_DELETE_SKAD_NETWORK_CONVERSION_VALUE_SCHEMA: - serviceImpl.deleteSKAdNetworkConversionValueSchema((com.google.analytics.admin.v1alpha.DeleteSKAdNetworkConversionValueSchemaRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_UPDATE_SKAD_NETWORK_CONVERSION_VALUE_SCHEMA: - serviceImpl.updateSKAdNetworkConversionValueSchema((com.google.analytics.admin.v1alpha.UpdateSKAdNetworkConversionValueSchemaRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_SKAD_NETWORK_CONVERSION_VALUE_SCHEMAS: - serviceImpl.listSKAdNetworkConversionValueSchemas((com.google.analytics.admin.v1alpha.ListSKAdNetworkConversionValueSchemasRequest) 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_UPDATE_CONVERSION_EVENT: - serviceImpl.updateConversionEvent((com.google.analytics.admin.v1alpha.UpdateConversionEventRequest) 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_CREATE_ACCESS_BINDING: - serviceImpl.createAccessBinding((com.google.analytics.admin.v1alpha.CreateAccessBindingRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_ACCESS_BINDING: - serviceImpl.getAccessBinding((com.google.analytics.admin.v1alpha.GetAccessBindingRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_UPDATE_ACCESS_BINDING: - serviceImpl.updateAccessBinding((com.google.analytics.admin.v1alpha.UpdateAccessBindingRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_DELETE_ACCESS_BINDING: - serviceImpl.deleteAccessBinding((com.google.analytics.admin.v1alpha.DeleteAccessBindingRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_ACCESS_BINDINGS: - serviceImpl.listAccessBindings((com.google.analytics.admin.v1alpha.ListAccessBindingsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_BATCH_CREATE_ACCESS_BINDINGS: - serviceImpl.batchCreateAccessBindings((com.google.analytics.admin.v1alpha.BatchCreateAccessBindingsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_BATCH_GET_ACCESS_BINDINGS: - serviceImpl.batchGetAccessBindings((com.google.analytics.admin.v1alpha.BatchGetAccessBindingsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_BATCH_UPDATE_ACCESS_BINDINGS: - serviceImpl.batchUpdateAccessBindings((com.google.analytics.admin.v1alpha.BatchUpdateAccessBindingsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_BATCH_DELETE_ACCESS_BINDINGS: - serviceImpl.batchDeleteAccessBindings((com.google.analytics.admin.v1alpha.BatchDeleteAccessBindingsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_EXPANDED_DATA_SET: - serviceImpl.getExpandedDataSet((com.google.analytics.admin.v1alpha.GetExpandedDataSetRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_EXPANDED_DATA_SETS: - serviceImpl.listExpandedDataSets((com.google.analytics.admin.v1alpha.ListExpandedDataSetsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_CREATE_EXPANDED_DATA_SET: - serviceImpl.createExpandedDataSet((com.google.analytics.admin.v1alpha.CreateExpandedDataSetRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_UPDATE_EXPANDED_DATA_SET: - serviceImpl.updateExpandedDataSet((com.google.analytics.admin.v1alpha.UpdateExpandedDataSetRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_DELETE_EXPANDED_DATA_SET: - serviceImpl.deleteExpandedDataSet((com.google.analytics.admin.v1alpha.DeleteExpandedDataSetRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_CHANNEL_GROUP: - serviceImpl.getChannelGroup((com.google.analytics.admin.v1alpha.GetChannelGroupRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_CHANNEL_GROUPS: - serviceImpl.listChannelGroups((com.google.analytics.admin.v1alpha.ListChannelGroupsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_CREATE_CHANNEL_GROUP: - serviceImpl.createChannelGroup((com.google.analytics.admin.v1alpha.CreateChannelGroupRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_UPDATE_CHANNEL_GROUP: - serviceImpl.updateChannelGroup((com.google.analytics.admin.v1alpha.UpdateChannelGroupRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_DELETE_CHANNEL_GROUP: - serviceImpl.deleteChannelGroup((com.google.analytics.admin.v1alpha.DeleteChannelGroupRequest) 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; - case METHODID_GET_ENHANCED_MEASUREMENT_SETTINGS: - serviceImpl.getEnhancedMeasurementSettings((com.google.analytics.admin.v1alpha.GetEnhancedMeasurementSettingsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_UPDATE_ENHANCED_MEASUREMENT_SETTINGS: - serviceImpl.updateEnhancedMeasurementSettings((com.google.analytics.admin.v1alpha.UpdateEnhancedMeasurementSettingsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_CREATE_CONNECTED_SITE_TAG: - serviceImpl.createConnectedSiteTag((com.google.analytics.admin.v1alpha.CreateConnectedSiteTagRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_DELETE_CONNECTED_SITE_TAG: - serviceImpl.deleteConnectedSiteTag((com.google.analytics.admin.v1alpha.DeleteConnectedSiteTagRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_CONNECTED_SITE_TAGS: - serviceImpl.listConnectedSiteTags((com.google.analytics.admin.v1alpha.ListConnectedSiteTagsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_FETCH_CONNECTED_GA4PROPERTY: - serviceImpl.fetchConnectedGa4Property((com.google.analytics.admin.v1alpha.FetchConnectedGa4PropertyRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_AD_SENSE_LINK: - serviceImpl.getAdSenseLink((com.google.analytics.admin.v1alpha.GetAdSenseLinkRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_CREATE_AD_SENSE_LINK: - serviceImpl.createAdSenseLink((com.google.analytics.admin.v1alpha.CreateAdSenseLinkRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_DELETE_AD_SENSE_LINK: - serviceImpl.deleteAdSenseLink((com.google.analytics.admin.v1alpha.DeleteAdSenseLinkRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_AD_SENSE_LINKS: - serviceImpl.listAdSenseLinks((com.google.analytics.admin.v1alpha.ListAdSenseLinksRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_EVENT_CREATE_RULE: - serviceImpl.getEventCreateRule((com.google.analytics.admin.v1alpha.GetEventCreateRuleRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_EVENT_CREATE_RULES: - serviceImpl.listEventCreateRules((com.google.analytics.admin.v1alpha.ListEventCreateRulesRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_CREATE_EVENT_CREATE_RULE: - serviceImpl.createEventCreateRule((com.google.analytics.admin.v1alpha.CreateEventCreateRuleRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_UPDATE_EVENT_CREATE_RULE: - serviceImpl.updateEventCreateRule((com.google.analytics.admin.v1alpha.UpdateEventCreateRuleRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_DELETE_EVENT_CREATE_RULE: - serviceImpl.deleteEventCreateRule((com.google.analytics.admin.v1alpha.DeleteEventCreateRuleRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_UPDATE_DATA_REDACTION_SETTINGS: - serviceImpl.updateDataRedactionSettings((com.google.analytics.admin.v1alpha.UpdateDataRedactionSettingsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_DATA_REDACTION_SETTINGS: - serviceImpl.getDataRedactionSettings((com.google.analytics.admin.v1alpha.GetDataRedactionSettingsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_CREATE_ROLLUP_PROPERTY: - serviceImpl.createRollupProperty((com.google.analytics.admin.v1alpha.CreateRollupPropertyRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_ROLLUP_PROPERTY_SOURCE_LINK: - serviceImpl.getRollupPropertySourceLink((com.google.analytics.admin.v1alpha.GetRollupPropertySourceLinkRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_ROLLUP_PROPERTY_SOURCE_LINKS: - serviceImpl.listRollupPropertySourceLinks((com.google.analytics.admin.v1alpha.ListRollupPropertySourceLinksRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_CREATE_ROLLUP_PROPERTY_SOURCE_LINK: - serviceImpl.createRollupPropertySourceLink((com.google.analytics.admin.v1alpha.CreateRollupPropertySourceLinkRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_DELETE_ROLLUP_PROPERTY_SOURCE_LINK: - serviceImpl.deleteRollupPropertySourceLink((com.google.analytics.admin.v1alpha.DeleteRollupPropertySourceLinkRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_CREATE_SUBPROPERTY: - serviceImpl.createSubproperty((com.google.analytics.admin.v1alpha.CreateSubpropertyRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_DELETE_SUBPROPERTY_EVENT_FILTER: - serviceImpl.deleteSubpropertyEventFilter((com.google.analytics.admin.v1alpha.DeleteSubpropertyEventFilterRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_CREATE_SUBPROPERTY_EVENT_FILTER: - serviceImpl.createSubpropertyEventFilter((com.google.analytics.admin.v1alpha.CreateSubpropertyEventFilterRequest) 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(); - } - } - } - - public static final io.grpc.ServerServiceDefinition bindService(AsyncService service) { - 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>( - service, METHODID_GET_ACCOUNT))) - .addMethod( - getListAccountsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.ListAccountsRequest, - com.google.analytics.admin.v1alpha.ListAccountsResponse>( - service, METHODID_LIST_ACCOUNTS))) - .addMethod( - getDeleteAccountMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.DeleteAccountRequest, - com.google.protobuf.Empty>( - service, METHODID_DELETE_ACCOUNT))) - .addMethod( - getUpdateAccountMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.UpdateAccountRequest, - com.google.analytics.admin.v1alpha.Account>( - service, METHODID_UPDATE_ACCOUNT))) - .addMethod( - getProvisionAccountTicketMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.ProvisionAccountTicketRequest, - com.google.analytics.admin.v1alpha.ProvisionAccountTicketResponse>( - service, 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>( - service, 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>( - service, METHODID_GET_PROPERTY))) - .addMethod( - getListPropertiesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.ListPropertiesRequest, - com.google.analytics.admin.v1alpha.ListPropertiesResponse>( - service, METHODID_LIST_PROPERTIES))) - .addMethod( - getCreatePropertyMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.CreatePropertyRequest, - com.google.analytics.admin.v1alpha.Property>( - service, METHODID_CREATE_PROPERTY))) - .addMethod( - getDeletePropertyMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.DeletePropertyRequest, - com.google.analytics.admin.v1alpha.Property>( - service, METHODID_DELETE_PROPERTY))) - .addMethod( - getUpdatePropertyMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.UpdatePropertyRequest, - com.google.analytics.admin.v1alpha.Property>( - service, METHODID_UPDATE_PROPERTY))) - .addMethod( - getCreateFirebaseLinkMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.CreateFirebaseLinkRequest, - com.google.analytics.admin.v1alpha.FirebaseLink>( - service, METHODID_CREATE_FIREBASE_LINK))) - .addMethod( - getDeleteFirebaseLinkMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.DeleteFirebaseLinkRequest, - com.google.protobuf.Empty>( - service, 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>( - service, 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>( - service, 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>( - service, 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>( - service, METHODID_UPDATE_GOOGLE_ADS_LINK))) - .addMethod( - getDeleteGoogleAdsLinkMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.DeleteGoogleAdsLinkRequest, - com.google.protobuf.Empty>( - service, 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>( - service, 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>( - service, 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>( - service, 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>( - service, 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>( - service, METHODID_CREATE_MEASUREMENT_PROTOCOL_SECRET))) - .addMethod( - getDeleteMeasurementProtocolSecretMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.DeleteMeasurementProtocolSecretRequest, - com.google.protobuf.Empty>( - service, 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>( - service, 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>( - service, METHODID_ACKNOWLEDGE_USER_DATA_COLLECTION))) - .addMethod( - getGetSKAdNetworkConversionValueSchemaMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.GetSKAdNetworkConversionValueSchemaRequest, - com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema>( - service, METHODID_GET_SKAD_NETWORK_CONVERSION_VALUE_SCHEMA))) - .addMethod( - getCreateSKAdNetworkConversionValueSchemaMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.CreateSKAdNetworkConversionValueSchemaRequest, - com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema>( - service, METHODID_CREATE_SKAD_NETWORK_CONVERSION_VALUE_SCHEMA))) - .addMethod( - getDeleteSKAdNetworkConversionValueSchemaMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.DeleteSKAdNetworkConversionValueSchemaRequest, - com.google.protobuf.Empty>( - service, METHODID_DELETE_SKAD_NETWORK_CONVERSION_VALUE_SCHEMA))) - .addMethod( - getUpdateSKAdNetworkConversionValueSchemaMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.UpdateSKAdNetworkConversionValueSchemaRequest, - com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema>( - service, METHODID_UPDATE_SKAD_NETWORK_CONVERSION_VALUE_SCHEMA))) - .addMethod( - getListSKAdNetworkConversionValueSchemasMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.ListSKAdNetworkConversionValueSchemasRequest, - com.google.analytics.admin.v1alpha.ListSKAdNetworkConversionValueSchemasResponse>( - service, METHODID_LIST_SKAD_NETWORK_CONVERSION_VALUE_SCHEMAS))) - .addMethod( - getSearchChangeHistoryEventsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsRequest, - com.google.analytics.admin.v1alpha.SearchChangeHistoryEventsResponse>( - service, 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>( - service, 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>( - service, 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>( - service, METHODID_CREATE_CONVERSION_EVENT))) - .addMethod( - getUpdateConversionEventMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.UpdateConversionEventRequest, - com.google.analytics.admin.v1alpha.ConversionEvent>( - service, METHODID_UPDATE_CONVERSION_EVENT))) - .addMethod( - getGetConversionEventMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.GetConversionEventRequest, - com.google.analytics.admin.v1alpha.ConversionEvent>( - service, METHODID_GET_CONVERSION_EVENT))) - .addMethod( - getDeleteConversionEventMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.DeleteConversionEventRequest, - com.google.protobuf.Empty>( - service, 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>( - service, 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>( - service, 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>( - service, 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>( - service, METHODID_CREATE_DISPLAY_VIDEO360ADVERTISER_LINK))) - .addMethod( - getDeleteDisplayVideo360AdvertiserLinkMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.DeleteDisplayVideo360AdvertiserLinkRequest, - com.google.protobuf.Empty>( - service, 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>( - service, 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>( - service, 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>( - service, 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>( - service, 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>( - service, 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>( - service, 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>( - service, 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>( - service, 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>( - service, 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>( - service, METHODID_LIST_CUSTOM_DIMENSIONS))) - .addMethod( - getArchiveCustomDimensionMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.ArchiveCustomDimensionRequest, - com.google.protobuf.Empty>( - service, 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>( - service, 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>( - service, 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>( - service, 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>( - service, METHODID_LIST_CUSTOM_METRICS))) - .addMethod( - getArchiveCustomMetricMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.ArchiveCustomMetricRequest, - com.google.protobuf.Empty>( - service, 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>( - service, 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>( - service, 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>( - service, 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>( - service, METHODID_CREATE_DATA_STREAM))) - .addMethod( - getDeleteDataStreamMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.DeleteDataStreamRequest, - com.google.protobuf.Empty>( - service, 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>( - service, 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>( - service, 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>( - service, 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>( - service, METHODID_GET_AUDIENCE))) - .addMethod( - getListAudiencesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.ListAudiencesRequest, - com.google.analytics.admin.v1alpha.ListAudiencesResponse>( - service, METHODID_LIST_AUDIENCES))) - .addMethod( - getCreateAudienceMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.CreateAudienceRequest, - com.google.analytics.admin.v1alpha.Audience>( - service, METHODID_CREATE_AUDIENCE))) - .addMethod( - getUpdateAudienceMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.UpdateAudienceRequest, - com.google.analytics.admin.v1alpha.Audience>( - service, METHODID_UPDATE_AUDIENCE))) - .addMethod( - getArchiveAudienceMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.ArchiveAudienceRequest, - com.google.protobuf.Empty>( - service, METHODID_ARCHIVE_AUDIENCE))) - .addMethod( - getGetSearchAds360LinkMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.GetSearchAds360LinkRequest, - com.google.analytics.admin.v1alpha.SearchAds360Link>( - service, 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>( - service, 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>( - service, METHODID_CREATE_SEARCH_ADS360LINK))) - .addMethod( - getDeleteSearchAds360LinkMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.DeleteSearchAds360LinkRequest, - com.google.protobuf.Empty>( - service, 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>( - service, 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>( - service, 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>( - service, 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>( - service, METHODID_RUN_ACCESS_REPORT))) - .addMethod( - getCreateAccessBindingMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.CreateAccessBindingRequest, - com.google.analytics.admin.v1alpha.AccessBinding>( - service, METHODID_CREATE_ACCESS_BINDING))) - .addMethod( - getGetAccessBindingMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.GetAccessBindingRequest, - com.google.analytics.admin.v1alpha.AccessBinding>( - service, METHODID_GET_ACCESS_BINDING))) - .addMethod( - getUpdateAccessBindingMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.UpdateAccessBindingRequest, - com.google.analytics.admin.v1alpha.AccessBinding>( - service, METHODID_UPDATE_ACCESS_BINDING))) - .addMethod( - getDeleteAccessBindingMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.DeleteAccessBindingRequest, - com.google.protobuf.Empty>( - service, METHODID_DELETE_ACCESS_BINDING))) - .addMethod( - getListAccessBindingsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.ListAccessBindingsRequest, - com.google.analytics.admin.v1alpha.ListAccessBindingsResponse>( - service, METHODID_LIST_ACCESS_BINDINGS))) - .addMethod( - getBatchCreateAccessBindingsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.BatchCreateAccessBindingsRequest, - com.google.analytics.admin.v1alpha.BatchCreateAccessBindingsResponse>( - service, METHODID_BATCH_CREATE_ACCESS_BINDINGS))) - .addMethod( - getBatchGetAccessBindingsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.BatchGetAccessBindingsRequest, - com.google.analytics.admin.v1alpha.BatchGetAccessBindingsResponse>( - service, METHODID_BATCH_GET_ACCESS_BINDINGS))) - .addMethod( - getBatchUpdateAccessBindingsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.BatchUpdateAccessBindingsRequest, - com.google.analytics.admin.v1alpha.BatchUpdateAccessBindingsResponse>( - service, METHODID_BATCH_UPDATE_ACCESS_BINDINGS))) - .addMethod( - getBatchDeleteAccessBindingsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.BatchDeleteAccessBindingsRequest, - com.google.protobuf.Empty>( - service, METHODID_BATCH_DELETE_ACCESS_BINDINGS))) - .addMethod( - getGetExpandedDataSetMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.GetExpandedDataSetRequest, - com.google.analytics.admin.v1alpha.ExpandedDataSet>( - service, METHODID_GET_EXPANDED_DATA_SET))) - .addMethod( - getListExpandedDataSetsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.ListExpandedDataSetsRequest, - com.google.analytics.admin.v1alpha.ListExpandedDataSetsResponse>( - service, METHODID_LIST_EXPANDED_DATA_SETS))) - .addMethod( - getCreateExpandedDataSetMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.CreateExpandedDataSetRequest, - com.google.analytics.admin.v1alpha.ExpandedDataSet>( - service, METHODID_CREATE_EXPANDED_DATA_SET))) - .addMethod( - getUpdateExpandedDataSetMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.UpdateExpandedDataSetRequest, - com.google.analytics.admin.v1alpha.ExpandedDataSet>( - service, METHODID_UPDATE_EXPANDED_DATA_SET))) - .addMethod( - getDeleteExpandedDataSetMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.DeleteExpandedDataSetRequest, - com.google.protobuf.Empty>( - service, METHODID_DELETE_EXPANDED_DATA_SET))) - .addMethod( - getGetChannelGroupMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.GetChannelGroupRequest, - com.google.analytics.admin.v1alpha.ChannelGroup>( - service, METHODID_GET_CHANNEL_GROUP))) - .addMethod( - getListChannelGroupsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.ListChannelGroupsRequest, - com.google.analytics.admin.v1alpha.ListChannelGroupsResponse>( - service, METHODID_LIST_CHANNEL_GROUPS))) - .addMethod( - getCreateChannelGroupMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.CreateChannelGroupRequest, - com.google.analytics.admin.v1alpha.ChannelGroup>( - service, METHODID_CREATE_CHANNEL_GROUP))) - .addMethod( - getUpdateChannelGroupMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.UpdateChannelGroupRequest, - com.google.analytics.admin.v1alpha.ChannelGroup>( - service, METHODID_UPDATE_CHANNEL_GROUP))) - .addMethod( - getDeleteChannelGroupMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.DeleteChannelGroupRequest, - com.google.protobuf.Empty>( - service, METHODID_DELETE_CHANNEL_GROUP))) - .addMethod( - getSetAutomatedGa4ConfigurationOptOutMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.SetAutomatedGa4ConfigurationOptOutRequest, - com.google.analytics.admin.v1alpha.SetAutomatedGa4ConfigurationOptOutResponse>( - service, 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>( - service, 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>( - service, 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>( - service, METHODID_LIST_BIG_QUERY_LINKS))) - .addMethod( - getGetEnhancedMeasurementSettingsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.GetEnhancedMeasurementSettingsRequest, - com.google.analytics.admin.v1alpha.EnhancedMeasurementSettings>( - service, METHODID_GET_ENHANCED_MEASUREMENT_SETTINGS))) - .addMethod( - getUpdateEnhancedMeasurementSettingsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.UpdateEnhancedMeasurementSettingsRequest, - com.google.analytics.admin.v1alpha.EnhancedMeasurementSettings>( - service, METHODID_UPDATE_ENHANCED_MEASUREMENT_SETTINGS))) - .addMethod( - getCreateConnectedSiteTagMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.CreateConnectedSiteTagRequest, - com.google.analytics.admin.v1alpha.CreateConnectedSiteTagResponse>( - service, METHODID_CREATE_CONNECTED_SITE_TAG))) - .addMethod( - getDeleteConnectedSiteTagMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.DeleteConnectedSiteTagRequest, - com.google.protobuf.Empty>( - service, METHODID_DELETE_CONNECTED_SITE_TAG))) - .addMethod( - getListConnectedSiteTagsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.ListConnectedSiteTagsRequest, - com.google.analytics.admin.v1alpha.ListConnectedSiteTagsResponse>( - service, METHODID_LIST_CONNECTED_SITE_TAGS))) - .addMethod( - getFetchConnectedGa4PropertyMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.FetchConnectedGa4PropertyRequest, - com.google.analytics.admin.v1alpha.FetchConnectedGa4PropertyResponse>( - service, METHODID_FETCH_CONNECTED_GA4PROPERTY))) - .addMethod( - getGetAdSenseLinkMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.GetAdSenseLinkRequest, - com.google.analytics.admin.v1alpha.AdSenseLink>( - service, METHODID_GET_AD_SENSE_LINK))) - .addMethod( - getCreateAdSenseLinkMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.CreateAdSenseLinkRequest, - com.google.analytics.admin.v1alpha.AdSenseLink>( - service, METHODID_CREATE_AD_SENSE_LINK))) - .addMethod( - getDeleteAdSenseLinkMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.DeleteAdSenseLinkRequest, - com.google.protobuf.Empty>( - service, METHODID_DELETE_AD_SENSE_LINK))) - .addMethod( - getListAdSenseLinksMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.ListAdSenseLinksRequest, - com.google.analytics.admin.v1alpha.ListAdSenseLinksResponse>( - service, METHODID_LIST_AD_SENSE_LINKS))) - .addMethod( - getGetEventCreateRuleMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.GetEventCreateRuleRequest, - com.google.analytics.admin.v1alpha.EventCreateRule>( - service, METHODID_GET_EVENT_CREATE_RULE))) - .addMethod( - getListEventCreateRulesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.ListEventCreateRulesRequest, - com.google.analytics.admin.v1alpha.ListEventCreateRulesResponse>( - service, METHODID_LIST_EVENT_CREATE_RULES))) - .addMethod( - getCreateEventCreateRuleMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.CreateEventCreateRuleRequest, - com.google.analytics.admin.v1alpha.EventCreateRule>( - service, METHODID_CREATE_EVENT_CREATE_RULE))) - .addMethod( - getUpdateEventCreateRuleMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.UpdateEventCreateRuleRequest, - com.google.analytics.admin.v1alpha.EventCreateRule>( - service, METHODID_UPDATE_EVENT_CREATE_RULE))) - .addMethod( - getDeleteEventCreateRuleMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.DeleteEventCreateRuleRequest, - com.google.protobuf.Empty>( - service, METHODID_DELETE_EVENT_CREATE_RULE))) - .addMethod( - getUpdateDataRedactionSettingsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.UpdateDataRedactionSettingsRequest, - com.google.analytics.admin.v1alpha.DataRedactionSettings>( - service, METHODID_UPDATE_DATA_REDACTION_SETTINGS))) - .addMethod( - getGetDataRedactionSettingsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.GetDataRedactionSettingsRequest, - com.google.analytics.admin.v1alpha.DataRedactionSettings>( - service, METHODID_GET_DATA_REDACTION_SETTINGS))) - .addMethod( - getCreateRollupPropertyMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.CreateRollupPropertyRequest, - com.google.analytics.admin.v1alpha.CreateRollupPropertyResponse>( - service, METHODID_CREATE_ROLLUP_PROPERTY))) - .addMethod( - getGetRollupPropertySourceLinkMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.GetRollupPropertySourceLinkRequest, - com.google.analytics.admin.v1alpha.RollupPropertySourceLink>( - service, METHODID_GET_ROLLUP_PROPERTY_SOURCE_LINK))) - .addMethod( - getListRollupPropertySourceLinksMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.ListRollupPropertySourceLinksRequest, - com.google.analytics.admin.v1alpha.ListRollupPropertySourceLinksResponse>( - service, METHODID_LIST_ROLLUP_PROPERTY_SOURCE_LINKS))) - .addMethod( - getCreateRollupPropertySourceLinkMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.CreateRollupPropertySourceLinkRequest, - com.google.analytics.admin.v1alpha.RollupPropertySourceLink>( - service, METHODID_CREATE_ROLLUP_PROPERTY_SOURCE_LINK))) - .addMethod( - getDeleteRollupPropertySourceLinkMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.DeleteRollupPropertySourceLinkRequest, - com.google.protobuf.Empty>( - service, METHODID_DELETE_ROLLUP_PROPERTY_SOURCE_LINK))) - .addMethod( - getCreateSubpropertyMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.CreateSubpropertyRequest, - com.google.analytics.admin.v1alpha.CreateSubpropertyResponse>( - service, METHODID_CREATE_SUBPROPERTY))) - .addMethod( - getDeleteSubpropertyEventFilterMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.DeleteSubpropertyEventFilterRequest, - com.google.protobuf.Empty>( - service, METHODID_DELETE_SUBPROPERTY_EVENT_FILTER))) - .addMethod( - getCreateSubpropertyEventFilterMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1alpha.CreateSubpropertyEventFilterRequest, - com.google.analytics.admin.v1alpha.SubpropertyEventFilter>( - service, METHODID_CREATE_SUBPROPERTY_EVENT_FILTER))) - .build(); - } - - 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 java.lang.String methodName; - - AnalyticsAdminServiceMethodDescriptorSupplier(java.lang.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(getGetGlobalSiteTagMethod()) - .addMethod(getCreateGoogleAdsLinkMethod()) - .addMethod(getUpdateGoogleAdsLinkMethod()) - .addMethod(getDeleteGoogleAdsLinkMethod()) - .addMethod(getListGoogleAdsLinksMethod()) - .addMethod(getGetDataSharingSettingsMethod()) - .addMethod(getGetMeasurementProtocolSecretMethod()) - .addMethod(getListMeasurementProtocolSecretsMethod()) - .addMethod(getCreateMeasurementProtocolSecretMethod()) - .addMethod(getDeleteMeasurementProtocolSecretMethod()) - .addMethod(getUpdateMeasurementProtocolSecretMethod()) - .addMethod(getAcknowledgeUserDataCollectionMethod()) - .addMethod(getGetSKAdNetworkConversionValueSchemaMethod()) - .addMethod(getCreateSKAdNetworkConversionValueSchemaMethod()) - .addMethod(getDeleteSKAdNetworkConversionValueSchemaMethod()) - .addMethod(getUpdateSKAdNetworkConversionValueSchemaMethod()) - .addMethod(getListSKAdNetworkConversionValueSchemasMethod()) - .addMethod(getSearchChangeHistoryEventsMethod()) - .addMethod(getGetGoogleSignalsSettingsMethod()) - .addMethod(getUpdateGoogleSignalsSettingsMethod()) - .addMethod(getCreateConversionEventMethod()) - .addMethod(getUpdateConversionEventMethod()) - .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(getCreateAccessBindingMethod()) - .addMethod(getGetAccessBindingMethod()) - .addMethod(getUpdateAccessBindingMethod()) - .addMethod(getDeleteAccessBindingMethod()) - .addMethod(getListAccessBindingsMethod()) - .addMethod(getBatchCreateAccessBindingsMethod()) - .addMethod(getBatchGetAccessBindingsMethod()) - .addMethod(getBatchUpdateAccessBindingsMethod()) - .addMethod(getBatchDeleteAccessBindingsMethod()) - .addMethod(getGetExpandedDataSetMethod()) - .addMethod(getListExpandedDataSetsMethod()) - .addMethod(getCreateExpandedDataSetMethod()) - .addMethod(getUpdateExpandedDataSetMethod()) - .addMethod(getDeleteExpandedDataSetMethod()) - .addMethod(getGetChannelGroupMethod()) - .addMethod(getListChannelGroupsMethod()) - .addMethod(getCreateChannelGroupMethod()) - .addMethod(getUpdateChannelGroupMethod()) - .addMethod(getDeleteChannelGroupMethod()) - .addMethod(getSetAutomatedGa4ConfigurationOptOutMethod()) - .addMethod(getFetchAutomatedGa4ConfigurationOptOutMethod()) - .addMethod(getGetBigQueryLinkMethod()) - .addMethod(getListBigQueryLinksMethod()) - .addMethod(getGetEnhancedMeasurementSettingsMethod()) - .addMethod(getUpdateEnhancedMeasurementSettingsMethod()) - .addMethod(getCreateConnectedSiteTagMethod()) - .addMethod(getDeleteConnectedSiteTagMethod()) - .addMethod(getListConnectedSiteTagsMethod()) - .addMethod(getFetchConnectedGa4PropertyMethod()) - .addMethod(getGetAdSenseLinkMethod()) - .addMethod(getCreateAdSenseLinkMethod()) - .addMethod(getDeleteAdSenseLinkMethod()) - .addMethod(getListAdSenseLinksMethod()) - .addMethod(getGetEventCreateRuleMethod()) - .addMethod(getListEventCreateRulesMethod()) - .addMethod(getCreateEventCreateRuleMethod()) - .addMethod(getUpdateEventCreateRuleMethod()) - .addMethod(getDeleteEventCreateRuleMethod()) - .addMethod(getUpdateDataRedactionSettingsMethod()) - .addMethod(getGetDataRedactionSettingsMethod()) - .addMethod(getCreateRollupPropertyMethod()) - .addMethod(getGetRollupPropertySourceLinkMethod()) - .addMethod(getListRollupPropertySourceLinksMethod()) - .addMethod(getCreateRollupPropertySourceLinkMethod()) - .addMethod(getDeleteRollupPropertySourceLinkMethod()) - .addMethod(getCreateSubpropertyMethod()) - .addMethod(getDeleteSubpropertyEventFilterMethod()) - .addMethod(getCreateSubpropertyEventFilterMethod()) - .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 b9834f1cfb9f..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(\005By\n\"com.google.analytics.admin.v1al" + - "phaB\021AccessReportProtoP\001Z>cloud.google.c" + - "om/go/analytics/admin/apiv1alpha/adminpb" + - ";adminpbb\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 60b08c4a9b98..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,3303 +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_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_GetSKAdNetworkConversionValueSchemaRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_GetSKAdNetworkConversionValueSchemaRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_CreateSKAdNetworkConversionValueSchemaRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_CreateSKAdNetworkConversionValueSchemaRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_DeleteSKAdNetworkConversionValueSchemaRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_DeleteSKAdNetworkConversionValueSchemaRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_UpdateSKAdNetworkConversionValueSchemaRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_UpdateSKAdNetworkConversionValueSchemaRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_ListSKAdNetworkConversionValueSchemasRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_ListSKAdNetworkConversionValueSchemasRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_ListSKAdNetworkConversionValueSchemasResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_ListSKAdNetworkConversionValueSchemasResponse_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_UpdateConversionEventRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_UpdateConversionEventRequest_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_GetAccessBindingRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_GetAccessBindingRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_BatchGetAccessBindingsRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_BatchGetAccessBindingsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_BatchGetAccessBindingsResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_BatchGetAccessBindingsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_ListAccessBindingsRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_ListAccessBindingsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_ListAccessBindingsResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_ListAccessBindingsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_CreateAccessBindingRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_CreateAccessBindingRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_BatchCreateAccessBindingsRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_BatchCreateAccessBindingsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_BatchCreateAccessBindingsResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_BatchCreateAccessBindingsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_UpdateAccessBindingRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_UpdateAccessBindingRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_BatchUpdateAccessBindingsRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_BatchUpdateAccessBindingsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_BatchUpdateAccessBindingsResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_BatchUpdateAccessBindingsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_DeleteAccessBindingRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_DeleteAccessBindingRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_BatchDeleteAccessBindingsRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_BatchDeleteAccessBindingsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_CreateExpandedDataSetRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_CreateExpandedDataSetRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_UpdateExpandedDataSetRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_UpdateExpandedDataSetRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_DeleteExpandedDataSetRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_DeleteExpandedDataSetRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_GetExpandedDataSetRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_GetExpandedDataSetRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_ListExpandedDataSetsRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_ListExpandedDataSetsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_ListExpandedDataSetsResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_ListExpandedDataSetsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_CreateChannelGroupRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_CreateChannelGroupRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_UpdateChannelGroupRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_UpdateChannelGroupRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_DeleteChannelGroupRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_DeleteChannelGroupRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_GetChannelGroupRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_GetChannelGroupRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_ListChannelGroupsRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_ListChannelGroupsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_ListChannelGroupsResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_ListChannelGroupsResponse_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; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_GetEnhancedMeasurementSettingsRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_GetEnhancedMeasurementSettingsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_UpdateEnhancedMeasurementSettingsRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_UpdateEnhancedMeasurementSettingsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_GetDataRedactionSettingsRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_GetDataRedactionSettingsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_UpdateDataRedactionSettingsRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_UpdateDataRedactionSettingsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_CreateConnectedSiteTagRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_CreateConnectedSiteTagRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_CreateConnectedSiteTagResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_CreateConnectedSiteTagResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_DeleteConnectedSiteTagRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_DeleteConnectedSiteTagRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_ListConnectedSiteTagsRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_ListConnectedSiteTagsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_ListConnectedSiteTagsResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_ListConnectedSiteTagsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_CreateAdSenseLinkRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_CreateAdSenseLinkRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_GetAdSenseLinkRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_GetAdSenseLinkRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_DeleteAdSenseLinkRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_DeleteAdSenseLinkRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_ListAdSenseLinksRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_ListAdSenseLinksRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_ListAdSenseLinksResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_ListAdSenseLinksResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_FetchConnectedGa4PropertyRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_FetchConnectedGa4PropertyRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_FetchConnectedGa4PropertyResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_FetchConnectedGa4PropertyResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_CreateEventCreateRuleRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_CreateEventCreateRuleRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_UpdateEventCreateRuleRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_UpdateEventCreateRuleRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_DeleteEventCreateRuleRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_DeleteEventCreateRuleRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_GetEventCreateRuleRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_GetEventCreateRuleRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_ListEventCreateRulesRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_ListEventCreateRulesRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_ListEventCreateRulesResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_ListEventCreateRulesResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_CreateRollupPropertyRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_CreateRollupPropertyRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_CreateRollupPropertyResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_CreateRollupPropertyResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_GetRollupPropertySourceLinkRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_GetRollupPropertySourceLinkRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_ListRollupPropertySourceLinksRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_ListRollupPropertySourceLinksRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_ListRollupPropertySourceLinksResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_ListRollupPropertySourceLinksResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_CreateRollupPropertySourceLinkRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_CreateRollupPropertySourceLinkRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_DeleteRollupPropertySourceLinkRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_DeleteRollupPropertySourceLinkRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_CreateSubpropertyRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_CreateSubpropertyRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_CreateSubpropertyResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_CreateSubpropertyResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_CreateSubpropertyEventFilterRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_CreateSubpropertyEventFilterRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_GetSubpropertyEventFilterRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_GetSubpropertyEventFilterRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_ListSubpropertyEventFiltersRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_ListSubpropertyEventFiltersRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_ListSubpropertyEventFiltersResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_ListSubpropertyEventFiltersResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_UpdateSubpropertyEventFilterRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_UpdateSubpropertyEventFilterRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_DeleteSubpropertyEventFilterRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_DeleteSubpropertyEventFilterRequest_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\0322google/analyt" + - "ics/admin/v1alpha/channel_group.proto\032:g" + - "oogle/analytics/admin/v1alpha/event_crea" + - "te_and_edit.proto\0326google/analytics/admi" + - "n/v1alpha/expanded_data_set.proto\032.googl" + - "e/analytics/admin/v1alpha/resources.prot" + - "o\032=google/analytics/admin/v1alpha/subpro" + - "perty_event_filter.proto\032\034google/api/ann" + - "otations.proto\032\027google/api/client.proto\032" + - "\037google/api/field_behavior.proto\032\031google" + - "/api/resource.proto\032\033google/protobuf/emp" + - "ty.proto\032 google/protobuf/field_mask.pro" + - "to\032\037google/protobuf/timestamp.proto\"\342\004\n\026" + - "RunAccessReportRequest\022\016\n\006entity\030\001 \001(\t\022C" + - "\n\ndimensions\030\002 \003(\0132/.google.analytics.ad" + - "min.v1alpha.AccessDimension\022=\n\007metrics\030\003" + - " \003(\0132,.google.analytics.admin.v1alpha.Ac" + - "cessMetric\022D\n\013date_ranges\030\004 \003(\0132/.google" + - ".analytics.admin.v1alpha.AccessDateRange" + - "\022P\n\020dimension_filter\030\005 \001(\01326.google.anal" + - "ytics.admin.v1alpha.AccessFilterExpressi" + - "on\022M\n\rmetric_filter\030\006 \001(\01326.google.analy" + - "tics.admin.v1alpha.AccessFilterExpressio" + - "n\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.AccessOrderBy\022\033\n" + - "\023return_entity_quota\030\013 \001(\010\022\037\n\021include_al" + - "l_users\030\014 \001(\010B\004\342A\001\001\022\033\n\rexpand_groups\030\r \001" + - "(\010B\004\342A\001\001\"\277\002\n\027RunAccessReportResponse\022P\n\021" + - "dimension_headers\030\001 \003(\01325.google.analyti" + - "cs.admin.v1alpha.AccessDimensionHeader\022J" + - "\n\016metric_headers\030\002 \003(\01322.google.analytic" + - "s.admin.v1alpha.AccessMetricHeader\0227\n\004ro" + - "ws\030\003 \003(\0132).google.analytics.admin.v1alph" + - "a.AccessRow\022\021\n\trow_count\030\004 \001(\005\022:\n\005quota\030" + - "\005 \001(\0132+.google.analytics.admin.v1alpha.A" + - "ccessQuota\"Q\n\021GetAccountRequest\022<\n\004name\030" + - "\001 \001(\tB.\342A\001\002\372A\'\n%analyticsadmin.googleapi" + - "s.com/Account\"R\n\023ListAccountsRequest\022\021\n\t" + - "page_size\030\001 \001(\005\022\022\n\npage_token\030\002 \001(\t\022\024\n\014s" + - "how_deleted\030\003 \001(\010\"j\n\024ListAccountsRespons" + - "e\0229\n\010accounts\030\001 \003(\0132\'.google.analytics.a" + - "dmin.v1alpha.Account\022\027\n\017next_page_token\030" + - "\002 \001(\t\"T\n\024DeleteAccountRequest\022<\n\004name\030\001 " + - "\001(\tB.\342A\001\002\372A\'\n%analyticsadmin.googleapis." + - "com/Account\"\215\001\n\024UpdateAccountRequest\022>\n\007" + - "account\030\001 \001(\0132\'.google.analytics.admin.v" + - "1alpha.AccountB\004\342A\001\002\0225\n\013update_mask\030\002 \001(" + - "\0132\032.google.protobuf.FieldMaskB\004\342A\001\002\"o\n\035P" + - "rovisionAccountTicketRequest\0228\n\007account\030" + - "\001 \001(\0132\'.google.analytics.admin.v1alpha.A" + - "ccount\022\024\n\014redirect_uri\030\002 \001(\t\";\n\036Provisio" + - "nAccountTicketResponse\022\031\n\021account_ticket" + - "_id\030\001 \001(\t\"S\n\022GetPropertyRequest\022=\n\004name\030" + - "\001 \001(\tB/\342A\001\002\372A(\n&analyticsadmin.googleapi" + - "s.com/Property\"j\n\025ListPropertiesRequest\022" + - "\024\n\006filter\030\001 \001(\tB\004\342A\001\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\026ListPropertiesResponse\022<\n\nproperti" + - "es\030\001 \003(\0132(.google.analytics.admin.v1alph" + - "a.Property\022\027\n\017next_page_token\030\002 \001(\t\"\220\001\n\025" + - "UpdatePropertyRequest\022@\n\010property\030\001 \001(\0132" + - "(.google.analytics.admin.v1alpha.Propert" + - "yB\004\342A\001\002\0225\n\013update_mask\030\002 \001(\0132\032.google.pr" + - "otobuf.FieldMaskB\004\342A\001\002\"Y\n\025CreateProperty" + - "Request\022@\n\010property\030\001 \001(\0132(.google.analy" + - "tics.admin.v1alpha.PropertyB\004\342A\001\002\"V\n\025Del" + - "etePropertyRequest\022=\n\004name\030\001 \001(\tB/\342A\001\002\372A" + - "(\n&analyticsadmin.googleapis.com/Propert" + - "y\"\253\001\n\031CreateFirebaseLinkRequest\022C\n\006paren" + - "t\030\001 \001(\tB3\342A\001\002\372A,\022*analyticsadmin.googlea" + - "pis.com/FirebaseLink\022I\n\rfirebase_link\030\002 " + - "\001(\0132,.google.analytics.admin.v1alpha.Fir" + - "ebaseLinkB\004\342A\001\002\"^\n\031DeleteFirebaseLinkReq" + - "uest\022A\n\004name\030\001 \001(\tB3\342A\001\002\372A,\n*analyticsad" + - "min.googleapis.com/FirebaseLink\"\206\001\n\030List" + - "FirebaseLinksRequest\022C\n\006parent\030\001 \001(\tB3\342A" + - "\001\002\372A,\022*analyticsadmin.googleapis.com/Fir" + - "ebaseLink\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_tok" + - "en\030\003 \001(\t\"z\n\031ListFirebaseLinksResponse\022D\n" + - "\016firebase_links\030\001 \003(\0132,.google.analytics" + - ".admin.v1alpha.FirebaseLink\022\027\n\017next_page" + - "_token\030\002 \001(\t\"]\n\027GetGlobalSiteTagRequest\022" + - "B\n\004name\030\001 \001(\tB4\342A\001\002\372A-\n+analyticsadmin.g" + - "oogleapis.com/GlobalSiteTag\"\260\001\n\032CreateGo" + - "ogleAdsLinkRequest\022D\n\006parent\030\001 \001(\tB4\342A\001\002" + - "\372A-\022+analyticsadmin.googleapis.com/Googl" + - "eAdsLink\022L\n\017google_ads_link\030\002 \001(\0132-.goog" + - "le.analytics.admin.v1alpha.GoogleAdsLink" + - "B\004\342A\001\002\"\233\001\n\032UpdateGoogleAdsLinkRequest\022F\n" + - "\017google_ads_link\030\001 \001(\0132-.google.analytic" + - "s.admin.v1alpha.GoogleAdsLink\0225\n\013update_" + - "mask\030\002 \001(\0132\032.google.protobuf.FieldMaskB\004" + - "\342A\001\002\"`\n\032DeleteGoogleAdsLinkRequest\022B\n\004na" + - "me\030\001 \001(\tB4\342A\001\002\372A-\n+analyticsadmin.google" + - "apis.com/GoogleAdsLink\"\210\001\n\031ListGoogleAds" + - "LinksRequest\022D\n\006parent\030\001 \001(\tB4\342A\001\002\372A-\022+a" + - "nalyticsadmin.googleapis.com/GoogleAdsLi" + - "nk\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(" + - "\t\"~\n\032ListGoogleAdsLinksResponse\022G\n\020googl" + - "e_ads_links\030\001 \003(\0132-.google.analytics.adm" + - "in.v1alpha.GoogleAdsLink\022\027\n\017next_page_to" + - "ken\030\002 \001(\t\"i\n\035GetDataSharingSettingsReque" + - "st\022H\n\004name\030\001 \001(\tB:\342A\001\002\372A3\n1analyticsadmi" + - "n.googleapis.com/DataSharingSettings\"D\n\033" + - "ListAccountSummariesRequest\022\021\n\tpage_size" + - "\030\001 \001(\005\022\022\n\npage_token\030\002 \001(\t\"\202\001\n\034ListAccou" + - "ntSummariesResponse\022I\n\021account_summaries" + - "\030\001 \003(\0132..google.analytics.admin.v1alpha." + - "AccountSummary\022\027\n\017next_page_token\030\002 \001(\t\"" + - "\210\001\n$AcknowledgeUserDataCollectionRequest" + - "\022A\n\010property\030\001 \001(\tB/\342A\001\002\372A(\n&analyticsad" + - "min.googleapis.com/Property\022\035\n\017acknowled" + - "gement\030\002 \001(\tB\004\342A\001\002\"\'\n%AcknowledgeUserDat" + - "aCollectionResponse\"\214\004\n SearchChangeHist" + - "oryEventsRequest\022?\n\007account\030\001 \001(\tB.\342A\001\002\372" + - "A\'\n%analyticsadmin.googleapis.com/Accoun" + - "t\022A\n\010property\030\002 \001(\tB/\342A\001\001\372A(\n&analyticsa" + - "dmin.googleapis.com/Property\022V\n\rresource" + - "_type\030\003 \003(\01629.google.analytics.admin.v1a" + - "lpha.ChangeHistoryResourceTypeB\004\342A\001\001\022@\n\006" + - "action\030\004 \003(\0162*.google.analytics.admin.v1" + - "alpha.ActionTypeB\004\342A\001\001\022\031\n\013actor_email\030\005 " + - "\003(\tB\004\342A\001\001\022>\n\024earliest_change_time\030\006 \001(\0132" + - "\032.google.protobuf.TimestampB\004\342A\001\001\022<\n\022lat" + - "est_change_time\030\007 \001(\0132\032.google.protobuf." + - "TimestampB\004\342A\001\001\022\027\n\tpage_size\030\010 \001(\005B\004\342A\001\001" + - "\022\030\n\npage_token\030\t \001(\tB\004\342A\001\001\"\217\001\n!SearchCha" + - "ngeHistoryEventsResponse\022Q\n\025change_histo" + - "ry_events\030\001 \003(\01322.google.analytics.admin" + - ".v1alpha.ChangeHistoryEvent\022\027\n\017next_page" + - "_token\030\002 \001(\t\"u\n#GetMeasurementProtocolSe" + - "cretRequest\022N\n\004name\030\001 \001(\tB@\342A\001\002\372A9\n7anal" + - "yticsadmin.googleapis.com/MeasurementPro" + - "tocolSecret\"\340\001\n&CreateMeasurementProtoco" + - "lSecretRequest\022P\n\006parent\030\001 \001(\tB@\342A\001\002\372A9\022" + - "7analyticsadmin.googleapis.com/Measureme" + - "ntProtocolSecret\022d\n\033measurement_protocol" + - "_secret\030\002 \001(\01329.google.analytics.admin.v" + - "1alpha.MeasurementProtocolSecretB\004\342A\001\002\"x" + - "\n&DeleteMeasurementProtocolSecretRequest" + - "\022N\n\004name\030\001 \001(\tB@\342A\001\002\372A9\n7analyticsadmin." + - "googleapis.com/MeasurementProtocolSecret" + - "\"\305\001\n&UpdateMeasurementProtocolSecretRequ" + - "est\022d\n\033measurement_protocol_secret\030\001 \001(\013" + - "29.google.analytics.admin.v1alpha.Measur" + - "ementProtocolSecretB\004\342A\001\002\0225\n\013update_mask" + - "\030\002 \001(\0132\032.google.protobuf.FieldMaskB\004\342A\001\002" + - "\"\240\001\n%ListMeasurementProtocolSecretsReque" + - "st\022P\n\006parent\030\001 \001(\tB@\342A\001\002\372A9\0227analyticsad" + - "min.googleapis.com/MeasurementProtocolSe" + - "cret\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_token\030\003 " + - "\001(\t\"\242\001\n&ListMeasurementProtocolSecretsRe" + - "sponse\022_\n\034measurement_protocol_secrets\030\001" + - " \003(\01329.google.analytics.admin.v1alpha.Me" + - "asurementProtocolSecret\022\027\n\017next_page_tok" + - "en\030\002 \001(\t\"\203\001\n*GetSKAdNetworkConversionVal" + - "ueSchemaRequest\022U\n\004name\030\001 \001(\tBG\342A\001\002\372A@\n>" + - "analyticsadmin.googleapis.com/SKAdNetwor" + - "kConversionValueSchema\"\375\001\n-CreateSKAdNet" + - "workConversionValueSchemaRequest\022W\n\006pare" + - "nt\030\001 \001(\tBG\342A\001\002\372A@\022>analyticsadmin.google" + - "apis.com/SKAdNetworkConversionValueSchem" + - "a\022s\n#skadnetwork_conversion_value_schema" + - "\030\002 \001(\0132@.google.analytics.admin.v1alpha." + - "SKAdNetworkConversionValueSchemaB\004\342A\001\002\"\206" + - "\001\n-DeleteSKAdNetworkConversionValueSchem" + - "aRequest\022U\n\004name\030\001 \001(\tBG\342A\001\002\372A@\n>analyti" + - "csadmin.googleapis.com/SKAdNetworkConver" + - "sionValueSchema\"\333\001\n-UpdateSKAdNetworkCon" + - "versionValueSchemaRequest\022s\n#skadnetwork" + - "_conversion_value_schema\030\001 \001(\0132@.google." + - "analytics.admin.v1alpha.SKAdNetworkConve" + - "rsionValueSchemaB\004\342A\001\002\0225\n\013update_mask\030\002 " + - "\001(\0132\032.google.protobuf.FieldMaskB\004\342A\001\002\"\256\001" + - "\n,ListSKAdNetworkConversionValueSchemasR" + - "equest\022W\n\006parent\030\001 \001(\tBG\342A\001\002\372A@\022>analyti" + - "csadmin.googleapis.com/SKAdNetworkConver" + - "sionValueSchema\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npa" + - "ge_token\030\003 \001(\t\"\270\001\n-ListSKAdNetworkConver" + - "sionValueSchemasResponse\022n\n$skadnetwork_" + - "conversion_value_schemas\030\001 \003(\0132@.google." + - "analytics.admin.v1alpha.SKAdNetworkConve" + - "rsionValueSchema\022\027\n\017next_page_token\030\002 \001(" + - "\t\"m\n\037GetGoogleSignalsSettingsRequest\022J\n\004" + - "name\030\001 \001(\tB<\342A\001\002\372A5\n3analyticsadmin.goog" + - "leapis.com/GoogleSignalsSettings\"\271\001\n\"Upd" + - "ateGoogleSignalsSettingsRequest\022\\\n\027googl" + - "e_signals_settings\030\001 \001(\01325.google.analyt" + - "ics.admin.v1alpha.GoogleSignalsSettingsB" + - "\004\342A\001\002\0225\n\013update_mask\030\002 \001(\0132\032.google.prot" + - "obuf.FieldMaskB\004\342A\001\002\"\267\001\n\034CreateConversio" + - "nEventRequest\022O\n\020conversion_event\030\001 \001(\0132" + - "/.google.analytics.admin.v1alpha.Convers" + - "ionEventB\004\342A\001\002\022F\n\006parent\030\002 \001(\tB6\342A\001\002\372A/\022" + - "-analyticsadmin.googleapis.com/Conversio" + - "nEvent\"\246\001\n\034UpdateConversionEventRequest\022" + - "O\n\020conversion_event\030\001 \001(\0132/.google.analy" + - "tics.admin.v1alpha.ConversionEventB\004\342A\001\002" + - "\0225\n\013update_mask\030\002 \001(\0132\032.google.protobuf." + - "FieldMaskB\004\342A\001\002\"a\n\031GetConversionEventReq" + - "uest\022D\n\004name\030\001 \001(\tB6\342A\001\002\372A/\n-analyticsad" + - "min.googleapis.com/ConversionEvent\"d\n\034De" + - "leteConversionEventRequest\022D\n\004name\030\001 \001(\t" + - "B6\342A\001\002\372A/\n-analyticsadmin.googleapis.com" + - "/ConversionEvent\"\214\001\n\033ListConversionEvent" + - "sRequest\022F\n\006parent\030\001 \001(\tB6\342A\001\002\372A/\022-analy" + - "ticsadmin.googleapis.com/ConversionEvent" + - "\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"" + - "\203\001\n\034ListConversionEventsResponse\022J\n\021conv" + - "ersion_events\030\001 \003(\0132/.google.analytics.a" + - "dmin.v1alpha.ConversionEvent\022\027\n\017next_pag" + - "e_token\030\002 \001(\t\"}\n\'GetDisplayVideo360Adver" + - "tiserLinkRequest\022R\n\004name\030\001 \001(\tBD\342A\001\002\372A=\n" + - ";analyticsadmin.googleapis.com/DisplayVi" + - "deo360AdvertiserLink\"\250\001\n)ListDisplayVide" + - "o360AdvertiserLinksRequest\022T\n\006parent\030\001 \001" + - "(\tBD\342A\001\002\372A=\022;analyticsadmin.googleapis.c" + - "om/DisplayVideo360AdvertiserLink\022\021\n\tpage" + - "_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"\260\001\n*List" + - "DisplayVideo360AdvertiserLinksResponse\022i" + - "\n\"display_video_360_advertiser_links\030\001 \003" + - "(\0132=.google.analytics.admin.v1alpha.Disp" + - "layVideo360AdvertiserLink\022\027\n\017next_page_t" + - "oken\030\002 \001(\t\"\362\001\n*CreateDisplayVideo360Adve" + - "rtiserLinkRequest\022T\n\006parent\030\001 \001(\tBD\342A\001\002\372" + - "A=\022;analyticsadmin.googleapis.com/Displa" + - "yVideo360AdvertiserLink\022n\n!display_video" + - "_360_advertiser_link\030\002 \001(\0132=.google.anal" + - "ytics.admin.v1alpha.DisplayVideo360Adver" + - "tiserLinkB\004\342A\001\002\"\200\001\n*DeleteDisplayVideo36" + - "0AdvertiserLinkRequest\022R\n\004name\030\001 \001(\tBD\342A" + - "\001\002\372A=\n;analyticsadmin.googleapis.com/Dis" + - "playVideo360AdvertiserLink\"\315\001\n*UpdateDis" + - "playVideo360AdvertiserLinkRequest\022h\n!dis" + - "play_video_360_advertiser_link\030\001 \001(\0132=.g" + - "oogle.analytics.admin.v1alpha.DisplayVid" + - "eo360AdvertiserLink\0225\n\013update_mask\030\002 \001(\013" + - "2\032.google.protobuf.FieldMaskB\004\342A\001\002\"\215\001\n/G" + - "etDisplayVideo360AdvertiserLinkProposalR" + - "equest\022Z\n\004name\030\001 \001(\tBL\342A\001\002\372AE\nCanalytics" + - "admin.googleapis.com/DisplayVideo360Adve" + - "rtiserLinkProposal\"\270\001\n1ListDisplayVideo3" + - "60AdvertiserLinkProposalsRequest\022\\\n\006pare" + - "nt\030\001 \001(\tBL\342A\001\002\372AE\022Canalyticsadmin.google" + - "apis.com/DisplayVideo360AdvertiserLinkPr" + - "oposal\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_token\030" + - "\003 \001(\t\"\311\001\n2ListDisplayVideo360AdvertiserL" + - "inkProposalsResponse\022z\n+display_video_36" + - "0_advertiser_link_proposals\030\001 \003(\0132E.goog" + - "le.analytics.admin.v1alpha.DisplayVideo3" + - "60AdvertiserLinkProposal\022\027\n\017next_page_to" + - "ken\030\002 \001(\t\"\223\002\n2CreateDisplayVideo360Adver" + - "tiserLinkProposalRequest\022\\\n\006parent\030\001 \001(\t" + - "BL\342A\001\002\372AE\022Canalyticsadmin.googleapis.com" + - "/DisplayVideo360AdvertiserLinkProposal\022\177" + - "\n*display_video_360_advertiser_link_prop" + - "osal\030\002 \001(\0132E.google.analytics.admin.v1al" + - "pha.DisplayVideo360AdvertiserLinkProposa" + - "lB\004\342A\001\002\"\220\001\n2DeleteDisplayVideo360Adverti" + - "serLinkProposalRequest\022Z\n\004name\030\001 \001(\tBL\342A" + - "\001\002\372AE\nCanalyticsadmin.googleapis.com/Dis" + - "playVideo360AdvertiserLinkProposal\"\221\001\n3A" + - "pproveDisplayVideo360AdvertiserLinkPropo" + - "salRequest\022Z\n\004name\030\001 \001(\tBL\342A\001\002\372AE\nCanaly" + - "ticsadmin.googleapis.com/DisplayVideo360" + - "AdvertiserLinkProposal\"\240\001\n4ApproveDispla" + - "yVideo360AdvertiserLinkProposalResponse\022" + - "h\n!display_video_360_advertiser_link\030\001 \001" + - "(\0132=.google.analytics.admin.v1alpha.Disp" + - "layVideo360AdvertiserLink\"\220\001\n2CancelDisp" + - "layVideo360AdvertiserLinkProposalRequest" + - "\022Z\n\004name\030\001 \001(\tBL\342A\001\002\372AE\nCanalyticsadmin." + - "googleapis.com/DisplayVideo360Advertiser" + - "LinkProposal\"c\n\032GetSearchAds360LinkReque" + - "st\022E\n\004name\030\001 \001(\tB7\342A\001\002\372A0\n.analyticsadmi" + - "n.googleapis.com/SearchAds360Link\"\216\001\n\034Li" + - "stSearchAds360LinksRequest\022G\n\006parent\030\001 \001" + - "(\tB7\342A\001\002\372A0\022.analyticsadmin.googleapis.c" + - "om/SearchAds360Link\022\021\n\tpage_size\030\002 \001(\005\022\022" + - "\n\npage_token\030\003 \001(\t\"\210\001\n\035ListSearchAds360L" + - "inksResponse\022N\n\024search_ads_360_links\030\001 \003" + - "(\01320.google.analytics.admin.v1alpha.Sear" + - "chAds360Link\022\027\n\017next_page_token\030\002 \001(\t\"\275\001" + - "\n\035CreateSearchAds360LinkRequest\022G\n\006paren" + - "t\030\001 \001(\tB7\342A\001\002\372A0\022.analyticsadmin.googlea" + - "pis.com/SearchAds360Link\022S\n\023search_ads_3" + - "60_link\030\002 \001(\01320.google.analytics.admin.v" + - "1alpha.SearchAds360LinkB\004\342A\001\002\"f\n\035DeleteS" + - "earchAds360LinkRequest\022E\n\004name\030\001 \001(\tB7\342A" + - "\001\002\372A0\n.analyticsadmin.googleapis.com/Sea" + - "rchAds360Link\"\245\001\n\035UpdateSearchAds360Link" + - "Request\022M\n\023search_ads_360_link\030\001 \001(\01320.g" + - "oogle.analytics.admin.v1alpha.SearchAds3" + - "60Link\0225\n\013update_mask\030\002 \001(\0132\032.google.pro" + - "tobuf.FieldMaskB\004\342A\001\002\"\267\001\n\034CreateCustomDi" + - "mensionRequest\022F\n\006parent\030\001 \001(\tB6\342A\001\002\372A/\022" + - "-analyticsadmin.googleapis.com/CustomDim" + - "ension\022O\n\020custom_dimension\030\002 \001(\0132/.googl" + - "e.analytics.admin.v1alpha.CustomDimensio" + - "nB\004\342A\001\002\"\240\001\n\034UpdateCustomDimensionRequest" + - "\022I\n\020custom_dimension\030\001 \001(\0132/.google.anal" + - "ytics.admin.v1alpha.CustomDimension\0225\n\013u" + - "pdate_mask\030\002 \001(\0132\032.google.protobuf.Field" + - "MaskB\004\342A\001\002\"\214\001\n\033ListCustomDimensionsReque" + - "st\022F\n\006parent\030\001 \001(\tB6\342A\001\002\372A/\022-analyticsad" + - "min.googleapis.com/CustomDimension\022\021\n\tpa" + - "ge_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"\203\001\n\034Li" + - "stCustomDimensionsResponse\022J\n\021custom_dim" + - "ensions\030\001 \003(\0132/.google.analytics.admin.v" + - "1alpha.CustomDimension\022\027\n\017next_page_toke" + - "n\030\002 \001(\t\"e\n\035ArchiveCustomDimensionRequest" + - "\022D\n\004name\030\001 \001(\tB6\342A\001\002\372A/\n-analyticsadmin." + - "googleapis.com/CustomDimension\"a\n\031GetCus" + - "tomDimensionRequest\022D\n\004name\030\001 \001(\tB6\342A\001\002\372" + - "A/\n-analyticsadmin.googleapis.com/Custom" + - "Dimension\"\253\001\n\031CreateCustomMetricRequest\022" + - "C\n\006parent\030\001 \001(\tB3\342A\001\002\372A,\022*analyticsadmin" + - ".googleapis.com/CustomMetric\022I\n\rcustom_m" + - "etric\030\002 \001(\0132,.google.analytics.admin.v1a" + - "lpha.CustomMetricB\004\342A\001\002\"\227\001\n\031UpdateCustom" + - "MetricRequest\022C\n\rcustom_metric\030\001 \001(\0132,.g" + - "oogle.analytics.admin.v1alpha.CustomMetr" + - "ic\0225\n\013update_mask\030\002 \001(\0132\032.google.protobu" + - "f.FieldMaskB\004\342A\001\002\"\206\001\n\030ListCustomMetricsR" + - "equest\022C\n\006parent\030\001 \001(\tB3\342A\001\002\372A,\022*analyti" + - "csadmin.googleapis.com/CustomMetric\022\021\n\tp" + - "age_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"z\n\031Li" + - "stCustomMetricsResponse\022D\n\016custom_metric" + - "s\030\001 \003(\0132,.google.analytics.admin.v1alpha" + - ".CustomMetric\022\027\n\017next_page_token\030\002 \001(\t\"_" + - "\n\032ArchiveCustomMetricRequest\022A\n\004name\030\001 \001" + - "(\tB3\342A\001\002\372A,\n*analyticsadmin.googleapis.c" + - "om/CustomMetric\"[\n\026GetCustomMetricReques" + - "t\022A\n\004name\030\001 \001(\tB3\342A\001\002\372A,\n*analyticsadmin" + - ".googleapis.com/CustomMetric\"m\n\037GetDataR" + - "etentionSettingsRequest\022J\n\004name\030\001 \001(\tB<\342" + - "A\001\002\372A5\n3analyticsadmin.googleapis.com/Da" + - "taRetentionSettings\"\271\001\n\"UpdateDataRetent" + - "ionSettingsRequest\022\\\n\027data_retention_set" + - "tings\030\001 \001(\01325.google.analytics.admin.v1a" + - "lpha.DataRetentionSettingsB\004\342A\001\002\0225\n\013upda" + - "te_mask\030\002 \001(\0132\032.google.protobuf.FieldMas" + - "kB\004\342A\001\002\"\243\001\n\027CreateDataStreamRequest\022A\n\006p" + - "arent\030\001 \001(\tB1\342A\001\002\372A*\022(analyticsadmin.goo" + - "gleapis.com/DataStream\022E\n\013data_stream\030\002 " + - "\001(\0132*.google.analytics.admin.v1alpha.Dat" + - "aStreamB\004\342A\001\002\"Z\n\027DeleteDataStreamRequest" + - "\022?\n\004name\030\001 \001(\tB1\342A\001\002\372A*\n(analyticsadmin." + - "googleapis.com/DataStream\"\221\001\n\027UpdateData" + - "StreamRequest\022?\n\013data_stream\030\001 \001(\0132*.goo" + - "gle.analytics.admin.v1alpha.DataStream\0225" + - "\n\013update_mask\030\002 \001(\0132\032.google.protobuf.Fi" + - "eldMaskB\004\342A\001\002\"\202\001\n\026ListDataStreamsRequest" + - "\022A\n\006parent\030\001 \001(\tB1\342A\001\002\372A*\022(analyticsadmi" + - "n.googleapis.com/DataStream\022\021\n\tpage_size" + - "\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"t\n\027ListDataSt" + - "reamsResponse\022@\n\014data_streams\030\001 \003(\0132*.go" + - "ogle.analytics.admin.v1alpha.DataStream\022" + - "\027\n\017next_page_token\030\002 \001(\t\"W\n\024GetDataStrea" + - "mRequest\022?\n\004name\030\001 \001(\tB1\342A\001\002\372A*\n(analyti" + - "csadmin.googleapis.com/DataStream\"S\n\022Get" + - "AudienceRequest\022=\n\004name\030\001 \001(\tB/\342A\001\002\372A(\n&" + - "analyticsadmin.googleapis.com/Audience\"~" + - "\n\024ListAudiencesRequest\022?\n\006parent\030\001 \001(\tB/" + - "\342A\001\002\372A(\022&analyticsadmin.googleapis.com/A" + - "udience\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_token" + - "\030\003 \001(\t\"m\n\025ListAudiencesResponse\022;\n\taudie" + - "nces\030\001 \003(\0132(.google.analytics.admin.v1al" + - "pha.Audience\022\027\n\017next_page_token\030\002 \001(\t\"\232\001" + - "\n\025CreateAudienceRequest\022?\n\006parent\030\001 \001(\tB" + - "/\342A\001\002\372A(\022&analyticsadmin.googleapis.com/" + - "Audience\022@\n\010audience\030\002 \001(\0132(.google.anal" + - "ytics.admin.v1alpha.AudienceB\004\342A\001\002\"\220\001\n\025U" + - "pdateAudienceRequest\022@\n\010audience\030\001 \001(\0132(" + - ".google.analytics.admin.v1alpha.Audience" + - "B\004\342A\001\002\0225\n\013update_mask\030\002 \001(\0132\032.google.pro" + - "tobuf.FieldMaskB\004\342A\001\002\"W\n\026ArchiveAudience" + - "Request\022=\n\004name\030\001 \001(\tB/\342A\001\002\372A(\022&analytic" + - "sadmin.googleapis.com/Audience\"i\n\035GetAtt" + - "ributionSettingsRequest\022H\n\004name\030\001 \001(\tB:\342" + - "A\001\002\372A3\n1analyticsadmin.googleapis.com/At" + - "tributionSettings\"\262\001\n UpdateAttributionS" + - "ettingsRequest\022W\n\024attribution_settings\030\001" + - " \001(\01323.google.analytics.admin.v1alpha.At" + - "tributionSettingsB\004\342A\001\002\0225\n\013update_mask\030\002" + - " \001(\0132\032.google.protobuf.FieldMaskB\004\342A\001\002\"]" + - "\n\027GetAccessBindingRequest\022B\n\004name\030\001 \001(\tB" + - "4\342A\001\002\372A-\n+analyticsadmin.googleapis.com/" + - "AccessBinding\"\252\001\n\035BatchGetAccessBindings" + - "Request\022D\n\006parent\030\001 \001(\tB4\342A\001\002\372A-\022+analyt" + - "icsadmin.googleapis.com/AccessBinding\022C\n" + - "\005names\030\002 \003(\tB4\342A\001\002\372A-\n+analyticsadmin.go" + - "ogleapis.com/AccessBinding\"h\n\036BatchGetAc" + - "cessBindingsResponse\022F\n\017access_bindings\030" + - "\001 \003(\0132-.google.analytics.admin.v1alpha.A", - "ccessBinding\"\210\001\n\031ListAccessBindingsReque" + - "st\022D\n\006parent\030\001 \001(\tB4\342A\001\002\372A-\022+analyticsad" + - "min.googleapis.com/AccessBinding\022\021\n\tpage" + - "_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"}\n\032ListA" + - "ccessBindingsResponse\022F\n\017access_bindings" + - "\030\001 \003(\0132-.google.analytics.admin.v1alpha." + - "AccessBinding\022\027\n\017next_page_token\030\002 \001(\t\"\257" + - "\001\n\032CreateAccessBindingRequest\022D\n\006parent\030" + - "\001 \001(\tB4\342A\001\002\372A-\022+analyticsadmin.googleapi" + - "s.com/AccessBinding\022K\n\016access_binding\030\002 " + - "\001(\0132-.google.analytics.admin.v1alpha.Acc" + - "essBindingB\004\342A\001\002\"\274\001\n BatchCreateAccessBi" + - "ndingsRequest\022D\n\006parent\030\001 \001(\tB4\342A\001\002\372A-\022+" + - "analyticsadmin.googleapis.com/AccessBind" + - "ing\022R\n\010requests\030\003 \003(\0132:.google.analytics" + - ".admin.v1alpha.CreateAccessBindingReques" + - "tB\004\342A\001\002\"k\n!BatchCreateAccessBindingsResp" + - "onse\022F\n\017access_bindings\030\001 \003(\0132-.google.a" + - "nalytics.admin.v1alpha.AccessBinding\"i\n\032" + - "UpdateAccessBindingRequest\022K\n\016access_bin" + - "ding\030\001 \001(\0132-.google.analytics.admin.v1al" + - "pha.AccessBindingB\004\342A\001\002\"\274\001\n BatchUpdateA" + - "ccessBindingsRequest\022D\n\006parent\030\001 \001(\tB4\342A" + - "\001\002\372A-\022+analyticsadmin.googleapis.com/Acc" + - "essBinding\022R\n\010requests\030\002 \003(\0132:.google.an" + - "alytics.admin.v1alpha.UpdateAccessBindin" + - "gRequestB\004\342A\001\002\"k\n!BatchUpdateAccessBindi" + - "ngsResponse\022F\n\017access_bindings\030\001 \003(\0132-.g" + - "oogle.analytics.admin.v1alpha.AccessBind" + - "ing\"`\n\032DeleteAccessBindingRequest\022B\n\004nam" + - "e\030\001 \001(\tB4\342A\001\002\372A-\n+analyticsadmin.googlea" + - "pis.com/AccessBinding\"\274\001\n BatchDeleteAcc" + - "essBindingsRequest\022D\n\006parent\030\001 \001(\tB4\342A\001\002" + - "\372A-\022+analyticsadmin.googleapis.com/Acces" + - "sBinding\022R\n\010requests\030\002 \003(\0132:.google.anal" + - "ytics.admin.v1alpha.DeleteAccessBindingR" + - "equestB\004\342A\001\002\"\270\001\n\034CreateExpandedDataSetRe" + - "quest\022F\n\006parent\030\001 \001(\tB6\342A\001\002\372A/\022-analytic" + - "sadmin.googleapis.com/ExpandedDataSet\022P\n" + - "\021expanded_data_set\030\002 \001(\0132/.google.analyt" + - "ics.admin.v1alpha.ExpandedDataSetB\004\342A\001\002\"" + - "\247\001\n\034UpdateExpandedDataSetRequest\022P\n\021expa" + - "nded_data_set\030\001 \001(\0132/.google.analytics.a" + - "dmin.v1alpha.ExpandedDataSetB\004\342A\001\002\0225\n\013up" + - "date_mask\030\002 \001(\0132\032.google.protobuf.FieldM" + - "askB\004\342A\001\002\"d\n\034DeleteExpandedDataSetReques" + - "t\022D\n\004name\030\001 \001(\tB6\342A\001\002\372A/\n-analyticsadmin" + - ".googleapis.com/ExpandedDataSet\"a\n\031GetEx" + - "pandedDataSetRequest\022D\n\004name\030\001 \001(\tB6\342A\001\002" + - "\372A/\n-analyticsadmin.googleapis.com/Expan" + - "dedDataSet\"\214\001\n\033ListExpandedDataSetsReque" + - "st\022F\n\006parent\030\001 \001(\tB6\342A\001\002\372A/\022-analyticsad" + - "min.googleapis.com/ExpandedDataSet\022\021\n\tpa" + - "ge_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"\204\001\n\034Li" + - "stExpandedDataSetsResponse\022K\n\022expanded_d" + - "ata_sets\030\001 \003(\0132/.google.analytics.admin." + - "v1alpha.ExpandedDataSet\022\027\n\017next_page_tok" + - "en\030\002 \001(\t\"\253\001\n\031CreateChannelGroupRequest\022C" + - "\n\006parent\030\001 \001(\tB3\342A\001\002\372A,\022*analyticsadmin." + - "googleapis.com/ChannelGroup\022I\n\rchannel_g" + - "roup\030\002 \001(\0132,.google.analytics.admin.v1al" + - "pha.ChannelGroupB\004\342A\001\002\"\235\001\n\031UpdateChannel" + - "GroupRequest\022I\n\rchannel_group\030\001 \001(\0132,.go" + - "ogle.analytics.admin.v1alpha.ChannelGrou" + - "pB\004\342A\001\002\0225\n\013update_mask\030\002 \001(\0132\032.google.pr" + - "otobuf.FieldMaskB\004\342A\001\002\"^\n\031DeleteChannelG" + - "roupRequest\022A\n\004name\030\001 \001(\tB3\342A\001\002\372A,\n*anal" + - "yticsadmin.googleapis.com/ChannelGroup\"[" + - "\n\026GetChannelGroupRequest\022A\n\004name\030\001 \001(\tB3" + - "\342A\001\002\372A,\n*analyticsadmin.googleapis.com/C" + - "hannelGroup\"\206\001\n\030ListChannelGroupsRequest" + - "\022C\n\006parent\030\001 \001(\tB3\342A\001\002\372A,\022*analyticsadmi" + - "n.googleapis.com/ChannelGroup\022\021\n\tpage_si" + - "ze\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"z\n\031ListChan" + - "nelGroupsResponse\022D\n\016channel_groups\030\001 \003(" + - "\0132,.google.analytics.admin.v1alpha.Chann" + - "elGroup\022\027\n\017next_page_token\030\002 \001(\t\"T\n)SetA" + - "utomatedGa4ConfigurationOptOutRequest\022\026\n" + - "\010property\030\001 \001(\tB\004\342A\001\002\022\017\n\007opt_out\030\002 \001(\010\"," + - "\n*SetAutomatedGa4ConfigurationOptOutResp" + - "onse\"E\n+FetchAutomatedGa4ConfigurationOp" + - "tOutRequest\022\026\n\010property\030\001 \001(\tB\004\342A\001\002\"?\n,F" + - "etchAutomatedGa4ConfigurationOptOutRespo" + - "nse\022\017\n\007opt_out\030\001 \001(\010\"[\n\026GetBigQueryLinkR" + - "equest\022A\n\004name\030\001 \001(\tB3\342A\001\002\372A,\n*analytics" + - "admin.googleapis.com/BigQueryLink\"\206\001\n\030Li" + - "stBigQueryLinksRequest\022C\n\006parent\030\001 \001(\tB3" + - "\342A\001\002\372A,\022*analyticsadmin.googleapis.com/B" + - "igQueryLink\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_t" + - "oken\030\003 \001(\t\"z\n\031ListBigQueryLinksResponse\022" + - "D\n\016bigquery_links\030\001 \003(\0132,.google.analyti" + - "cs.admin.v1alpha.BigQueryLink\022\027\n\017next_pa" + - "ge_token\030\002 \001(\t\"y\n%GetEnhancedMeasurement" + - "SettingsRequest\022P\n\004name\030\001 \001(\tBB\342A\001\002\372A;\n9" + - "analyticsadmin.googleapis.com/EnhancedMe" + - "asurementSettings\"\313\001\n(UpdateEnhancedMeas" + - "urementSettingsRequest\022h\n\035enhanced_measu" + - "rement_settings\030\001 \001(\0132;.google.analytics" + - ".admin.v1alpha.EnhancedMeasurementSettin" + - "gsB\004\342A\001\002\0225\n\013update_mask\030\002 \001(\0132\032.google.p" + - "rotobuf.FieldMaskB\004\342A\001\002\"m\n\037GetDataRedact" + - "ionSettingsRequest\022J\n\004name\030\001 \001(\tB<\342A\001\002\372A" + - "5\n3analyticsadmin.googleapis.com/DataRed" + - "actionSettings\"\271\001\n\"UpdateDataRedactionSe" + - "ttingsRequest\022\\\n\027data_redaction_settings" + - "\030\001 \001(\01325.google.analytics.admin.v1alpha." + - "DataRedactionSettingsB\004\342A\001\002\0225\n\013update_ma" + - "sk\030\002 \001(\0132\032.google.protobuf.FieldMaskB\004\342A" + - "\001\002\"\205\001\n\035CreateConnectedSiteTagRequest\022\020\n\010" + - "property\030\001 \001(\t\022R\n\022connected_site_tag\030\002 \001" + - "(\01320.google.analytics.admin.v1alpha.Conn" + - "ectedSiteTagB\004\342A\001\002\" \n\036CreateConnectedSit" + - "eTagResponse\"A\n\035DeleteConnectedSiteTagRe" + - "quest\022\020\n\010property\030\001 \001(\t\022\016\n\006tag_id\030\002 \001(\t\"" + - "0\n\034ListConnectedSiteTagsRequest\022\020\n\010prope" + - "rty\030\001 \001(\t\"n\n\035ListConnectedSiteTagsRespon" + - "se\022M\n\023connected_site_tags\030\001 \003(\01320.google" + - ".analytics.admin.v1alpha.ConnectedSiteTa" + - "g\"\247\001\n\030CreateAdSenseLinkRequest\022B\n\006parent" + - "\030\001 \001(\tB2\342A\001\002\372A+\022)analyticsadmin.googleap" + - "is.com/AdSenseLink\022G\n\014adsense_link\030\002 \001(\013" + - "2+.google.analytics.admin.v1alpha.AdSens" + - "eLinkB\004\342A\001\002\"Y\n\025GetAdSenseLinkRequest\022@\n\004" + - "name\030\001 \001(\tB2\342A\001\002\372A+\n)analyticsadmin.goog" + - "leapis.com/AdSenseLink\"\\\n\030DeleteAdSenseL" + - "inkRequest\022@\n\004name\030\001 \001(\tB2\342A\001\002\372A+\n)analy" + - "ticsadmin.googleapis.com/AdSenseLink\"\204\001\n" + - "\027ListAdSenseLinksRequest\022B\n\006parent\030\001 \001(\t" + - "B2\342A\001\002\372A+\022)analyticsadmin.googleapis.com" + - "/AdSenseLink\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_" + - "token\030\003 \001(\t\"w\n\030ListAdSenseLinksResponse\022" + - "B\n\radsense_links\030\001 \003(\0132+.google.analytic" + - "s.admin.v1alpha.AdSenseLink\022\027\n\017next_page" + - "_token\030\002 \001(\t\"e\n FetchConnectedGa4Propert" + - "yRequest\022A\n\010property\030\001 \001(\tB/\342A\001\002\372A(\n&ana" + - "lyticsadmin.googleapis.com/Property\"b\n!F" + - "etchConnectedGa4PropertyResponse\022=\n\010prop" + - "erty\030\001 \001(\tB+\372A(\n&analyticsadmin.googleap" + - "is.com/Property\"\270\001\n\034CreateEventCreateRul" + - "eRequest\022F\n\006parent\030\001 \001(\tB6\342A\001\002\372A/\022-analy" + - "ticsadmin.googleapis.com/EventCreateRule" + - "\022P\n\021event_create_rule\030\002 \001(\0132/.google.ana" + - "lytics.admin.v1alpha.EventCreateRuleB\004\342A" + - "\001\002\"\247\001\n\034UpdateEventCreateRuleRequest\022P\n\021e" + - "vent_create_rule\030\001 \001(\0132/.google.analytic" + - "s.admin.v1alpha.EventCreateRuleB\004\342A\001\002\0225\n" + - "\013update_mask\030\002 \001(\0132\032.google.protobuf.Fie" + - "ldMaskB\004\342A\001\002\"d\n\034DeleteEventCreateRuleReq" + - "uest\022D\n\004name\030\001 \001(\tB6\342A\001\002\372A/\n-analyticsad" + - "min.googleapis.com/EventCreateRule\"a\n\031Ge" + - "tEventCreateRuleRequest\022D\n\004name\030\001 \001(\tB6\342" + - "A\001\002\372A/\n-analyticsadmin.googleapis.com/Ev" + - "entCreateRule\"\214\001\n\033ListEventCreateRulesRe" + - "quest\022F\n\006parent\030\001 \001(\tB6\342A\001\002\372A/\022-analytic" + - "sadmin.googleapis.com/EventCreateRule\022\021\n" + - "\tpage_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"\204\001\n" + - "\034ListEventCreateRulesResponse\022K\n\022event_c" + - "reate_rules\030\001 \003(\0132/.google.analytics.adm" + - "in.v1alpha.EventCreateRule\022\027\n\017next_page_" + - "token\030\002 \001(\t\"\207\001\n\033CreateRollupPropertyRequ" + - "est\022G\n\017rollup_property\030\001 \001(\0132(.google.an" + - "alytics.admin.v1alpha.PropertyB\004\342A\001\002\022\037\n\021" + - "source_properties\030\002 \003(\tB\004\342A\001\001\"\301\001\n\034Create" + - "RollupPropertyResponse\022A\n\017rollup_propert" + - "y\030\001 \001(\0132(.google.analytics.admin.v1alpha" + - ".Property\022^\n\034rollup_property_source_link" + - "s\030\002 \003(\01328.google.analytics.admin.v1alpha" + - ".RollupPropertySourceLink\"s\n\"GetRollupPr" + - "opertySourceLinkRequest\022M\n\004name\030\001 \001(\tB?\342" + - "A\001\002\372A8\n6analyticsadmin.googleapis.com/Ro" + - "llupPropertySourceLink\"\252\001\n$ListRollupPro" + - "pertySourceLinksRequest\022O\n\006parent\030\001 \001(\tB" + - "?\342A\001\002\372A8\0226analyticsadmin.googleapis.com/" + - "RollupPropertySourceLink\022\027\n\tpage_size\030\002 " + - "\001(\005B\004\342A\001\001\022\030\n\npage_token\030\003 \001(\tB\004\342A\001\001\"\240\001\n%" + - "ListRollupPropertySourceLinksResponse\022^\n" + - "\034rollup_property_source_links\030\001 \003(\01328.go" + - "ogle.analytics.admin.v1alpha.RollupPrope" + - "rtySourceLink\022\027\n\017next_page_token\030\002 \001(\t\"\335" + - "\001\n%CreateRollupPropertySourceLinkRequest" + - "\022O\n\006parent\030\001 \001(\tB?\342A\001\002\372A8\0226analyticsadmi" + - "n.googleapis.com/RollupPropertySourceLin" + - "k\022c\n\033rollup_property_source_link\030\002 \001(\01328" + - ".google.analytics.admin.v1alpha.RollupPr" + - "opertySourceLinkB\004\342A\001\002\"v\n%DeleteRollupPr" + - "opertySourceLinkRequest\022M\n\004name\030\001 \001(\tB?\342" + - "A\001\002\372A8\n6analyticsadmin.googleapis.com/Ro" + - "llupPropertySourceLink\"\200\002\n\030CreateSubprop" + - "ertyRequest\022?\n\006parent\030\001 \001(\tB/\342A\001\002\372A(\n&an" + - "alyticsadmin.googleapis.com/Property\022C\n\013" + - "subproperty\030\002 \001(\0132(.google.analytics.adm" + - "in.v1alpha.PropertyB\004\342A\001\002\022^\n\030subproperty" + - "_event_filter\030\003 \001(\01326.google.analytics.a" + - "dmin.v1alpha.SubpropertyEventFilterB\004\342A\001" + - "\001\"\264\001\n\031CreateSubpropertyResponse\022=\n\013subpr" + - "operty\030\001 \001(\0132(.google.analytics.admin.v1" + - "alpha.Property\022X\n\030subproperty_event_filt" + - "er\030\002 \001(\01326.google.analytics.admin.v1alph" + - "a.SubpropertyEventFilter\"\324\001\n#CreateSubpr" + - "opertyEventFilterRequest\022M\n\006parent\030\001 \001(\t" + - "B=\342A\001\002\372A6\0224analyticsadmin.googleapis.com" + - "/SubpropertyEventFilter\022^\n\030subproperty_e" + - "vent_filter\030\002 \001(\01326.google.analytics.adm" + - "in.v1alpha.SubpropertyEventFilterB\004\342A\001\002\"" + - "o\n GetSubpropertyEventFilterRequest\022K\n\004n" + - "ame\030\001 \001(\tB=\342A\001\002\372A6\n4analyticsadmin.googl" + - "eapis.com/SubpropertyEventFilter\"\246\001\n\"Lis" + - "tSubpropertyEventFiltersRequest\022M\n\006paren" + - "t\030\001 \001(\tB=\342A\001\002\372A6\0224analyticsadmin.googlea" + - "pis.com/SubpropertyEventFilter\022\027\n\tpage_s" + - "ize\030\002 \001(\005B\004\342A\001\001\022\030\n\npage_token\030\003 \001(\tB\004\342A\001" + - "\001\"\231\001\n#ListSubpropertyEventFiltersRespons" + - "e\022Y\n\031subproperty_event_filters\030\001 \003(\01326.g" + - "oogle.analytics.admin.v1alpha.Subpropert" + - "yEventFilter\022\027\n\017next_page_token\030\002 \001(\t\"\274\001" + - "\n#UpdateSubpropertyEventFilterRequest\022^\n" + - "\030subproperty_event_filter\030\001 \001(\01326.google" + - ".analytics.admin.v1alpha.SubpropertyEven" + - "tFilterB\004\342A\001\002\0225\n\013update_mask\030\002 \001(\0132\032.goo" + - "gle.protobuf.FieldMaskB\004\342A\001\002\"r\n#DeleteSu" + - "bpropertyEventFilterRequest\022K\n\004name\030\001 \001(" + - "\tB=\342A\001\002\372A6\n4analyticsadmin.googleapis.co" + - "m/SubpropertyEventFilter2\361\350\001\n\025AnalyticsA" + - "dminService\022\223\001\n\nGetAccount\0221.google.anal" + - "ytics.admin.v1alpha.GetAccountRequest\032\'." + - "google.analytics.admin.v1alpha.Account\")" + - "\332A\004name\202\323\344\223\002\034\022\032/v1alpha/{name=accounts/*" + - "}\022\224\001\n\014ListAccounts\0223.google.analytics.ad" + - "min.v1alpha.ListAccountsRequest\0324.google" + - ".analytics.admin.v1alpha.ListAccountsRes" + - "ponse\"\031\202\323\344\223\002\023\022\021/v1alpha/accounts\022\210\001\n\rDel" + - "eteAccount\0224.google.analytics.admin.v1al" + - "pha.DeleteAccountRequest\032\026.google.protob" + - "uf.Empty\")\332A\004name\202\323\344\223\002\034*\032/v1alpha/{name=" + - "accounts/*}\022\271\001\n\rUpdateAccount\0224.google.a" + - "nalytics.admin.v1alpha.UpdateAccountRequ" + - "est\032\'.google.analytics.admin.v1alpha.Acc" + - "ount\"I\332A\023account,update_mask\202\323\344\223\002-2\"/v1a" + - "lpha/{account.name=accounts/*}:\007account\022" + - "\314\001\n\026ProvisionAccountTicket\022=.google.anal" + - "ytics.admin.v1alpha.ProvisionAccountTick" + - "etRequest\032>.google.analytics.admin.v1alp" + - "ha.ProvisionAccountTicketResponse\"3\202\323\344\223\002" + - "-\"(/v1alpha/accounts:provisionAccountTic" + - "ket:\001*\022\264\001\n\024ListAccountSummaries\022;.google" + - ".analytics.admin.v1alpha.ListAccountSumm" + - "ariesRequest\032<.google.analytics.admin.v1" + - "alpha.ListAccountSummariesResponse\"!\202\323\344\223" + - "\002\033\022\031/v1alpha/accountSummaries\022\230\001\n\013GetPro" + - "perty\0222.google.analytics.admin.v1alpha.G" + - "etPropertyRequest\032(.google.analytics.adm" + - "in.v1alpha.Property\"+\332A\004name\202\323\344\223\002\036\022\034/v1a" + - "lpha/{name=properties/*}\022\234\001\n\016ListPropert" + - "ies\0225.google.analytics.admin.v1alpha.Lis" + - "tPropertiesRequest\0326.google.analytics.ad" + - "min.v1alpha.ListPropertiesResponse\"\033\202\323\344\223" + - "\002\025\022\023/v1alpha/properties\022\243\001\n\016CreateProper" + - "ty\0225.google.analytics.admin.v1alpha.Crea" + - "tePropertyRequest\032(.google.analytics.adm" + - "in.v1alpha.Property\"0\332A\010property\202\323\344\223\002\037\"\023" + - "/v1alpha/properties:\010property\022\236\001\n\016Delete" + - "Property\0225.google.analytics.admin.v1alph" + - "a.DeletePropertyRequest\032(.google.analyti" + - "cs.admin.v1alpha.Property\"+\332A\004name\202\323\344\223\002\036" + - "*\034/v1alpha/{name=properties/*}\022\301\001\n\016Updat" + - "eProperty\0225.google.analytics.admin.v1alp" + - "ha.UpdatePropertyRequest\032(.google.analyt" + - "ics.admin.v1alpha.Property\"N\332A\024property," + - "update_mask\202\323\344\223\00212%/v1alpha/{property.na" + - "me=properties/*}:\010property\022\331\001\n\022CreateFir" + - "ebaseLink\0229.google.analytics.admin.v1alp" + - "ha.CreateFirebaseLinkRequest\032,.google.an" + - "alytics.admin.v1alpha.FirebaseLink\"Z\332A\024p" + - "arent,firebase_link\202\323\344\223\002=\",/v1alpha/{par" + - "ent=properties/*}/firebaseLinks:\rfirebas" + - "e_link\022\244\001\n\022DeleteFirebaseLink\0229.google.a" + - "nalytics.admin.v1alpha.DeleteFirebaseLin" + - "kRequest\032\026.google.protobuf.Empty\";\332A\004nam" + - "e\202\323\344\223\002.*,/v1alpha/{name=properties/*/fir" + - "ebaseLinks/*}\022\307\001\n\021ListFirebaseLinks\0228.go" + - "ogle.analytics.admin.v1alpha.ListFirebas" + - "eLinksRequest\0329.google.analytics.admin.v" + - "1alpha.ListFirebaseLinksResponse\"=\332A\006par" + - "ent\202\323\344\223\002.\022,/v1alpha/{parent=properties/*" + - "}/firebaseLinks\022\303\001\n\020GetGlobalSiteTag\0227.g" + - "oogle.analytics.admin.v1alpha.GetGlobalS" + - "iteTagRequest\032-.google.analytics.admin.v" + - "1alpha.GlobalSiteTag\"G\332A\004name\202\323\344\223\002:\0228/v1" + - "alpha/{name=properties/*/dataStreams/*/g" + - "lobalSiteTag}\022\341\001\n\023CreateGoogleAdsLink\022:." + - "google.analytics.admin.v1alpha.CreateGoo" + - "gleAdsLinkRequest\032-.google.analytics.adm" + - "in.v1alpha.GoogleAdsLink\"_\332A\026parent,goog" + - "le_ads_link\202\323\344\223\002@\"-/v1alpha/{parent=prop" + - "erties/*}/googleAdsLinks:\017google_ads_lin" + - "k\022\366\001\n\023UpdateGoogleAdsLink\022:.google.analy" + - "tics.admin.v1alpha.UpdateGoogleAdsLinkRe" + - "quest\032-.google.analytics.admin.v1alpha.G" + - "oogleAdsLink\"t\332A\033google_ads_link,update_" + - "mask\202\323\344\223\002P2=/v1alpha/{google_ads_link.na" + - "me=properties/*/googleAdsLinks/*}:\017googl" + - "e_ads_link\022\247\001\n\023DeleteGoogleAdsLink\022:.goo" + - "gle.analytics.admin.v1alpha.DeleteGoogle" + - "AdsLinkRequest\032\026.google.protobuf.Empty\"<" + - "\332A\004name\202\323\344\223\002/*-/v1alpha/{name=properties" + - "/*/googleAdsLinks/*}\022\313\001\n\022ListGoogleAdsLi" + - "nks\0229.google.analytics.admin.v1alpha.Lis" + - "tGoogleAdsLinksRequest\032:.google.analytic" + - "s.admin.v1alpha.ListGoogleAdsLinksRespon" + - "se\">\332A\006parent\202\323\344\223\002/\022-/v1alpha/{parent=pr" + - "operties/*}/googleAdsLinks\022\313\001\n\026GetDataSh" + - "aringSettings\022=.google.analytics.admin.v" + - "1alpha.GetDataSharingSettingsRequest\0323.g" + - "oogle.analytics.admin.v1alpha.DataSharin" + - "gSettings\"=\332A\004name\202\323\344\223\0020\022./v1alpha/{name" + - "=accounts/*/dataSharingSettings}\022\366\001\n\034Get" + - "MeasurementProtocolSecret\022C.google.analy" + - "tics.admin.v1alpha.GetMeasurementProtoco" + - "lSecretRequest\0329.google.analytics.admin." + - "v1alpha.MeasurementProtocolSecret\"V\332A\004na" + - "me\202\323\344\223\002I\022G/v1alpha/{name=properties/*/da" + - "taStreams/*/measurementProtocolSecrets/*" + - "}\022\211\002\n\036ListMeasurementProtocolSecrets\022E.g" + - "oogle.analytics.admin.v1alpha.ListMeasur" + - "ementProtocolSecretsRequest\032F.google.ana" + - "lytics.admin.v1alpha.ListMeasurementProt" + - "ocolSecretsResponse\"X\332A\006parent\202\323\344\223\002I\022G/v" + - "1alpha/{parent=properties/*/dataStreams/" + - "*}/measurementProtocolSecrets\022\270\002\n\037Create" + - "MeasurementProtocolSecret\022F.google.analy" + - "tics.admin.v1alpha.CreateMeasurementProt" + - "ocolSecretRequest\0329.google.analytics.adm" + - "in.v1alpha.MeasurementProtocolSecret\"\221\001\332" + - "A\"parent,measurement_protocol_secret\202\323\344\223" + - "\002f\"G/v1alpha/{parent=properties/*/dataSt" + - "reams/*}/measurementProtocolSecrets:\033mea" + - "surement_protocol_secret\022\331\001\n\037DeleteMeasu" + - "rementProtocolSecret\022F.google.analytics." + - "admin.v1alpha.DeleteMeasurementProtocolS" + - "ecretRequest\032\026.google.protobuf.Empty\"V\332A" + - "\004name\202\323\344\223\002I*G/v1alpha/{name=properties/*" + - "/dataStreams/*/measurementProtocolSecret" + - "s/*}\022\332\002\n\037UpdateMeasurementProtocolSecret" + - "\022F.google.analytics.admin.v1alpha.Update" + - "MeasurementProtocolSecretRequest\0329.googl" + - "e.analytics.admin.v1alpha.MeasurementPro" + - "tocolSecret\"\263\001\332A\'measurement_protocol_se" + - "cret,update_mask\202\323\344\223\002\202\0012c/v1alpha/{measu" + - "rement_protocol_secret.name=properties/*" + - "/dataStreams/*/measurementProtocolSecret" + - "s/*}:\033measurement_protocol_secret\022\367\001\n\035Ac" + - "knowledgeUserDataCollection\022D.google.ana" + - "lytics.admin.v1alpha.AcknowledgeUserData" + - "CollectionRequest\032E.google.analytics.adm" + - "in.v1alpha.AcknowledgeUserDataCollection" + - "Response\"I\202\323\344\223\002C\">/v1alpha/{property=pro" + - "perties/*}:acknowledgeUserDataCollection" + - ":\001*\022\221\002\n#GetSKAdNetworkConversionValueSch" + - "ema\022J.google.analytics.admin.v1alpha.Get" + - "SKAdNetworkConversionValueSchemaRequest\032" + - "@.google.analytics.admin.v1alpha.SKAdNet" + - "workConversionValueSchema\"\\\332A\004name\202\323\344\223\002O" + - "\022M/v1alpha/{name=properties/*/dataStream" + - "s/*/sKAdNetworkConversionValueSchema/*}\022" + - "\343\002\n&CreateSKAdNetworkConversionValueSche" + - "ma\022M.google.analytics.admin.v1alpha.Crea" + - "teSKAdNetworkConversionValueSchemaReques" + - "t\032@.google.analytics.admin.v1alpha.SKAdN" + - "etworkConversionValueSchema\"\247\001\332A*parent," + - "skadnetwork_conversion_value_schema\202\323\344\223\002" + - "t\"M/v1alpha/{parent=properties/*/dataStr" + - "eams/*}/sKAdNetworkConversionValueSchema" + - ":#skadnetwork_conversion_value_schema\022\355\001" + - "\n&DeleteSKAdNetworkConversionValueSchema" + - "\022M.google.analytics.admin.v1alpha.Delete" + - "SKAdNetworkConversionValueSchemaRequest\032" + - "\026.google.protobuf.Empty\"\\\332A\004name\202\323\344\223\002O*M" + - "/v1alpha/{name=properties/*/dataStreams/" + - "*/sKAdNetworkConversionValueSchema/*}\022\215\003" + - "\n&UpdateSKAdNetworkConversionValueSchema" + - "\022M.google.analytics.admin.v1alpha.Update" + - "SKAdNetworkConversionValueSchemaRequest\032" + - "@.google.analytics.admin.v1alpha.SKAdNet" + - "workConversionValueSchema\"\321\001\332A/skadnetwo" + - "rk_conversion_value_schema,update_mask\202\323" + - "\344\223\002\230\0012q/v1alpha/{skadnetwork_conversion_" + - "value_schema.name=properties/*/dataStrea" + - "ms/*/sKAdNetworkConversionValueSchema/*}" + - ":#skadnetwork_conversion_value_schema\022\244\002" + - "\n%ListSKAdNetworkConversionValueSchemas\022" + - "L.google.analytics.admin.v1alpha.ListSKA" + - "dNetworkConversionValueSchemasRequest\032M." + - "google.analytics.admin.v1alpha.ListSKAdN" + - "etworkConversionValueSchemasResponse\"^\332A" + - "\006parent\202\323\344\223\002O\022M/v1alpha/{parent=properti" + - "es/*/dataStreams/*}/sKAdNetworkConversio" + - "nValueSchema\022\344\001\n\031SearchChangeHistoryEven" + - "ts\022@.google.analytics.admin.v1alpha.Sear" + - "chChangeHistoryEventsRequest\032A.google.an" + - "alytics.admin.v1alpha.SearchChangeHistor", - "yEventsResponse\"B\202\323\344\223\002<\"7/v1alpha/{accou" + - "nt=accounts/*}:searchChangeHistoryEvents" + - ":\001*\022\325\001\n\030GetGoogleSignalsSettings\022?.googl" + - "e.analytics.admin.v1alpha.GetGoogleSigna" + - "lsSettingsRequest\0325.google.analytics.adm" + - "in.v1alpha.GoogleSignalsSettings\"A\332A\004nam" + - "e\202\323\344\223\0024\0222/v1alpha/{name=properties/*/goo" + - "gleSignalsSettings}\022\254\002\n\033UpdateGoogleSign" + - "alsSettings\022B.google.analytics.admin.v1a" + - "lpha.UpdateGoogleSignalsSettingsRequest\032" + - "5.google.analytics.admin.v1alpha.GoogleS" + - "ignalsSettings\"\221\001\332A#google_signals_setti" + - "ngs,update_mask\202\323\344\223\002e2J/v1alpha/{google_" + - "signals_settings.name=properties/*/googl" + - "eSignalsSettings}:\027google_signals_settin" + - "gs\022\353\001\n\025CreateConversionEvent\022<.google.an" + - "alytics.admin.v1alpha.CreateConversionEv" + - "entRequest\032/.google.analytics.admin.v1al" + - "pha.ConversionEvent\"c\332A\027parent,conversio" + - "n_event\202\323\344\223\002C\"//v1alpha/{parent=properti" + - "es/*}/conversionEvents:\020conversion_event" + - "\022\201\002\n\025UpdateConversionEvent\022<.google.anal" + - "ytics.admin.v1alpha.UpdateConversionEven" + - "tRequest\032/.google.analytics.admin.v1alph" + - "a.ConversionEvent\"y\332A\034conversion_event,u" + - "pdate_mask\202\323\344\223\002T2@/v1alpha/{conversion_e" + - "vent.name=properties/*/conversionEvents/" + - "*}:\020conversion_event\022\300\001\n\022GetConversionEv" + - "ent\0229.google.analytics.admin.v1alpha.Get" + - "ConversionEventRequest\032/.google.analytic" + - "s.admin.v1alpha.ConversionEvent\">\332A\004name" + - "\202\323\344\223\0021\022//v1alpha/{name=properties/*/conv" + - "ersionEvents/*}\022\255\001\n\025DeleteConversionEven" + - "t\022<.google.analytics.admin.v1alpha.Delet" + - "eConversionEventRequest\032\026.google.protobu" + - "f.Empty\">\332A\004name\202\323\344\223\0021*//v1alpha/{name=p" + - "roperties/*/conversionEvents/*}\022\323\001\n\024List" + - "ConversionEvents\022;.google.analytics.admi" + - "n.v1alpha.ListConversionEventsRequest\032<." + - "google.analytics.admin.v1alpha.ListConve" + - "rsionEventsResponse\"@\332A\006parent\202\323\344\223\0021\022//v" + - "1alpha/{parent=properties/*}/conversionE" + - "vents\022\370\001\n GetDisplayVideo360AdvertiserLi" + - "nk\022G.google.analytics.admin.v1alpha.GetD" + - "isplayVideo360AdvertiserLinkRequest\032=.go" + - "ogle.analytics.admin.v1alpha.DisplayVide" + - "o360AdvertiserLink\"L\332A\004name\202\323\344\223\002?\022=/v1al" + - "pha/{name=properties/*/displayVideo360Ad" + - "vertiserLinks/*}\022\213\002\n\"ListDisplayVideo360" + - "AdvertiserLinks\022I.google.analytics.admin" + - ".v1alpha.ListDisplayVideo360AdvertiserLi" + - "nksRequest\032J.google.analytics.admin.v1al" + - "pha.ListDisplayVideo360AdvertiserLinksRe" + - "sponse\"N\332A\006parent\202\323\344\223\002?\022=/v1alpha/{paren" + - "t=properties/*}/displayVideo360Advertise" + - "rLinks\022\306\002\n#CreateDisplayVideo360Advertis" + - "erLink\022J.google.analytics.admin.v1alpha." + - "CreateDisplayVideo360AdvertiserLinkReque" + - "st\032=.google.analytics.admin.v1alpha.Disp" + - "layVideo360AdvertiserLink\"\223\001\332A(parent,di" + - "splay_video_360_advertiser_link\202\323\344\223\002b\"=/" + - "v1alpha/{parent=properties/*}/displayVid" + - "eo360AdvertiserLinks:!display_video_360_" + - "advertiser_link\022\327\001\n#DeleteDisplayVideo36" + - "0AdvertiserLink\022J.google.analytics.admin" + - ".v1alpha.DeleteDisplayVideo360Advertiser" + - "LinkRequest\032\026.google.protobuf.Empty\"L\332A\004" + - "name\202\323\344\223\002?*=/v1alpha/{name=properties/*/" + - "displayVideo360AdvertiserLinks/*}\022\356\002\n#Up" + - "dateDisplayVideo360AdvertiserLink\022J.goog" + - "le.analytics.admin.v1alpha.UpdateDisplay" + - "Video360AdvertiserLinkRequest\032=.google.a" + - "nalytics.admin.v1alpha.DisplayVideo360Ad" + - "vertiserLink\"\273\001\332A-display_video_360_adve" + - "rtiser_link,update_mask\202\323\344\223\002\204\0012_/v1alpha" + - "/{display_video_360_advertiser_link.name" + - "=properties/*/displayVideo360AdvertiserL" + - "inks/*}:!display_video_360_advertiser_li" + - "nk\022\230\002\n(GetDisplayVideo360AdvertiserLinkP" + - "roposal\022O.google.analytics.admin.v1alpha" + - ".GetDisplayVideo360AdvertiserLinkProposa" + - "lRequest\032E.google.analytics.admin.v1alph" + - "a.DisplayVideo360AdvertiserLinkProposal\"" + - "T\332A\004name\202\323\344\223\002G\022E/v1alpha/{name=propertie" + - "s/*/displayVideo360AdvertiserLinkProposa" + - "ls/*}\022\253\002\n*ListDisplayVideo360AdvertiserL" + - "inkProposals\022Q.google.analytics.admin.v1" + - "alpha.ListDisplayVideo360AdvertiserLinkP" + - "roposalsRequest\032R.google.analytics.admin" + - ".v1alpha.ListDisplayVideo360AdvertiserLi" + - "nkProposalsResponse\"V\332A\006parent\202\323\344\223\002G\022E/v" + - "1alpha/{parent=properties/*}/displayVide" + - "o360AdvertiserLinkProposals\022\370\002\n+CreateDi" + - "splayVideo360AdvertiserLinkProposal\022R.go" + - "ogle.analytics.admin.v1alpha.CreateDispl" + - "ayVideo360AdvertiserLinkProposalRequest\032" + - "E.google.analytics.admin.v1alpha.Display" + - "Video360AdvertiserLinkProposal\"\255\001\332A1pare" + - "nt,display_video_360_advertiser_link_pro" + - "posal\202\323\344\223\002s\"E/v1alpha/{parent=properties" + - "/*}/displayVideo360AdvertiserLinkProposa" + - "ls:*display_video_360_advertiser_link_pr" + - "oposal\022\357\001\n+DeleteDisplayVideo360Advertis" + - "erLinkProposal\022R.google.analytics.admin." + - "v1alpha.DeleteDisplayVideo360AdvertiserL" + - "inkProposalRequest\032\026.google.protobuf.Emp" + - "ty\"T\332A\004name\202\323\344\223\002G*E/v1alpha/{name=proper" + - "ties/*/displayVideo360AdvertiserLinkProp" + - "osals/*}\022\263\002\n,ApproveDisplayVideo360Adver" + - "tiserLinkProposal\022S.google.analytics.adm" + - "in.v1alpha.ApproveDisplayVideo360Adverti" + - "serLinkProposalRequest\032T.google.analytic" + - "s.admin.v1alpha.ApproveDisplayVideo360Ad" + - "vertiserLinkProposalResponse\"X\202\323\344\223\002R\"M/v" + - "1alpha/{name=properties/*/displayVideo36" + - "0AdvertiserLinkProposals/*}:approve:\001*\022\241" + - "\002\n+CancelDisplayVideo360AdvertiserLinkPr" + - "oposal\022R.google.analytics.admin.v1alpha." + - "CancelDisplayVideo360AdvertiserLinkPropo" + - "salRequest\032E.google.analytics.admin.v1al" + - "pha.DisplayVideo360AdvertiserLinkProposa" + - "l\"W\202\323\344\223\002Q\"L/v1alpha/{name=properties/*/d" + - "isplayVideo360AdvertiserLinkProposals/*}" + - ":cancel:\001*\022\353\001\n\025CreateCustomDimension\022<.g" + - "oogle.analytics.admin.v1alpha.CreateCust" + - "omDimensionRequest\032/.google.analytics.ad" + - "min.v1alpha.CustomDimension\"c\332A\027parent,c" + - "ustom_dimension\202\323\344\223\002C\"//v1alpha/{parent=" + - "properties/*}/customDimensions:\020custom_d" + - "imension\022\201\002\n\025UpdateCustomDimension\022<.goo" + - "gle.analytics.admin.v1alpha.UpdateCustom" + - "DimensionRequest\032/.google.analytics.admi" + - "n.v1alpha.CustomDimension\"y\332A\034custom_dim" + - "ension,update_mask\202\323\344\223\002T2@/v1alpha/{cust" + - "om_dimension.name=properties/*/customDim" + - "ensions/*}:\020custom_dimension\022\323\001\n\024ListCus" + - "tomDimensions\022;.google.analytics.admin.v" + - "1alpha.ListCustomDimensionsRequest\032<.goo" + - "gle.analytics.admin.v1alpha.ListCustomDi" + - "mensionsResponse\"@\332A\006parent\202\323\344\223\0021\022//v1al" + - "pha/{parent=properties/*}/customDimensio" + - "ns\022\272\001\n\026ArchiveCustomDimension\022=.google.a" + - "nalytics.admin.v1alpha.ArchiveCustomDime" + - "nsionRequest\032\026.google.protobuf.Empty\"I\332A" + - "\004name\202\323\344\223\002<\"7/v1alpha/{name=properties/*" + - "/customDimensions/*}:archive:\001*\022\300\001\n\022GetC" + - "ustomDimension\0229.google.analytics.admin." + - "v1alpha.GetCustomDimensionRequest\032/.goog" + - "le.analytics.admin.v1alpha.CustomDimensi" + - "on\">\332A\004name\202\323\344\223\0021\022//v1alpha/{name=proper" + - "ties/*/customDimensions/*}\022\331\001\n\022CreateCus" + - "tomMetric\0229.google.analytics.admin.v1alp" + - "ha.CreateCustomMetricRequest\032,.google.an" + - "alytics.admin.v1alpha.CustomMetric\"Z\332A\024p" + - "arent,custom_metric\202\323\344\223\002=\",/v1alpha/{par" + - "ent=properties/*}/customMetrics:\rcustom_" + - "metric\022\354\001\n\022UpdateCustomMetric\0229.google.a" + - "nalytics.admin.v1alpha.UpdateCustomMetri" + - "cRequest\032,.google.analytics.admin.v1alph" + - "a.CustomMetric\"m\332A\031custom_metric,update_" + - "mask\202\323\344\223\002K2:/v1alpha/{custom_metric.name" + - "=properties/*/customMetrics/*}:\rcustom_m" + - "etric\022\307\001\n\021ListCustomMetrics\0228.google.ana" + - "lytics.admin.v1alpha.ListCustomMetricsRe" + - "quest\0329.google.analytics.admin.v1alpha.L" + - "istCustomMetricsResponse\"=\332A\006parent\202\323\344\223\002" + - ".\022,/v1alpha/{parent=properties/*}/custom" + - "Metrics\022\261\001\n\023ArchiveCustomMetric\022:.google" + - ".analytics.admin.v1alpha.ArchiveCustomMe" + - "tricRequest\032\026.google.protobuf.Empty\"F\332A\004" + - "name\202\323\344\223\0029\"4/v1alpha/{name=properties/*/" + - "customMetrics/*}:archive:\001*\022\264\001\n\017GetCusto" + - "mMetric\0226.google.analytics.admin.v1alpha" + - ".GetCustomMetricRequest\032,.google.analyti" + - "cs.admin.v1alpha.CustomMetric\";\332A\004name\202\323" + - "\344\223\002.\022,/v1alpha/{name=properties/*/custom" + - "Metrics/*}\022\325\001\n\030GetDataRetentionSettings\022" + - "?.google.analytics.admin.v1alpha.GetData" + - "RetentionSettingsRequest\0325.google.analyt" + - "ics.admin.v1alpha.DataRetentionSettings\"" + - "A\332A\004name\202\323\344\223\0024\0222/v1alpha/{name=propertie" + - "s/*/dataRetentionSettings}\022\254\002\n\033UpdateDat" + - "aRetentionSettings\022B.google.analytics.ad" + - "min.v1alpha.UpdateDataRetentionSettingsR" + - "equest\0325.google.analytics.admin.v1alpha." + - "DataRetentionSettings\"\221\001\332A#data_retentio" + - "n_settings,update_mask\202\323\344\223\002e2J/v1alpha/{" + - "data_retention_settings.name=properties/" + - "*/dataRetentionSettings}:\027data_retention" + - "_settings\022\315\001\n\020CreateDataStream\0227.google." + - "analytics.admin.v1alpha.CreateDataStream" + - "Request\032*.google.analytics.admin.v1alpha" + - ".DataStream\"T\332A\022parent,data_stream\202\323\344\223\0029" + - "\"*/v1alpha/{parent=properties/*}/dataStr" + - "eams:\013data_stream\022\236\001\n\020DeleteDataStream\0227" + - ".google.analytics.admin.v1alpha.DeleteDa" + - "taStreamRequest\032\026.google.protobuf.Empty\"" + - "9\332A\004name\202\323\344\223\002,**/v1alpha/{name=propertie" + - "s/*/dataStreams/*}\022\336\001\n\020UpdateDataStream\022" + - "7.google.analytics.admin.v1alpha.UpdateD" + - "ataStreamRequest\032*.google.analytics.admi" + - "n.v1alpha.DataStream\"e\332A\027data_stream,upd" + - "ate_mask\202\323\344\223\002E26/v1alpha/{data_stream.na" + - "me=properties/*/dataStreams/*}:\013data_str" + - "eam\022\277\001\n\017ListDataStreams\0226.google.analyti" + - "cs.admin.v1alpha.ListDataStreamsRequest\032" + - "7.google.analytics.admin.v1alpha.ListDat" + - "aStreamsResponse\";\332A\006parent\202\323\344\223\002,\022*/v1al" + - "pha/{parent=properties/*}/dataStreams\022\254\001" + - "\n\rGetDataStream\0224.google.analytics.admin" + - ".v1alpha.GetDataStreamRequest\032*.google.a" + - "nalytics.admin.v1alpha.DataStream\"9\332A\004na" + - "me\202\323\344\223\002,\022*/v1alpha/{name=properties/*/da" + - "taStreams/*}\022\244\001\n\013GetAudience\0222.google.an" + - "alytics.admin.v1alpha.GetAudienceRequest" + - "\032(.google.analytics.admin.v1alpha.Audien" + - "ce\"7\332A\004name\202\323\344\223\002*\022(/v1alpha/{name=proper" + - "ties/*/audiences/*}\022\267\001\n\rListAudiences\0224." + - "google.analytics.admin.v1alpha.ListAudie" + - "ncesRequest\0325.google.analytics.admin.v1a" + - "lpha.ListAudiencesResponse\"9\332A\006parent\202\323\344" + - "\223\002*\022(/v1alpha/{parent=properties/*}/audi" + - "ences\022\277\001\n\016CreateAudience\0225.google.analyt" + - "ics.admin.v1alpha.CreateAudienceRequest\032" + - "(.google.analytics.admin.v1alpha.Audienc" + - "e\"L\332A\017parent,audience\202\323\344\223\0024\"(/v1alpha/{p" + - "arent=properties/*}/audiences:\010audience\022" + - "\315\001\n\016UpdateAudience\0225.google.analytics.ad" + - "min.v1alpha.UpdateAudienceRequest\032(.goog" + - "le.analytics.admin.v1alpha.Audience\"Z\332A\024" + - "audience,update_mask\202\323\344\223\002=21/v1alpha/{au" + - "dience.name=properties/*/audiences/*}:\010a" + - "udience\022\236\001\n\017ArchiveAudience\0226.google.ana" + - "lytics.admin.v1alpha.ArchiveAudienceRequ" + - "est\032\026.google.protobuf.Empty\";\202\323\344\223\0025\"0/v1" + - "alpha/{name=properties/*/audiences/*}:ar" + - "chive:\001*\022\304\001\n\023GetSearchAds360Link\022:.googl" + - "e.analytics.admin.v1alpha.GetSearchAds36" + - "0LinkRequest\0320.google.analytics.admin.v1" + - "alpha.SearchAds360Link\"?\332A\004name\202\323\344\223\0022\0220/" + - "v1alpha/{name=properties/*/searchAds360L" + - "inks/*}\022\327\001\n\025ListSearchAds360Links\022<.goog" + - "le.analytics.admin.v1alpha.ListSearchAds" + - "360LinksRequest\032=.google.analytics.admin" + - ".v1alpha.ListSearchAds360LinksResponse\"A" + - "\332A\006parent\202\323\344\223\0022\0220/v1alpha/{parent=proper" + - "ties/*}/searchAds360Links\022\365\001\n\026CreateSear" + - "chAds360Link\022=.google.analytics.admin.v1" + - "alpha.CreateSearchAds360LinkRequest\0320.go" + - "ogle.analytics.admin.v1alpha.SearchAds36" + - "0Link\"j\332A\032parent,search_ads_360_link\202\323\344\223" + - "\002G\"0/v1alpha/{parent=properties/*}/searc" + - "hAds360Links:\023search_ads_360_link\022\260\001\n\026De" + - "leteSearchAds360Link\022=.google.analytics." + - "admin.v1alpha.DeleteSearchAds360LinkRequ" + - "est\032\026.google.protobuf.Empty\"?\332A\004name\202\323\344\223" + - "\0022*0/v1alpha/{name=properties/*/searchAd" + - "s360Links/*}\022\217\002\n\026UpdateSearchAds360Link\022" + - "=.google.analytics.admin.v1alpha.UpdateS" + - "earchAds360LinkRequest\0320.google.analytic" + - "s.admin.v1alpha.SearchAds360Link\"\203\001\332A\037se" + - "arch_ads_360_link,update_mask\202\323\344\223\002[2D/v1" + - "alpha/{search_ads_360_link.name=properti" + - "es/*/searchAds360Links/*}:\023search_ads_36" + - "0_link\022\315\001\n\026GetAttributionSettings\022=.goog" + - "le.analytics.admin.v1alpha.GetAttributio" + - "nSettingsRequest\0323.google.analytics.admi" + - "n.v1alpha.AttributionSettings\"?\332A\004name\202\323" + - "\344\223\0022\0220/v1alpha/{name=properties/*/attrib" + - "utionSettings}\022\233\002\n\031UpdateAttributionSett" + - "ings\022@.google.analytics.admin.v1alpha.Up" + - "dateAttributionSettingsRequest\0323.google." + - "analytics.admin.v1alpha.AttributionSetti" + - "ngs\"\206\001\332A attribution_settings,update_mas" + - "k\202\323\344\223\002]2E/v1alpha/{attribution_settings." + - "name=properties/*/attributionSettings}:\024" + - "attribution_settings\022\360\001\n\017RunAccessReport" + - "\0226.google.analytics.admin.v1alpha.RunAcc" + - "essReportRequest\0327.google.analytics.admi" + - "n.v1alpha.RunAccessReportResponse\"l\202\323\344\223\002" + - "f\"./v1alpha/{entity=properties/*}:runAcc" + - "essReport:\001*Z1\",/v1alpha/{entity=account" + - "s/*}:runAccessReport:\001*\022\237\002\n\023CreateAccess" + - "Binding\022:.google.analytics.admin.v1alpha" + - ".CreateAccessBindingRequest\032-.google.ana" + - "lytics.admin.v1alpha.AccessBinding\"\234\001\332A\025" + - "parent,access_binding\202\323\344\223\002~\"+/v1alpha/{p" + - "arent=accounts/*}/accessBindings:\016access" + - "_bindingZ?\"-/v1alpha/{parent=properties/" + - "*}/accessBindings:\016access_binding\022\347\001\n\020Ge" + - "tAccessBinding\0227.google.analytics.admin." + - "v1alpha.GetAccessBindingRequest\032-.google" + - ".analytics.admin.v1alpha.AccessBinding\"k" + - "\332A\004name\202\323\344\223\002^\022+/v1alpha/{name=accounts/*" + - "/accessBindings/*}Z/\022-/v1alpha/{name=pro" + - "perties/*/accessBindings/*}\022\267\002\n\023UpdateAc" + - "cessBinding\022:.google.analytics.admin.v1a" + - "lpha.UpdateAccessBindingRequest\032-.google" + - ".analytics.admin.v1alpha.AccessBinding\"\264" + - "\001\332A\016access_binding\202\323\344\223\002\234\0012:/v1alpha/{acc" + - "ess_binding.name=accounts/*/accessBindin" + - "gs/*}:\016access_bindingZN2\"9/v1alpha/{parent=properties/*}/ac" + - "cessBindings:batchCreate:\001*\022\217\002\n\026BatchGet" + - "AccessBindings\022=.google.analytics.admin." + - "v1alpha.BatchGetAccessBindingsRequest\032>." + - "google.analytics.admin.v1alpha.BatchGetA" + - "ccessBindingsResponse\"v\202\323\344\223\002p\0224/v1alpha/" + - "{parent=accounts/*}/accessBindings:batch" + - "GetZ8\0226/v1alpha/{parent=properties/*}/ac" + - "cessBindings:batchGet\022\245\002\n\031BatchUpdateAcc" + - "essBindings\022@.google.analytics.admin.v1a" + - "lpha.BatchUpdateAccessBindingsRequest\032A." + - "google.analytics.admin.v1alpha.BatchUpda" + - "teAccessBindingsResponse\"\202\001\202\323\344\223\002|\"7/v1al" + - "pha/{parent=accounts/*}/accessBindings:b" + - "atchUpdate:\001*Z>\"9/v1alpha/{parent=proper" + - "ties/*}/accessBindings:batchUpdate:\001*\022\372\001" + - "\n\031BatchDeleteAccessBindings\022@.google.ana" + - "lytics.admin.v1alpha.BatchDeleteAccessBi" + - "ndingsRequest\032\026.google.protobuf.Empty\"\202\001" + - "\202\323\344\223\002|\"7/v1alpha/{parent=accounts/*}/acc" + - "essBindings:batchDelete:\001*Z>\"9/v1alpha/{" + - "parent=properties/*}/accessBindings:batc" + - "hDelete:\001*\022\300\001\n\022GetExpandedDataSet\0229.goog" + - "le.analytics.admin.v1alpha.GetExpandedDa" + - "taSetRequest\032/.google.analytics.admin.v1" + - "alpha.ExpandedDataSet\">\332A\004name\202\323\344\223\0021\022//v" + - "1alpha/{name=properties/*/expandedDataSe" + - "ts/*}\022\323\001\n\024ListExpandedDataSets\022;.google." + - "analytics.admin.v1alpha.ListExpandedData" + - "SetsRequest\032<.google.analytics.admin.v1a" + - "lpha.ListExpandedDataSetsResponse\"@\332A\006pa" + - "rent\202\323\344\223\0021\022//v1alpha/{parent=properties/" + - "*}/expandedDataSets\022\355\001\n\025CreateExpandedDa" + - "taSet\022<.google.analytics.admin.v1alpha.C" + - "reateExpandedDataSetRequest\032/.google.ana" + - "lytics.admin.v1alpha.ExpandedDataSet\"e\332A" + - "\030parent,expanded_data_set\202\323\344\223\002D\"//v1alph" + - "a/{parent=properties/*}/expandedDataSets" + - ":\021expanded_data_set\022\204\002\n\025UpdateExpandedDa" + - "taSet\022<.google.analytics.admin.v1alpha.U" + - "pdateExpandedDataSetRequest\032/.google.ana" + - "lytics.admin.v1alpha.ExpandedDataSet\"|\332A" + - "\035expanded_data_set,update_mask\202\323\344\223\002V2A/v" + - "1alpha/{expanded_data_set.name=propertie" + - "s/*/expandedDataSets/*}:\021expanded_data_s" + - "et\022\255\001\n\025DeleteExpandedDataSet\022<.google.an" + - "alytics.admin.v1alpha.DeleteExpandedData" + - "SetRequest\032\026.google.protobuf.Empty\">\332A\004n" + - "ame\202\323\344\223\0021*//v1alpha/{name=properties/*/e" + - "xpandedDataSets/*}\022\264\001\n\017GetChannelGroup\0226" + - ".google.analytics.admin.v1alpha.GetChann" + - "elGroupRequest\032,.google.analytics.admin." + - "v1alpha.ChannelGroup\";\332A\004name\202\323\344\223\002.\022,/v1" + - "alpha/{name=properties/*/channelGroups/*" + - "}\022\307\001\n\021ListChannelGroups\0228.google.analyti" + - "cs.admin.v1alpha.ListChannelGroupsReques" + - "t\0329.google.analytics.admin.v1alpha.ListC" + - "hannelGroupsResponse\"=\332A\006parent\202\323\344\223\002.\022,/" + - "v1alpha/{parent=properties/*}/channelGro" + - "ups\022\331\001\n\022CreateChannelGroup\0229.google.anal" + - "ytics.admin.v1alpha.CreateChannelGroupRe" + - "quest\032,.google.analytics.admin.v1alpha.C" + - "hannelGroup\"Z\332A\024parent,channel_group\202\323\344\223" + - "\002=\",/v1alpha/{parent=properties/*}/chann" + - "elGroups:\rchannel_group\022\354\001\n\022UpdateChanne" + - "lGroup\0229.google.analytics.admin.v1alpha." + - "UpdateChannelGroupRequest\032,.google.analy" + - "tics.admin.v1alpha.ChannelGroup\"m\332A\031chan" + - "nel_group,update_mask\202\323\344\223\002K2:/v1alpha/{c" + - "hannel_group.name=properties/*/channelGr" + - "oups/*}:\rchannel_group\022\244\001\n\022DeleteChannel" + - "Group\0229.google.analytics.admin.v1alpha.D" + - "eleteChannelGroupRequest\032\026.google.protob" + - "uf.Empty\";\332A\004name\202\323\344\223\002.*,/v1alpha/{name=" + - "properties/*/channelGroups/*}\022\376\001\n\"SetAut" + - "omatedGa4ConfigurationOptOut\022I.google.an" + - "alytics.admin.v1alpha.SetAutomatedGa4Con" + - "figurationOptOutRequest\032J.google.analyti" + - "cs.admin.v1alpha.SetAutomatedGa4Configur", - "ationOptOutResponse\"A\202\323\344\223\002;\"6/v1alpha/pr" + - "operties:setAutomatedGa4ConfigurationOpt" + - "Out:\001*\022\206\002\n$FetchAutomatedGa4Configuratio" + - "nOptOut\022K.google.analytics.admin.v1alpha" + - ".FetchAutomatedGa4ConfigurationOptOutReq" + - "uest\032L.google.analytics.admin.v1alpha.Fe" + - "tchAutomatedGa4ConfigurationOptOutRespon" + - "se\"C\202\323\344\223\002=\"8/v1alpha/properties:fetchAut" + - "omatedGa4ConfigurationOptOut:\001*\022\264\001\n\017GetB" + - "igQueryLink\0226.google.analytics.admin.v1a" + - "lpha.GetBigQueryLinkRequest\032,.google.ana" + - "lytics.admin.v1alpha.BigQueryLink\";\332A\004na" + - "me\202\323\344\223\002.\022,/v1alpha/{name=properties/*/bi" + - "gQueryLinks/*}\022\307\001\n\021ListBigQueryLinks\0228.g" + - "oogle.analytics.admin.v1alpha.ListBigQue" + - "ryLinksRequest\0329.google.analytics.admin." + - "v1alpha.ListBigQueryLinksResponse\"=\332A\006pa" + - "rent\202\323\344\223\002.\022,/v1alpha/{parent=properties/" + - "*}/bigQueryLinks\022\373\001\n\036GetEnhancedMeasurem" + - "entSettings\022E.google.analytics.admin.v1a" + - "lpha.GetEnhancedMeasurementSettingsReque" + - "st\032;.google.analytics.admin.v1alpha.Enha" + - "ncedMeasurementSettings\"U\332A\004name\202\323\344\223\002H\022F" + - "/v1alpha/{name=properties/*/dataStreams/" + - "*/enhancedMeasurementSettings}\022\345\002\n!Updat" + - "eEnhancedMeasurementSettings\022H.google.an" + - "alytics.admin.v1alpha.UpdateEnhancedMeas" + - "urementSettingsRequest\032;.google.analytic" + - "s.admin.v1alpha.EnhancedMeasurementSetti" + - "ngs\"\270\001\332A)enhanced_measurement_settings,u" + - "pdate_mask\202\323\344\223\002\205\0012d/v1alpha/{enhanced_me" + - "asurement_settings.name=properties/*/dat" + - "aStreams/*/enhancedMeasurementSettings}:" + - "\035enhanced_measurement_settings\022\316\001\n\026Creat" + - "eConnectedSiteTag\022=.google.analytics.adm" + - "in.v1alpha.CreateConnectedSiteTagRequest" + - "\032>.google.analytics.admin.v1alpha.Create" + - "ConnectedSiteTagResponse\"5\202\323\344\223\002/\"*/v1alp" + - "ha/properties:createConnectedSiteTag:\001*\022" + - "\246\001\n\026DeleteConnectedSiteTag\022=.google.anal" + - "ytics.admin.v1alpha.DeleteConnectedSiteT" + - "agRequest\032\026.google.protobuf.Empty\"5\202\323\344\223\002" + - "/\"*/v1alpha/properties:deleteConnectedSi" + - "teTag:\001*\022\312\001\n\025ListConnectedSiteTags\022<.goo" + - "gle.analytics.admin.v1alpha.ListConnecte" + - "dSiteTagsRequest\032=.google.analytics.admi" + - "n.v1alpha.ListConnectedSiteTagsResponse\"" + - "4\202\323\344\223\002.\")/v1alpha/properties:listConnect" + - "edSiteTags:\001*\022\327\001\n\031FetchConnectedGa4Prope" + - "rty\022@.google.analytics.admin.v1alpha.Fet" + - "chConnectedGa4PropertyRequest\032A.google.a" + - "nalytics.admin.v1alpha.FetchConnectedGa4" + - "PropertyResponse\"5\202\323\344\223\002/\022-/v1alpha/prope" + - "rties:fetchConnectedGa4Property\022\260\001\n\016GetA" + - "dSenseLink\0225.google.analytics.admin.v1al" + - "pha.GetAdSenseLinkRequest\032+.google.analy" + - "tics.admin.v1alpha.AdSenseLink\":\332A\004name\202" + - "\323\344\223\002-\022+/v1alpha/{name=properties/*/adSen" + - "seLinks/*}\022\323\001\n\021CreateAdSenseLink\0228.googl" + - "e.analytics.admin.v1alpha.CreateAdSenseL" + - "inkRequest\032+.google.analytics.admin.v1al" + - "pha.AdSenseLink\"W\332A\023parent,adsense_link\202" + - "\323\344\223\002;\"+/v1alpha/{parent=properties/*}/ad" + - "SenseLinks:\014adsense_link\022\241\001\n\021DeleteAdSen" + - "seLink\0228.google.analytics.admin.v1alpha." + - "DeleteAdSenseLinkRequest\032\026.google.protob" + - "uf.Empty\":\332A\004name\202\323\344\223\002-*+/v1alpha/{name=" + - "properties/*/adSenseLinks/*}\022\303\001\n\020ListAdS" + - "enseLinks\0227.google.analytics.admin.v1alp" + - "ha.ListAdSenseLinksRequest\0328.google.anal" + - "ytics.admin.v1alpha.ListAdSenseLinksResp" + - "onse\"<\332A\006parent\202\323\344\223\002-\022+/v1alpha/{parent=" + - "properties/*}/adSenseLinks\022\316\001\n\022GetEventC" + - "reateRule\0229.google.analytics.admin.v1alp" + - "ha.GetEventCreateRuleRequest\032/.google.an" + - "alytics.admin.v1alpha.EventCreateRule\"L\332" + - "A\004name\202\323\344\223\002?\022=/v1alpha/{name=properties/" + - "*/dataStreams/*/eventCreateRules/*}\022\341\001\n\024" + - "ListEventCreateRules\022;.google.analytics." + - "admin.v1alpha.ListEventCreateRulesReques" + - "t\032<.google.analytics.admin.v1alpha.ListE" + - "ventCreateRulesResponse\"N\332A\006parent\202\323\344\223\002?" + - "\022=/v1alpha/{parent=properties/*/dataStre" + - "ams/*}/eventCreateRules\022\373\001\n\025CreateEventC" + - "reateRule\022<.google.analytics.admin.v1alp" + - "ha.CreateEventCreateRuleRequest\032/.google" + - ".analytics.admin.v1alpha.EventCreateRule" + - "\"s\332A\030parent,event_create_rule\202\323\344\223\002R\"=/v1" + - "alpha/{parent=properties/*/dataStreams/*" + - "}/eventCreateRules:\021event_create_rule\022\223\002" + - "\n\025UpdateEventCreateRule\022<.google.analyti" + - "cs.admin.v1alpha.UpdateEventCreateRuleRe" + - "quest\032/.google.analytics.admin.v1alpha.E" + - "ventCreateRule\"\212\001\332A\035event_create_rule,up" + - "date_mask\202\323\344\223\002d2O/v1alpha/{event_create_" + - "rule.name=properties/*/dataStreams/*/eve" + - "ntCreateRules/*}:\021event_create_rule\022\273\001\n\025" + - "DeleteEventCreateRule\022<.google.analytics" + - ".admin.v1alpha.DeleteEventCreateRuleRequ" + - "est\032\026.google.protobuf.Empty\"L\332A\004name\202\323\344\223" + - "\002?*=/v1alpha/{name=properties/*/dataStre" + - "ams/*/eventCreateRules/*}\022\272\002\n\033UpdateData" + - "RedactionSettings\022B.google.analytics.adm" + - "in.v1alpha.UpdateDataRedactionSettingsRe" + - "quest\0325.google.analytics.admin.v1alpha.D" + - "ataRedactionSettings\"\237\001\332A#data_redaction" + - "_settings,update_mask\202\323\344\223\002s2X/v1alpha/{d" + - "ata_redaction_settings.name=properties/*" + - "/dataStreams/*/dataRedactionSettings}:\027d" + - "ata_redaction_settings\022\343\001\n\030GetDataRedact" + - "ionSettings\022?.google.analytics.admin.v1a" + - "lpha.GetDataRedactionSettingsRequest\0325.g" + - "oogle.analytics.admin.v1alpha.DataRedact" + - "ionSettings\"O\332A\004name\202\323\344\223\002B\022@/v1alpha/{na" + - "me=properties/*/dataStreams/*/dataRedact" + - "ionSettings}\022\306\001\n\024CreateRollupProperty\022;." + - "google.analytics.admin.v1alpha.CreateRol" + - "lupPropertyRequest\032<.google.analytics.ad" + - "min.v1alpha.CreateRollupPropertyResponse" + - "\"3\202\323\344\223\002-\"(/v1alpha/properties:createRoll" + - "upProperty:\001*\022\344\001\n\033GetRollupPropertySourc" + - "eLink\022B.google.analytics.admin.v1alpha.G" + - "etRollupPropertySourceLinkRequest\0328.goog" + - "le.analytics.admin.v1alpha.RollupPropert" + - "ySourceLink\"G\332A\004name\202\323\344\223\002:\0228/v1alpha/{na" + - "me=properties/*/rollupPropertySourceLink" + - "s/*}\022\367\001\n\035ListRollupPropertySourceLinks\022D" + - ".google.analytics.admin.v1alpha.ListRoll" + - "upPropertySourceLinksRequest\032E.google.an" + - "alytics.admin.v1alpha.ListRollupProperty" + - "SourceLinksResponse\"I\332A\006parent\202\323\344\223\002:\0228/v" + - "1alpha/{parent=properties/*}/rollupPrope" + - "rtySourceLinks\022\246\002\n\036CreateRollupPropertyS" + - "ourceLink\022E.google.analytics.admin.v1alp" + - "ha.CreateRollupPropertySourceLinkRequest" + - "\0328.google.analytics.admin.v1alpha.Rollup" + - "PropertySourceLink\"\202\001\332A\"parent,rollup_pr" + - "operty_source_link\202\323\344\223\002W\"8/v1alpha/{pare" + - "nt=properties/*}/rollupPropertySourceLin" + - "ks:\033rollup_property_source_link\022\310\001\n\036Dele" + - "teRollupPropertySourceLink\022E.google.anal" + - "ytics.admin.v1alpha.DeleteRollupProperty" + - "SourceLinkRequest\032\026.google.protobuf.Empt" + - "y\"G\332A\004name\202\323\344\223\002:*8/v1alpha/{name=propert" + - "ies/*/rollupPropertySourceLinks/*}\022\272\001\n\021C" + - "reateSubproperty\0228.google.analytics.admi" + - "n.v1alpha.CreateSubpropertyRequest\0329.goo" + - "gle.analytics.admin.v1alpha.CreateSubpro" + - "pertyResponse\"0\202\323\344\223\002*\"%/v1alpha/properti" + - "es:createSubproperty:\001*\022\302\001\n\034DeleteSubpro" + - "pertyEventFilter\022C.google.analytics.admi" + - "n.v1alpha.DeleteSubpropertyEventFilterRe" + - "quest\032\026.google.protobuf.Empty\"E\332A\004name\202\323" + - "\344\223\0028*6/v1alpha/{name=properties/*/subpro" + - "pertyEventFilters/*}\022\227\002\n\034CreateSubproper" + - "tyEventFilter\022C.google.analytics.admin.v" + - "1alpha.CreateSubpropertyEventFilterReque" + - "st\0326.google.analytics.admin.v1alpha.Subp" + - "ropertyEventFilter\"z\332A\037parent,subpropert" + - "y_event_filter\202\323\344\223\002R\"6/v1alpha/{parent=p" + - "roperties/*}/subpropertyEventFilters:\030su" + - "bproperty_event_filter\032\374\001\312A\035analyticsadm" + - "in.googleapis.com\322A\330\001https://www.googlea" + - "pis.com/auth/analytics.edit,https://www." + - "googleapis.com/auth/analytics.manage.use" + - "rs,https://www.googleapis.com/auth/analy" + - "tics.manage.users.readonly,https://www.g" + - "oogleapis.com/auth/analytics.readonlyB{\n" + - "\"com.google.analytics.admin.v1alphaB\023Ana" + - "lyticsAdminProtoP\001Z>cloud.google.com/go/" + - "analytics/admin/apiv1alpha/adminpb;admin" + - "pbb\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.ChannelGroupProto.getDescriptor(), - com.google.analytics.admin.v1alpha.EventCreateAndEdit.getDescriptor(), - com.google.analytics.admin.v1alpha.ExpandedDataSetProto.getDescriptor(), - com.google.analytics.admin.v1alpha.ResourcesProto.getDescriptor(), - com.google.analytics.admin.v1alpha.SubpropertyEventFilterProto.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", "IncludeAllUsers", "ExpandGroups", }); - 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_CreateFirebaseLinkRequest_descriptor = - getDescriptor().getMessageTypes().get(15); - 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(16); - 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(17); - 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(18); - 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(19); - 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(20); - 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(21); - 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(22); - 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(23); - 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(24); - 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(25); - 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(26); - 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(27); - 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(28); - 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(29); - 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(30); - 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(31); - 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(32); - 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(33); - 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(34); - 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(35); - 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(36); - 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(37); - 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_GetSKAdNetworkConversionValueSchemaRequest_descriptor = - getDescriptor().getMessageTypes().get(38); - internal_static_google_analytics_admin_v1alpha_GetSKAdNetworkConversionValueSchemaRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_GetSKAdNetworkConversionValueSchemaRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_analytics_admin_v1alpha_CreateSKAdNetworkConversionValueSchemaRequest_descriptor = - getDescriptor().getMessageTypes().get(39); - internal_static_google_analytics_admin_v1alpha_CreateSKAdNetworkConversionValueSchemaRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_CreateSKAdNetworkConversionValueSchemaRequest_descriptor, - new java.lang.String[] { "Parent", "SkadnetworkConversionValueSchema", }); - internal_static_google_analytics_admin_v1alpha_DeleteSKAdNetworkConversionValueSchemaRequest_descriptor = - getDescriptor().getMessageTypes().get(40); - internal_static_google_analytics_admin_v1alpha_DeleteSKAdNetworkConversionValueSchemaRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_DeleteSKAdNetworkConversionValueSchemaRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_analytics_admin_v1alpha_UpdateSKAdNetworkConversionValueSchemaRequest_descriptor = - getDescriptor().getMessageTypes().get(41); - internal_static_google_analytics_admin_v1alpha_UpdateSKAdNetworkConversionValueSchemaRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_UpdateSKAdNetworkConversionValueSchemaRequest_descriptor, - new java.lang.String[] { "SkadnetworkConversionValueSchema", "UpdateMask", }); - internal_static_google_analytics_admin_v1alpha_ListSKAdNetworkConversionValueSchemasRequest_descriptor = - getDescriptor().getMessageTypes().get(42); - internal_static_google_analytics_admin_v1alpha_ListSKAdNetworkConversionValueSchemasRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_ListSKAdNetworkConversionValueSchemasRequest_descriptor, - new java.lang.String[] { "Parent", "PageSize", "PageToken", }); - internal_static_google_analytics_admin_v1alpha_ListSKAdNetworkConversionValueSchemasResponse_descriptor = - getDescriptor().getMessageTypes().get(43); - internal_static_google_analytics_admin_v1alpha_ListSKAdNetworkConversionValueSchemasResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_ListSKAdNetworkConversionValueSchemasResponse_descriptor, - new java.lang.String[] { "SkadnetworkConversionValueSchemas", "NextPageToken", }); - internal_static_google_analytics_admin_v1alpha_GetGoogleSignalsSettingsRequest_descriptor = - getDescriptor().getMessageTypes().get(44); - 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(45); - 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(46); - 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_UpdateConversionEventRequest_descriptor = - getDescriptor().getMessageTypes().get(47); - internal_static_google_analytics_admin_v1alpha_UpdateConversionEventRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_UpdateConversionEventRequest_descriptor, - new java.lang.String[] { "ConversionEvent", "UpdateMask", }); - internal_static_google_analytics_admin_v1alpha_GetConversionEventRequest_descriptor = - getDescriptor().getMessageTypes().get(48); - 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(49); - 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(50); - 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(51); - 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(52); - 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(53); - 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(54); - 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(55); - 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(56); - 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(57); - 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(58); - 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(59); - 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(60); - 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(61); - 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(62); - 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(63); - 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(64); - 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(65); - 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(66); - 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(67); - 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(68); - 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(69); - 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(70); - 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(71); - 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(72); - 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(73); - 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(74); - 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(75); - 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(76); - 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(77); - 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(78); - 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(79); - 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(80); - 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(81); - 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(82); - 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(83); - 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(84); - 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(85); - 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(86); - 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(87); - 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(88); - 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(89); - 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(90); - 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(91); - 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(92); - 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(93); - 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(94); - 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(95); - 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(96); - 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(97); - 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(98); - 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(99); - 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_GetAccessBindingRequest_descriptor = - getDescriptor().getMessageTypes().get(100); - internal_static_google_analytics_admin_v1alpha_GetAccessBindingRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_GetAccessBindingRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_analytics_admin_v1alpha_BatchGetAccessBindingsRequest_descriptor = - getDescriptor().getMessageTypes().get(101); - internal_static_google_analytics_admin_v1alpha_BatchGetAccessBindingsRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_BatchGetAccessBindingsRequest_descriptor, - new java.lang.String[] { "Parent", "Names", }); - internal_static_google_analytics_admin_v1alpha_BatchGetAccessBindingsResponse_descriptor = - getDescriptor().getMessageTypes().get(102); - internal_static_google_analytics_admin_v1alpha_BatchGetAccessBindingsResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_BatchGetAccessBindingsResponse_descriptor, - new java.lang.String[] { "AccessBindings", }); - internal_static_google_analytics_admin_v1alpha_ListAccessBindingsRequest_descriptor = - getDescriptor().getMessageTypes().get(103); - internal_static_google_analytics_admin_v1alpha_ListAccessBindingsRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_ListAccessBindingsRequest_descriptor, - new java.lang.String[] { "Parent", "PageSize", "PageToken", }); - internal_static_google_analytics_admin_v1alpha_ListAccessBindingsResponse_descriptor = - getDescriptor().getMessageTypes().get(104); - internal_static_google_analytics_admin_v1alpha_ListAccessBindingsResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_ListAccessBindingsResponse_descriptor, - new java.lang.String[] { "AccessBindings", "NextPageToken", }); - internal_static_google_analytics_admin_v1alpha_CreateAccessBindingRequest_descriptor = - getDescriptor().getMessageTypes().get(105); - internal_static_google_analytics_admin_v1alpha_CreateAccessBindingRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_CreateAccessBindingRequest_descriptor, - new java.lang.String[] { "Parent", "AccessBinding", }); - internal_static_google_analytics_admin_v1alpha_BatchCreateAccessBindingsRequest_descriptor = - getDescriptor().getMessageTypes().get(106); - internal_static_google_analytics_admin_v1alpha_BatchCreateAccessBindingsRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_BatchCreateAccessBindingsRequest_descriptor, - new java.lang.String[] { "Parent", "Requests", }); - internal_static_google_analytics_admin_v1alpha_BatchCreateAccessBindingsResponse_descriptor = - getDescriptor().getMessageTypes().get(107); - internal_static_google_analytics_admin_v1alpha_BatchCreateAccessBindingsResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_BatchCreateAccessBindingsResponse_descriptor, - new java.lang.String[] { "AccessBindings", }); - internal_static_google_analytics_admin_v1alpha_UpdateAccessBindingRequest_descriptor = - getDescriptor().getMessageTypes().get(108); - internal_static_google_analytics_admin_v1alpha_UpdateAccessBindingRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_UpdateAccessBindingRequest_descriptor, - new java.lang.String[] { "AccessBinding", }); - internal_static_google_analytics_admin_v1alpha_BatchUpdateAccessBindingsRequest_descriptor = - getDescriptor().getMessageTypes().get(109); - internal_static_google_analytics_admin_v1alpha_BatchUpdateAccessBindingsRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_BatchUpdateAccessBindingsRequest_descriptor, - new java.lang.String[] { "Parent", "Requests", }); - internal_static_google_analytics_admin_v1alpha_BatchUpdateAccessBindingsResponse_descriptor = - getDescriptor().getMessageTypes().get(110); - internal_static_google_analytics_admin_v1alpha_BatchUpdateAccessBindingsResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_BatchUpdateAccessBindingsResponse_descriptor, - new java.lang.String[] { "AccessBindings", }); - internal_static_google_analytics_admin_v1alpha_DeleteAccessBindingRequest_descriptor = - getDescriptor().getMessageTypes().get(111); - internal_static_google_analytics_admin_v1alpha_DeleteAccessBindingRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_DeleteAccessBindingRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_analytics_admin_v1alpha_BatchDeleteAccessBindingsRequest_descriptor = - getDescriptor().getMessageTypes().get(112); - internal_static_google_analytics_admin_v1alpha_BatchDeleteAccessBindingsRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_BatchDeleteAccessBindingsRequest_descriptor, - new java.lang.String[] { "Parent", "Requests", }); - internal_static_google_analytics_admin_v1alpha_CreateExpandedDataSetRequest_descriptor = - getDescriptor().getMessageTypes().get(113); - internal_static_google_analytics_admin_v1alpha_CreateExpandedDataSetRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_CreateExpandedDataSetRequest_descriptor, - new java.lang.String[] { "Parent", "ExpandedDataSet", }); - internal_static_google_analytics_admin_v1alpha_UpdateExpandedDataSetRequest_descriptor = - getDescriptor().getMessageTypes().get(114); - internal_static_google_analytics_admin_v1alpha_UpdateExpandedDataSetRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_UpdateExpandedDataSetRequest_descriptor, - new java.lang.String[] { "ExpandedDataSet", "UpdateMask", }); - internal_static_google_analytics_admin_v1alpha_DeleteExpandedDataSetRequest_descriptor = - getDescriptor().getMessageTypes().get(115); - internal_static_google_analytics_admin_v1alpha_DeleteExpandedDataSetRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_DeleteExpandedDataSetRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_analytics_admin_v1alpha_GetExpandedDataSetRequest_descriptor = - getDescriptor().getMessageTypes().get(116); - internal_static_google_analytics_admin_v1alpha_GetExpandedDataSetRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_GetExpandedDataSetRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_analytics_admin_v1alpha_ListExpandedDataSetsRequest_descriptor = - getDescriptor().getMessageTypes().get(117); - internal_static_google_analytics_admin_v1alpha_ListExpandedDataSetsRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_ListExpandedDataSetsRequest_descriptor, - new java.lang.String[] { "Parent", "PageSize", "PageToken", }); - internal_static_google_analytics_admin_v1alpha_ListExpandedDataSetsResponse_descriptor = - getDescriptor().getMessageTypes().get(118); - internal_static_google_analytics_admin_v1alpha_ListExpandedDataSetsResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_ListExpandedDataSetsResponse_descriptor, - new java.lang.String[] { "ExpandedDataSets", "NextPageToken", }); - internal_static_google_analytics_admin_v1alpha_CreateChannelGroupRequest_descriptor = - getDescriptor().getMessageTypes().get(119); - internal_static_google_analytics_admin_v1alpha_CreateChannelGroupRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_CreateChannelGroupRequest_descriptor, - new java.lang.String[] { "Parent", "ChannelGroup", }); - internal_static_google_analytics_admin_v1alpha_UpdateChannelGroupRequest_descriptor = - getDescriptor().getMessageTypes().get(120); - internal_static_google_analytics_admin_v1alpha_UpdateChannelGroupRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_UpdateChannelGroupRequest_descriptor, - new java.lang.String[] { "ChannelGroup", "UpdateMask", }); - internal_static_google_analytics_admin_v1alpha_DeleteChannelGroupRequest_descriptor = - getDescriptor().getMessageTypes().get(121); - internal_static_google_analytics_admin_v1alpha_DeleteChannelGroupRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_DeleteChannelGroupRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_analytics_admin_v1alpha_GetChannelGroupRequest_descriptor = - getDescriptor().getMessageTypes().get(122); - internal_static_google_analytics_admin_v1alpha_GetChannelGroupRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_GetChannelGroupRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_analytics_admin_v1alpha_ListChannelGroupsRequest_descriptor = - getDescriptor().getMessageTypes().get(123); - internal_static_google_analytics_admin_v1alpha_ListChannelGroupsRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_ListChannelGroupsRequest_descriptor, - new java.lang.String[] { "Parent", "PageSize", "PageToken", }); - internal_static_google_analytics_admin_v1alpha_ListChannelGroupsResponse_descriptor = - getDescriptor().getMessageTypes().get(124); - internal_static_google_analytics_admin_v1alpha_ListChannelGroupsResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_ListChannelGroupsResponse_descriptor, - new java.lang.String[] { "ChannelGroups", "NextPageToken", }); - internal_static_google_analytics_admin_v1alpha_SetAutomatedGa4ConfigurationOptOutRequest_descriptor = - getDescriptor().getMessageTypes().get(125); - 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(126); - 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(127); - 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(128); - 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(129); - 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(130); - 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(131); - 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", }); - internal_static_google_analytics_admin_v1alpha_GetEnhancedMeasurementSettingsRequest_descriptor = - getDescriptor().getMessageTypes().get(132); - internal_static_google_analytics_admin_v1alpha_GetEnhancedMeasurementSettingsRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_GetEnhancedMeasurementSettingsRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_analytics_admin_v1alpha_UpdateEnhancedMeasurementSettingsRequest_descriptor = - getDescriptor().getMessageTypes().get(133); - internal_static_google_analytics_admin_v1alpha_UpdateEnhancedMeasurementSettingsRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_UpdateEnhancedMeasurementSettingsRequest_descriptor, - new java.lang.String[] { "EnhancedMeasurementSettings", "UpdateMask", }); - internal_static_google_analytics_admin_v1alpha_GetDataRedactionSettingsRequest_descriptor = - getDescriptor().getMessageTypes().get(134); - internal_static_google_analytics_admin_v1alpha_GetDataRedactionSettingsRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_GetDataRedactionSettingsRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_analytics_admin_v1alpha_UpdateDataRedactionSettingsRequest_descriptor = - getDescriptor().getMessageTypes().get(135); - internal_static_google_analytics_admin_v1alpha_UpdateDataRedactionSettingsRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_UpdateDataRedactionSettingsRequest_descriptor, - new java.lang.String[] { "DataRedactionSettings", "UpdateMask", }); - internal_static_google_analytics_admin_v1alpha_CreateConnectedSiteTagRequest_descriptor = - getDescriptor().getMessageTypes().get(136); - internal_static_google_analytics_admin_v1alpha_CreateConnectedSiteTagRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_CreateConnectedSiteTagRequest_descriptor, - new java.lang.String[] { "Property", "ConnectedSiteTag", }); - internal_static_google_analytics_admin_v1alpha_CreateConnectedSiteTagResponse_descriptor = - getDescriptor().getMessageTypes().get(137); - internal_static_google_analytics_admin_v1alpha_CreateConnectedSiteTagResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_CreateConnectedSiteTagResponse_descriptor, - new java.lang.String[] { }); - internal_static_google_analytics_admin_v1alpha_DeleteConnectedSiteTagRequest_descriptor = - getDescriptor().getMessageTypes().get(138); - internal_static_google_analytics_admin_v1alpha_DeleteConnectedSiteTagRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_DeleteConnectedSiteTagRequest_descriptor, - new java.lang.String[] { "Property", "TagId", }); - internal_static_google_analytics_admin_v1alpha_ListConnectedSiteTagsRequest_descriptor = - getDescriptor().getMessageTypes().get(139); - internal_static_google_analytics_admin_v1alpha_ListConnectedSiteTagsRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_ListConnectedSiteTagsRequest_descriptor, - new java.lang.String[] { "Property", }); - internal_static_google_analytics_admin_v1alpha_ListConnectedSiteTagsResponse_descriptor = - getDescriptor().getMessageTypes().get(140); - internal_static_google_analytics_admin_v1alpha_ListConnectedSiteTagsResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_ListConnectedSiteTagsResponse_descriptor, - new java.lang.String[] { "ConnectedSiteTags", }); - internal_static_google_analytics_admin_v1alpha_CreateAdSenseLinkRequest_descriptor = - getDescriptor().getMessageTypes().get(141); - internal_static_google_analytics_admin_v1alpha_CreateAdSenseLinkRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_CreateAdSenseLinkRequest_descriptor, - new java.lang.String[] { "Parent", "AdsenseLink", }); - internal_static_google_analytics_admin_v1alpha_GetAdSenseLinkRequest_descriptor = - getDescriptor().getMessageTypes().get(142); - internal_static_google_analytics_admin_v1alpha_GetAdSenseLinkRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_GetAdSenseLinkRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_analytics_admin_v1alpha_DeleteAdSenseLinkRequest_descriptor = - getDescriptor().getMessageTypes().get(143); - internal_static_google_analytics_admin_v1alpha_DeleteAdSenseLinkRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_DeleteAdSenseLinkRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_analytics_admin_v1alpha_ListAdSenseLinksRequest_descriptor = - getDescriptor().getMessageTypes().get(144); - internal_static_google_analytics_admin_v1alpha_ListAdSenseLinksRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_ListAdSenseLinksRequest_descriptor, - new java.lang.String[] { "Parent", "PageSize", "PageToken", }); - internal_static_google_analytics_admin_v1alpha_ListAdSenseLinksResponse_descriptor = - getDescriptor().getMessageTypes().get(145); - internal_static_google_analytics_admin_v1alpha_ListAdSenseLinksResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_ListAdSenseLinksResponse_descriptor, - new java.lang.String[] { "AdsenseLinks", "NextPageToken", }); - internal_static_google_analytics_admin_v1alpha_FetchConnectedGa4PropertyRequest_descriptor = - getDescriptor().getMessageTypes().get(146); - internal_static_google_analytics_admin_v1alpha_FetchConnectedGa4PropertyRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_FetchConnectedGa4PropertyRequest_descriptor, - new java.lang.String[] { "Property", }); - internal_static_google_analytics_admin_v1alpha_FetchConnectedGa4PropertyResponse_descriptor = - getDescriptor().getMessageTypes().get(147); - internal_static_google_analytics_admin_v1alpha_FetchConnectedGa4PropertyResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_FetchConnectedGa4PropertyResponse_descriptor, - new java.lang.String[] { "Property", }); - internal_static_google_analytics_admin_v1alpha_CreateEventCreateRuleRequest_descriptor = - getDescriptor().getMessageTypes().get(148); - internal_static_google_analytics_admin_v1alpha_CreateEventCreateRuleRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_CreateEventCreateRuleRequest_descriptor, - new java.lang.String[] { "Parent", "EventCreateRule", }); - internal_static_google_analytics_admin_v1alpha_UpdateEventCreateRuleRequest_descriptor = - getDescriptor().getMessageTypes().get(149); - internal_static_google_analytics_admin_v1alpha_UpdateEventCreateRuleRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_UpdateEventCreateRuleRequest_descriptor, - new java.lang.String[] { "EventCreateRule", "UpdateMask", }); - internal_static_google_analytics_admin_v1alpha_DeleteEventCreateRuleRequest_descriptor = - getDescriptor().getMessageTypes().get(150); - internal_static_google_analytics_admin_v1alpha_DeleteEventCreateRuleRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_DeleteEventCreateRuleRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_analytics_admin_v1alpha_GetEventCreateRuleRequest_descriptor = - getDescriptor().getMessageTypes().get(151); - internal_static_google_analytics_admin_v1alpha_GetEventCreateRuleRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_GetEventCreateRuleRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_analytics_admin_v1alpha_ListEventCreateRulesRequest_descriptor = - getDescriptor().getMessageTypes().get(152); - internal_static_google_analytics_admin_v1alpha_ListEventCreateRulesRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_ListEventCreateRulesRequest_descriptor, - new java.lang.String[] { "Parent", "PageSize", "PageToken", }); - internal_static_google_analytics_admin_v1alpha_ListEventCreateRulesResponse_descriptor = - getDescriptor().getMessageTypes().get(153); - internal_static_google_analytics_admin_v1alpha_ListEventCreateRulesResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_ListEventCreateRulesResponse_descriptor, - new java.lang.String[] { "EventCreateRules", "NextPageToken", }); - internal_static_google_analytics_admin_v1alpha_CreateRollupPropertyRequest_descriptor = - getDescriptor().getMessageTypes().get(154); - internal_static_google_analytics_admin_v1alpha_CreateRollupPropertyRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_CreateRollupPropertyRequest_descriptor, - new java.lang.String[] { "RollupProperty", "SourceProperties", }); - internal_static_google_analytics_admin_v1alpha_CreateRollupPropertyResponse_descriptor = - getDescriptor().getMessageTypes().get(155); - internal_static_google_analytics_admin_v1alpha_CreateRollupPropertyResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_CreateRollupPropertyResponse_descriptor, - new java.lang.String[] { "RollupProperty", "RollupPropertySourceLinks", }); - internal_static_google_analytics_admin_v1alpha_GetRollupPropertySourceLinkRequest_descriptor = - getDescriptor().getMessageTypes().get(156); - internal_static_google_analytics_admin_v1alpha_GetRollupPropertySourceLinkRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_GetRollupPropertySourceLinkRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_analytics_admin_v1alpha_ListRollupPropertySourceLinksRequest_descriptor = - getDescriptor().getMessageTypes().get(157); - internal_static_google_analytics_admin_v1alpha_ListRollupPropertySourceLinksRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_ListRollupPropertySourceLinksRequest_descriptor, - new java.lang.String[] { "Parent", "PageSize", "PageToken", }); - internal_static_google_analytics_admin_v1alpha_ListRollupPropertySourceLinksResponse_descriptor = - getDescriptor().getMessageTypes().get(158); - internal_static_google_analytics_admin_v1alpha_ListRollupPropertySourceLinksResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_ListRollupPropertySourceLinksResponse_descriptor, - new java.lang.String[] { "RollupPropertySourceLinks", "NextPageToken", }); - internal_static_google_analytics_admin_v1alpha_CreateRollupPropertySourceLinkRequest_descriptor = - getDescriptor().getMessageTypes().get(159); - internal_static_google_analytics_admin_v1alpha_CreateRollupPropertySourceLinkRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_CreateRollupPropertySourceLinkRequest_descriptor, - new java.lang.String[] { "Parent", "RollupPropertySourceLink", }); - internal_static_google_analytics_admin_v1alpha_DeleteRollupPropertySourceLinkRequest_descriptor = - getDescriptor().getMessageTypes().get(160); - internal_static_google_analytics_admin_v1alpha_DeleteRollupPropertySourceLinkRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_DeleteRollupPropertySourceLinkRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_analytics_admin_v1alpha_CreateSubpropertyRequest_descriptor = - getDescriptor().getMessageTypes().get(161); - internal_static_google_analytics_admin_v1alpha_CreateSubpropertyRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_CreateSubpropertyRequest_descriptor, - new java.lang.String[] { "Parent", "Subproperty", "SubpropertyEventFilter", }); - internal_static_google_analytics_admin_v1alpha_CreateSubpropertyResponse_descriptor = - getDescriptor().getMessageTypes().get(162); - internal_static_google_analytics_admin_v1alpha_CreateSubpropertyResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_CreateSubpropertyResponse_descriptor, - new java.lang.String[] { "Subproperty", "SubpropertyEventFilter", }); - internal_static_google_analytics_admin_v1alpha_CreateSubpropertyEventFilterRequest_descriptor = - getDescriptor().getMessageTypes().get(163); - internal_static_google_analytics_admin_v1alpha_CreateSubpropertyEventFilterRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_CreateSubpropertyEventFilterRequest_descriptor, - new java.lang.String[] { "Parent", "SubpropertyEventFilter", }); - internal_static_google_analytics_admin_v1alpha_GetSubpropertyEventFilterRequest_descriptor = - getDescriptor().getMessageTypes().get(164); - internal_static_google_analytics_admin_v1alpha_GetSubpropertyEventFilterRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_GetSubpropertyEventFilterRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_analytics_admin_v1alpha_ListSubpropertyEventFiltersRequest_descriptor = - getDescriptor().getMessageTypes().get(165); - internal_static_google_analytics_admin_v1alpha_ListSubpropertyEventFiltersRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_ListSubpropertyEventFiltersRequest_descriptor, - new java.lang.String[] { "Parent", "PageSize", "PageToken", }); - internal_static_google_analytics_admin_v1alpha_ListSubpropertyEventFiltersResponse_descriptor = - getDescriptor().getMessageTypes().get(166); - internal_static_google_analytics_admin_v1alpha_ListSubpropertyEventFiltersResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_ListSubpropertyEventFiltersResponse_descriptor, - new java.lang.String[] { "SubpropertyEventFilters", "NextPageToken", }); - internal_static_google_analytics_admin_v1alpha_UpdateSubpropertyEventFilterRequest_descriptor = - getDescriptor().getMessageTypes().get(167); - internal_static_google_analytics_admin_v1alpha_UpdateSubpropertyEventFilterRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_UpdateSubpropertyEventFilterRequest_descriptor, - new java.lang.String[] { "SubpropertyEventFilter", "UpdateMask", }); - internal_static_google_analytics_admin_v1alpha_DeleteSubpropertyEventFilterRequest_descriptor = - getDescriptor().getMessageTypes().get(168); - internal_static_google_analytics_admin_v1alpha_DeleteSubpropertyEventFilterRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_DeleteSubpropertyEventFilterRequest_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.v1alpha.AccessReportProto.getDescriptor(); - com.google.analytics.admin.v1alpha.AudienceProto.getDescriptor(); - com.google.analytics.admin.v1alpha.ChannelGroupProto.getDescriptor(); - com.google.analytics.admin.v1alpha.EventCreateAndEdit.getDescriptor(); - com.google.analytics.admin.v1alpha.ExpandedDataSetProto.getDescriptor(); - com.google.analytics.admin.v1alpha.ResourcesProto.getDescriptor(); - com.google.analytics.admin.v1alpha.SubpropertyEventFilterProto.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 370dfde7c16b..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,584 +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(); - } - - 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 f9f7f7a69aa4..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,654 +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(); - } - - 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 88d7e20818de..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\"\206\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\031\n\nfield_name\030\001" + - " \001(\tB\005\342A\002\002\005\022\"\n\024at_any_point_in_time\030\006 \001(" + - "\010B\004\342A\001\001\022!\n\023in_any_n_day_period\030\007 \001(\005B\004\342A" + - "\001\001\032\246\002\n\014StringFilter\022p\n\nmatch_type\030\001 \001(\0162" + - "V.google.analytics.admin.v1alpha.Audienc" + - "eDimensionOrMetricFilter.StringFilter.Ma" + - "tchTypeB\004\342A\001\002\022\023\n\005value\030\002 \001(\tB\004\342A\001\002\022\034\n\016ca" + - "se_sensitive\030\003 \001(\010B\004\342A\001\001\"q\n\tMatchType\022\032\n" + - "\026MATCH_TYPE_UNSPECIFIED\020\000\022\t\n\005EXACT\020\001\022\017\n\013" + - "BEGINS_WITH\020\002\022\r\n\tENDS_WITH\020\003\022\014\n\010CONTAINS" + - "\020\004\022\017\n\013FULL_REGEXP\020\005\032B\n\014InListFilter\022\024\n\006v" + - "alues\030\001 \003(\tB\004\342A\001\002\022\034\n\016case_sensitive\030\002 \001(" + - "\010B\004\342A\001\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_va" + - "lue\032\270\002\n\rNumericFilter\022p\n\toperation\030\001 \001(\016" + - "2W.google.analytics.admin.v1alpha.Audien" + - "ceDimensionOrMetricFilter.NumericFilter." + - "OperationB\004\342A\001\002\022a\n\005value\030\002 \001(\0132L.google." + - "analytics.admin.v1alpha.AudienceDimensio" + - "nOrMetricFilter.NumericValueB\004\342A\001\002\"R\n\tOp" + - "eration\022\031\n\025OPERATION_UNSPECIFIED\020\000\022\t\n\005EQ" + - "UAL\020\001\022\r\n\tLESS_THAN\020\002\022\020\n\014GREATER_THAN\020\004\032\335" + - "\001\n\rBetweenFilter\022f\n\nfrom_value\030\001 \001(\0132L.g" + - "oogle.analytics.admin.v1alpha.AudienceDi" + - "mensionOrMetricFilter.NumericValueB\004\342A\001\002" + - "\022d\n\010to_value\030\002 \001(\0132L.google.analytics.ad" + - "min.v1alpha.AudienceDimensionOrMetricFil" + - "ter.NumericValueB\004\342A\001\002B\014\n\none_filter\"\233\001\n" + - "\023AudienceEventFilter\022\031\n\nevent_name\030\001 \001(\t" + - "B\005\342A\002\002\005\022i\n!event_parameter_filter_expres" + - "sion\030\002 \001(\01328.google.analytics.admin.v1al" + - "pha.AudienceFilterExpressionB\004\342A\001\001\"\317\003\n\030A" + - "udienceFilterExpression\022Q\n\tand_group\030\001 \001" + - "(\0132<.google.analytics.admin.v1alpha.Audi" + - "enceFilterExpressionListH\000\022P\n\010or_group\030\002" + - " \001(\0132<.google.analytics.admin.v1alpha.Au" + - "dienceFilterExpressionListH\000\022R\n\016not_expr" + - "ession\030\003 \001(\01328.google.analytics.admin.v1" + - "alpha.AudienceFilterExpressionH\000\022e\n\032dime" + - "nsion_or_metric_filter\030\004 \001(\0132?.google.an" + - "alytics.admin.v1alpha.AudienceDimensionO" + - "rMetricFilterH\000\022K\n\014event_filter\030\005 \001(\01323." + - "google.analytics.admin.v1alpha.AudienceE" + - "ventFilterH\000B\006\n\004expr\"t\n\034AudienceFilterEx" + - "pressionList\022T\n\022filter_expressions\030\001 \003(\013" + - "28.google.analytics.admin.v1alpha.Audien" + - "ceFilterExpression\"\275\001\n\024AudienceSimpleFil" + - "ter\022I\n\005scope\030\001 \001(\01623.google.analytics.ad" + - "min.v1alpha.AudienceFilterScopeB\005\342A\002\002\005\022Z" + - "\n\021filter_expression\030\002 \001(\01328.google.analy" + - "tics.admin.v1alpha.AudienceFilterExpress" + - "ionB\005\342A\002\002\005\"\263\004\n\026AudienceSequenceFilter\022I\n" + - "\005scope\030\001 \001(\01623.google.analytics.admin.v1" + - "alpha.AudienceFilterScopeB\005\342A\002\002\005\022B\n\031sequ" + - "ence_maximum_duration\030\002 \001(\0132\031.google.pro" + - "tobuf.DurationB\004\342A\001\001\022i\n\016sequence_steps\030\003" + - " \003(\0132K.google.analytics.admin.v1alpha.Au" + - "dienceSequenceFilter.AudienceSequenceSte" + - "pB\004\342A\001\002\032\236\002\n\024AudienceSequenceStep\022I\n\005scop" + - "e\030\001 \001(\01623.google.analytics.admin.v1alpha" + - ".AudienceFilterScopeB\005\342A\002\002\005\022!\n\023immediate" + - "ly_follows\030\002 \001(\010B\004\342A\001\001\022<\n\023constraint_dur" + - "ation\030\003 \001(\0132\031.google.protobuf.DurationB\004" + - "\342A\001\001\022Z\n\021filter_expression\030\004 \001(\01328.google" + - ".analytics.admin.v1alpha.AudienceFilterE" + - "xpressionB\005\342A\002\002\005\"\374\002\n\024AudienceFilterClaus" + - "e\022M\n\rsimple_filter\030\002 \001(\01324.google.analyt" + - "ics.admin.v1alpha.AudienceSimpleFilterH\000" + - "\022Q\n\017sequence_filter\030\003 \001(\01326.google.analy" + - "tics.admin.v1alpha.AudienceSequenceFilte" + - "rH\000\022b\n\013clause_type\030\001 \001(\0162G.google.analyt" + - "ics.admin.v1alpha.AudienceFilterClause.A" + - "udienceClauseTypeB\004\342A\001\002\"T\n\022AudienceClaus" + - "eType\022$\n AUDIENCE_CLAUSE_TYPE_UNSPECIFIE" + - "D\020\000\022\013\n\007INCLUDE\020\001\022\013\n\007EXCLUDE\020\002B\010\n\006filter\"" + - "\365\001\n\024AudienceEventTrigger\022\030\n\nevent_name\030\001" + - " \001(\tB\004\342A\001\002\022^\n\rlog_condition\030\002 \001(\0162A.goog" + - "le.analytics.admin.v1alpha.AudienceEvent" + - "Trigger.LogConditionB\004\342A\001\002\"c\n\014LogConditi" + - "on\022\035\n\031LOG_CONDITION_UNSPECIFIED\020\000\022\023\n\017AUD" + - "IENCE_JOINED\020\001\022\037\n\033AUDIENCE_MEMBERSHIP_RE" + - "NEWED\020\002\"\240\005\n\010Audience\022\022\n\004name\030\001 \001(\tB\004\342A\001\003" + - "\022\032\n\014display_name\030\002 \001(\tB\004\342A\001\002\022\031\n\013descript" + - "ion\030\003 \001(\tB\004\342A\001\002\022\'\n\030membership_duration_d" + - "ays\030\004 \001(\005B\005\342A\002\002\005\022)\n\033ads_personalization_" + - "enabled\030\005 \001(\010B\004\342A\001\003\022Q\n\revent_trigger\030\006 \001" + - "(\01324.google.analytics.admin.v1alpha.Audi" + - "enceEventTriggerB\004\342A\001\001\022m\n\027exclusion_dura" + - "tion_mode\030\007 \001(\0162F.google.analytics.admin" + - ".v1alpha.Audience.AudienceExclusionDurat" + - "ionModeB\004\342A\001\005\022T\n\016filter_clauses\030\010 \003(\01324." + - "google.analytics.admin.v1alpha.AudienceF" + - "ilterClauseB\006\342A\003\005\002\006\"\203\001\n\035AudienceExclusio" + - "nDurationMode\0220\n,AUDIENCE_EXCLUSION_DURA" + - "TION_MODE_UNSPECIFIED\020\000\022\027\n\023EXCLUDE_TEMPO" + - "RARILY\020\001\022\027\n\023EXCLUDE_PERMANENTLY\020\002:W\352AT\n&" + - "analyticsadmin.googleapis.com/Audience\022*" + - "properties/{property}/audiences/{audienc" + - "e}*\307\001\n\023AudienceFilterScope\022%\n!AUDIENCE_F" + - "ILTER_SCOPE_UNSPECIFIED\020\000\022+\n\'AUDIENCE_FI" + - "LTER_SCOPE_WITHIN_SAME_EVENT\020\001\022-\n)AUDIEN" + - "CE_FILTER_SCOPE_WITHIN_SAME_SESSION\020\002\022-\n" + - ")AUDIENCE_FILTER_SCOPE_ACROSS_ALL_SESSIO" + - "NS\020\003Bu\n\"com.google.analytics.admin.v1alp" + - "haB\rAudienceProtoP\001Z>cloud.google.com/go" + - "/analytics/admin/apiv1alpha/adminpb;admi" + - "npbb\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/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 5b8d8eb3363b..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,584 +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(); - } - - 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/ChannelGroupFilterExpressionListOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ChannelGroupFilterExpressionListOrBuilder.java deleted file mode 100644 index 4365f4fbb97b..000000000000 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ChannelGroupFilterExpressionListOrBuilder.java +++ /dev/null @@ -1,53 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/analytics/admin/v1alpha/channel_group.proto - -package com.google.analytics.admin.v1alpha; - -public interface ChannelGroupFilterExpressionListOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.ChannelGroupFilterExpressionList) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * A list of Channel Group filter expressions.
-   * 
- * - * repeated .google.analytics.admin.v1alpha.ChannelGroupFilterExpression filter_expressions = 1; - */ - java.util.List - getFilterExpressionsList(); - /** - *
-   * A list of Channel Group filter expressions.
-   * 
- * - * repeated .google.analytics.admin.v1alpha.ChannelGroupFilterExpression filter_expressions = 1; - */ - com.google.analytics.admin.v1alpha.ChannelGroupFilterExpression getFilterExpressions(int index); - /** - *
-   * A list of Channel Group filter expressions.
-   * 
- * - * repeated .google.analytics.admin.v1alpha.ChannelGroupFilterExpression filter_expressions = 1; - */ - int getFilterExpressionsCount(); - /** - *
-   * A list of Channel Group filter expressions.
-   * 
- * - * repeated .google.analytics.admin.v1alpha.ChannelGroupFilterExpression filter_expressions = 1; - */ - java.util.List - getFilterExpressionsOrBuilderList(); - /** - *
-   * A list of Channel Group filter expressions.
-   * 
- * - * repeated .google.analytics.admin.v1alpha.ChannelGroupFilterExpression filter_expressions = 1; - */ - com.google.analytics.admin.v1alpha.ChannelGroupFilterExpressionOrBuilder 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/ChannelGroupProto.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ChannelGroupProto.java deleted file mode 100644 index d7f9102371df..000000000000 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/ChannelGroupProto.java +++ /dev/null @@ -1,165 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/analytics/admin/v1alpha/channel_group.proto - -package com.google.analytics.admin.v1alpha; - -public final class ChannelGroupProto { - private ChannelGroupProto() {} - 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_ChannelGroupFilter_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_ChannelGroupFilter_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_ChannelGroupFilter_StringFilter_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_ChannelGroupFilter_StringFilter_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_ChannelGroupFilter_InListFilter_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_ChannelGroupFilter_InListFilter_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_ChannelGroupFilterExpression_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_ChannelGroupFilterExpression_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_ChannelGroupFilterExpressionList_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_ChannelGroupFilterExpressionList_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_GroupingRule_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_GroupingRule_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_ChannelGroup_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_ChannelGroup_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/channel" + - "_group.proto\022\036google.analytics.admin.v1a" + - "lpha\032\037google/api/field_behavior.proto\032\031g" + - "oogle/api/resource.proto\"\255\004\n\022ChannelGrou" + - "pFilter\022X\n\rstring_filter\030\002 \001(\0132?.google." + - "analytics.admin.v1alpha.ChannelGroupFilt" + - "er.StringFilterH\000\022Y\n\016in_list_filter\030\003 \001(" + - "\0132?.google.analytics.admin.v1alpha.Chann" + - "elGroupFilter.InListFilterH\000\022\031\n\nfield_na" + - "me\030\001 \001(\tB\005\342A\002\002\005\032\220\002\n\014StringFilter\022c\n\nmatc" + - "h_type\030\001 \001(\0162I.google.analytics.admin.v1" + - "alpha.ChannelGroupFilter.StringFilter.Ma" + - "tchTypeB\004\342A\001\002\022\023\n\005value\030\002 \001(\tB\004\342A\001\002\"\205\001\n\tM" + - "atchType\022\032\n\026MATCH_TYPE_UNSPECIFIED\020\000\022\t\n\005" + - "EXACT\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\016PARTIA" + - "L_REGEXP\020\006\032$\n\014InListFilter\022\024\n\006values\030\001 \003" + - "(\tB\004\342A\001\002B\016\n\014value_filter\"\361\002\n\034ChannelGrou" + - "pFilterExpression\022U\n\tand_group\030\001 \001(\0132@.g" + - "oogle.analytics.admin.v1alpha.ChannelGro" + - "upFilterExpressionListH\000\022T\n\010or_group\030\002 \001" + - "(\0132@.google.analytics.admin.v1alpha.Chan" + - "nelGroupFilterExpressionListH\000\022V\n\016not_ex" + - "pression\030\003 \001(\0132<.google.analytics.admin." + - "v1alpha.ChannelGroupFilterExpressionH\000\022D" + - "\n\006filter\030\004 \001(\01322.google.analytics.admin." + - "v1alpha.ChannelGroupFilterH\000B\006\n\004expr\"|\n " + - "ChannelGroupFilterExpressionList\022X\n\022filt" + - "er_expressions\030\001 \003(\0132<.google.analytics." + - "admin.v1alpha.ChannelGroupFilterExpressi" + - "on\"\202\001\n\014GroupingRule\022\032\n\014display_name\030\001 \001(" + - "\tB\004\342A\001\002\022V\n\nexpression\030\002 \001(\0132<.google.ana" + - "lytics.admin.v1alpha.ChannelGroupFilterE" + - "xpressionB\004\342A\001\002\"\242\002\n\014ChannelGroup\022\022\n\004name" + - "\030\001 \001(\tB\004\342A\001\003\022\032\n\014display_name\030\002 \001(\tB\004\342A\001\002" + - "\022\023\n\013description\030\003 \001(\t\022I\n\rgrouping_rule\030\004" + - " \003(\0132,.google.analytics.admin.v1alpha.Gr" + - "oupingRuleB\004\342A\001\002\022\034\n\016system_defined\030\005 \001(\010" + - "B\004\342A\001\003:d\352Aa\n*analyticsadmin.googleapis.c" + - "om/ChannelGroup\0223properties/{property}/c" + - "hannelGroups/{channel_group}By\n\"com.goog" + - "le.analytics.admin.v1alphaB\021ChannelGroup" + - "ProtoP\001Z>cloud.google.com/go/analytics/a" + - "dmin/apiv1alpha/adminpb;adminpbb\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(), - }); - internal_static_google_analytics_admin_v1alpha_ChannelGroupFilter_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_analytics_admin_v1alpha_ChannelGroupFilter_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_ChannelGroupFilter_descriptor, - new java.lang.String[] { "StringFilter", "InListFilter", "FieldName", "ValueFilter", }); - internal_static_google_analytics_admin_v1alpha_ChannelGroupFilter_StringFilter_descriptor = - internal_static_google_analytics_admin_v1alpha_ChannelGroupFilter_descriptor.getNestedTypes().get(0); - internal_static_google_analytics_admin_v1alpha_ChannelGroupFilter_StringFilter_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_ChannelGroupFilter_StringFilter_descriptor, - new java.lang.String[] { "MatchType", "Value", }); - internal_static_google_analytics_admin_v1alpha_ChannelGroupFilter_InListFilter_descriptor = - internal_static_google_analytics_admin_v1alpha_ChannelGroupFilter_descriptor.getNestedTypes().get(1); - internal_static_google_analytics_admin_v1alpha_ChannelGroupFilter_InListFilter_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_ChannelGroupFilter_InListFilter_descriptor, - new java.lang.String[] { "Values", }); - internal_static_google_analytics_admin_v1alpha_ChannelGroupFilterExpression_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_analytics_admin_v1alpha_ChannelGroupFilterExpression_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_ChannelGroupFilterExpression_descriptor, - new java.lang.String[] { "AndGroup", "OrGroup", "NotExpression", "Filter", "Expr", }); - internal_static_google_analytics_admin_v1alpha_ChannelGroupFilterExpressionList_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_analytics_admin_v1alpha_ChannelGroupFilterExpressionList_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_ChannelGroupFilterExpressionList_descriptor, - new java.lang.String[] { "FilterExpressions", }); - internal_static_google_analytics_admin_v1alpha_GroupingRule_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_analytics_admin_v1alpha_GroupingRule_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_GroupingRule_descriptor, - new java.lang.String[] { "DisplayName", "Expression", }); - internal_static_google_analytics_admin_v1alpha_ChannelGroup_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_analytics_admin_v1alpha_ChannelGroup_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_ChannelGroup_descriptor, - new java.lang.String[] { "Name", "DisplayName", "Description", "GroupingRule", "SystemDefined", }); - 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(); - } - - // @@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/CreateAccessBindingRequestOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateAccessBindingRequestOrBuilder.java deleted file mode 100644 index f2225c35d85e..000000000000 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateAccessBindingRequestOrBuilder.java +++ /dev/null @@ -1,60 +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 CreateAccessBindingRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.CreateAccessBindingRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. Formats:
-   * - accounts/{account}
-   * - properties/{property}
-   * 
- * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The parent. - */ - java.lang.String getParent(); - /** - *
-   * Required. Formats:
-   * - accounts/{account}
-   * - properties/{property}
-   * 
- * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for parent. - */ - com.google.protobuf.ByteString - getParentBytes(); - - /** - *
-   * Required. The access binding to create.
-   * 
- * - * .google.analytics.admin.v1alpha.AccessBinding access_binding = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return Whether the accessBinding field is set. - */ - boolean hasAccessBinding(); - /** - *
-   * Required. The access binding to create.
-   * 
- * - * .google.analytics.admin.v1alpha.AccessBinding access_binding = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return The accessBinding. - */ - com.google.analytics.admin.v1alpha.AccessBinding getAccessBinding(); - /** - *
-   * Required. The access binding to create.
-   * 
- * - * .google.analytics.admin.v1alpha.AccessBinding access_binding = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - com.google.analytics.admin.v1alpha.AccessBindingOrBuilder getAccessBindingOrBuilder(); -} diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateAdSenseLinkRequestOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateAdSenseLinkRequestOrBuilder.java deleted file mode 100644 index 3e6968ebb041..000000000000 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateAdSenseLinkRequestOrBuilder.java +++ /dev/null @@ -1,60 +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 CreateAdSenseLinkRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.CreateAdSenseLinkRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The property for which to create an AdSense Link.
-   * Format: properties/{propertyId}
-   * Example: properties/1234
-   * 
- * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The parent. - */ - java.lang.String getParent(); - /** - *
-   * Required. The property for which to create an AdSense Link.
-   * Format: properties/{propertyId}
-   * 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 AdSense Link to create
-   * 
- * - * .google.analytics.admin.v1alpha.AdSenseLink adsense_link = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return Whether the adsenseLink field is set. - */ - boolean hasAdsenseLink(); - /** - *
-   * Required. The AdSense Link to create
-   * 
- * - * .google.analytics.admin.v1alpha.AdSenseLink adsense_link = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return The adsenseLink. - */ - com.google.analytics.admin.v1alpha.AdSenseLink getAdsenseLink(); - /** - *
-   * Required. The AdSense Link to create
-   * 
- * - * .google.analytics.admin.v1alpha.AdSenseLink adsense_link = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - com.google.analytics.admin.v1alpha.AdSenseLinkOrBuilder getAdsenseLinkOrBuilder(); -} 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/CreateChannelGroupRequestOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateChannelGroupRequestOrBuilder.java deleted file mode 100644 index 945e40f62a56..000000000000 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateChannelGroupRequestOrBuilder.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 CreateChannelGroupRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.CreateChannelGroupRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The property for which to create a ChannelGroup.
-   * Example format: properties/1234
-   * 
- * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The parent. - */ - java.lang.String getParent(); - /** - *
-   * Required. The property for which to create a ChannelGroup.
-   * 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 ChannelGroup to create.
-   * 
- * - * .google.analytics.admin.v1alpha.ChannelGroup channel_group = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return Whether the channelGroup field is set. - */ - boolean hasChannelGroup(); - /** - *
-   * Required. The ChannelGroup to create.
-   * 
- * - * .google.analytics.admin.v1alpha.ChannelGroup channel_group = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return The channelGroup. - */ - com.google.analytics.admin.v1alpha.ChannelGroup getChannelGroup(); - /** - *
-   * Required. The ChannelGroup to create.
-   * 
- * - * .google.analytics.admin.v1alpha.ChannelGroup channel_group = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - com.google.analytics.admin.v1alpha.ChannelGroupOrBuilder getChannelGroupOrBuilder(); -} diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateConnectedSiteTagResponseOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateConnectedSiteTagResponseOrBuilder.java deleted file mode 100644 index e28f3ff0bd9b..000000000000 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateConnectedSiteTagResponseOrBuilder.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 CreateConnectedSiteTagResponseOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.CreateConnectedSiteTagResponse) - 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/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 bfc058eb70cd..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,806 +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(); - } - - 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/CreateEventCreateRuleRequestOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateEventCreateRuleRequestOrBuilder.java deleted file mode 100644 index ebe5c8972bd6..000000000000 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateEventCreateRuleRequestOrBuilder.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 CreateEventCreateRuleRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.CreateEventCreateRuleRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. Example format: properties/123/dataStreams/456
-   * 
- * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The parent. - */ - java.lang.String getParent(); - /** - *
-   * Required. Example format: properties/123/dataStreams/456
-   * 
- * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for parent. - */ - com.google.protobuf.ByteString - getParentBytes(); - - /** - *
-   * Required. The EventCreateRule to create.
-   * 
- * - * .google.analytics.admin.v1alpha.EventCreateRule event_create_rule = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return Whether the eventCreateRule field is set. - */ - boolean hasEventCreateRule(); - /** - *
-   * Required. The EventCreateRule to create.
-   * 
- * - * .google.analytics.admin.v1alpha.EventCreateRule event_create_rule = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return The eventCreateRule. - */ - com.google.analytics.admin.v1alpha.EventCreateRule getEventCreateRule(); - /** - *
-   * Required. The EventCreateRule to create.
-   * 
- * - * .google.analytics.admin.v1alpha.EventCreateRule event_create_rule = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - com.google.analytics.admin.v1alpha.EventCreateRuleOrBuilder getEventCreateRuleOrBuilder(); -} diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateExpandedDataSetRequestOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateExpandedDataSetRequestOrBuilder.java deleted file mode 100644 index 42663707a658..000000000000 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateExpandedDataSetRequestOrBuilder.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 CreateExpandedDataSetRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.CreateExpandedDataSetRequest) - 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 ExpandedDataSet to create.
-   * 
- * - * .google.analytics.admin.v1alpha.ExpandedDataSet expanded_data_set = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return Whether the expandedDataSet field is set. - */ - boolean hasExpandedDataSet(); - /** - *
-   * Required. The ExpandedDataSet to create.
-   * 
- * - * .google.analytics.admin.v1alpha.ExpandedDataSet expanded_data_set = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return The expandedDataSet. - */ - com.google.analytics.admin.v1alpha.ExpandedDataSet getExpandedDataSet(); - /** - *
-   * Required. The ExpandedDataSet to create.
-   * 
- * - * .google.analytics.admin.v1alpha.ExpandedDataSet expanded_data_set = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - com.google.analytics.admin.v1alpha.ExpandedDataSetOrBuilder getExpandedDataSetOrBuilder(); -} 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/CreateRollupPropertySourceLinkRequestOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateRollupPropertySourceLinkRequestOrBuilder.java deleted file mode 100644 index a0caf7adf9df..000000000000 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateRollupPropertySourceLinkRequestOrBuilder.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 CreateRollupPropertySourceLinkRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.CreateRollupPropertySourceLinkRequest) - 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 roll-up property source link to create.
-   * 
- * - * .google.analytics.admin.v1alpha.RollupPropertySourceLink rollup_property_source_link = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return Whether the rollupPropertySourceLink field is set. - */ - boolean hasRollupPropertySourceLink(); - /** - *
-   * Required. The roll-up property source link to create.
-   * 
- * - * .google.analytics.admin.v1alpha.RollupPropertySourceLink rollup_property_source_link = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return The rollupPropertySourceLink. - */ - com.google.analytics.admin.v1alpha.RollupPropertySourceLink getRollupPropertySourceLink(); - /** - *
-   * Required. The roll-up property source link to create.
-   * 
- * - * .google.analytics.admin.v1alpha.RollupPropertySourceLink rollup_property_source_link = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - com.google.analytics.admin.v1alpha.RollupPropertySourceLinkOrBuilder getRollupPropertySourceLinkOrBuilder(); -} diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateSKAdNetworkConversionValueSchemaRequestOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateSKAdNetworkConversionValueSchemaRequestOrBuilder.java deleted file mode 100644 index 81d102b07328..000000000000 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateSKAdNetworkConversionValueSchemaRequestOrBuilder.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 CreateSKAdNetworkConversionValueSchemaRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.CreateSKAdNetworkConversionValueSchemaRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The parent resource where this schema 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 schema 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. SKAdNetwork conversion value schema to create.
-   * 
- * - * .google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema skadnetwork_conversion_value_schema = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return Whether the skadnetworkConversionValueSchema field is set. - */ - boolean hasSkadnetworkConversionValueSchema(); - /** - *
-   * Required. SKAdNetwork conversion value schema to create.
-   * 
- * - * .google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema skadnetwork_conversion_value_schema = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return The skadnetworkConversionValueSchema. - */ - com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema getSkadnetworkConversionValueSchema(); - /** - *
-   * Required. SKAdNetwork conversion value schema to create.
-   * 
- * - * .google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchema skadnetwork_conversion_value_schema = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - com.google.analytics.admin.v1alpha.SKAdNetworkConversionValueSchemaOrBuilder getSkadnetworkConversionValueSchemaOrBuilder(); -} 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/CreateSubpropertyEventFilterRequestOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateSubpropertyEventFilterRequestOrBuilder.java deleted file mode 100644 index cc6650157115..000000000000 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateSubpropertyEventFilterRequestOrBuilder.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 CreateSubpropertyEventFilterRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.CreateSubpropertyEventFilterRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The ordinary property for which to create a subproperty event
-   * filter. Format: properties/property_id Example: properties/123
-   * 
- * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The parent. - */ - java.lang.String getParent(); - /** - *
-   * Required. The ordinary property for which to create a subproperty event
-   * filter. Format: properties/property_id Example: properties/123
-   * 
- * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for parent. - */ - com.google.protobuf.ByteString - getParentBytes(); - - /** - *
-   * Required. The subproperty event filter to create.
-   * 
- * - * .google.analytics.admin.v1alpha.SubpropertyEventFilter subproperty_event_filter = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return Whether the subpropertyEventFilter field is set. - */ - boolean hasSubpropertyEventFilter(); - /** - *
-   * Required. The subproperty event filter to create.
-   * 
- * - * .google.analytics.admin.v1alpha.SubpropertyEventFilter subproperty_event_filter = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return The subpropertyEventFilter. - */ - com.google.analytics.admin.v1alpha.SubpropertyEventFilter getSubpropertyEventFilter(); - /** - *
-   * Required. The subproperty event filter to create.
-   * 
- * - * .google.analytics.admin.v1alpha.SubpropertyEventFilter subproperty_event_filter = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - com.google.analytics.admin.v1alpha.SubpropertyEventFilterOrBuilder getSubpropertyEventFilterOrBuilder(); -} diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateSubpropertyRequestOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateSubpropertyRequestOrBuilder.java deleted file mode 100644 index 37d8689efa03..000000000000 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/CreateSubpropertyRequestOrBuilder.java +++ /dev/null @@ -1,87 +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 CreateSubpropertyRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.CreateSubpropertyRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The ordinary property for which to create a subproperty.
-   * Format: properties/property_id
-   * Example: properties/123
-   * 
- * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The parent. - */ - java.lang.String getParent(); - /** - *
-   * Required. The ordinary property for which to create a subproperty.
-   * Format: properties/property_id
-   * Example: properties/123
-   * 
- * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for parent. - */ - com.google.protobuf.ByteString - getParentBytes(); - - /** - *
-   * Required. The subproperty to create.
-   * 
- * - * .google.analytics.admin.v1alpha.Property subproperty = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return Whether the subproperty field is set. - */ - boolean hasSubproperty(); - /** - *
-   * Required. The subproperty to create.
-   * 
- * - * .google.analytics.admin.v1alpha.Property subproperty = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return The subproperty. - */ - com.google.analytics.admin.v1alpha.Property getSubproperty(); - /** - *
-   * Required. The subproperty to create.
-   * 
- * - * .google.analytics.admin.v1alpha.Property subproperty = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - com.google.analytics.admin.v1alpha.PropertyOrBuilder getSubpropertyOrBuilder(); - - /** - *
-   * Optional. The subproperty event filter to create on an ordinary property.
-   * 
- * - * .google.analytics.admin.v1alpha.SubpropertyEventFilter subproperty_event_filter = 3 [(.google.api.field_behavior) = OPTIONAL]; - * @return Whether the subpropertyEventFilter field is set. - */ - boolean hasSubpropertyEventFilter(); - /** - *
-   * Optional. The subproperty event filter to create on an ordinary property.
-   * 
- * - * .google.analytics.admin.v1alpha.SubpropertyEventFilter subproperty_event_filter = 3 [(.google.api.field_behavior) = OPTIONAL]; - * @return The subpropertyEventFilter. - */ - com.google.analytics.admin.v1alpha.SubpropertyEventFilter getSubpropertyEventFilter(); - /** - *
-   * Optional. The subproperty event filter to create on an ordinary property.
-   * 
- * - * .google.analytics.admin.v1alpha.SubpropertyEventFilter subproperty_event_filter = 3 [(.google.api.field_behavior) = OPTIONAL]; - */ - com.google.analytics.admin.v1alpha.SubpropertyEventFilterOrBuilder getSubpropertyEventFilterOrBuilder(); -} diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteAccessBindingRequestOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteAccessBindingRequestOrBuilder.java deleted file mode 100644 index af58f2c0a5c6..000000000000 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteAccessBindingRequestOrBuilder.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 DeleteAccessBindingRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.DeleteAccessBindingRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. Formats:
-   * - accounts/{account}/accessBindings/{accessBinding}
-   * - properties/{property}/accessBindings/{accessBinding}
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. Formats:
-   * - accounts/{account}/accessBindings/{accessBinding}
-   * - properties/{property}/accessBindings/{accessBinding}
-   * 
- * - * 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/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/DeleteAdSenseLinkRequestOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteAdSenseLinkRequestOrBuilder.java deleted file mode 100644 index b8b059552537..000000000000 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteAdSenseLinkRequestOrBuilder.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 DeleteAdSenseLinkRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.DeleteAdSenseLinkRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. Unique identifier for the AdSense Link to be deleted.
-   * Format: properties/{propertyId}/adSenseLinks/{linkId}
-   * Example: properties/1234/adSenseLinks/5678
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. Unique identifier for the AdSense Link to be deleted.
-   * Format: properties/{propertyId}/adSenseLinks/{linkId}
-   * Example: properties/1234/adSenseLinks/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/DeleteChannelGroupRequestOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteChannelGroupRequestOrBuilder.java deleted file mode 100644 index 8e2e2dad6292..000000000000 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteChannelGroupRequestOrBuilder.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 DeleteChannelGroupRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.DeleteChannelGroupRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The ChannelGroup to delete.
-   * Example format: properties/1234/channelGroups/5678
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. The ChannelGroup to delete.
-   * Example format: properties/1234/channelGroups/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/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 c37df7c192a6..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,584 +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(); - } - - 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/DeleteEventCreateRuleRequestOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteEventCreateRuleRequestOrBuilder.java deleted file mode 100644 index bfb11b29ee99..000000000000 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteEventCreateRuleRequestOrBuilder.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 DeleteEventCreateRuleRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.DeleteEventCreateRuleRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. Example format:
-   * properties/123/dataStreams/456/eventCreateRules/789
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. Example format:
-   * properties/123/dataStreams/456/eventCreateRules/789
-   * 
- * - * 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/DeleteExpandedDataSetRequestOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteExpandedDataSetRequestOrBuilder.java deleted file mode 100644 index b83bc6a9940b..000000000000 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteExpandedDataSetRequestOrBuilder.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 DeleteExpandedDataSetRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.DeleteExpandedDataSetRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. Example format: properties/1234/expandedDataSets/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/expandedDataSets/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/DeleteRollupPropertySourceLinkRequestOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteRollupPropertySourceLinkRequestOrBuilder.java deleted file mode 100644 index 959c24af3705..000000000000 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteRollupPropertySourceLinkRequestOrBuilder.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 DeleteRollupPropertySourceLinkRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.DeleteRollupPropertySourceLinkRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. Format:
-   * properties/{property_id}/rollupPropertySourceLinks/{rollup_property_source_link_id}
-   * Example: properties/1234/rollupPropertySourceLinks/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}/rollupPropertySourceLinks/{rollup_property_source_link_id}
-   * Example: properties/1234/rollupPropertySourceLinks/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/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/DeleteSubpropertyEventFilterRequestOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteSubpropertyEventFilterRequestOrBuilder.java deleted file mode 100644 index 6b0e50f53fbe..000000000000 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/DeleteSubpropertyEventFilterRequestOrBuilder.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 DeleteSubpropertyEventFilterRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.DeleteSubpropertyEventFilterRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. Resource name of the subproperty event filter to delete.
-   * Format:
-   * properties/property_id/subpropertyEventFilters/subproperty_event_filter
-   * Example: properties/123/subpropertyEventFilters/456
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. Resource name of the subproperty event filter to delete.
-   * Format:
-   * properties/property_id/subpropertyEventFilters/subproperty_event_filter
-   * Example: properties/123/subpropertyEventFilters/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/EventCreateAndEdit.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/EventCreateAndEdit.java deleted file mode 100644 index 692ec609e9bb..000000000000 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/EventCreateAndEdit.java +++ /dev/null @@ -1,110 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/analytics/admin/v1alpha/event_create_and_edit.proto - -package com.google.analytics.admin.v1alpha; - -public final class EventCreateAndEdit { - private EventCreateAndEdit() {} - 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_ParameterMutation_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_ParameterMutation_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_EventCreateRule_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_EventCreateRule_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_MatchingCondition_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_MatchingCondition_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/event_c" + - "reate_and_edit.proto\022\036google.analytics.a" + - "dmin.v1alpha\032\037google/api/field_behavior." + - "proto\032\031google/api/resource.proto\"K\n\021Para" + - "meterMutation\022\027\n\tparameter\030\001 \001(\tB\004\342A\001\002\022\035" + - "\n\017parameter_value\030\002 \001(\tB\004\342A\001\002\"\225\003\n\017EventC" + - "reateRule\022\022\n\004name\030\001 \001(\tB\004\342A\001\003\022\037\n\021destina" + - "tion_event\030\002 \001(\tB\004\342A\001\002\022Q\n\020event_conditio" + - "ns\030\003 \003(\01321.google.analytics.admin.v1alph" + - "a.MatchingConditionB\004\342A\001\002\022\036\n\026source_copy" + - "_parameters\030\004 \001(\010\022N\n\023parameter_mutations" + - "\030\005 \003(\01321.google.analytics.admin.v1alpha." + - "ParameterMutation:\211\001\352A\205\001\n-analyticsadmin" + - ".googleapis.com/EventCreateRule\022Tpropert" + - "ies/{property}/dataStreams/{data_stream}" + - "/eventCreateRules/{event_create_rule}\"\260\004" + - "\n\021MatchingCondition\022\023\n\005field\030\001 \001(\tB\004\342A\001\002" + - "\022_\n\017comparison_type\030\002 \001(\0162@.google.analy" + - "tics.admin.v1alpha.MatchingCondition.Com" + - "parisonTypeB\004\342A\001\002\022\023\n\005value\030\003 \001(\tB\004\342A\001\002\022\017" + - "\n\007negated\030\004 \001(\010\"\376\002\n\016ComparisonType\022\037\n\033CO" + - "MPARISON_TYPE_UNSPECIFIED\020\000\022\n\n\006EQUALS\020\001\022" + - "\033\n\027EQUALS_CASE_INSENSITIVE\020\002\022\014\n\010CONTAINS" + - "\020\003\022\035\n\031CONTAINS_CASE_INSENSITIVE\020\004\022\017\n\013STA" + - "RTS_WITH\020\005\022 \n\034STARTS_WITH_CASE_INSENSITI" + - "VE\020\006\022\r\n\tENDS_WITH\020\007\022\036\n\032ENDS_WITH_CASE_IN" + - "SENSITIVE\020\010\022\020\n\014GREATER_THAN\020\t\022\031\n\025GREATER" + - "_THAN_OR_EQUAL\020\n\022\r\n\tLESS_THAN\020\013\022\026\n\022LESS_" + - "THAN_OR_EQUAL\020\014\022\026\n\022REGULAR_EXPRESSION\020\r\022" + - "\'\n#REGULAR_EXPRESSION_CASE_INSENSITIVE\020\016" + - "Bf\n\"com.google.analytics.admin.v1alphaP\001" + - "Z>cloud.google.com/go/analytics/admin/ap" + - "iv1alpha/adminpb;adminpbb\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(), - }); - internal_static_google_analytics_admin_v1alpha_ParameterMutation_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_analytics_admin_v1alpha_ParameterMutation_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_ParameterMutation_descriptor, - new java.lang.String[] { "Parameter", "ParameterValue", }); - internal_static_google_analytics_admin_v1alpha_EventCreateRule_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_analytics_admin_v1alpha_EventCreateRule_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_EventCreateRule_descriptor, - new java.lang.String[] { "Name", "DestinationEvent", "EventConditions", "SourceCopyParameters", "ParameterMutations", }); - internal_static_google_analytics_admin_v1alpha_MatchingCondition_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_analytics_admin_v1alpha_MatchingCondition_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_MatchingCondition_descriptor, - new java.lang.String[] { "Field", "ComparisonType", "Value", "Negated", }); - 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(); - } - - // @@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/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 c074b8b48cab..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\"\254\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\030\n\nfi" + - "eld_name\030\001 \001(\tB\004\342A\001\002\032\353\001\n\014StringFilter\022f\n" + - "\nmatch_type\030\001 \001(\0162L.google.analytics.adm" + - "in.v1alpha.ExpandedDataSetFilter.StringF" + - "ilter.MatchTypeB\004\342A\001\002\022\023\n\005value\030\002 \001(\tB\004\342A" + - "\001\002\022\034\n\016case_sensitive\030\003 \001(\010B\004\342A\001\001\"@\n\tMatc" + - "hType\022\032\n\026MATCH_TYPE_UNSPECIFIED\020\000\022\t\n\005EXA" + - "CT\020\001\022\014\n\010CONTAINS\020\002\032B\n\014InListFilter\022\024\n\006va" + - "lues\030\001 \003(\tB\004\342A\001\002\022\034\n\016case_sensitive\030\002 \001(\010" + - "B\004\342A\001\001B\014\n\none_filter\"\247\002\n\037ExpandedDataSet" + - "FilterExpression\022X\n\tand_group\030\001 \001(\0132C.go" + - "ogle.analytics.admin.v1alpha.ExpandedDat" + - "aSetFilterExpressionListH\000\022Y\n\016not_expres" + - "sion\030\002 \001(\0132?.google.analytics.admin.v1al" + - "pha.ExpandedDataSetFilterExpressionH\000\022G\n" + - "\006filter\030\003 \001(\01325.google.analytics.admin.v" + - "1alpha.ExpandedDataSetFilterH\000B\006\n\004expr\"\202" + - "\001\n#ExpandedDataSetFilterExpressionList\022[" + - "\n\022filter_expressions\030\001 \003(\0132?.google.anal" + - "ytics.admin.v1alpha.ExpandedDataSetFilte" + - "rExpression\"\271\003\n\017ExpandedDataSet\022\022\n\004name\030" + - "\001 \001(\tB\004\342A\001\003\022\032\n\014display_name\030\002 \001(\tB\004\342A\001\002\022" + - "\031\n\013description\030\003 \001(\tB\004\342A\001\001\022\035\n\017dimension_" + - "names\030\004 \003(\tB\004\342A\001\005\022\032\n\014metric_names\030\005 \003(\tB" + - "\004\342A\001\005\022j\n\033dimension_filter_expression\030\006 \001" + - "(\0132?.google.analytics.admin.v1alpha.Expa" + - "ndedDataSetFilterExpressionB\004\342A\001\005\022D\n\032dat" + - "a_collection_start_time\030\007 \001(\0132\032.google.p" + - "rotobuf.TimestampB\004\342A\001\003:n\352Ak\n-analyticsa" + - "dmin.googleapis.com/ExpandedDataSet\022:pro" + - "perties/{property}/expandedDataSets/{exp" + - "anded_data_set}B|\n\"com.google.analytics." + - "admin.v1alphaB\024ExpandedDataSetProtoP\001Z>c" + - "loud.google.com/go/analytics/admin/apiv1" + - "alpha/adminpb;adminpbb\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/GetAccessBindingRequestOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetAccessBindingRequestOrBuilder.java deleted file mode 100644 index aac727596125..000000000000 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetAccessBindingRequestOrBuilder.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 GetAccessBindingRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.GetAccessBindingRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The name of the access binding to retrieve.
-   * Formats:
-   * - accounts/{account}/accessBindings/{accessBinding}
-   * - properties/{property}/accessBindings/{accessBinding}
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. The name of the access binding to retrieve.
-   * Formats:
-   * - accounts/{account}/accessBindings/{accessBinding}
-   * - properties/{property}/accessBindings/{accessBinding}
-   * 
- * - * 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/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/GetAdSenseLinkRequestOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetAdSenseLinkRequestOrBuilder.java deleted file mode 100644 index 6291b3d87ebe..000000000000 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetAdSenseLinkRequestOrBuilder.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 GetAdSenseLinkRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.GetAdSenseLinkRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. Unique identifier for the AdSense Link requested.
-   * Format: properties/{propertyId}/adSenseLinks/{linkId}
-   * Example: properties/1234/adSenseLinks/5678
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. Unique identifier for the AdSense Link requested.
-   * Format: properties/{propertyId}/adSenseLinks/{linkId}
-   * Example: properties/1234/adSenseLinks/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/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/GetChannelGroupRequestOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetChannelGroupRequestOrBuilder.java deleted file mode 100644 index 2984f9bdf1c8..000000000000 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetChannelGroupRequestOrBuilder.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 GetChannelGroupRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.GetChannelGroupRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The ChannelGroup to get.
-   * Example format: properties/1234/channelGroups/5678
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. The ChannelGroup to get.
-   * Example format: properties/1234/channelGroups/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/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/GetDataRedactionSettingsRequestOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetDataRedactionSettingsRequestOrBuilder.java deleted file mode 100644 index 527ac44579e2..000000000000 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetDataRedactionSettingsRequestOrBuilder.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 GetDataRedactionSettingsRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.GetDataRedactionSettingsRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The name of the settings to lookup.
-   * Format:
-   * properties/{property}/dataStreams/{data_stream}/dataRedactionSettings
-   * Example: "properties/1000/dataStreams/2000/dataRedactionSettings"
-   * 
- * - * 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}/dataStreams/{data_stream}/dataRedactionSettings
-   * Example: "properties/1000/dataStreams/2000/dataRedactionSettings"
-   * 
- * - * 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/GetEnhancedMeasurementSettingsRequestOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetEnhancedMeasurementSettingsRequestOrBuilder.java deleted file mode 100644 index 24ada6fbb941..000000000000 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetEnhancedMeasurementSettingsRequestOrBuilder.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 GetEnhancedMeasurementSettingsRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.GetEnhancedMeasurementSettingsRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The name of the settings to lookup.
-   * Format:
-   * properties/{property}/dataStreams/{data_stream}/enhancedMeasurementSettings
-   * Example: "properties/1000/dataStreams/2000/enhancedMeasurementSettings"
-   * 
- * - * 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}/dataStreams/{data_stream}/enhancedMeasurementSettings
-   * Example: "properties/1000/dataStreams/2000/enhancedMeasurementSettings"
-   * 
- * - * 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/GetEventCreateRuleRequestOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetEventCreateRuleRequestOrBuilder.java deleted file mode 100644 index 8147ba1a5e84..000000000000 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetEventCreateRuleRequestOrBuilder.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 GetEventCreateRuleRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.GetEventCreateRuleRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The name of the EventCreateRule to get.
-   * Example format: properties/123/dataStreams/456/eventCreateRules/789
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. The name of the EventCreateRule to get.
-   * Example format: properties/123/dataStreams/456/eventCreateRules/789
-   * 
- * - * 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/GetExpandedDataSetRequestOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetExpandedDataSetRequestOrBuilder.java deleted file mode 100644 index d3b770b79c64..000000000000 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetExpandedDataSetRequestOrBuilder.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 GetExpandedDataSetRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.GetExpandedDataSetRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The name of the ExpandedDataSet to get.
-   * Example format: properties/1234/expandedDataSets/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 ExpandedDataSet to get.
-   * Example format: properties/1234/expandedDataSets/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/GetRollupPropertySourceLinkRequestOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetRollupPropertySourceLinkRequestOrBuilder.java deleted file mode 100644 index c1cd98afadd5..000000000000 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetRollupPropertySourceLinkRequestOrBuilder.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 GetRollupPropertySourceLinkRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.GetRollupPropertySourceLinkRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The name of the roll-up property source link to lookup.
-   * Format:
-   * properties/{property_id}/rollupPropertySourceLinks/{rollup_property_source_link_id}
-   * Example: properties/123/rollupPropertySourceLinks/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 roll-up property source link to lookup.
-   * Format:
-   * properties/{property_id}/rollupPropertySourceLinks/{rollup_property_source_link_id}
-   * Example: properties/123/rollupPropertySourceLinks/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/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/GetSubpropertyEventFilterRequestOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetSubpropertyEventFilterRequestOrBuilder.java deleted file mode 100644 index 900ee0bf00c9..000000000000 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/GetSubpropertyEventFilterRequestOrBuilder.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 GetSubpropertyEventFilterRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.GetSubpropertyEventFilterRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. Resource name of the subproperty event filter to lookup.
-   * Format:
-   * properties/property_id/subpropertyEventFilters/subproperty_event_filter
-   * Example: properties/123/subpropertyEventFilters/456
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. Resource name of the subproperty event filter to lookup.
-   * Format:
-   * properties/property_id/subpropertyEventFilters/subproperty_event_filter
-   * Example: properties/123/subpropertyEventFilters/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/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 bfd25d39e370..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,930 +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_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_SKAdNetworkConversionValueSchema_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_SKAdNetworkConversionValueSchema_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_PostbackWindow_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_PostbackWindow_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_ConversionValues_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_ConversionValues_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_EventMapping_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_EventMapping_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_AccessBinding_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_AccessBinding_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; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_EnhancedMeasurementSettings_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_EnhancedMeasurementSettings_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_ConnectedSiteTag_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_ConnectedSiteTag_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_DataRedactionSettings_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_DataRedactionSettings_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_AdSenseLink_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_AdSenseLink_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_RollupPropertySourceLink_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_RollupPropertySourceLink_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-google/analytics/admin/v1alpha/audienc" + - "e.proto\0322google/analytics/admin/v1alpha/" + - "channel_group.proto\032:google/analytics/ad" + - "min/v1alpha/event_create_and_edit.proto\032" + - "6google/analytics/admin/v1alpha/expanded" + - "_data_set.proto\032\037google/api/field_behavi" + - "or.proto\032\031google/api/resource.proto\032\037goo" + - "gle/protobuf/timestamp.proto\032\036google/pro" + - "tobuf/wrappers.proto\"\223\002\n\007Account\022\022\n\004name" + - "\030\001 \001(\tB\004\342A\001\003\0225\n\013create_time\030\002 \001(\0132\032.goog" + - "le.protobuf.TimestampB\004\342A\001\003\0225\n\013update_ti" + - "me\030\003 \001(\0132\032.google.protobuf.TimestampB\004\342A" + - "\001\003\022\032\n\014display_name\030\004 \001(\tB\004\342A\001\002\022\023\n\013region" + - "_code\030\005 \001(\t\022\025\n\007deleted\030\006 \001(\010B\004\342A\001\003:>\352A;\n" + - "%analyticsadmin.googleapis.com/Account\022\022" + - "accounts/{account}\"\304\005\n\010Property\022\022\n\004name\030" + - "\001 \001(\tB\004\342A\001\003\022I\n\rproperty_type\030\016 \001(\0162,.goo" + - "gle.analytics.admin.v1alpha.PropertyType" + - "B\004\342A\001\005\0225\n\013create_time\030\003 \001(\0132\032.google.pro" + - "tobuf.TimestampB\004\342A\001\003\0225\n\013update_time\030\004 \001" + - "(\0132\032.google.protobuf.TimestampB\004\342A\001\003\022\024\n\006" + - "parent\030\002 \001(\tB\004\342A\001\005\022\032\n\014display_name\030\005 \001(\t" + - "B\004\342A\001\002\022K\n\021industry_category\030\006 \001(\01620.goog" + - "le.analytics.admin.v1alpha.IndustryCateg" + - "ory\022\027\n\ttime_zone\030\007 \001(\tB\004\342A\001\002\022\025\n\rcurrency" + - "_code\030\010 \001(\t\022I\n\rservice_level\030\n \001(\0162,.goo" + - "gle.analytics.admin.v1alpha.ServiceLevel" + - "B\004\342A\001\003\0225\n\013delete_time\030\013 \001(\0132\032.google.pro" + - "tobuf.TimestampB\004\342A\001\003\0225\n\013expire_time\030\014 \001" + - "(\0132\032.google.protobuf.TimestampB\004\342A\001\003\022?\n\007" + - "account\030\r \001(\tB.\342A\001\005\372A\'\n%analyticsadmin.g" + - "oogleapis.com/Account:B\352A?\n&analyticsadm" + - "in.googleapis.com/Property\022\025properties/{" + - "property}\"\372\007\n\nDataStream\022S\n\017web_stream_d" + - "ata\030\006 \001(\01328.google.analytics.admin.v1alp" + - "ha.DataStream.WebStreamDataH\000\022b\n\027android" + - "_app_stream_data\030\007 \001(\0132?.google.analytic" + - "s.admin.v1alpha.DataStream.AndroidAppStr" + - "eamDataH\000\022Z\n\023ios_app_stream_data\030\010 \001(\0132;" + - ".google.analytics.admin.v1alpha.DataStre" + - "am.IosAppStreamDataH\000\022\022\n\004name\030\001 \001(\tB\004\342A\001" + - "\003\022N\n\004type\030\002 \001(\01629.google.analytics.admin" + - ".v1alpha.DataStream.DataStreamTypeB\005\342A\002\005" + - "\002\022\024\n\014display_name\030\003 \001(\t\0225\n\013create_time\030\004" + - " \001(\0132\032.google.protobuf.TimestampB\004\342A\001\003\0225" + - "\n\013update_time\030\005 \001(\0132\032.google.protobuf.Ti" + - "mestampB\004\342A\001\003\032a\n\rWebStreamData\022\034\n\016measur" + - "ement_id\030\001 \001(\tB\004\342A\001\003\022\035\n\017firebase_app_id\030" + - "\002 \001(\tB\004\342A\001\003\022\023\n\013default_uri\030\003 \001(\t\032Q\n\024Andr" + - "oidAppStreamData\022\035\n\017firebase_app_id\030\001 \001(" + - "\tB\004\342A\001\003\022\032\n\014package_name\030\002 \001(\tB\004\342A\001\005\032K\n\020I" + - "osAppStreamData\022\035\n\017firebase_app_id\030\001 \001(\t" + - "B\004\342A\001\003\022\030\n\tbundle_id\030\002 \001(\tB\005\342A\002\005\002\"}\n\016Data" + - "StreamType\022 \n\034DATA_STREAM_TYPE_UNSPECIFI" + - "ED\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/Data" + - "Stream\022/properties/{property}/dataStream" + - "s/{data_stream}B\r\n\013stream_data\"\326\001\n\014Fireb" + - "aseLink\022\022\n\004name\030\001 \001(\tB\004\342A\001\003\022\025\n\007project\030\002" + - " \001(\tB\004\342A\001\005\0225\n\013create_time\030\003 \001(\0132\032.google" + - ".protobuf.TimestampB\004\342A\001\003:d\352Aa\n*analytic" + - "sadmin.googleapis.com/FirebaseLink\0223prop" + - "erties/{property}/firebaseLinks/{firebas" + - "e_link}\"\253\001\n\rGlobalSiteTag\022\022\n\004name\030\001 \001(\tB" + - "\004\342A\001\003\022\025\n\007snippet\030\002 \001(\tB\004\342A\001\005:o\352Al\n+analy" + - "ticsadmin.googleapis.com/GlobalSiteTag\022=" + - "properties/{property}/dataStreams/{data_" + - "stream}/globalSiteTag\"\236\003\n\rGoogleAdsLink\022" + - "\022\n\004name\030\001 \001(\tB\004\342A\001\003\022\031\n\013customer_id\030\003 \001(\t" + - "B\004\342A\001\005\022 \n\022can_manage_clients\030\004 \001(\010B\004\342A\001\003" + - "\022?\n\033ads_personalization_enabled\030\005 \001(\0132\032." + - "google.protobuf.BoolValue\0225\n\013create_time" + - "\030\007 \001(\0132\032.google.protobuf.TimestampB\004\342A\001\003" + - "\0225\n\013update_time\030\010 \001(\0132\032.google.protobuf." + - "TimestampB\004\342A\001\003\022#\n\025creator_email_address" + - "\030\t \001(\tB\004\342A\001\003:h\352Ae\n+analyticsadmin.google" + - "apis.com/GoogleAdsLink\0226properties/{prop" + - "erty}/googleAdsLinks/{google_ads_link}\"\354" + - "\002\n\023DataSharingSettings\022\022\n\004name\030\001 \001(\tB\004\342A" + - "\001\003\022+\n#sharing_with_google_support_enable" + - "d\030\002 \001(\010\0222\n*sharing_with_google_assigned_" + - "sales_enabled\030\003 \001(\010\022-\n%sharing_with_goog" + - "le_any_sales_enabled\030\004 \001(\010\022,\n$sharing_wi" + - "th_google_products_enabled\030\005 \001(\010\022#\n\033shar" + - "ing_with_others_enabled\030\006 \001(\010:^\352A[\n1anal" + - "yticsadmin.googleapis.com/DataSharingSet" + - "tings\022&accounts/{account}/dataSharingSet" + - "tings\"\225\002\n\016AccountSummary\022\014\n\004name\030\001 \001(\t\022;" + - "\n\007account\030\002 \001(\tB*\372A\'\n%analyticsadmin.goo" + - "gleapis.com/Account\022\024\n\014display_name\030\003 \001(" + - "\t\022K\n\022property_summaries\030\004 \003(\0132/.google.a" + - "nalytics.admin.v1alpha.PropertySummary:U" + - "\352AR\n,analyticsadmin.googleapis.com/Accou" + - "ntSummary\022\"accountSummaries/{account_sum" + - "mary}\"\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\rproper" + - "ty_type\030\003 \001(\0162,.google.analytics.admin.v" + - "1alpha.PropertyType\022\016\n\006parent\030\004 \001(\t\"\221\002\n\031" + - "MeasurementProtocolSecret\022\022\n\004name\030\001 \001(\tB" + - "\004\342A\001\003\022\032\n\014display_name\030\002 \001(\tB\004\342A\001\002\022\032\n\014sec" + - "ret_value\030\003 \001(\tB\004\342A\001\003:\247\001\352A\243\001\n7analyticsa" + - "dmin.googleapis.com/MeasurementProtocolS" + - "ecret\022hproperties/{property}/dataStreams" + - "/{data_stream}/measurementProtocolSecret" + - "s/{measurement_protocol_secret}\"\205\004\n SKAd" + - "NetworkConversionValueSchema\022\022\n\004name\030\001 \001" + - "(\tB\004\342A\001\003\022Q\n\023postback_window_one\030\002 \001(\0132.." + - "google.analytics.admin.v1alpha.PostbackW" + - "indowB\004\342A\001\002\022K\n\023postback_window_two\030\003 \001(\013" + - "2..google.analytics.admin.v1alpha.Postba" + - "ckWindow\022M\n\025postback_window_three\030\004 \001(\0132" + - "..google.analytics.admin.v1alpha.Postbac" + - "kWindow\022\037\n\027apply_conversion_values\030\005 \001(\010" + - ":\274\001\352A\270\001\n>analyticsadmin.googleapis.com/S" + - "KAdNetworkConversionValueSchema\022vpropert" + - "ies/{property}/dataStreams/{data_stream}" + - "/sKAdNetworkConversionValueSchema/{skadn" + - "etwork_conversion_value_schema}\"\207\001\n\016Post" + - "backWindow\022K\n\021conversion_values\030\001 \003(\01320." + - "google.analytics.admin.v1alpha.Conversio" + - "nValues\022(\n postback_window_settings_enab" + - "led\030\002 \001(\010\"\365\001\n\020ConversionValues\022\024\n\014displa" + - "y_name\030\001 \001(\t\022\027\n\nfine_value\030\002 \001(\005H\000\210\001\001\022G\n" + - "\014coarse_value\030\003 \001(\0162+.google.analytics.a" + - "dmin.v1alpha.CoarseValueB\004\342A\001\002\022D\n\016event_" + - "mappings\030\004 \003(\0132,.google.analytics.admin." + - "v1alpha.EventMapping\022\024\n\014lock_enabled\030\005 \001" + - "(\010B\r\n\013_fine_value\"\360\001\n\014EventMapping\022\030\n\nev" + - "ent_name\030\001 \001(\tB\004\342A\001\002\022\034\n\017min_event_count\030" + - "\002 \001(\003H\000\210\001\001\022\034\n\017max_event_count\030\003 \001(\003H\001\210\001\001" + - "\022\034\n\017min_event_value\030\004 \001(\001H\002\210\001\001\022\034\n\017max_ev" + - "ent_value\030\005 \001(\001H\003\210\001\001B\022\n\020_min_event_count" + - "B\022\n\020_max_event_countB\022\n\020_min_event_value" + - "B\022\n\020_max_event_value\"\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\"\220\022\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\325\017\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\022O\n\023sea" + - "rch_ads_360_link\030\020 \001(\01320.google.analytic" + - "s.admin.v1alpha.SearchAds360LinkH\000\022A\n\013da" + - "ta_stream\030\022 \001(\0132*.google.analytics.admin" + - ".v1alpha.DataStreamH\000\022S\n\024attribution_set" + - "tings\030\024 \001(\01323.google.analytics.admin.v1a" + - "lpha.AttributionSettingsH\000\022L\n\021expanded_d" + - "ata_set\030\025 \001(\0132/.google.analytics.admin.v" + - "1alpha.ExpandedDataSetH\000\022E\n\rchannel_grou" + - "p\030\026 \001(\0132,.google.analytics.admin.v1alpha" + - ".ChannelGroupH\000\022E\n\rbigquery_link\030\027 \001(\0132," + - ".google.analytics.admin.v1alpha.BigQuery" + - "LinkH\000\022d\n\035enhanced_measurement_settings\030" + - "\030 \001(\0132;.google.analytics.admin.v1alpha.E" + - "nhancedMeasurementSettingsH\000\022X\n\027data_red" + - "action_settings\030\031 \001(\01325.google.analytics" + - ".admin.v1alpha.DataRedactionSettingsH\000\022o" + - "\n#skadnetwork_conversion_value_schema\030\032 " + - "\001(\0132@.google.analytics.admin.v1alpha.SKA" + - "dNetworkConversionValueSchemaH\000\022C\n\014adsen" + - "se_link\030\033 \001(\0132+.google.analytics.admin.v" + - "1alpha.AdSenseLinkH\000\022<\n\010audience\030\034 \001(\0132(" + - ".google.analytics.admin.v1alpha.Audience" + - "H\000\022L\n\021event_create_rule\030\035 \001(\0132/.google.a" + - "nalytics.admin.v1alpha.EventCreateRuleH\000" + - "B\n\n\010resource\"\344\003\n\035DisplayVideo360Advertis" + - "erLink\022\022\n\004name\030\001 \001(\tB\004\342A\001\003\022\033\n\radvertiser" + - "_id\030\002 \001(\tB\004\342A\001\005\022%\n\027advertiser_display_na" + - "me\030\003 \001(\tB\004\342A\001\003\022?\n\033ads_personalization_en" + - "abled\030\004 \001(\0132\032.google.protobuf.BoolValue\022" + - "G\n\035campaign_data_sharing_enabled\030\005 \001(\0132\032" + - ".google.protobuf.BoolValueB\004\342A\001\005\022C\n\031cost" + - "_data_sharing_enabled\030\006 \001(\0132\032.google.pro" + - "tobuf.BoolValueB\004\342A\001\005:\233\001\352A\227\001\n;analyticsa" + - "dmin.googleapis.com/DisplayVideo360Adver" + - "tiserLink\022Xproperties/{property}/display" + - "Video360AdvertiserLinks/{display_video_3" + - "60_advertiser_link}\"\222\005\n%DisplayVideo360A" + - "dvertiserLinkProposal\022\022\n\004name\030\001 \001(\tB\004\342A\001" + - "\003\022\033\n\radvertiser_id\030\002 \001(\tB\004\342A\001\005\022e\n\034link_p" + - "roposal_status_details\030\003 \001(\01329.google.an" + - "alytics.admin.v1alpha.LinkProposalStatus" + - "DetailsB\004\342A\001\003\022%\n\027advertiser_display_name" + - "\030\004 \001(\tB\004\342A\001\003\022\036\n\020validation_email\030\005 \001(\tB\004" + - "\342A\001\004\022E\n\033ads_personalization_enabled\030\006 \001(" + - "\0132\032.google.protobuf.BoolValueB\004\342A\001\005\022G\n\035c" + - "ampaign_data_sharing_enabled\030\007 \001(\0132\032.goo" + - "gle.protobuf.BoolValueB\004\342A\001\005\022C\n\031cost_dat" + - "a_sharing_enabled\030\010 \001(\0132\032.google.protobu" + - "f.BoolValueB\004\342A\001\005:\264\001\352A\260\001\nCanalyticsadmin" + - ".googleapis.com/DisplayVideo360Advertise" + - "rLinkProposal\022iproperties/{property}/dis" + - "playVideo360AdvertiserLinkProposals/{dis" + - "play_video_360_advertiser_link_proposal}" + - "\"\355\003\n\020SearchAds360Link\022\022\n\004name\030\001 \001(\tB\004\342A\001" + - "\003\022\033\n\radvertiser_id\030\002 \001(\tB\004\342A\001\005\022G\n\035campai" + - "gn_data_sharing_enabled\030\003 \001(\0132\032.google.p" + - "rotobuf.BoolValueB\004\342A\001\005\022C\n\031cost_data_sha" + - "ring_enabled\030\004 \001(\0132\032.google.protobuf.Boo" + - "lValueB\004\342A\001\005\022%\n\027advertiser_display_name\030" + - "\005 \001(\tB\004\342A\001\003\022?\n\033ads_personalization_enabl" + - "ed\030\006 \001(\0132\032.google.protobuf.BoolValue\022>\n\032" + - "site_stats_sharing_enabled\030\007 \001(\0132\032.googl" + - "e.protobuf.BoolValue:r\352Ao\n.analyticsadmi" + - "n.googleapis.com/SearchAds360Link\022=prope" + - "rties/{property}/searchAds360Links/{sear" + - "ch_ads_360_link}\"\377\001\n\031LinkProposalStatusD" + - "etails\022m\n link_proposal_initiating_produ" + - "ct\030\001 \001(\0162=.google.analytics.admin.v1alph" + - "a.LinkProposalInitiatingProductB\004\342A\001\003\022\035\n" + - "\017requestor_email\030\002 \001(\tB\004\342A\001\003\022T\n\023link_pro" + - "posal_state\030\003 \001(\01621.google.analytics.adm" + - "in.v1alpha.LinkProposalStateB\004\342A\001\003\"\357\003\n\017C" + - "onversionEvent\022\022\n\004name\030\001 \001(\tB\004\342A\001\003\022\030\n\nev" + - "ent_name\030\002 \001(\tB\004\342A\001\005\0225\n\013create_time\030\003 \001(" + - "\0132\032.google.protobuf.TimestampB\004\342A\001\003\022\027\n\td" + - "eletable\030\004 \001(\010B\004\342A\001\003\022\024\n\006custom\030\005 \001(\010B\004\342A" + - "\001\003\022g\n\017counting_method\030\006 \001(\0162H.google.ana" + - "lytics.admin.v1alpha.ConversionEvent.Con" + - "versionCountingMethodB\004\342A\001\001\"p\n\030Conversio" + - "nCountingMethod\022*\n&CONVERSION_COUNTING_M" + - "ETHOD_UNSPECIFIED\020\000\022\022\n\016ONCE_PER_EVENT\020\001\022" + - "\024\n\020ONCE_PER_SESSION\020\002:m\352Aj\n-analyticsadm" + - "in.googleapis.com/ConversionEvent\0229prope" + - "rties/{property}/conversionEvents/{conve" + - "rsion_event}\"\242\002\n\025GoogleSignalsSettings\022\022" + - "\n\004name\030\001 \001(\tB\004\342A\001\003\022A\n\005state\030\003 \001(\01622.goog" + - "le.analytics.admin.v1alpha.GoogleSignals" + - "State\022K\n\007consent\030\004 \001(\01624.google.analytic" + - "s.admin.v1alpha.GoogleSignalsConsentB\004\342A" + - "\001\003:e\352Ab\n3analyticsadmin.googleapis.com/G" + - "oogleSignalsSettings\022+properties/{proper" + - "ty}/googleSignalsSettings\"\276\003\n\017CustomDime" + - "nsion\022\022\n\004name\030\001 \001(\tB\004\342A\001\003\022\035\n\016parameter_n" + - "ame\030\002 \001(\tB\005\342A\002\002\005\022\032\n\014display_name\030\003 \001(\tB\004" + - "\342A\001\002\022\031\n\013description\030\004 \001(\tB\004\342A\001\001\022T\n\005scope" + - "\030\005 \001(\0162>.google.analytics.admin.v1alpha." + - "CustomDimension.DimensionScopeB\005\342A\002\002\005\022*\n" + - "\034disallow_ads_personalization\030\006 \001(\010B\004\342A\001" + - "\001\"P\n\016DimensionScope\022\037\n\033DIMENSION_SCOPE_U" + - "NSPECIFIED\020\000\022\t\n\005EVENT\020\001\022\010\n\004USER\020\002\022\010\n\004ITE" + - "M\020\003:m\352Aj\n-analyticsadmin.googleapis.com/" + - "CustomDimension\0229properties/{property}/c" + - "ustomDimensions/{custom_dimension}\"\310\006\n\014C" + - "ustomMetric\022\022\n\004name\030\001 \001(\tB\004\342A\001\003\022\035\n\016param" + - "eter_name\030\002 \001(\tB\005\342A\002\002\005\022\032\n\014display_name\030\003" + - " \001(\tB\004\342A\001\002\022\031\n\013description\030\004 \001(\tB\004\342A\001\001\022\\\n" + - "\020measurement_unit\030\005 \001(\0162<.google.analyti" + - "cs.admin.v1alpha.CustomMetric.Measuremen" + - "tUnitB\004\342A\001\002\022N\n\005scope\030\006 \001(\01628.google.anal" + - "ytics.admin.v1alpha.CustomMetric.MetricS" + - "copeB\005\342A\002\002\005\022g\n\026restricted_metric_type\030\010 " + - "\003(\0162A.google.analytics.admin.v1alpha.Cus" + - "tomMetric.RestrictedMetricTypeB\004\342A\001\001\"\267\001\n" + - "\017MeasurementUnit\022 \n\034MEASUREMENT_UNIT_UNS" + - "PECIFIED\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\005" + - "MILES\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" + - "\030METRIC_SCOPE_UNSPECIFIED\020\000\022\t\n\005EVENT\020\001\"_" + - "\n\024RestrictedMetricType\022&\n\"RESTRICTED_MET" + - "RIC_TYPE_UNSPECIFIED\020\000\022\r\n\tCOST_DATA\020\001\022\020\n" + - "\014REVENUE_DATA\020\002:d\352Aa\n*analyticsadmin.goo" + - "gleapis.com/CustomMetric\0223properties/{pr" + - "operty}/customMetrics/{custom_metric}\"\303\003" + - "\n\025DataRetentionSettings\022\022\n\004name\030\001 \001(\tB\004\342" + - "A\001\003\022e\n\024event_data_retention\030\002 \001(\0162G.goog" + - "le.analytics.admin.v1alpha.DataRetention" + - "Settings.RetentionDuration\022\'\n\037reset_user" + - "_data_on_new_activity\030\003 \001(\010\"\236\001\n\021Retentio" + - "nDuration\022\"\n\036RETENTION_DURATION_UNSPECIF" + - "IED\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_EIGH" + - "T_MONTHS\020\005\022\020\n\014FIFTY_MONTHS\020\006:e\352Ab\n3analy" + - "ticsadmin.googleapis.com/DataRetentionSe" + - "ttings\022+properties/{property}/dataRetent" + - "ionSettings\"\252\r\n\023AttributionSettings\022\022\n\004n" + - "ame\030\001 \001(\tB\004\342A\001\003\022\230\001\n,acquisition_conversi" + - "on_event_lookback_window\030\002 \001(\0162\\.google." + - "analytics.admin.v1alpha.AttributionSetti" + - "ngs.AcquisitionConversionEventLookbackWi" + - "ndowB\004\342A\001\002\022\214\001\n&other_conversion_event_lo" + - "okback_window\030\003 \001(\0162V.google.analytics.a" + - "dmin.v1alpha.AttributionSettings.OtherCo" + - "nversionEventLookbackWindowB\004\342A\001\002\022x\n\033rep" + - "orting_attribution_model\030\004 \001(\0162M.google." + - "analytics.admin.v1alpha.AttributionSetti" + - "ngs.ReportingAttributionModelB\004\342A\001\002\022\207\001\n$" + - "ads_web_conversion_data_export_scope\030\005 \001" + - "(\0162S.google.analytics.admin.v1alpha.Attr" + - "ibutionSettings.AdsWebConversionDataExpo" + - "rtScopeB\004\342A\001\002\"\333\001\n(AcquisitionConversionE" + - "ventLookbackWindow\022<\n8ACQUISITION_CONVER" + - "SION_EVENT_LOOKBACK_WINDOW_UNSPECIFIED\020\000" + - "\0227\n3ACQUISITION_CONVERSION_EVENT_LOOKBAC" + - "K_WINDOW_7_DAYS\020\001\0228\n4ACQUISITION_CONVERS" + - "ION_EVENT_LOOKBACK_WINDOW_30_DAYS\020\002\"\370\001\n\"" + - "OtherConversionEventLookbackWindow\0226\n2OT" + - "HER_CONVERSION_EVENT_LOOKBACK_WINDOW_UNS" + - "PECIFIED\020\000\0222\n.OTHER_CONVERSION_EVENT_LOO" + - "KBACK_WINDOW_30_DAYS\020\001\0222\n.OTHER_CONVERSI" + - "ON_EVENT_LOOKBACK_WINDOW_60_DAYS\020\002\0222\n.OT" + - "HER_CONVERSION_EVENT_LOOKBACK_WINDOW_90_" + - "DAYS\020\003\"\353\002\n\031ReportingAttributionModel\022+\n\'" + - "REPORTING_ATTRIBUTION_MODEL_UNSPECIFIED\020" + - "\000\022)\n%PAID_AND_ORGANIC_CHANNELS_DATA_DRIV" + - "EN\020\001\022(\n$PAID_AND_ORGANIC_CHANNELS_LAST_C" + - "LICK\020\002\022)\n%PAID_AND_ORGANIC_CHANNELS_FIRS" + - "T_CLICK\020\003\022$\n PAID_AND_ORGANIC_CHANNELS_L" + - "INEAR\020\004\022,\n(PAID_AND_ORGANIC_CHANNELS_POS" + - "ITION_BASED\020\005\022(\n$PAID_AND_ORGANIC_CHANNE" + - "LS_TIME_DECAY\020\006\022#\n\037GOOGLE_PAID_CHANNELS_" + - "LAST_CLICK\020\007\"\246\001\n\037AdsWebConversionDataExp" + - "ortScope\0224\n0ADS_WEB_CONVERSION_DATA_EXPO" + - "RT_SCOPE_UNSPECIFIED\020\000\022\024\n\020NOT_SELECTED_Y" + - "ET\020\001\022\035\n\031PAID_AND_ORGANIC_CHANNELS\020\002\022\030\n\024G" + - "OOGLE_PAID_CHANNELS\020\003:a\352A^\n1analyticsadm" + - "in.googleapis.com/AttributionSettings\022)p" + - "roperties/{property}/attributionSettings" + - "\"\362\001\n\rAccessBinding\022\016\n\004user\030\002 \001(\tH\000\022\022\n\004na" + - "me\030\001 \001(\tB\004\342A\001\003\022\r\n\005roles\030\003 \003(\t:\234\001\352A\230\001\n+an" + - "alyticsadmin.googleapis.com/AccessBindin" + - "g\0222accounts/{account}/accessBindings/{ac" + - "cess_binding}\0225properties/{property}/acc" + - "essBindings/{access_binding}B\017\n\raccess_t" + - "arget\"\213\003\n\014BigQueryLink\022\022\n\004name\030\001 \001(\tB\004\342A" + - "\001\003\022\025\n\007project\030\002 \001(\tB\004\342A\001\005\0225\n\013create_time" + - "\030\003 \001(\0132\032.google.protobuf.TimestampB\004\342A\001\003" + - "\022\034\n\024daily_export_enabled\030\004 \001(\010\022 \n\030stream" + - "ing_export_enabled\030\005 \001(\010\022\"\n\032fresh_daily_" + - "export_enabled\030\t \001(\010\022\036\n\026include_advertis" + - "ing_id\030\006 \001(\010\022\026\n\016export_streams\030\007 \003(\t\022\027\n\017" + - "excluded_events\030\010 \003(\t:d\352Aa\n*analyticsadm" + - "in.googleapis.com/BigQueryLink\0223properti" + - "es/{property}/bigQueryLinks/{bigquery_li" + - "nk}\"\365\003\n\033EnhancedMeasurementSettings\022\022\n\004n" + - "ame\030\001 \001(\tB\004\342A\001\003\022\026\n\016stream_enabled\030\002 \001(\010\022" + - "\027\n\017scrolls_enabled\030\003 \001(\010\022\037\n\027outbound_cli" + - "cks_enabled\030\004 \001(\010\022\033\n\023site_search_enabled" + - "\030\005 \001(\010\022 \n\030video_engagement_enabled\030\006 \001(\010" + - "\022\036\n\026file_downloads_enabled\030\007 \001(\010\022\034\n\024page" + - "_changes_enabled\030\010 \001(\010\022!\n\031form_interacti" + - "ons_enabled\030\t \001(\010\022$\n\026search_query_parame" + - "ter\030\n \001(\tB\004\342A\001\002\022\033\n\023uri_query_parameter\030\013" + - " \001(\t:\214\001\352A\210\001\n9analyticsadmin.googleapis.c" + - "om/EnhancedMeasurementSettings\022Kproperti" + - "es/{property}/dataStreams/{data_stream}/" + - "enhancedMeasurementSettings\"D\n\020Connected" + - "SiteTag\022\032\n\014display_name\030\001 \001(\tB\004\342A\001\002\022\024\n\006t" + - "ag_id\030\002 \001(\tB\004\342A\001\002\"\226\002\n\025DataRedactionSetti" + - "ngs\022\022\n\004name\030\001 \001(\tB\004\342A\001\003\022\037\n\027email_redacti" + - "on_enabled\030\002 \001(\010\022)\n!query_parameter_reda" + - "ction_enabled\030\003 \001(\010\022\034\n\024query_parameter_k" + - "eys\030\004 \003(\t:\177\352A|\n3analyticsadmin.googleapi" + - "s.com/DataRedactionSettings\022Eproperties/" + - "{property}/dataStreams/{data_stream}/dat" + - "aRedactionSettings\"\242\001\n\013AdSenseLink\022\022\n\004na" + - "me\030\001 \001(\tB\004\342A\001\003\022\034\n\016ad_client_code\030\002 \001(\tB\004" + - "\342A\001\005:a\352A^\n)analyticsadmin.googleapis.com" + - "/AdSenseLink\0221properties/{property}/adSe" + - "nseLinks/{adsense_link}\"\220\002\n\030RollupProper" + - "tySourceLink\022\022\n\004name\030\001 \001(\tB\004\342A\001\003\022\035\n\017sour" + - "ce_property\030\002 \001(\tB\004\342A\001\005:\300\001\352A\274\001\n6analytic", - "sadmin.googleapis.com/RollupPropertySour" + - "ceLink\022Mproperties/{property}/rollupProp" + - "ertySourceLinks/{rollup_property_source_" + - "link}*\031rollupPropertySourceLinks2\030rollup" + - "PropertySourceLink*\252\004\n\020IndustryCategory\022" + - "!\n\035INDUSTRY_CATEGORY_UNSPECIFIED\020\000\022\016\n\nAU" + - "TOMOTIVE\020\001\022#\n\037BUSINESS_AND_INDUSTRIAL_MA" + - "RKETS\020\002\022\013\n\007FINANCE\020\003\022\016\n\nHEALTHCARE\020\004\022\016\n\n" + - "TECHNOLOGY\020\005\022\n\n\006TRAVEL\020\006\022\t\n\005OTHER\020\007\022\032\n\026A" + - "RTS_AND_ENTERTAINMENT\020\010\022\026\n\022BEAUTY_AND_FI" + - "TNESS\020\t\022\030\n\024BOOKS_AND_LITERATURE\020\n\022\022\n\016FOO" + - "D_AND_DRINK\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\024INTERN" + - "ET_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\022PE" + - "OPLE_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\007SCIE" + - "NCE\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\031SERVI" + - "CE_LEVEL_UNSPECIFIED\020\000\022\035\n\031GOOGLE_ANALYTI" + - "CS_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\nA" + - "ctionType\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*\213\005" + - "\n\031ChangeHistoryResourceType\022,\n(CHANGE_HI" + - "STORY_RESOURCE_TYPE_UNSPECIFIED\020\000\022\013\n\007ACC" + - "OUNT\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_S" + - "ETTINGS\020\010\022\024\n\020CONVERSION_EVENT\020\t\022\037\n\033MEASU" + - "REMENT_PROTOCOL_SECRET\020\n\022\024\n\020CUSTOM_DIMEN" + - "SION\020\013\022\021\n\rCUSTOM_METRIC\020\014\022\033\n\027DATA_RETENT" + - "ION_SETTINGS\020\r\022%\n!DISPLAY_VIDEO_360_ADVE" + - "RTISER_LINK\020\016\022.\n*DISPLAY_VIDEO_360_ADVER" + - "TISER_LINK_PROPOSAL\020\017\022\027\n\023SEARCH_ADS_360_" + - "LINK\020\020\022\017\n\013DATA_STREAM\020\022\022\030\n\024ATTRIBUTION_S" + - "ETTINGS\020\024\022\025\n\021EXPANDED_DATA_SET\020\025\022\021\n\rCHAN" + - "NEL_GROUP\020\026\022!\n\035ENHANCED_MEASUREMENT_SETT" + - "INGS\020\030\022\033\n\027DATA_REDACTION_SETTINGS\020\031\022\'\n#S" + - "KADNETWORK_CONVERSION_VALUE_SCHEMA\020\032\022\020\n\014" + - "ADSENSE_LINK\020\033\022\014\n\010AUDIENCE\020\034\022\025\n\021EVENT_CR" + - "EATE_RULE\020\035*s\n\022GoogleSignalsState\022$\n GOO" + - "GLE_SIGNALS_STATE_UNSPECIFIED\020\000\022\032\n\026GOOGL" + - "E_SIGNALS_ENABLED\020\001\022\033\n\027GOOGLE_SIGNALS_DI" + - "SABLED\020\002*\216\001\n\024GoogleSignalsConsent\022&\n\"GOO" + - "GLE_SIGNALS_CONSENT_UNSPECIFIED\020\000\022$\n GOO" + - "GLE_SIGNALS_CONSENT_CONSENTED\020\002\022(\n$GOOGL" + - "E_SIGNALS_CONSENT_NOT_CONSENTED\020\001*{\n\035Lin" + - "kProposalInitiatingProduct\0220\n,LINK_PROPO" + - "SAL_INITIATING_PRODUCT_UNSPECIFIED\020\000\022\024\n\020" + - "GOOGLE_ANALYTICS\020\001\022\022\n\016LINKED_PRODUCT\020\002*\304" + - "\001\n\021LinkProposalState\022#\n\037LINK_PROPOSAL_ST" + - "ATE_UNSPECIFIED\020\000\022)\n%AWAITING_REVIEW_FRO" + - "M_GOOGLE_ANALYTICS\020\001\022\'\n#AWAITING_REVIEW_" + - "FROM_LINKED_PRODUCT\020\002\022\r\n\tWITHDRAWN\020\003\022\014\n\010" + - "DECLINED\020\004\022\013\n\007EXPIRED\020\005\022\014\n\010OBSOLETE\020\006*\202\001" + - "\n\014PropertyType\022\035\n\031PROPERTY_TYPE_UNSPECIF" + - "IED\020\000\022\032\n\026PROPERTY_TYPE_ORDINARY\020\001\022\035\n\031PRO" + - "PERTY_TYPE_SUBPROPERTY\020\002\022\030\n\024PROPERTY_TYP" + - "E_ROLLUP\020\003*q\n\013CoarseValue\022\034\n\030COARSE_VALU" + - "E_UNSPECIFIED\020\000\022\024\n\020COARSE_VALUE_LOW\020\001\022\027\n" + - "\023COARSE_VALUE_MEDIUM\020\002\022\025\n\021COARSE_VALUE_H" + - "IGH\020\003Bv\n\"com.google.analytics.admin.v1al" + - "phaB\016ResourcesProtoP\001Z>cloud.google.com/" + - "go/analytics/admin/apiv1alpha/adminpb;ad" + - "minpbb\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.analytics.admin.v1alpha.AudienceProto.getDescriptor(), - com.google.analytics.admin.v1alpha.ChannelGroupProto.getDescriptor(), - com.google.analytics.admin.v1alpha.EventCreateAndEdit.getDescriptor(), - 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_FirebaseLink_descriptor = - getDescriptor().getMessageTypes().get(3); - 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(4); - 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(5); - 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(6); - 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(7); - 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(8); - 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(9); - 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_SKAdNetworkConversionValueSchema_descriptor = - getDescriptor().getMessageTypes().get(10); - internal_static_google_analytics_admin_v1alpha_SKAdNetworkConversionValueSchema_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_SKAdNetworkConversionValueSchema_descriptor, - new java.lang.String[] { "Name", "PostbackWindowOne", "PostbackWindowTwo", "PostbackWindowThree", "ApplyConversionValues", }); - internal_static_google_analytics_admin_v1alpha_PostbackWindow_descriptor = - getDescriptor().getMessageTypes().get(11); - internal_static_google_analytics_admin_v1alpha_PostbackWindow_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_PostbackWindow_descriptor, - new java.lang.String[] { "ConversionValues", "PostbackWindowSettingsEnabled", }); - internal_static_google_analytics_admin_v1alpha_ConversionValues_descriptor = - getDescriptor().getMessageTypes().get(12); - internal_static_google_analytics_admin_v1alpha_ConversionValues_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_ConversionValues_descriptor, - new java.lang.String[] { "DisplayName", "FineValue", "CoarseValue", "EventMappings", "LockEnabled", "FineValue", }); - internal_static_google_analytics_admin_v1alpha_EventMapping_descriptor = - getDescriptor().getMessageTypes().get(13); - internal_static_google_analytics_admin_v1alpha_EventMapping_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_EventMapping_descriptor, - new java.lang.String[] { "EventName", "MinEventCount", "MaxEventCount", "MinEventValue", "MaxEventValue", "MinEventCount", "MaxEventCount", "MinEventValue", "MaxEventValue", }); - internal_static_google_analytics_admin_v1alpha_ChangeHistoryEvent_descriptor = - getDescriptor().getMessageTypes().get(14); - 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(15); - 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", "ChannelGroup", "BigqueryLink", "EnhancedMeasurementSettings", "DataRedactionSettings", "SkadnetworkConversionValueSchema", "AdsenseLink", "Audience", "EventCreateRule", "Resource", }); - internal_static_google_analytics_admin_v1alpha_DisplayVideo360AdvertiserLink_descriptor = - getDescriptor().getMessageTypes().get(16); - 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(17); - 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(18); - 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(19); - 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(20); - 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", "CountingMethod", }); - internal_static_google_analytics_admin_v1alpha_GoogleSignalsSettings_descriptor = - getDescriptor().getMessageTypes().get(21); - 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(22); - 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(23); - 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(24); - 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(25); - 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", "AdsWebConversionDataExportScope", }); - internal_static_google_analytics_admin_v1alpha_AccessBinding_descriptor = - getDescriptor().getMessageTypes().get(26); - internal_static_google_analytics_admin_v1alpha_AccessBinding_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_AccessBinding_descriptor, - new java.lang.String[] { "User", "Name", "Roles", "AccessTarget", }); - internal_static_google_analytics_admin_v1alpha_BigQueryLink_descriptor = - getDescriptor().getMessageTypes().get(27); - 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", "FreshDailyExportEnabled", "IncludeAdvertisingId", "ExportStreams", "ExcludedEvents", }); - internal_static_google_analytics_admin_v1alpha_EnhancedMeasurementSettings_descriptor = - getDescriptor().getMessageTypes().get(28); - internal_static_google_analytics_admin_v1alpha_EnhancedMeasurementSettings_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_EnhancedMeasurementSettings_descriptor, - new java.lang.String[] { "Name", "StreamEnabled", "ScrollsEnabled", "OutboundClicksEnabled", "SiteSearchEnabled", "VideoEngagementEnabled", "FileDownloadsEnabled", "PageChangesEnabled", "FormInteractionsEnabled", "SearchQueryParameter", "UriQueryParameter", }); - internal_static_google_analytics_admin_v1alpha_ConnectedSiteTag_descriptor = - getDescriptor().getMessageTypes().get(29); - internal_static_google_analytics_admin_v1alpha_ConnectedSiteTag_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_ConnectedSiteTag_descriptor, - new java.lang.String[] { "DisplayName", "TagId", }); - internal_static_google_analytics_admin_v1alpha_DataRedactionSettings_descriptor = - getDescriptor().getMessageTypes().get(30); - internal_static_google_analytics_admin_v1alpha_DataRedactionSettings_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_DataRedactionSettings_descriptor, - new java.lang.String[] { "Name", "EmailRedactionEnabled", "QueryParameterRedactionEnabled", "QueryParameterKeys", }); - internal_static_google_analytics_admin_v1alpha_AdSenseLink_descriptor = - getDescriptor().getMessageTypes().get(31); - internal_static_google_analytics_admin_v1alpha_AdSenseLink_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_AdSenseLink_descriptor, - new java.lang.String[] { "Name", "AdClientCode", }); - internal_static_google_analytics_admin_v1alpha_RollupPropertySourceLink_descriptor = - getDescriptor().getMessageTypes().get(32); - internal_static_google_analytics_admin_v1alpha_RollupPropertySourceLink_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_RollupPropertySourceLink_descriptor, - new java.lang.String[] { "Name", "SourceProperty", }); - 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.AudienceProto.getDescriptor(); - com.google.analytics.admin.v1alpha.ChannelGroupProto.getDescriptor(); - com.google.analytics.admin.v1alpha.EventCreateAndEdit.getDescriptor(); - 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 6301ec97340c..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,408 +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(); - } - - 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/SubpropertyEventFilterClauseOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/SubpropertyEventFilterClauseOrBuilder.java deleted file mode 100644 index 5289c739d375..000000000000 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/SubpropertyEventFilterClauseOrBuilder.java +++ /dev/null @@ -1,58 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/analytics/admin/v1alpha/subproperty_event_filter.proto - -package com.google.analytics.admin.v1alpha; - -public interface SubpropertyEventFilterClauseOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.SubpropertyEventFilterClause) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The type for the filter clause.
-   * 
- * - * .google.analytics.admin.v1alpha.SubpropertyEventFilterClause.FilterClauseType filter_clause_type = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return The enum numeric value on the wire for filterClauseType. - */ - int getFilterClauseTypeValue(); - /** - *
-   * Required. The type for the filter clause.
-   * 
- * - * .google.analytics.admin.v1alpha.SubpropertyEventFilterClause.FilterClauseType filter_clause_type = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return The filterClauseType. - */ - com.google.analytics.admin.v1alpha.SubpropertyEventFilterClause.FilterClauseType getFilterClauseType(); - - /** - *
-   * Required. The logical expression for what events are sent to the
-   * subproperty.
-   * 
- * - * .google.analytics.admin.v1alpha.SubpropertyEventFilterExpression filter_expression = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return Whether the filterExpression field is set. - */ - boolean hasFilterExpression(); - /** - *
-   * Required. The logical expression for what events are sent to the
-   * subproperty.
-   * 
- * - * .google.analytics.admin.v1alpha.SubpropertyEventFilterExpression filter_expression = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return The filterExpression. - */ - com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpression getFilterExpression(); - /** - *
-   * Required. The logical expression for what events are sent to the
-   * subproperty.
-   * 
- * - * .google.analytics.admin.v1alpha.SubpropertyEventFilterExpression filter_expression = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpressionOrBuilder getFilterExpressionOrBuilder(); -} diff --git a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/SubpropertyEventFilterExpressionListOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/SubpropertyEventFilterExpressionListOrBuilder.java deleted file mode 100644 index 46338f33a0d2..000000000000 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/SubpropertyEventFilterExpressionListOrBuilder.java +++ /dev/null @@ -1,53 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/analytics/admin/v1alpha/subproperty_event_filter.proto - -package com.google.analytics.admin.v1alpha; - -public interface SubpropertyEventFilterExpressionListOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.SubpropertyEventFilterExpressionList) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. Unordered list. A list of Subproperty event filter expressions
-   * 
- * - * repeated .google.analytics.admin.v1alpha.SubpropertyEventFilterExpression filter_expressions = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST]; - */ - java.util.List - getFilterExpressionsList(); - /** - *
-   * Required. Unordered list. A list of Subproperty event filter expressions
-   * 
- * - * repeated .google.analytics.admin.v1alpha.SubpropertyEventFilterExpression filter_expressions = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST]; - */ - com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpression getFilterExpressions(int index); - /** - *
-   * Required. Unordered list. A list of Subproperty event filter expressions
-   * 
- * - * repeated .google.analytics.admin.v1alpha.SubpropertyEventFilterExpression filter_expressions = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST]; - */ - int getFilterExpressionsCount(); - /** - *
-   * Required. Unordered list. A list of Subproperty event filter expressions
-   * 
- * - * repeated .google.analytics.admin.v1alpha.SubpropertyEventFilterExpression filter_expressions = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST]; - */ - java.util.List - getFilterExpressionsOrBuilderList(); - /** - *
-   * Required. Unordered list. A list of Subproperty event filter expressions
-   * 
- * - * repeated .google.analytics.admin.v1alpha.SubpropertyEventFilterExpression filter_expressions = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST]; - */ - com.google.analytics.admin.v1alpha.SubpropertyEventFilterExpressionOrBuilder 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/SubpropertyEventFilterProto.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/SubpropertyEventFilterProto.java deleted file mode 100644 index bca42651cbf9..000000000000 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/SubpropertyEventFilterProto.java +++ /dev/null @@ -1,160 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/analytics/admin/v1alpha/subproperty_event_filter.proto - -package com.google.analytics.admin.v1alpha; - -public final class SubpropertyEventFilterProto { - private SubpropertyEventFilterProto() {} - 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_SubpropertyEventFilterCondition_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_SubpropertyEventFilterCondition_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_SubpropertyEventFilterCondition_StringFilter_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_SubpropertyEventFilterCondition_StringFilter_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_SubpropertyEventFilterExpression_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_SubpropertyEventFilterExpression_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_SubpropertyEventFilterExpressionList_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_SubpropertyEventFilterExpressionList_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_SubpropertyEventFilterClause_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_SubpropertyEventFilterClause_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1alpha_SubpropertyEventFilter_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1alpha_SubpropertyEventFilter_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/subprop" + - "erty_event_filter.proto\022\036google.analytic" + - "s.admin.v1alpha\032\037google/api/field_behavi" + - "or.proto\032\031google/api/resource.proto\"\205\004\n\037" + - "SubpropertyEventFilterCondition\022\025\n\013null_" + - "filter\030\002 \001(\010H\000\022e\n\rstring_filter\030\003 \001(\0132L." + - "google.analytics.admin.v1alpha.Subproper" + - "tyEventFilterCondition.StringFilterH\000\022\030\n" + - "\nfield_name\030\001 \001(\tB\004\342A\001\002\032\273\002\n\014StringFilter" + - "\022p\n\nmatch_type\030\001 \001(\0162V.google.analytics." + - "admin.v1alpha.SubpropertyEventFilterCond" + - "ition.StringFilter.MatchTypeB\004\342A\001\002\022\023\n\005va" + - "lue\030\002 \001(\tB\004\342A\001\002\022\034\n\016case_sensitive\030\003 \001(\010B" + - "\004\342A\001\001\"\205\001\n\tMatchType\022\032\n\026MATCH_TYPE_UNSPEC" + - "IFIED\020\000\022\t\n\005EXACT\020\001\022\017\n\013BEGINS_WITH\020\002\022\r\n\tE" + - "NDS_WITH\020\003\022\014\n\010CONTAINS\020\004\022\017\n\013FULL_REGEXP\020" + - "\005\022\022\n\016PARTIAL_REGEXP\020\006B\014\n\none_filter\"\275\002\n " + - "SubpropertyEventFilterExpression\022X\n\010or_g" + - "roup\030\001 \001(\0132D.google.analytics.admin.v1al" + - "pha.SubpropertyEventFilterExpressionList" + - "H\000\022Z\n\016not_expression\030\002 \001(\0132@.google.anal" + - "ytics.admin.v1alpha.SubpropertyEventFilt" + - "erExpressionH\000\022[\n\020filter_condition\030\003 \001(\013" + - "2?.google.analytics.admin.v1alpha.Subpro" + - "pertyEventFilterConditionH\000B\006\n\004expr\"\213\001\n$" + - "SubpropertyEventFilterExpressionList\022c\n\022" + - "filter_expressions\030\001 \003(\0132@.google.analyt" + - "ics.admin.v1alpha.SubpropertyEventFilter" + - "ExpressionB\005\342A\002\002\006\"\304\002\n\034SubpropertyEventFi" + - "lterClause\022o\n\022filter_clause_type\030\001 \001(\0162M" + - ".google.analytics.admin.v1alpha.Subprope" + - "rtyEventFilterClause.FilterClauseTypeB\004\342" + - "A\001\002\022a\n\021filter_expression\030\002 \001(\0132@.google." + - "analytics.admin.v1alpha.SubpropertyEvent" + - "FilterExpressionB\004\342A\001\002\"P\n\020FilterClauseTy" + - "pe\022\"\n\036FILTER_CLAUSE_TYPE_UNSPECIFIED\020\000\022\013" + - "\n\007INCLUDE\020\001\022\013\n\007EXCLUDE\020\002\"\376\002\n\026Subproperty" + - "EventFilter\022\022\n\004name\030\001 \001(\tB\004\342A\001\003\022$\n\021apply" + - "_to_property\030\002 \001(\tB\004\342A\001\005H\000\210\001\001\022[\n\016filter_" + - "clauses\030\003 \003(\0132<.google.analytics.admin.v" + - "1alpha.SubpropertyEventFilterClauseB\005\342A\002" + - "\002\006:\266\001\352A\262\001\n4analyticsadmin.googleapis.com" + - "/SubpropertyEventFilter\022Iproperties/{pro" + - "perty}/subpropertyEventFilters/{sub_prop" + - "erty_event_filter}*\027subpropertyEventFilt" + - "ers2\026subpropertyEventFilterB\024\n\022_apply_to" + - "_propertyB\203\001\n\"com.google.analytics.admin" + - ".v1alphaB\033SubpropertyEventFilterProtoP\001Z" + - ">cloud.google.com/go/analytics/admin/api" + - "v1alpha/adminpb;adminpbb\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(), - }); - internal_static_google_analytics_admin_v1alpha_SubpropertyEventFilterCondition_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_analytics_admin_v1alpha_SubpropertyEventFilterCondition_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_SubpropertyEventFilterCondition_descriptor, - new java.lang.String[] { "NullFilter", "StringFilter", "FieldName", "OneFilter", }); - internal_static_google_analytics_admin_v1alpha_SubpropertyEventFilterCondition_StringFilter_descriptor = - internal_static_google_analytics_admin_v1alpha_SubpropertyEventFilterCondition_descriptor.getNestedTypes().get(0); - internal_static_google_analytics_admin_v1alpha_SubpropertyEventFilterCondition_StringFilter_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_SubpropertyEventFilterCondition_StringFilter_descriptor, - new java.lang.String[] { "MatchType", "Value", "CaseSensitive", }); - internal_static_google_analytics_admin_v1alpha_SubpropertyEventFilterExpression_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_analytics_admin_v1alpha_SubpropertyEventFilterExpression_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_SubpropertyEventFilterExpression_descriptor, - new java.lang.String[] { "OrGroup", "NotExpression", "FilterCondition", "Expr", }); - internal_static_google_analytics_admin_v1alpha_SubpropertyEventFilterExpressionList_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_analytics_admin_v1alpha_SubpropertyEventFilterExpressionList_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_SubpropertyEventFilterExpressionList_descriptor, - new java.lang.String[] { "FilterExpressions", }); - internal_static_google_analytics_admin_v1alpha_SubpropertyEventFilterClause_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_analytics_admin_v1alpha_SubpropertyEventFilterClause_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_SubpropertyEventFilterClause_descriptor, - new java.lang.String[] { "FilterClauseType", "FilterExpression", }); - internal_static_google_analytics_admin_v1alpha_SubpropertyEventFilter_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_analytics_admin_v1alpha_SubpropertyEventFilter_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1alpha_SubpropertyEventFilter_descriptor, - new java.lang.String[] { "Name", "ApplyToProperty", "FilterClauses", "ApplyToProperty", }); - 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(); - } - - // @@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/UpdateAccessBindingRequestOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateAccessBindingRequestOrBuilder.java deleted file mode 100644 index 0a7243cedca3..000000000000 --- a/owl-bot-staging/java-analytics-admin/v1alpha/proto-google-analytics-admin-v1alpha/src/main/java/com/google/analytics/admin/v1alpha/UpdateAccessBindingRequestOrBuilder.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 UpdateAccessBindingRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1alpha.UpdateAccessBindingRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The access binding to update.
-   * 
- * - * .google.analytics.admin.v1alpha.AccessBinding access_binding = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return Whether the accessBinding field is set. - */ - boolean hasAccessBinding(); - /** - *
-   * Required. The access binding to update.
-   * 
- * - * .google.analytics.admin.v1alpha.AccessBinding access_binding = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return The accessBinding. - */ - com.google.analytics.admin.v1alpha.AccessBinding getAccessBinding(); - /** - *
-   * Required. The access binding to update.
-   * 
- * - * .google.analytics.admin.v1alpha.AccessBinding access_binding = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - com.google.analytics.admin.v1alpha.AccessBindingOrBuilder getAccessBindingOrBuilder(); -} 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 94b90a4fbe95..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,4611 +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 java.lang.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 getUpdateConversionEventMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateConversionEvent", - requestType = com.google.analytics.admin.v1beta.UpdateConversionEventRequest.class, - responseType = com.google.analytics.admin.v1beta.ConversionEvent.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getUpdateConversionEventMethod() { - io.grpc.MethodDescriptor getUpdateConversionEventMethod; - if ((getUpdateConversionEventMethod = AnalyticsAdminServiceGrpc.getUpdateConversionEventMethod) == null) { - synchronized (AnalyticsAdminServiceGrpc.class) { - if ((getUpdateConversionEventMethod = AnalyticsAdminServiceGrpc.getUpdateConversionEventMethod) == null) { - AnalyticsAdminServiceGrpc.getUpdateConversionEventMethod = getUpdateConversionEventMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateConversionEvent")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1beta.UpdateConversionEventRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1beta.ConversionEvent.getDefaultInstance())) - .setSchemaDescriptor(new AnalyticsAdminServiceMethodDescriptorSupplier("UpdateConversionEvent")) - .build(); - } - } - } - return getUpdateConversionEventMethod; - } - - 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; - } - - private static volatile io.grpc.MethodDescriptor getRunAccessReportMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "RunAccessReport", - requestType = com.google.analytics.admin.v1beta.RunAccessReportRequest.class, - responseType = com.google.analytics.admin.v1beta.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.v1beta.RunAccessReportRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.analytics.admin.v1beta.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 interface AsyncService { - - /** - *
-     * Lookup for a single Account.
-     * 
- */ - default 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.
-     * 
- */ - default 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.
-     * 
- */ - default void deleteAccount(com.google.analytics.admin.v1beta.DeleteAccountRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteAccountMethod(), responseObserver); - } - - /** - *
-     * Updates an account.
-     * 
- */ - default 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.
-     * 
- */ - default 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.
-     * 
- */ - default 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.
-     * 
- */ - default 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.
-     * 
- */ - default 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.
-     * 
- */ - default 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 a GA4 Property.
-     * 
- */ - default void deleteProperty(com.google.analytics.admin.v1beta.DeletePropertyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeletePropertyMethod(), responseObserver); - } - - /** - *
-     * Updates a property.
-     * 
- */ - default 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.
-     * 
- */ - default 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
-     * 
- */ - default 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.
-     * 
- */ - default void listFirebaseLinks(com.google.analytics.admin.v1beta.ListFirebaseLinksRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListFirebaseLinksMethod(), responseObserver); - } - - /** - *
-     * Creates a GoogleAdsLink.
-     * 
- */ - default 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
-     * 
- */ - default 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
-     * 
- */ - default 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.
-     * 
- */ - default 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.
-     * 
- */ - default 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.
-     * 
- */ - default 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.
-     * 
- */ - default 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.
-     * 
- */ - default void createMeasurementProtocolSecret(com.google.analytics.admin.v1beta.CreateMeasurementProtocolSecretRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateMeasurementProtocolSecretMethod(), responseObserver); - } - - /** - *
-     * Deletes target MeasurementProtocolSecret.
-     * 
- */ - default 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.
-     * 
- */ - default 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 through this API) before MeasurementProtocolSecret resources may be
-     * created.
-     * 
- */ - default 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.
-     * 
- */ - default 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.
-     * 
- */ - default void createConversionEvent(com.google.analytics.admin.v1beta.CreateConversionEventRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateConversionEventMethod(), responseObserver); - } - - /** - *
-     * Updates a conversion event with the specified attributes.
-     * 
- */ - default void updateConversionEvent(com.google.analytics.admin.v1beta.UpdateConversionEventRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateConversionEventMethod(), responseObserver); - } - - /** - *
-     * Retrieve a single conversion event.
-     * 
- */ - default 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.
-     * 
- */ - default 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.
-     * 
- */ - default void listConversionEvents(com.google.analytics.admin.v1beta.ListConversionEventsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListConversionEventsMethod(), responseObserver); - } - - /** - *
-     * Creates a CustomDimension.
-     * 
- */ - default 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.
-     * 
- */ - default 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.
-     * 
- */ - default 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.
-     * 
- */ - default 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.
-     * 
- */ - default void getCustomDimension(com.google.analytics.admin.v1beta.GetCustomDimensionRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetCustomDimensionMethod(), responseObserver); - } - - /** - *
-     * Creates a CustomMetric.
-     * 
- */ - default 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.
-     * 
- */ - default 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.
-     * 
- */ - default 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.
-     * 
- */ - default 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.
-     * 
- */ - default 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.
-     * 
- */ - default 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.
-     * 
- */ - default void updateDataRetentionSettings(com.google.analytics.admin.v1beta.UpdateDataRetentionSettingsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateDataRetentionSettingsMethod(), responseObserver); - } - - /** - *
-     * Creates a DataStream.
-     * 
- */ - default 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.
-     * 
- */ - default 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.
-     * 
- */ - default 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.
-     * 
- */ - default 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.
-     * 
- */ - default void getDataStream(com.google.analytics.admin.v1beta.GetDataStreamRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetDataStreamMethod(), 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).
-     * 
- */ - default void runAccessReport(com.google.analytics.admin.v1beta.RunAccessReportRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getRunAccessReportMethod(), responseObserver); - } - } - - /** - * Base class for the server implementation of the service AnalyticsAdminService. - *
-   * Service Interface for the Analytics Admin API (GA4).
-   * 
- */ - public static abstract class AnalyticsAdminServiceImplBase - implements io.grpc.BindableService, AsyncService { - - @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { - return AnalyticsAdminServiceGrpc.bindService(this); - } - } - - /** - * A stub to allow clients to do asynchronous rpc calls to service AnalyticsAdminService. - *
-   * 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 a 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 through 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); - } - - /** - *
-     * Updates a conversion event with the specified attributes.
-     * 
- */ - public void updateConversionEvent(com.google.analytics.admin.v1beta.UpdateConversionEventRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateConversionEventMethod(), 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); - } - - /** - *
-     * 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.v1beta.RunAccessReportRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getRunAccessReportMethod(), getCallOptions()), request, responseObserver); - } - } - - /** - * A stub to allow clients to do synchronous rpc calls to service AnalyticsAdminService. - *
-   * 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 a 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 through 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); - } - - /** - *
-     * Updates a conversion event with the specified attributes.
-     * 
- */ - public com.google.analytics.admin.v1beta.ConversionEvent updateConversionEvent(com.google.analytics.admin.v1beta.UpdateConversionEventRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateConversionEventMethod(), 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); - } - - /** - *
-     * 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.v1beta.RunAccessReportResponse runAccessReport(com.google.analytics.admin.v1beta.RunAccessReportRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getRunAccessReportMethod(), getCallOptions(), request); - } - } - - /** - * A stub to allow clients to do ListenableFuture-style rpc calls to service AnalyticsAdminService. - *
-   * 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 a 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 through 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); - } - - /** - *
-     * Updates a conversion event with the specified attributes.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture updateConversionEvent( - com.google.analytics.admin.v1beta.UpdateConversionEventRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateConversionEventMethod(), 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); - } - - /** - *
-     * 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.v1beta.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_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_UPDATE_CONVERSION_EVENT = 27; - private static final int METHODID_GET_CONVERSION_EVENT = 28; - private static final int METHODID_DELETE_CONVERSION_EVENT = 29; - private static final int METHODID_LIST_CONVERSION_EVENTS = 30; - private static final int METHODID_CREATE_CUSTOM_DIMENSION = 31; - private static final int METHODID_UPDATE_CUSTOM_DIMENSION = 32; - private static final int METHODID_LIST_CUSTOM_DIMENSIONS = 33; - private static final int METHODID_ARCHIVE_CUSTOM_DIMENSION = 34; - private static final int METHODID_GET_CUSTOM_DIMENSION = 35; - private static final int METHODID_CREATE_CUSTOM_METRIC = 36; - private static final int METHODID_UPDATE_CUSTOM_METRIC = 37; - private static final int METHODID_LIST_CUSTOM_METRICS = 38; - private static final int METHODID_ARCHIVE_CUSTOM_METRIC = 39; - private static final int METHODID_GET_CUSTOM_METRIC = 40; - private static final int METHODID_GET_DATA_RETENTION_SETTINGS = 41; - private static final int METHODID_UPDATE_DATA_RETENTION_SETTINGS = 42; - private static final int METHODID_CREATE_DATA_STREAM = 43; - private static final int METHODID_DELETE_DATA_STREAM = 44; - private static final int METHODID_UPDATE_DATA_STREAM = 45; - private static final int METHODID_LIST_DATA_STREAMS = 46; - private static final int METHODID_GET_DATA_STREAM = 47; - private static final int METHODID_RUN_ACCESS_REPORT = 48; - - 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 AsyncService serviceImpl; - private final int methodId; - - MethodHandlers(AsyncService 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_UPDATE_CONVERSION_EVENT: - serviceImpl.updateConversionEvent((com.google.analytics.admin.v1beta.UpdateConversionEventRequest) 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; - case METHODID_RUN_ACCESS_REPORT: - serviceImpl.runAccessReport((com.google.analytics.admin.v1beta.RunAccessReportRequest) 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(); - } - } - } - - public static final io.grpc.ServerServiceDefinition bindService(AsyncService service) { - 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>( - service, METHODID_GET_ACCOUNT))) - .addMethod( - getListAccountsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1beta.ListAccountsRequest, - com.google.analytics.admin.v1beta.ListAccountsResponse>( - service, METHODID_LIST_ACCOUNTS))) - .addMethod( - getDeleteAccountMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1beta.DeleteAccountRequest, - com.google.protobuf.Empty>( - service, METHODID_DELETE_ACCOUNT))) - .addMethod( - getUpdateAccountMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1beta.UpdateAccountRequest, - com.google.analytics.admin.v1beta.Account>( - service, METHODID_UPDATE_ACCOUNT))) - .addMethod( - getProvisionAccountTicketMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1beta.ProvisionAccountTicketRequest, - com.google.analytics.admin.v1beta.ProvisionAccountTicketResponse>( - service, 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>( - service, 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>( - service, METHODID_GET_PROPERTY))) - .addMethod( - getListPropertiesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1beta.ListPropertiesRequest, - com.google.analytics.admin.v1beta.ListPropertiesResponse>( - service, METHODID_LIST_PROPERTIES))) - .addMethod( - getCreatePropertyMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1beta.CreatePropertyRequest, - com.google.analytics.admin.v1beta.Property>( - service, METHODID_CREATE_PROPERTY))) - .addMethod( - getDeletePropertyMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1beta.DeletePropertyRequest, - com.google.analytics.admin.v1beta.Property>( - service, METHODID_DELETE_PROPERTY))) - .addMethod( - getUpdatePropertyMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1beta.UpdatePropertyRequest, - com.google.analytics.admin.v1beta.Property>( - service, METHODID_UPDATE_PROPERTY))) - .addMethod( - getCreateFirebaseLinkMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1beta.CreateFirebaseLinkRequest, - com.google.analytics.admin.v1beta.FirebaseLink>( - service, METHODID_CREATE_FIREBASE_LINK))) - .addMethod( - getDeleteFirebaseLinkMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1beta.DeleteFirebaseLinkRequest, - com.google.protobuf.Empty>( - service, 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>( - service, 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>( - service, 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>( - service, METHODID_UPDATE_GOOGLE_ADS_LINK))) - .addMethod( - getDeleteGoogleAdsLinkMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1beta.DeleteGoogleAdsLinkRequest, - com.google.protobuf.Empty>( - service, 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>( - service, 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>( - service, 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>( - service, 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>( - service, 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>( - service, METHODID_CREATE_MEASUREMENT_PROTOCOL_SECRET))) - .addMethod( - getDeleteMeasurementProtocolSecretMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1beta.DeleteMeasurementProtocolSecretRequest, - com.google.protobuf.Empty>( - service, 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>( - service, 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>( - service, 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>( - service, 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>( - service, METHODID_CREATE_CONVERSION_EVENT))) - .addMethod( - getUpdateConversionEventMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1beta.UpdateConversionEventRequest, - com.google.analytics.admin.v1beta.ConversionEvent>( - service, METHODID_UPDATE_CONVERSION_EVENT))) - .addMethod( - getGetConversionEventMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1beta.GetConversionEventRequest, - com.google.analytics.admin.v1beta.ConversionEvent>( - service, METHODID_GET_CONVERSION_EVENT))) - .addMethod( - getDeleteConversionEventMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1beta.DeleteConversionEventRequest, - com.google.protobuf.Empty>( - service, 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>( - service, 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>( - service, 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>( - service, 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>( - service, METHODID_LIST_CUSTOM_DIMENSIONS))) - .addMethod( - getArchiveCustomDimensionMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1beta.ArchiveCustomDimensionRequest, - com.google.protobuf.Empty>( - service, 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>( - service, 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>( - service, 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>( - service, 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>( - service, METHODID_LIST_CUSTOM_METRICS))) - .addMethod( - getArchiveCustomMetricMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1beta.ArchiveCustomMetricRequest, - com.google.protobuf.Empty>( - service, 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>( - service, 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>( - service, 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>( - service, 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>( - service, METHODID_CREATE_DATA_STREAM))) - .addMethod( - getDeleteDataStreamMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1beta.DeleteDataStreamRequest, - com.google.protobuf.Empty>( - service, 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>( - service, 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>( - service, 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>( - service, METHODID_GET_DATA_STREAM))) - .addMethod( - getRunAccessReportMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.analytics.admin.v1beta.RunAccessReportRequest, - com.google.analytics.admin.v1beta.RunAccessReportResponse>( - service, METHODID_RUN_ACCESS_REPORT))) - .build(); - } - - 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 java.lang.String methodName; - - AnalyticsAdminServiceMethodDescriptorSupplier(java.lang.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(getUpdateConversionEventMethod()) - .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()) - .addMethod(getRunAccessReportMethod()) - .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/AccessDimensionHeaderOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AccessDimensionHeaderOrBuilder.java deleted file mode 100644 index 11e73700f1be..000000000000 --- a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AccessDimensionHeaderOrBuilder.java +++ /dev/null @@ -1,29 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/analytics/admin/v1beta/access_report.proto - -package com.google.analytics.admin.v1beta; - -public interface AccessDimensionHeaderOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1beta.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/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AccessMetricHeaderOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AccessMetricHeaderOrBuilder.java deleted file mode 100644 index b22b13f656df..000000000000 --- a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AccessMetricHeaderOrBuilder.java +++ /dev/null @@ -1,29 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/analytics/admin/v1beta/access_report.proto - -package com.google.analytics.admin.v1beta; - -public interface AccessMetricHeaderOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1beta.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/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AccessMetricValueOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AccessMetricValueOrBuilder.java deleted file mode 100644 index 07277214c5db..000000000000 --- a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AccessMetricValueOrBuilder.java +++ /dev/null @@ -1,29 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/analytics/admin/v1beta/access_report.proto - -package com.google.analytics.admin.v1beta; - -public interface AccessMetricValueOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1beta.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/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AccessQuotaStatusOrBuilder.java b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AccessQuotaStatusOrBuilder.java deleted file mode 100644 index 8fa97e450526..000000000000 --- a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AccessQuotaStatusOrBuilder.java +++ /dev/null @@ -1,29 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/analytics/admin/v1beta/access_report.proto - -package com.google.analytics.admin.v1beta; - -public interface AccessQuotaStatusOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.analytics.admin.v1beta.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/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AccessReportProto.java b/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AccessReportProto.java deleted file mode 100644 index 95d61b5bee8b..000000000000 --- a/owl-bot-staging/java-analytics-admin/v1beta/proto-google-analytics-admin-v1beta/src/main/java/com/google/analytics/admin/v1beta/AccessReportProto.java +++ /dev/null @@ -1,349 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/analytics/admin/v1beta/access_report.proto - -package com.google.analytics.admin.v1beta; - -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_v1beta_AccessDimension_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1beta_AccessDimension_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1beta_AccessMetric_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1beta_AccessMetric_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1beta_AccessDateRange_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1beta_AccessDateRange_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1beta_AccessFilterExpression_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1beta_AccessFilterExpression_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1beta_AccessFilterExpressionList_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1beta_AccessFilterExpressionList_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1beta_AccessFilter_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1beta_AccessFilter_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1beta_AccessStringFilter_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1beta_AccessStringFilter_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1beta_AccessInListFilter_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1beta_AccessInListFilter_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1beta_AccessNumericFilter_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1beta_AccessNumericFilter_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1beta_AccessBetweenFilter_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1beta_AccessBetweenFilter_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1beta_NumericValue_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1beta_NumericValue_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1beta_AccessOrderBy_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1beta_AccessOrderBy_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1beta_AccessOrderBy_MetricOrderBy_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1beta_AccessOrderBy_MetricOrderBy_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1beta_AccessOrderBy_DimensionOrderBy_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1beta_AccessOrderBy_DimensionOrderBy_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1beta_AccessDimensionHeader_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1beta_AccessDimensionHeader_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1beta_AccessMetricHeader_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1beta_AccessMetricHeader_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1beta_AccessRow_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1beta_AccessRow_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1beta_AccessDimensionValue_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1beta_AccessDimensionValue_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1beta_AccessMetricValue_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1beta_AccessMetricValue_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1beta_AccessQuota_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1beta_AccessQuota_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1beta_AccessQuotaStatus_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1beta_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 = { - "\n1google/analytics/admin/v1beta/access_r" + - "eport.proto\022\035google.analytics.admin.v1be" + - "ta\")\n\017AccessDimension\022\026\n\016dimension_name\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\"\340\002\n\026AccessFilterExpr" + - "ession\022N\n\tand_group\030\001 \001(\01329.google.analy" + - "tics.admin.v1beta.AccessFilterExpression" + - "ListH\000\022M\n\010or_group\030\002 \001(\01329.google.analyt" + - "ics.admin.v1beta.AccessFilterExpressionL" + - "istH\000\022O\n\016not_expression\030\003 \001(\01325.google.a" + - "nalytics.admin.v1beta.AccessFilterExpres" + - "sionH\000\022D\n\raccess_filter\030\004 \001(\0132+.google.a" + - "nalytics.admin.v1beta.AccessFilterH\000B\020\n\016" + - "one_expression\"h\n\032AccessFilterExpression" + - "List\022J\n\013expressions\030\001 \003(\01325.google.analy" + - "tics.admin.v1beta.AccessFilterExpression" + - "\"\345\002\n\014AccessFilter\022J\n\rstring_filter\030\002 \001(\013" + - "21.google.analytics.admin.v1beta.AccessS" + - "tringFilterH\000\022K\n\016in_list_filter\030\003 \001(\01321." + - "google.analytics.admin.v1beta.AccessInLi" + - "stFilterH\000\022L\n\016numeric_filter\030\004 \001(\01322.goo" + - "gle.analytics.admin.v1beta.AccessNumeric" + - "FilterH\000\022L\n\016between_filter\030\005 \001(\01322.googl" + - "e.analytics.admin.v1beta.AccessBetweenFi" + - "lterH\000\022\022\n\nfield_name\030\001 \001(\tB\014\n\none_filter" + - "\"\224\002\n\022AccessStringFilter\022O\n\nmatch_type\030\001 " + - "\001(\0162;.google.analytics.admin.v1beta.Acce" + - "ssStringFilter.MatchType\022\r\n\005value\030\002 \001(\t\022" + - "\026\n\016case_sensitive\030\003 \001(\010\"\205\001\n\tMatchType\022\032\n" + - "\026MATCH_TYPE_UNSPECIFIED\020\000\022\t\n\005EXACT\020\001\022\017\n\013" + - "BEGINS_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\"" + - "<\n\022AccessInListFilter\022\016\n\006values\030\001 \003(\t\022\026\n" + - "\016case_sensitive\030\002 \001(\010\"\252\002\n\023AccessNumericF" + - "ilter\022O\n\toperation\030\001 \001(\0162<.google.analyt" + - "ics.admin.v1beta.AccessNumericFilter.Ope" + - "ration\022:\n\005value\030\002 \001(\0132+.google.analytics" + - ".admin.v1beta.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\"\225\001\n\023AccessBetweenFilter\022?\n\nfrom_value" + - "\030\001 \001(\0132+.google.analytics.admin.v1beta.N" + - "umericValue\022=\n\010to_value\030\002 \001(\0132+.google.a" + - "nalytics.admin.v1beta.NumericValue\"J\n\014Nu" + - "mericValue\022\025\n\013int64_value\030\001 \001(\003H\000\022\026\n\014dou" + - "ble_value\030\002 \001(\001H\000B\013\n\tone_value\"\352\003\n\rAcces" + - "sOrderBy\022L\n\006metric\030\001 \001(\0132:.google.analyt" + - "ics.admin.v1beta.AccessOrderBy.MetricOrd" + - "erByH\000\022R\n\tdimension\030\002 \001(\0132=.google.analy" + - "tics.admin.v1beta.AccessOrderBy.Dimensio" + - "nOrderByH\000\022\014\n\004desc\030\003 \001(\010\032$\n\rMetricOrderB" + - "y\022\023\n\013metric_name\030\001 \001(\t\032\362\001\n\020DimensionOrde" + - "rBy\022\026\n\016dimension_name\030\001 \001(\t\022[\n\norder_typ" + - "e\030\002 \001(\0162G.google.analytics.admin.v1beta." + - "AccessOrderBy.DimensionOrderBy.OrderType" + - "\"i\n\tOrderType\022\032\n\026ORDER_TYPE_UNSPECIFIED\020" + - "\000\022\020\n\014ALPHANUMERIC\020\001\022!\n\035CASE_INSENSITIVE_" + - "ALPHANUMERIC\020\002\022\013\n\007NUMERIC\020\003B\016\n\014one_order" + - "_by\"/\n\025AccessDimensionHeader\022\026\n\016dimensio" + - "n_name\030\001 \001(\t\")\n\022AccessMetricHeader\022\023\n\013me" + - "tric_name\030\001 \001(\t\"\243\001\n\tAccessRow\022M\n\020dimensi" + - "on_values\030\001 \003(\01323.google.analytics.admin" + - ".v1beta.AccessDimensionValue\022G\n\rmetric_v" + - "alues\030\002 \003(\01320.google.analytics.admin.v1b" + - "eta.AccessMetricValue\"%\n\024AccessDimension" + - "Value\022\r\n\005value\030\001 \001(\t\"\"\n\021AccessMetricValu" + - "e\022\r\n\005value\030\001 \001(\t\"\246\003\n\013AccessQuota\022H\n\016toke" + - "ns_per_day\030\001 \001(\01320.google.analytics.admi" + - "n.v1beta.AccessQuotaStatus\022I\n\017tokens_per" + - "_hour\030\002 \001(\01320.google.analytics.admin.v1b" + - "eta.AccessQuotaStatus\022M\n\023concurrent_requ" + - "ests\030\003 \001(\01320.google.analytics.admin.v1be" + - "ta.AccessQuotaStatus\022\\\n\"server_errors_pe" + - "r_project_per_hour\030\004 \001(\01320.google.analyt" + - "ics.admin.v1beta.AccessQuotaStatus\022U\n\033to" + - "kens_per_project_per_hour\030\005 \001(\01320.google" + - ".analytics.admin.v1beta.AccessQuotaStatu" + - "s\"8\n\021AccessQuotaStatus\022\020\n\010consumed\030\001 \001(\005" + - "\022\021\n\tremaining\030\002 \001(\005B|\n!com.google.analyt" + - "ics.admin.v1betaB\021AccessReportProtoP\001ZBg" + - "oogle.golang.org/genproto/googleapis/ana" + - "lytics/admin/v1beta;adminb\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - }); - internal_static_google_analytics_admin_v1beta_AccessDimension_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_analytics_admin_v1beta_AccessDimension_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1beta_AccessDimension_descriptor, - new java.lang.String[] { "DimensionName", }); - internal_static_google_analytics_admin_v1beta_AccessMetric_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_analytics_admin_v1beta_AccessMetric_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1beta_AccessMetric_descriptor, - new java.lang.String[] { "MetricName", }); - internal_static_google_analytics_admin_v1beta_AccessDateRange_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_analytics_admin_v1beta_AccessDateRange_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1beta_AccessDateRange_descriptor, - new java.lang.String[] { "StartDate", "EndDate", }); - internal_static_google_analytics_admin_v1beta_AccessFilterExpression_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_analytics_admin_v1beta_AccessFilterExpression_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1beta_AccessFilterExpression_descriptor, - new java.lang.String[] { "AndGroup", "OrGroup", "NotExpression", "AccessFilter", "OneExpression", }); - internal_static_google_analytics_admin_v1beta_AccessFilterExpressionList_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_analytics_admin_v1beta_AccessFilterExpressionList_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1beta_AccessFilterExpressionList_descriptor, - new java.lang.String[] { "Expressions", }); - internal_static_google_analytics_admin_v1beta_AccessFilter_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_analytics_admin_v1beta_AccessFilter_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1beta_AccessFilter_descriptor, - new java.lang.String[] { "StringFilter", "InListFilter", "NumericFilter", "BetweenFilter", "FieldName", "OneFilter", }); - internal_static_google_analytics_admin_v1beta_AccessStringFilter_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_google_analytics_admin_v1beta_AccessStringFilter_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1beta_AccessStringFilter_descriptor, - new java.lang.String[] { "MatchType", "Value", "CaseSensitive", }); - internal_static_google_analytics_admin_v1beta_AccessInListFilter_descriptor = - getDescriptor().getMessageTypes().get(7); - internal_static_google_analytics_admin_v1beta_AccessInListFilter_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1beta_AccessInListFilter_descriptor, - new java.lang.String[] { "Values", "CaseSensitive", }); - internal_static_google_analytics_admin_v1beta_AccessNumericFilter_descriptor = - getDescriptor().getMessageTypes().get(8); - internal_static_google_analytics_admin_v1beta_AccessNumericFilter_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1beta_AccessNumericFilter_descriptor, - new java.lang.String[] { "Operation", "Value", }); - internal_static_google_analytics_admin_v1beta_AccessBetweenFilter_descriptor = - getDescriptor().getMessageTypes().get(9); - internal_static_google_analytics_admin_v1beta_AccessBetweenFilter_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1beta_AccessBetweenFilter_descriptor, - new java.lang.String[] { "FromValue", "ToValue", }); - internal_static_google_analytics_admin_v1beta_NumericValue_descriptor = - getDescriptor().getMessageTypes().get(10); - internal_static_google_analytics_admin_v1beta_NumericValue_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1beta_NumericValue_descriptor, - new java.lang.String[] { "Int64Value", "DoubleValue", "OneValue", }); - internal_static_google_analytics_admin_v1beta_AccessOrderBy_descriptor = - getDescriptor().getMessageTypes().get(11); - internal_static_google_analytics_admin_v1beta_AccessOrderBy_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1beta_AccessOrderBy_descriptor, - new java.lang.String[] { "Metric", "Dimension", "Desc", "OneOrderBy", }); - internal_static_google_analytics_admin_v1beta_AccessOrderBy_MetricOrderBy_descriptor = - internal_static_google_analytics_admin_v1beta_AccessOrderBy_descriptor.getNestedTypes().get(0); - internal_static_google_analytics_admin_v1beta_AccessOrderBy_MetricOrderBy_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1beta_AccessOrderBy_MetricOrderBy_descriptor, - new java.lang.String[] { "MetricName", }); - internal_static_google_analytics_admin_v1beta_AccessOrderBy_DimensionOrderBy_descriptor = - internal_static_google_analytics_admin_v1beta_AccessOrderBy_descriptor.getNestedTypes().get(1); - internal_static_google_analytics_admin_v1beta_AccessOrderBy_DimensionOrderBy_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1beta_AccessOrderBy_DimensionOrderBy_descriptor, - new java.lang.String[] { "DimensionName", "OrderType", }); - internal_static_google_analytics_admin_v1beta_AccessDimensionHeader_descriptor = - getDescriptor().getMessageTypes().get(12); - internal_static_google_analytics_admin_v1beta_AccessDimensionHeader_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1beta_AccessDimensionHeader_descriptor, - new java.lang.String[] { "DimensionName", }); - internal_static_google_analytics_admin_v1beta_AccessMetricHeader_descriptor = - getDescriptor().getMessageTypes().get(13); - internal_static_google_analytics_admin_v1beta_AccessMetricHeader_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1beta_AccessMetricHeader_descriptor, - new java.lang.String[] { "MetricName", }); - internal_static_google_analytics_admin_v1beta_AccessRow_descriptor = - getDescriptor().getMessageTypes().get(14); - internal_static_google_analytics_admin_v1beta_AccessRow_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1beta_AccessRow_descriptor, - new java.lang.String[] { "DimensionValues", "MetricValues", }); - internal_static_google_analytics_admin_v1beta_AccessDimensionValue_descriptor = - getDescriptor().getMessageTypes().get(15); - internal_static_google_analytics_admin_v1beta_AccessDimensionValue_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1beta_AccessDimensionValue_descriptor, - new java.lang.String[] { "Value", }); - internal_static_google_analytics_admin_v1beta_AccessMetricValue_descriptor = - getDescriptor().getMessageTypes().get(16); - internal_static_google_analytics_admin_v1beta_AccessMetricValue_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1beta_AccessMetricValue_descriptor, - new java.lang.String[] { "Value", }); - internal_static_google_analytics_admin_v1beta_AccessQuota_descriptor = - getDescriptor().getMessageTypes().get(17); - internal_static_google_analytics_admin_v1beta_AccessQuota_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1beta_AccessQuota_descriptor, - new java.lang.String[] { "TokensPerDay", "TokensPerHour", "ConcurrentRequests", "ServerErrorsPerProjectPerHour", "TokensPerProjectPerHour", }); - internal_static_google_analytics_admin_v1beta_AccessQuotaStatus_descriptor = - getDescriptor().getMessageTypes().get(18); - internal_static_google_analytics_admin_v1beta_AccessQuotaStatus_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1beta_AccessQuotaStatus_descriptor, - new java.lang.String[] { "Consumed", "Remaining", }); - } - - // @@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/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 0069f2e50441..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,1253 +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_RunAccessReportRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1beta_RunAccessReportRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_analytics_admin_v1beta_RunAccessReportResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1beta_RunAccessReportResponse_fieldAccessorTable; - 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_UpdateConversionEventRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_analytics_admin_v1beta_UpdateConversionEventRequest_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\0321google/analytics/admin/v1beta/acce" + - "ss_report.proto\032-google/analytics/admin/" + - "v1beta/resources.proto\032\034google/api/annot" + - "ations.proto\032\027google/api/client.proto\032\037g" + - "oogle/api/field_behavior.proto\032\031google/a" + - "pi/resource.proto\032\033google/protobuf/empty" + - ".proto\032 google/protobuf/field_mask.proto" + - "\032\037google/protobuf/timestamp.proto\"\236\004\n\026Ru" + - "nAccessReportRequest\022\016\n\006entity\030\001 \001(\t\022B\n\n" + - "dimensions\030\002 \003(\0132..google.analytics.admi" + - "n.v1beta.AccessDimension\022<\n\007metrics\030\003 \003(" + - "\0132+.google.analytics.admin.v1beta.Access" + - "Metric\022C\n\013date_ranges\030\004 \003(\0132..google.ana" + - "lytics.admin.v1beta.AccessDateRange\022O\n\020d" + - "imension_filter\030\005 \001(\01325.google.analytics" + - ".admin.v1beta.AccessFilterExpression\022L\n\r" + - "metric_filter\030\006 \001(\01325.google.analytics.a" + - "dmin.v1beta.AccessFilterExpression\022\016\n\006of" + - "fset\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.analyti" + - "cs.admin.v1beta.AccessOrderBy\022\033\n\023return_" + - "entity_quota\030\013 \001(\010\"\273\002\n\027RunAccessReportRe" + - "sponse\022O\n\021dimension_headers\030\001 \003(\01324.goog" + - "le.analytics.admin.v1beta.AccessDimensio" + - "nHeader\022I\n\016metric_headers\030\002 \003(\01321.google" + - ".analytics.admin.v1beta.AccessMetricHead" + - "er\0226\n\004rows\030\003 \003(\0132(.google.analytics.admi" + - "n.v1beta.AccessRow\022\021\n\trow_count\030\004 \001(\005\0229\n" + - "\005quota\030\005 \001(\0132*.google.analytics.admin.v1" + - "beta.AccessQuota\"Q\n\021GetAccountRequest\022<\n" + - "\004name\030\001 \001(\tB.\342A\001\002\372A\'\n%analyticsadmin.goo" + - "gleapis.com/Account\"R\n\023ListAccountsReque" + - "st\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\024ListAccountsR" + - "esponse\0228\n\010accounts\030\001 \003(\0132&.google.analy" + - "tics.admin.v1beta.Account\022\027\n\017next_page_t" + - "oken\030\002 \001(\t\"T\n\024DeleteAccountRequest\022<\n\004na" + - "me\030\001 \001(\tB.\342A\001\002\372A\'\n%analyticsadmin.google" + - "apis.com/Account\"\214\001\n\024UpdateAccountReques" + - "t\022=\n\007account\030\001 \001(\0132&.google.analytics.ad" + - "min.v1beta.AccountB\004\342A\001\002\0225\n\013update_mask\030" + - "\002 \001(\0132\032.google.protobuf.FieldMaskB\004\342A\001\002\"" + - "n\n\035ProvisionAccountTicketRequest\0227\n\007acco" + - "unt\030\001 \001(\0132&.google.analytics.admin.v1bet" + - "a.Account\022\024\n\014redirect_uri\030\002 \001(\t\";\n\036Provi" + - "sionAccountTicketResponse\022\031\n\021account_tic" + - "ket_id\030\001 \001(\t\"S\n\022GetPropertyRequest\022=\n\004na" + - "me\030\001 \001(\tB/\342A\001\002\372A(\n&analyticsadmin.google" + - "apis.com/Property\"j\n\025ListPropertiesReque" + - "st\022\024\n\006filter\030\001 \001(\tB\004\342A\001\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\"\217\001" + - "\n\025UpdatePropertyRequest\022?\n\010property\030\001 \001(" + - "\0132\'.google.analytics.admin.v1beta.Proper" + - "tyB\004\342A\001\002\0225\n\013update_mask\030\002 \001(\0132\032.google.p" + - "rotobuf.FieldMaskB\004\342A\001\002\"X\n\025CreatePropert" + - "yRequest\022?\n\010property\030\001 \001(\0132\'.google.anal" + - "ytics.admin.v1beta.PropertyB\004\342A\001\002\"V\n\025Del" + - "etePropertyRequest\022=\n\004name\030\001 \001(\tB/\342A\001\002\372A" + - "(\n&analyticsadmin.googleapis.com/Propert" + - "y\"\252\001\n\031CreateFirebaseLinkRequest\022C\n\006paren" + - "t\030\001 \001(\tB3\342A\001\002\372A,\022*analyticsadmin.googlea" + - "pis.com/FirebaseLink\022H\n\rfirebase_link\030\002 " + - "\001(\0132+.google.analytics.admin.v1beta.Fire" + - "baseLinkB\004\342A\001\002\"^\n\031DeleteFirebaseLinkRequ" + - "est\022A\n\004name\030\001 \001(\tB3\342A\001\002\372A,\n*analyticsadm" + - "in.googleapis.com/FirebaseLink\"\206\001\n\030ListF" + - "irebaseLinksRequest\022C\n\006parent\030\001 \001(\tB3\342A\001" + - "\002\372A,\022*analyticsadmin.googleapis.com/Fire" + - "baseLink\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_toke" + - "n\030\003 \001(\t\"y\n\031ListFirebaseLinksResponse\022C\n\016" + - "firebase_links\030\001 \003(\0132+.google.analytics." + - "admin.v1beta.FirebaseLink\022\027\n\017next_page_t" + - "oken\030\002 \001(\t\"\257\001\n\032CreateGoogleAdsLinkReques" + - "t\022D\n\006parent\030\001 \001(\tB4\342A\001\002\372A-\022+analyticsadm" + - "in.googleapis.com/GoogleAdsLink\022K\n\017googl" + - "e_ads_link\030\002 \001(\0132,.google.analytics.admi" + - "n.v1beta.GoogleAdsLinkB\004\342A\001\002\"\232\001\n\032UpdateG" + - "oogleAdsLinkRequest\022E\n\017google_ads_link\030\001" + - " \001(\0132,.google.analytics.admin.v1beta.Goo" + - "gleAdsLink\0225\n\013update_mask\030\002 \001(\0132\032.google" + - ".protobuf.FieldMaskB\004\342A\001\002\"`\n\032DeleteGoogl" + - "eAdsLinkRequest\022B\n\004name\030\001 \001(\tB4\342A\001\002\372A-\n+" + - "analyticsadmin.googleapis.com/GoogleAdsL" + - "ink\"\210\001\n\031ListGoogleAdsLinksRequest\022D\n\006par" + - "ent\030\001 \001(\tB4\342A\001\002\372A-\022+analyticsadmin.googl" + - "eapis.com/GoogleAdsLink\022\021\n\tpage_size\030\002 \001" + - "(\005\022\022\n\npage_token\030\003 \001(\t\"}\n\032ListGoogleAdsL" + - "inksResponse\022F\n\020google_ads_links\030\001 \003(\0132," + - ".google.analytics.admin.v1beta.GoogleAds" + - "Link\022\027\n\017next_page_token\030\002 \001(\t\"i\n\035GetData" + - "SharingSettingsRequest\022H\n\004name\030\001 \001(\tB:\342A" + - "\001\002\372A3\n1analyticsadmin.googleapis.com/Dat" + - "aSharingSettings\"D\n\033ListAccountSummaries" + - "Request\022\021\n\tpage_size\030\001 \001(\005\022\022\n\npage_token" + - "\030\002 \001(\t\"\201\001\n\034ListAccountSummariesResponse\022" + - "H\n\021account_summaries\030\001 \003(\0132-.google.anal" + - "ytics.admin.v1beta.AccountSummary\022\027\n\017nex" + - "t_page_token\030\002 \001(\t\"\210\001\n$AcknowledgeUserDa" + - "taCollectionRequest\022A\n\010property\030\001 \001(\tB/\342" + - "A\001\002\372A(\n&analyticsadmin.googleapis.com/Pr" + - "operty\022\035\n\017acknowledgement\030\002 \001(\tB\004\342A\001\002\"\'\n" + - "%AcknowledgeUserDataCollectionResponse\"\212" + - "\004\n SearchChangeHistoryEventsRequest\022?\n\007a" + - "ccount\030\001 \001(\tB.\342A\001\002\372A\'\n%analyticsadmin.go" + - "ogleapis.com/Account\022A\n\010property\030\002 \001(\tB/" + - "\342A\001\001\372A(\n&analyticsadmin.googleapis.com/P" + - "roperty\022U\n\rresource_type\030\003 \003(\01628.google." + - "analytics.admin.v1beta.ChangeHistoryReso" + - "urceTypeB\004\342A\001\001\022?\n\006action\030\004 \003(\0162).google." + - "analytics.admin.v1beta.ActionTypeB\004\342A\001\001\022" + - "\031\n\013actor_email\030\005 \003(\tB\004\342A\001\001\022>\n\024earliest_c" + - "hange_time\030\006 \001(\0132\032.google.protobuf.Times" + - "tampB\004\342A\001\001\022<\n\022latest_change_time\030\007 \001(\0132\032" + - ".google.protobuf.TimestampB\004\342A\001\001\022\027\n\tpage" + - "_size\030\010 \001(\005B\004\342A\001\001\022\030\n\npage_token\030\t \001(\tB\004\342" + - "A\001\001\"\216\001\n!SearchChangeHistoryEventsRespons" + - "e\022P\n\025change_history_events\030\001 \003(\01321.googl" + - "e.analytics.admin.v1beta.ChangeHistoryEv" + - "ent\022\027\n\017next_page_token\030\002 \001(\t\"u\n#GetMeasu" + - "rementProtocolSecretRequest\022N\n\004name\030\001 \001(" + - "\tB@\342A\001\002\372A9\n7analyticsadmin.googleapis.co" + - "m/MeasurementProtocolSecret\"\337\001\n&CreateMe" + - "asurementProtocolSecretRequest\022P\n\006parent" + - "\030\001 \001(\tB@\342A\001\002\372A9\0227analyticsadmin.googleap" + - "is.com/MeasurementProtocolSecret\022c\n\033meas" + - "urement_protocol_secret\030\002 \001(\01328.google.a" + - "nalytics.admin.v1beta.MeasurementProtoco" + - "lSecretB\004\342A\001\002\"x\n&DeleteMeasurementProtoc" + - "olSecretRequest\022N\n\004name\030\001 \001(\tB@\342A\001\002\372A9\n7" + - "analyticsadmin.googleapis.com/Measuremen" + - "tProtocolSecret\"\304\001\n&UpdateMeasurementPro" + - "tocolSecretRequest\022c\n\033measurement_protoc" + - "ol_secret\030\001 \001(\01328.google.analytics.admin" + - ".v1beta.MeasurementProtocolSecretB\004\342A\001\002\022" + - "5\n\013update_mask\030\002 \001(\0132\032.google.protobuf.F" + - "ieldMaskB\004\342A\001\002\"\240\001\n%ListMeasurementProtoc" + - "olSecretsRequest\022P\n\006parent\030\001 \001(\tB@\342A\001\002\372A" + - "9\0227analyticsadmin.googleapis.com/Measure" + - "mentProtocolSecret\022\021\n\tpage_size\030\002 \001(\005\022\022\n" + - "\npage_token\030\003 \001(\t\"\241\001\n&ListMeasurementPro" + - "tocolSecretsResponse\022^\n\034measurement_prot" + - "ocol_secrets\030\001 \003(\01328.google.analytics.ad" + - "min.v1beta.MeasurementProtocolSecret\022\027\n\017" + - "next_page_token\030\002 \001(\t\"\266\001\n\034CreateConversi" + - "onEventRequest\022N\n\020conversion_event\030\001 \001(\013" + - "2..google.analytics.admin.v1beta.Convers" + - "ionEventB\004\342A\001\002\022F\n\006parent\030\002 \001(\tB6\342A\001\002\372A/\022" + - "-analyticsadmin.googleapis.com/Conversio" + - "nEvent\"\245\001\n\034UpdateConversionEventRequest\022" + - "N\n\020conversion_event\030\001 \001(\0132..google.analy" + - "tics.admin.v1beta.ConversionEventB\004\342A\001\002\022" + - "5\n\013update_mask\030\002 \001(\0132\032.google.protobuf.F" + - "ieldMaskB\004\342A\001\002\"a\n\031GetConversionEventRequ" + - "est\022D\n\004name\030\001 \001(\tB6\342A\001\002\372A/\n-analyticsadm" + - "in.googleapis.com/ConversionEvent\"d\n\034Del" + - "eteConversionEventRequest\022D\n\004name\030\001 \001(\tB" + - "6\342A\001\002\372A/\n-analyticsadmin.googleapis.com/" + - "ConversionEvent\"\214\001\n\033ListConversionEvents" + - "Request\022F\n\006parent\030\001 \001(\tB6\342A\001\002\372A/\022-analyt" + - "icsadmin.googleapis.com/ConversionEvent\022" + - "\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"\202" + - "\001\n\034ListConversionEventsResponse\022I\n\021conve" + - "rsion_events\030\001 \003(\0132..google.analytics.ad" + - "min.v1beta.ConversionEvent\022\027\n\017next_page_" + - "token\030\002 \001(\t\"\266\001\n\034CreateCustomDimensionReq" + - "uest\022F\n\006parent\030\001 \001(\tB6\342A\001\002\372A/\022-analytics" + - "admin.googleapis.com/CustomDimension\022N\n\020" + - "custom_dimension\030\002 \001(\0132..google.analytic" + - "s.admin.v1beta.CustomDimensionB\004\342A\001\002\"\237\001\n" + - "\034UpdateCustomDimensionRequest\022H\n\020custom_" + - "dimension\030\001 \001(\0132..google.analytics.admin" + - ".v1beta.CustomDimension\0225\n\013update_mask\030\002" + - " \001(\0132\032.google.protobuf.FieldMaskB\004\342A\001\002\"\214" + - "\001\n\033ListCustomDimensionsRequest\022F\n\006parent" + - "\030\001 \001(\tB6\342A\001\002\372A/\022-analyticsadmin.googleap" + - "is.com/CustomDimension\022\021\n\tpage_size\030\002 \001(" + - "\005\022\022\n\npage_token\030\003 \001(\t\"\202\001\n\034ListCustomDime" + - "nsionsResponse\022I\n\021custom_dimensions\030\001 \003(" + - "\0132..google.analytics.admin.v1beta.Custom" + - "Dimension\022\027\n\017next_page_token\030\002 \001(\t\"e\n\035Ar" + - "chiveCustomDimensionRequest\022D\n\004name\030\001 \001(" + - "\tB6\342A\001\002\372A/\n-analyticsadmin.googleapis.co" + - "m/CustomDimension\"a\n\031GetCustomDimensionR" + - "equest\022D\n\004name\030\001 \001(\tB6\342A\001\002\372A/\n-analytics" + - "admin.googleapis.com/CustomDimension\"\252\001\n" + - "\031CreateCustomMetricRequest\022C\n\006parent\030\001 \001" + - "(\tB3\342A\001\002\372A,\022*analyticsadmin.googleapis.c" + - "om/CustomMetric\022H\n\rcustom_metric\030\002 \001(\0132+" + - ".google.analytics.admin.v1beta.CustomMet" + - "ricB\004\342A\001\002\"\226\001\n\031UpdateCustomMetricRequest\022" + - "B\n\rcustom_metric\030\001 \001(\0132+.google.analytic" + - "s.admin.v1beta.CustomMetric\0225\n\013update_ma" + - "sk\030\002 \001(\0132\032.google.protobuf.FieldMaskB\004\342A" + - "\001\002\"\206\001\n\030ListCustomMetricsRequest\022C\n\006paren" + - "t\030\001 \001(\tB3\342A\001\002\372A,\022*analyticsadmin.googlea" + - "pis.com/CustomMetric\022\021\n\tpage_size\030\002 \001(\005\022" + - "\022\n\npage_token\030\003 \001(\t\"y\n\031ListCustomMetrics" + - "Response\022C\n\016custom_metrics\030\001 \003(\0132+.googl" + - "e.analytics.admin.v1beta.CustomMetric\022\027\n" + - "\017next_page_token\030\002 \001(\t\"_\n\032ArchiveCustomM" + - "etricRequest\022A\n\004name\030\001 \001(\tB3\342A\001\002\372A,\n*ana" + - "lyticsadmin.googleapis.com/CustomMetric\"" + - "[\n\026GetCustomMetricRequest\022A\n\004name\030\001 \001(\tB" + - "3\342A\001\002\372A,\n*analyticsadmin.googleapis.com/" + - "CustomMetric\"m\n\037GetDataRetentionSettings" + - "Request\022J\n\004name\030\001 \001(\tB<\342A\001\002\372A5\n3analytic" + - "sadmin.googleapis.com/DataRetentionSetti" + - "ngs\"\270\001\n\"UpdateDataRetentionSettingsReque" + - "st\022[\n\027data_retention_settings\030\001 \001(\01324.go" + - "ogle.analytics.admin.v1beta.DataRetentio" + - "nSettingsB\004\342A\001\002\0225\n\013update_mask\030\002 \001(\0132\032.g" + - "oogle.protobuf.FieldMaskB\004\342A\001\002\"\242\001\n\027Creat" + - "eDataStreamRequest\022A\n\006parent\030\001 \001(\tB1\342A\001\002" + - "\372A*\022(analyticsadmin.googleapis.com/DataS" + - "tream\022D\n\013data_stream\030\002 \001(\0132).google.anal" + - "ytics.admin.v1beta.DataStreamB\004\342A\001\002\"Z\n\027D" + - "eleteDataStreamRequest\022?\n\004name\030\001 \001(\tB1\342A" + - "\001\002\372A*\n(analyticsadmin.googleapis.com/Dat" + - "aStream\"\220\001\n\027UpdateDataStreamRequest\022>\n\013d" + - "ata_stream\030\001 \001(\0132).google.analytics.admi" + - "n.v1beta.DataStream\0225\n\013update_mask\030\002 \001(\013" + - "2\032.google.protobuf.FieldMaskB\004\342A\001\002\"\202\001\n\026L" + - "istDataStreamsRequest\022A\n\006parent\030\001 \001(\tB1\342" + - "A\001\002\372A*\022(analyticsadmin.googleapis.com/Da" + - "taStream\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_toke" + - "n\030\003 \001(\t\"s\n\027ListDataStreamsResponse\022?\n\014da" + - "ta_streams\030\001 \003(\0132).google.analytics.admi" + - "n.v1beta.DataStream\022\027\n\017next_page_token\030\002" + - " \001(\t\"W\n\024GetDataStreamRequest\022?\n\004name\030\001 \001" + - "(\tB1\342A\001\002\372A*\n(analyticsadmin.googleapis.c" + - "om/DataStream2\333P\n\025AnalyticsAdminService\022" + - "\220\001\n\nGetAccount\0220.google.analytics.admin." + - "v1beta.GetAccountRequest\032&.google.analyt" + - "ics.admin.v1beta.Account\"(\332A\004name\202\323\344\223\002\033\022" + - "\031/v1beta/{name=accounts/*}\022\221\001\n\014ListAccou" + - "nts\0222.google.analytics.admin.v1beta.List" + - "AccountsRequest\0323.google.analytics.admin" + - ".v1beta.ListAccountsResponse\"\030\202\323\344\223\002\022\022\020/v" + - "1beta/accounts\022\206\001\n\rDeleteAccount\0223.googl" + - "e.analytics.admin.v1beta.DeleteAccountRe" + - "quest\032\026.google.protobuf.Empty\"(\332A\004name\202\323" + - "\344\223\002\033*\031/v1beta/{name=accounts/*}\022\266\001\n\rUpda" + - "teAccount\0223.google.analytics.admin.v1bet" + - "a.UpdateAccountRequest\032&.google.analytic" + - "s.admin.v1beta.Account\"H\332A\023account,updat" + - "e_mask\202\323\344\223\002,2!/v1beta/{account.name=acco" + - "unts/*}:\007account\022\311\001\n\026ProvisionAccountTic" + - "ket\022<.google.analytics.admin.v1beta.Prov" + - "isionAccountTicketRequest\032=.google.analy" + - "tics.admin.v1beta.ProvisionAccountTicket" + - "Response\"2\202\323\344\223\002,\"\'/v1beta/accounts:provi" + - "sionAccountTicket:\001*\022\261\001\n\024ListAccountSumm" + - "aries\022:.google.analytics.admin.v1beta.Li" + - "stAccountSummariesRequest\032;.google.analy" + - "tics.admin.v1beta.ListAccountSummariesRe" + - "sponse\" \202\323\344\223\002\032\022\030/v1beta/accountSummaries" + - "\022\225\001\n\013GetProperty\0221.google.analytics.admi" + - "n.v1beta.GetPropertyRequest\032\'.google.ana" + - "lytics.admin.v1beta.Property\"*\332A\004name\202\323\344" + - "\223\002\035\022\033/v1beta/{name=properties/*}\022\231\001\n\016Lis" + - "tProperties\0224.google.analytics.admin.v1b" + - "eta.ListPropertiesRequest\0325.google.analy" + - "tics.admin.v1beta.ListPropertiesResponse" + - "\"\032\202\323\344\223\002\024\022\022/v1beta/properties\022\240\001\n\016CreateP" + - "roperty\0224.google.analytics.admin.v1beta." + - "CreatePropertyRequest\032\'.google.analytics" + - ".admin.v1beta.Property\"/\332A\010property\202\323\344\223\002" + - "\036\"\022/v1beta/properties:\010property\022\233\001\n\016Dele" + - "teProperty\0224.google.analytics.admin.v1be" + - "ta.DeletePropertyRequest\032\'.google.analyt" + - "ics.admin.v1beta.Property\"*\332A\004name\202\323\344\223\002\035" + - "*\033/v1beta/{name=properties/*}\022\276\001\n\016Update" + - "Property\0224.google.analytics.admin.v1beta" + - ".UpdatePropertyRequest\032\'.google.analytic" + - "s.admin.v1beta.Property\"M\332A\024property,upd" + - "ate_mask\202\323\344\223\00202$/v1beta/{property.name=p" + - "roperties/*}:\010property\022\326\001\n\022CreateFirebas" + - "eLink\0228.google.analytics.admin.v1beta.Cr" + - "eateFirebaseLinkRequest\032+.google.analyti" + - "cs.admin.v1beta.FirebaseLink\"Y\332A\024parent," + - "firebase_link\202\323\344\223\002<\"+/v1beta/{parent=pro" + - "perties/*}/firebaseLinks:\rfirebase_link\022" + - "\242\001\n\022DeleteFirebaseLink\0228.google.analytic" + - "s.admin.v1beta.DeleteFirebaseLinkRequest" + - "\032\026.google.protobuf.Empty\":\332A\004name\202\323\344\223\002-*" + - "+/v1beta/{name=properties/*/firebaseLink" + - "s/*}\022\304\001\n\021ListFirebaseLinks\0227.google.anal" + - "ytics.admin.v1beta.ListFirebaseLinksRequ" + - "est\0328.google.analytics.admin.v1beta.List" + - "FirebaseLinksResponse\"<\332A\006parent\202\323\344\223\002-\022+" + - "/v1beta/{parent=properties/*}/firebaseLi" + - "nks\022\336\001\n\023CreateGoogleAdsLink\0229.google.ana" + - "lytics.admin.v1beta.CreateGoogleAdsLinkR" + - "equest\032,.google.analytics.admin.v1beta.G" + - "oogleAdsLink\"^\332A\026parent,google_ads_link\202" + - "\323\344\223\002?\",/v1beta/{parent=properties/*}/goo" + - "gleAdsLinks:\017google_ads_link\022\363\001\n\023UpdateG" + - "oogleAdsLink\0229.google.analytics.admin.v1" + - "beta.UpdateGoogleAdsLinkRequest\032,.google" + - ".analytics.admin.v1beta.GoogleAdsLink\"s\332" + - "A\033google_ads_link,update_mask\202\323\344\223\002O2.google.analytics." + - "admin.v1beta.GetDataRetentionSettingsReq" + - "uest\0324.google.analytics.admin.v1beta.Dat" + - "aRetentionSettings\"@\332A\004name\202\323\344\223\0023\0221/v1be" + - "ta/{name=properties/*/dataRetentionSetti" + - "ngs}\022\251\002\n\033UpdateDataRetentionSettings\022A.g" + - "oogle.analytics.admin.v1beta.UpdateDataR" + - "etentionSettingsRequest\0324.google.analyti" + - "cs.admin.v1beta.DataRetentionSettings\"\220\001" + - "\332A#data_retention_settings,update_mask\202\323" + - "\344\223\002d2I/v1beta/{data_retention_settings.n" + - "ame=properties/*/dataRetentionSettings}:" + - "\027data_retention_settings\022\312\001\n\020CreateDataS" + - "tream\0226.google.analytics.admin.v1beta.Cr" + - "eateDataStreamRequest\032).google.analytics" + - ".admin.v1beta.DataStream\"S\332A\022parent,data" + - "_stream\202\323\344\223\0028\")/v1beta/{parent=propertie" + - "s/*}/dataStreams:\013data_stream\022\234\001\n\020Delete" + - "DataStream\0226.google.analytics.admin.v1be" + - "ta.DeleteDataStreamRequest\032\026.google.prot" + - "obuf.Empty\"8\332A\004name\202\323\344\223\002+*)/v1beta/{name" + - "=properties/*/dataStreams/*}\022\333\001\n\020UpdateD" + - "ataStream\0226.google.analytics.admin.v1bet" + - "a.UpdateDataStreamRequest\032).google.analy" + - "tics.admin.v1beta.DataStream\"d\332A\027data_st" + - "ream,update_mask\202\323\344\223\002D25/v1beta/{data_st" + - "ream.name=properties/*/dataStreams/*}:\013d" + - "ata_stream\022\274\001\n\017ListDataStreams\0225.google." + - "analytics.admin.v1beta.ListDataStreamsRe" + - "quest\0326.google.analytics.admin.v1beta.Li" + - "stDataStreamsResponse\":\332A\006parent\202\323\344\223\002+\022)" + - "/v1beta/{parent=properties/*}/dataStream" + - "s\022\251\001\n\rGetDataStream\0223.google.analytics.a" + - "dmin.v1beta.GetDataStreamRequest\032).googl" + - "e.analytics.admin.v1beta.DataStream\"8\332A\004" + - "name\202\323\344\223\002+\022)/v1beta/{name=properties/*/d" + - "ataStreams/*}\022\354\001\n\017RunAccessReport\0225.goog" + - "le.analytics.admin.v1beta.RunAccessRepor" + - "tRequest\0326.google.analytics.admin.v1beta" + - ".RunAccessReportResponse\"j\202\323\344\223\002d\"-/v1bet" + - "a/{entity=properties/*}:runAccessReport:" + - "\001*Z0\"+/v1beta/{entity=accounts/*}:runAcc" + - "essReport:\001*\032\204\001\312A\035analyticsadmin.googlea" + - "pis.com\322Aahttps://www.googleapis.com/aut" + - "h/analytics.edit,https://www.googleapis." + - "com/auth/analytics.readonlyB~\n!com.googl" + - "e.analytics.admin.v1betaB\023AnalyticsAdmin" + - "ProtoP\001ZBgoogle.golang.org/genproto/goog" + - "leapis/analytics/admin/v1beta;adminb\006pro" + - "to3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.analytics.admin.v1beta.AccessReportProto.getDescriptor(), - 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_RunAccessReportRequest_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_analytics_admin_v1beta_RunAccessReportRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1beta_RunAccessReportRequest_descriptor, - new java.lang.String[] { "Entity", "Dimensions", "Metrics", "DateRanges", "DimensionFilter", "MetricFilter", "Offset", "Limit", "TimeZone", "OrderBys", "ReturnEntityQuota", }); - internal_static_google_analytics_admin_v1beta_RunAccessReportResponse_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_analytics_admin_v1beta_RunAccessReportResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1beta_RunAccessReportResponse_descriptor, - new java.lang.String[] { "DimensionHeaders", "MetricHeaders", "Rows", "RowCount", "Quota", }); - internal_static_google_analytics_admin_v1beta_GetAccountRequest_descriptor = - getDescriptor().getMessageTypes().get(2); - 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(3); - 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(4); - 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(5); - 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(6); - 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(7); - 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(8); - 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(9); - 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(10); - 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(11); - 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(12); - 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(13); - 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(14); - 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(15); - 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(16); - 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(17); - 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(18); - 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(19); - 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(20); - 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(21); - 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(22); - 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(23); - 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(24); - 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(25); - 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(26); - 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(27); - 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(28); - 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(29); - 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(30); - 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(31); - 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(32); - 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(33); - 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(34); - 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(35); - 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(36); - 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(37); - 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_UpdateConversionEventRequest_descriptor = - getDescriptor().getMessageTypes().get(38); - internal_static_google_analytics_admin_v1beta_UpdateConversionEventRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_analytics_admin_v1beta_UpdateConversionEventRequest_descriptor, - new java.lang.String[] { "ConversionEvent", "UpdateMask", }); - internal_static_google_analytics_admin_v1beta_GetConversionEventRequest_descriptor = - getDescriptor().getMessageTypes().get(39); - 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(40); - 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(41); - 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(42); - 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(43); - 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(44); - 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(45); - 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(46); - 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(47); - 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(48); - 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(49); - 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(50); - 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(51); - 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(52); - 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(53); - 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(54); - 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(55); - 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(56); - 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(57); - 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(58); - 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(59); - 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(60); - 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(61); - 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(62); - 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.AccessReportProto.getDescriptor(); - 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 421851dc7c96..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 cb547ec4ba62..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,480 +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\"\223\002\n\007Account\022\022\n\004name\030\001 \001(\tB\004\342A\001\003\0225\n\013c" + - "reate_time\030\002 \001(\0132\032.google.protobuf.Times" + - "tampB\004\342A\001\003\0225\n\013update_time\030\003 \001(\0132\032.google" + - ".protobuf.TimestampB\004\342A\001\003\022\032\n\014display_nam" + - "e\030\004 \001(\tB\004\342A\001\002\022\023\n\013region_code\030\005 \001(\t\022\025\n\007de" + - "leted\030\006 \001(\010B\004\342A\001\003:>\352A;\n%analyticsadmin.g" + - "oogleapis.com/Account\022\022accounts/{account" + - "}\"\301\005\n\010Property\022\022\n\004name\030\001 \001(\tB\004\342A\001\003\022H\n\rpr" + - "operty_type\030\016 \001(\0162+.google.analytics.adm" + - "in.v1beta.PropertyTypeB\004\342A\001\005\0225\n\013create_t" + - "ime\030\003 \001(\0132\032.google.protobuf.TimestampB\004\342" + - "A\001\003\0225\n\013update_time\030\004 \001(\0132\032.google.protob" + - "uf.TimestampB\004\342A\001\003\022\024\n\006parent\030\002 \001(\tB\004\342A\001\005" + - "\022\032\n\014display_name\030\005 \001(\tB\004\342A\001\002\022J\n\021industry" + - "_category\030\006 \001(\0162/.google.analytics.admin" + - ".v1beta.IndustryCategory\022\027\n\ttime_zone\030\007 " + - "\001(\tB\004\342A\001\002\022\025\n\rcurrency_code\030\010 \001(\t\022H\n\rserv" + - "ice_level\030\n \001(\0162+.google.analytics.admin" + - ".v1beta.ServiceLevelB\004\342A\001\003\0225\n\013delete_tim" + - "e\030\013 \001(\0132\032.google.protobuf.TimestampB\004\342A\001" + - "\003\0225\n\013expire_time\030\014 \001(\0132\032.google.protobuf" + - ".TimestampB\004\342A\001\003\022?\n\007account\030\r \001(\tB.\342A\001\005\372" + - "A\'\n%analyticsadmin.googleapis.com/Accoun" + - "t:B\352A?\n&analyticsadmin.googleapis.com/Pr" + - "operty\022\025properties/{property}\"\366\007\n\nDataSt" + - "ream\022R\n\017web_stream_data\030\006 \001(\01327.google.a" + - "nalytics.admin.v1beta.DataStream.WebStre" + - "amDataH\000\022a\n\027android_app_stream_data\030\007 \001(" + - "\0132>.google.analytics.admin.v1beta.DataSt" + - "ream.AndroidAppStreamDataH\000\022Y\n\023ios_app_s" + - "tream_data\030\010 \001(\0132:.google.analytics.admi" + - "n.v1beta.DataStream.IosAppStreamDataH\000\022\022" + - "\n\004name\030\001 \001(\tB\004\342A\001\003\022M\n\004type\030\002 \001(\01628.googl" + - "e.analytics.admin.v1beta.DataStream.Data" + - "StreamTypeB\005\342A\002\005\002\022\024\n\014display_name\030\003 \001(\t\022" + - "5\n\013create_time\030\004 \001(\0132\032.google.protobuf.T" + - "imestampB\004\342A\001\003\0225\n\013update_time\030\005 \001(\0132\032.go" + - "ogle.protobuf.TimestampB\004\342A\001\003\032a\n\rWebStre" + - "amData\022\034\n\016measurement_id\030\001 \001(\tB\004\342A\001\003\022\035\n\017" + - "firebase_app_id\030\002 \001(\tB\004\342A\001\003\022\023\n\013default_u" + - "ri\030\003 \001(\t\032Q\n\024AndroidAppStreamData\022\035\n\017fire" + - "base_app_id\030\001 \001(\tB\004\342A\001\003\022\032\n\014package_name\030" + - "\002 \001(\tB\004\342A\001\005\032K\n\020IosAppStreamData\022\035\n\017fireb" + - "ase_app_id\030\001 \001(\tB\004\342A\001\003\022\030\n\tbundle_id\030\002 \001(" + - "\tB\005\342A\002\005\002\"}\n\016DataStreamType\022 \n\034DATA_STREA" + - "M_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_AP" + - "P_DATA_STREAM\020\003:^\352A[\n(analyticsadmin.goo" + - "gleapis.com/DataStream\022/properties/{prop" + - "erty}/dataStreams/{data_stream}B\r\n\013strea" + - "m_data\"\326\001\n\014FirebaseLink\022\022\n\004name\030\001 \001(\tB\004\342" + - "A\001\003\022\025\n\007project\030\002 \001(\tB\004\342A\001\005\0225\n\013create_tim" + - "e\030\003 \001(\0132\032.google.protobuf.TimestampB\004\342A\001" + - "\003:d\352Aa\n*analyticsadmin.googleapis.com/Fi" + - "rebaseLink\0223properties/{property}/fireba" + - "seLinks/{firebase_link}\"\236\003\n\rGoogleAdsLin" + - "k\022\022\n\004name\030\001 \001(\tB\004\342A\001\003\022\031\n\013customer_id\030\003 \001" + - "(\tB\004\342A\001\005\022 \n\022can_manage_clients\030\004 \001(\010B\004\342A" + - "\001\003\022?\n\033ads_personalization_enabled\030\005 \001(\0132" + - "\032.google.protobuf.BoolValue\0225\n\013create_ti" + - "me\030\007 \001(\0132\032.google.protobuf.TimestampB\004\342A" + - "\001\003\0225\n\013update_time\030\010 \001(\0132\032.google.protobu" + - "f.TimestampB\004\342A\001\003\022#\n\025creator_email_addre" + - "ss\030\t \001(\tB\004\342A\001\003:h\352Ae\n+analyticsadmin.goog" + - "leapis.com/GoogleAdsLink\0226properties/{pr" + - "operty}/googleAdsLinks/{google_ads_link}" + - "\"\354\002\n\023DataSharingSettings\022\022\n\004name\030\001 \001(\tB\004" + - "\342A\001\003\022+\n#sharing_with_google_support_enab" + - "led\030\002 \001(\010\0222\n*sharing_with_google_assigne" + - "d_sales_enabled\030\003 \001(\010\022-\n%sharing_with_go" + - "ogle_any_sales_enabled\030\004 \001(\010\022,\n$sharing_" + - "with_google_products_enabled\030\005 \001(\010\022#\n\033sh" + - "aring_with_others_enabled\030\006 \001(\010:^\352A[\n1an" + - "alyticsadmin.googleapis.com/DataSharingS" + - "ettings\022&accounts/{account}/dataSharingS" + - "ettings\"\224\002\n\016AccountSummary\022\014\n\004name\030\001 \001(\t" + - "\022;\n\007account\030\002 \001(\tB*\372A\'\n%analyticsadmin.g" + - "oogleapis.com/Account\022\024\n\014display_name\030\003 " + - "\001(\t\022J\n\022property_summaries\030\004 \003(\0132..google" + - ".analytics.admin.v1beta.PropertySummary:" + - "U\352AR\n,analyticsadmin.googleapis.com/Acco" + - "untSummary\022\"accountSummaries/{account_su" + - "mmary}\"\272\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\022B\n\rprope" + - "rty_type\030\003 \001(\0162+.google.analytics.admin." + - "v1beta.PropertyType\022\016\n\006parent\030\004 \001(\t\"\221\002\n\031" + - "MeasurementProtocolSecret\022\022\n\004name\030\001 \001(\tB" + - "\004\342A\001\003\022\032\n\014display_name\030\002 \001(\tB\004\342A\001\002\022\032\n\014sec" + - "ret_value\030\003 \001(\tB\004\342A\001\003:\247\001\352A\243\001\n7analyticsa" + - "dmin.googleapis.com/MeasurementProtocolS" + - "ecret\022hproperties/{property}/dataStreams" + - "/{data_stream}/measurementProtocolSecret" + - "s/{measurement_protocol_secret}\"\210\002\n\022Chan" + - "geHistoryEvent\022\n\n\002id\030\001 \001(\t\022/\n\013change_tim" + - "e\030\002 \001(\0132\032.google.protobuf.Timestamp\022<\n\na" + - "ctor_type\030\003 \001(\0162(.google.analytics.admin" + - ".v1beta.ActorType\022\030\n\020user_actor_email\030\004 " + - "\001(\t\022\030\n\020changes_filtered\030\005 \001(\010\022C\n\007changes" + - "\030\006 \003(\01322.google.analytics.admin.v1beta.C" + - "hangeHistoryChange\"\252\007\n\023ChangeHistoryChan" + - "ge\022\020\n\010resource\030\001 \001(\t\0229\n\006action\030\002 \001(\0162).g" + - "oogle.analytics.admin.v1beta.ActionType\022" + - "h\n\026resource_before_change\030\003 \001(\0132H.google" + - ".analytics.admin.v1beta.ChangeHistoryCha" + - "nge.ChangeHistoryResource\022g\n\025resource_af" + - "ter_change\030\004 \001(\0132H.google.analytics.admi" + - "n.v1beta.ChangeHistoryChange.ChangeHisto" + - "ryResource\032\362\004\n\025ChangeHistoryResource\0229\n\007" + - "account\030\001 \001(\0132&.google.analytics.admin.v" + - "1beta.AccountH\000\022;\n\010property\030\002 \001(\0132\'.goog" + - "le.analytics.admin.v1beta.PropertyH\000\022D\n\r" + - "firebase_link\030\006 \001(\0132+.google.analytics.a" + - "dmin.v1beta.FirebaseLinkH\000\022G\n\017google_ads" + - "_link\030\007 \001(\0132,.google.analytics.admin.v1b" + - "eta.GoogleAdsLinkH\000\022J\n\020conversion_event\030" + - "\013 \001(\0132..google.analytics.admin.v1beta.Co" + - "nversionEventH\000\022_\n\033measurement_protocol_" + - "secret\030\014 \001(\01328.google.analytics.admin.v1" + - "beta.MeasurementProtocolSecretH\000\022W\n\027data" + - "_retention_settings\030\017 \001(\01324.google.analy" + - "tics.admin.v1beta.DataRetentionSettingsH" + - "\000\022@\n\013data_stream\030\022 \001(\0132).google.analytic" + - "s.admin.v1beta.DataStreamH\000B\n\n\010resource\"" + - "\356\003\n\017ConversionEvent\022\022\n\004name\030\001 \001(\tB\004\342A\001\003\022" + - "\030\n\nevent_name\030\002 \001(\tB\004\342A\001\005\0225\n\013create_time" + - "\030\003 \001(\0132\032.google.protobuf.TimestampB\004\342A\001\003" + - "\022\027\n\tdeletable\030\004 \001(\010B\004\342A\001\003\022\024\n\006custom\030\005 \001(" + - "\010B\004\342A\001\003\022f\n\017counting_method\030\006 \001(\0162G.googl" + - "e.analytics.admin.v1beta.ConversionEvent" + - ".ConversionCountingMethodB\004\342A\001\001\"p\n\030Conve" + - "rsionCountingMethod\022*\n&CONVERSION_COUNTI" + - "NG_METHOD_UNSPECIFIED\020\000\022\022\n\016ONCE_PER_EVEN" + - "T\020\001\022\024\n\020ONCE_PER_SESSION\020\002:m\352Aj\n-analytic" + - "sadmin.googleapis.com/ConversionEvent\0229p" + - "roperties/{property}/conversionEvents/{c" + - "onversion_event}\"\275\003\n\017CustomDimension\022\022\n\004" + - "name\030\001 \001(\tB\004\342A\001\003\022\035\n\016parameter_name\030\002 \001(\t" + - "B\005\342A\002\002\005\022\032\n\014display_name\030\003 \001(\tB\004\342A\001\002\022\031\n\013d" + - "escription\030\004 \001(\tB\004\342A\001\001\022S\n\005scope\030\005 \001(\0162=." + - "google.analytics.admin.v1beta.CustomDime" + - "nsion.DimensionScopeB\005\342A\002\002\005\022*\n\034disallow_" + - "ads_personalization\030\006 \001(\010B\004\342A\001\001\"P\n\016Dimen" + - "sionScope\022\037\n\033DIMENSION_SCOPE_UNSPECIFIED" + - "\020\000\022\t\n\005EVENT\020\001\022\010\n\004USER\020\002\022\010\n\004ITEM\020\003:m\352Aj\n-" + - "analyticsadmin.googleapis.com/CustomDime" + - "nsion\0229properties/{property}/customDimen" + - "sions/{custom_dimension}\"\305\006\n\014CustomMetri" + - "c\022\022\n\004name\030\001 \001(\tB\004\342A\001\003\022\035\n\016parameter_name\030" + - "\002 \001(\tB\005\342A\002\002\005\022\032\n\014display_name\030\003 \001(\tB\004\342A\001\002" + - "\022\031\n\013description\030\004 \001(\tB\004\342A\001\001\022[\n\020measureme" + - "nt_unit\030\005 \001(\0162;.google.analytics.admin.v" + - "1beta.CustomMetric.MeasurementUnitB\004\342A\001\002" + - "\022M\n\005scope\030\006 \001(\01627.google.analytics.admin" + - ".v1beta.CustomMetric.MetricScopeB\005\342A\002\002\005\022" + - "f\n\026restricted_metric_type\030\010 \003(\0162@.google" + - ".analytics.admin.v1beta.CustomMetric.Res" + - "trictedMetricTypeB\004\342A\001\001\"\267\001\n\017MeasurementU" + - "nit\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\006M" + - "ETERS\020\004\022\016\n\nKILOMETERS\020\005\022\t\n\005MILES\020\006\022\020\n\014MI" + - "LLISECONDS\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\030METRIC_SCOPE" + - "_UNSPECIFIED\020\000\022\t\n\005EVENT\020\001\"_\n\024RestrictedM" + - "etricType\022&\n\"RESTRICTED_METRIC_TYPE_UNSP" + - "ECIFIED\020\000\022\r\n\tCOST_DATA\020\001\022\020\n\014REVENUE_DATA" + - "\020\002:d\352Aa\n*analyticsadmin.googleapis.com/C" + - "ustomMetric\0223properties/{property}/custo" + - "mMetrics/{custom_metric}\"\302\003\n\025DataRetenti" + - "onSettings\022\022\n\004name\030\001 \001(\tB\004\342A\001\003\022d\n\024event_" + - "data_retention\030\002 \001(\0162F.google.analytics." + - "admin.v1beta.DataRetentionSettings.Reten" + - "tionDuration\022\'\n\037reset_user_data_on_new_a" + - "ctivity\030\003 \001(\010\"\236\001\n\021RetentionDuration\022\"\n\036R" + - "ETENTION_DURATION_UNSPECIFIED\020\000\022\016\n\nTWO_M" + - "ONTHS\020\001\022\023\n\017FOURTEEN_MONTHS\020\003\022\025\n\021TWENTY_S" + - "IX_MONTHS\020\004\022\027\n\023THIRTY_EIGHT_MONTHS\020\005\022\020\n\014" + - "FIFTY_MONTHS\020\006:e\352Ab\n3analyticsadmin.goog" + - "leapis.com/DataRetentionSettings\022+proper" + - "ties/{property}/dataRetentionSettings*\252\004" + - "\n\020IndustryCategory\022!\n\035INDUSTRY_CATEGORY_" + - "UNSPECIFIED\020\000\022\016\n\nAUTOMOTIVE\020\001\022#\n\037BUSINES" + - "S_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\006TRAVE" + - "L\020\006\022\t\n\005OTHER\020\007\022\032\n\026ARTS_AND_ENTERTAINMENT" + - "\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\005GAME" + - "S\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\022L" + - "AW_AND_GOVERNMENT\020\020\022\010\n\004NEWS\020\021\022\026\n\022ONLINE_" + - "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\t" + - "REFERENCE\020\026\022\013\n\007SCIENCE\020\027\022\n\n\006SPORTS\020\030\022\026\n\022" + - "JOBS_AND_EDUCATION\020\031\022\014\n\010SHOPPING\020\032*f\n\014Se" + - "rviceLevel\022\035\n\031SERVICE_LEVEL_UNSPECIFIED\020" + - "\000\022\035\n\031GOOGLE_ANALYTICS_STANDARD\020\001\022\030\n\024GOOG" + - "LE_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\nActionType\022\033\n\027ACTION_T" + - "YPE_UNSPECIFIED\020\000\022\013\n\007CREATED\020\001\022\013\n\007UPDATE" + - "D\020\002\022\013\n\007DELETED\020\003*\377\002\n\031ChangeHistoryResour" + - "ceType\022,\n(CHANGE_HISTORY_RESOURCE_TYPE_U" + - "NSPECIFIED\020\000\022\013\n\007ACCOUNT\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_SETTINGS\020\010\022\024\n\020CONVERSI" + - "ON_EVENT\020\t\022\037\n\033MEASUREMENT_PROTOCOL_SECRE" + - "T\020\n\022\033\n\027DATA_RETENTION_SETTINGS\020\r\022%\n!DISP" + - "LAY_VIDEO_360_ADVERTISER_LINK\020\016\022.\n*DISPL" + - "AY_VIDEO_360_ADVERTISER_LINK_PROPOSAL\020\017\022" + - "\017\n\013DATA_STREAM\020\022\022\030\n\024ATTRIBUTION_SETTINGS" + - "\020\024*\202\001\n\014PropertyType\022\035\n\031PROPERTY_TYPE_UNS" + - "PECIFIED\020\000\022\032\n\026PROPERTY_TYPE_ORDINARY\020\001\022\035" + - "\n\031PROPERTY_TYPE_SUBPROPERTY\020\002\022\030\n\024PROPERT" + - "Y_TYPE_ROLLUP\020\003By\n!com.google.analytics." + - "admin.v1betaB\016ResourcesProtoP\001ZBgoogle.g" + - "olang.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", "CountingMethod", }); - 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) -}